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();
975 int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError
); return 0; }
977 void wxApp_CleanUp() {
982 wxPyApp
* wxGetApp() {
983 return (wxPyApp
*)wxTheApp
;
988 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
989 wxWindowList
& list
= self
->GetChildren();
990 return wxPy_ConvertList(&list
);
992 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
999 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1006 long wxWindow_GetHandle(wxWindow
*self
){
1007 return wxPyGetWinHandle(self
);
1010 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1011 return wxWindow::FindWindowById(id
, parent
);
1014 wxWindow
* wxFindWindowByName( const wxString
& name
,
1015 const wxWindow
*parent
= NULL
) {
1016 return wxWindow::FindWindowByName(name
, parent
);
1019 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1020 const wxWindow
*parent
= NULL
) {
1021 return wxWindow::FindWindowByLabel(label
, parent
);
1025 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1027 wxWindow
* win
= new wxWindow
;
1029 win
->SubclassWin(hWnd
);
1032 PyErr_SetNone(PyExc_NotImplementedError
);
1038 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1039 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1040 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1042 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1044 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1045 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1046 wxMenuItemList
& list
= self
->GetMenuItems();
1047 return wxPy_ConvertList(&list
);
1049 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1051 DECLARE_DEF_STRING(ControlNameStr
);
1053 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1055 wxPyClientData
* data
= new wxPyClientData(clientData
);
1056 return self
->Append(item
, data
);
1058 return self
->Append(item
);
1060 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1062 wxPyClientData
* data
= new wxPyClientData(clientData
);
1063 return self
->Insert(item
, pos
, data
);
1065 return self
->Insert(item
, pos
);
1067 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1068 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1070 Py_INCREF(data
->m_obj
);
1077 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1078 wxPyClientData
* data
= new wxPyClientData(clientData
);
1079 self
->SetClientObject(n
, data
);
1083 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1084 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1086 Py_INCREF(data
->m_obj
);
1094 // Figure out the type of the sizer item
1096 struct wxPySizerItemInfo
{
1098 : window(NULL
), sizer(NULL
), gotSize(false),
1099 size(wxDefaultSize
), gotPos(false), pos(-1)
1110 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1112 wxPySizerItemInfo info
;
1114 wxSize
* sizePtr
= &size
;
1116 // Find out what the type of the item is
1118 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1123 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1127 // try wxSize or (w,h)
1128 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1129 info
.size
= *sizePtr
;
1130 info
.gotSize
= true;
1134 if (checkIdx
&& PyInt_Check(item
)) {
1135 info
.pos
= PyInt_AsLong(item
);
1141 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1142 // no expected type, figure out what kind of error message to generate
1143 if ( !checkSize
&& !checkIdx
)
1144 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1145 else if ( checkSize
&& !checkIdx
)
1146 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1147 else if ( !checkSize
&& checkIdx
)
1148 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1150 // can this one happen?
1151 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1157 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1158 self
->SetClientObject(new wxPyOORClientData(_self
));
1160 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1162 wxPyUserData
* data
= NULL
;
1163 wxPyBeginBlockThreads();
1164 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1165 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1166 data
= new wxPyUserData(userData
);
1167 wxPyEndBlockThreads();
1169 // Now call the real Add method if a valid item type was found
1171 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1172 else if ( info
.sizer
)
1173 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1174 else if (info
.gotSize
)
1175 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1176 proportion
, flag
, border
, data
);
1178 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1180 wxPyUserData
* data
= NULL
;
1181 wxPyBeginBlockThreads();
1182 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1183 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1184 data
= new wxPyUserData(userData
);
1185 wxPyEndBlockThreads();
1187 // Now call the real Insert method if a valid item type was found
1189 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1190 else if ( info
.sizer
)
1191 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1192 else if (info
.gotSize
)
1193 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1194 proportion
, flag
, border
, data
);
1196 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1198 wxPyUserData
* data
= NULL
;
1199 wxPyBeginBlockThreads();
1200 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1201 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1202 data
= new wxPyUserData(userData
);
1203 wxPyEndBlockThreads();
1205 // Now call the real Prepend method if a valid item type was found
1207 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1208 else if ( info
.sizer
)
1209 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1210 else if (info
.gotSize
)
1211 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1212 proportion
, flag
, border
, data
);
1214 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1215 wxPyBeginBlockThreads();
1216 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1217 wxPyEndBlockThreads();
1219 return self
->Remove(info
.window
);
1220 else if ( info
.sizer
)
1221 return self
->Remove(info
.sizer
);
1222 else if ( info
.gotPos
)
1223 return self
->Remove(info
.pos
);
1227 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize size
){
1228 wxPyBeginBlockThreads();
1229 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, true);
1230 wxPyEndBlockThreads();
1232 self
->SetItemMinSize(info
.window
, size
);
1233 else if ( info
.sizer
)
1234 self
->SetItemMinSize(info
.sizer
, size
);
1235 else if ( info
.gotPos
)
1236 self
->SetItemMinSize(info
.pos
, size
);
1238 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1239 wxSizerItemList
& list
= self
->GetChildren();
1240 return wxPy_ConvertList(&list
);
1242 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1243 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1245 self
->Show(info
.window
, show
);
1246 else if ( info
.sizer
)
1247 self
->Show(info
.sizer
, show
);
1249 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1250 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1252 self
->Hide(info
.window
);
1253 else if ( info
.sizer
)
1254 self
->Hide(info
.sizer
);
1256 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1257 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, false, false);
1259 return self
->IsShown(info
.window
);
1260 else if ( info
.sizer
)
1261 return self
->IsShown(info
.sizer
);
1267 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1268 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1269 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1274 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1276 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1279 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1281 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1285 PyObject
*wxGBPosition_asTuple(wxGBPosition
*self
){
1286 wxPyBeginBlockThreads();
1287 PyObject
* tup
= PyTuple_New(2);
1288 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1289 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1290 wxPyEndBlockThreads();
1293 PyObject
*wxGBSpan_asTuple(wxGBSpan
*self
){
1294 wxPyBeginBlockThreads();
1295 PyObject
* tup
= PyTuple_New(2);
1296 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1297 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1298 wxPyEndBlockThreads();
1301 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1303 wxPyUserData
* data
= NULL
;
1304 wxPyBeginBlockThreads();
1305 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, true, false);
1306 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1307 data
= new wxPyUserData(userData
);
1308 wxPyEndBlockThreads();
1310 // Now call the real Add method if a valid item type was found
1312 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1313 else if ( info
.sizer
)
1314 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1315 else if (info
.gotSize
)
1316 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1317 pos
, span
, flag
, border
, data
);
1325 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1326 PyObject
*resultobj
;
1327 wxObject
*arg1
= (wxObject
*) 0 ;
1329 PyObject
* obj0
= 0 ;
1331 (char *) "self", NULL
1334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1338 result
= wxObject_GetClassName(arg1
);
1340 wxPyEndAllowThreads(__tstate
);
1341 if (PyErr_Occurred()) SWIG_fail
;
1345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1356 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1357 PyObject
*resultobj
;
1358 wxObject
*arg1
= (wxObject
*) 0 ;
1359 PyObject
* obj0
= 0 ;
1361 (char *) "self", NULL
1364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1368 wxObject_Destroy(arg1
);
1370 wxPyEndAllowThreads(__tstate
);
1371 if (PyErr_Occurred()) SWIG_fail
;
1373 Py_INCREF(Py_None
); resultobj
= Py_None
;
1380 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1383 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1385 return Py_BuildValue((char *)"");
1387 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1388 PyObject
*resultobj
;
1389 wxSize
*arg1
= (wxSize
*) 0 ;
1391 PyObject
* obj0
= 0 ;
1393 (char *) "self",(char *) "x", NULL
1396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1398 if (arg1
) (arg1
)->x
= arg2
;
1400 Py_INCREF(Py_None
); resultobj
= Py_None
;
1407 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1408 PyObject
*resultobj
;
1409 wxSize
*arg1
= (wxSize
*) 0 ;
1411 PyObject
* obj0
= 0 ;
1413 (char *) "self", NULL
1416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1418 result
= (int) ((arg1
)->x
);
1420 resultobj
= PyInt_FromLong((long)result
);
1427 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1428 PyObject
*resultobj
;
1429 wxSize
*arg1
= (wxSize
*) 0 ;
1431 PyObject
* obj0
= 0 ;
1433 (char *) "self",(char *) "y", NULL
1436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1438 if (arg1
) (arg1
)->y
= arg2
;
1440 Py_INCREF(Py_None
); resultobj
= Py_None
;
1447 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1448 PyObject
*resultobj
;
1449 wxSize
*arg1
= (wxSize
*) 0 ;
1451 PyObject
* obj0
= 0 ;
1453 (char *) "self", NULL
1456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1458 result
= (int) ((arg1
)->y
);
1460 resultobj
= PyInt_FromLong((long)result
);
1467 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1468 PyObject
*resultobj
;
1469 int arg1
= (int) 0 ;
1470 int arg2
= (int) 0 ;
1473 (char *) "w",(char *) "h", NULL
1476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1479 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1481 wxPyEndAllowThreads(__tstate
);
1482 if (PyErr_Occurred()) SWIG_fail
;
1484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1491 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1492 PyObject
*resultobj
;
1493 wxSize
*arg1
= (wxSize
*) 0 ;
1494 PyObject
* obj0
= 0 ;
1496 (char *) "self", NULL
1499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1505 wxPyEndAllowThreads(__tstate
);
1506 if (PyErr_Occurred()) SWIG_fail
;
1508 Py_INCREF(Py_None
); resultobj
= Py_None
;
1515 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1516 PyObject
*resultobj
;
1517 wxSize
*arg1
= (wxSize
*) 0 ;
1521 PyObject
* obj0
= 0 ;
1522 PyObject
* obj1
= 0 ;
1524 (char *) "self",(char *) "sz", NULL
1527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1535 result
= (bool)((wxSize
const *)arg1
)->operator ==((wxSize
const &)*arg2
);
1537 wxPyEndAllowThreads(__tstate
);
1538 if (PyErr_Occurred()) SWIG_fail
;
1540 resultobj
= PyInt_FromLong((long)result
);
1547 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1548 PyObject
*resultobj
;
1549 wxSize
*arg1
= (wxSize
*) 0 ;
1553 PyObject
* obj0
= 0 ;
1554 PyObject
* obj1
= 0 ;
1556 (char *) "self",(char *) "sz", NULL
1559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1563 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1567 result
= (bool)((wxSize
const *)arg1
)->operator !=((wxSize
const &)*arg2
);
1569 wxPyEndAllowThreads(__tstate
);
1570 if (PyErr_Occurred()) SWIG_fail
;
1572 resultobj
= PyInt_FromLong((long)result
);
1579 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1580 PyObject
*resultobj
;
1581 wxSize
*arg1
= (wxSize
*) 0 ;
1585 PyObject
* obj0
= 0 ;
1586 PyObject
* obj1
= 0 ;
1588 (char *) "self",(char *) "sz", NULL
1591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1595 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1599 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1601 wxPyEndAllowThreads(__tstate
);
1602 if (PyErr_Occurred()) SWIG_fail
;
1606 resultptr
= new wxSize((wxSize
&) result
);
1607 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1615 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1616 PyObject
*resultobj
;
1617 wxSize
*arg1
= (wxSize
*) 0 ;
1621 PyObject
* obj0
= 0 ;
1622 PyObject
* obj1
= 0 ;
1624 (char *) "self",(char *) "sz", NULL
1627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1635 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1637 wxPyEndAllowThreads(__tstate
);
1638 if (PyErr_Occurred()) SWIG_fail
;
1642 resultptr
= new wxSize((wxSize
&) result
);
1643 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1651 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1652 PyObject
*resultobj
;
1653 wxSize
*arg1
= (wxSize
*) 0 ;
1656 PyObject
* obj0
= 0 ;
1657 PyObject
* obj1
= 0 ;
1659 (char *) "self",(char *) "sz", NULL
1662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1666 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1670 (arg1
)->IncTo((wxSize
const &)*arg2
);
1672 wxPyEndAllowThreads(__tstate
);
1673 if (PyErr_Occurred()) SWIG_fail
;
1675 Py_INCREF(Py_None
); resultobj
= Py_None
;
1682 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1683 PyObject
*resultobj
;
1684 wxSize
*arg1
= (wxSize
*) 0 ;
1687 PyObject
* obj0
= 0 ;
1688 PyObject
* obj1
= 0 ;
1690 (char *) "self",(char *) "sz", NULL
1693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1697 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1701 (arg1
)->DecTo((wxSize
const &)*arg2
);
1703 wxPyEndAllowThreads(__tstate
);
1704 if (PyErr_Occurred()) SWIG_fail
;
1706 Py_INCREF(Py_None
); resultobj
= Py_None
;
1713 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1714 PyObject
*resultobj
;
1715 wxSize
*arg1
= (wxSize
*) 0 ;
1718 PyObject
* obj0
= 0 ;
1720 (char *) "self",(char *) "xx",(char *) "yy", NULL
1723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1727 (arg1
)->Set(arg2
,arg3
);
1729 wxPyEndAllowThreads(__tstate
);
1730 if (PyErr_Occurred()) SWIG_fail
;
1732 Py_INCREF(Py_None
); resultobj
= Py_None
;
1739 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1740 PyObject
*resultobj
;
1741 wxSize
*arg1
= (wxSize
*) 0 ;
1743 PyObject
* obj0
= 0 ;
1745 (char *) "self",(char *) "w", NULL
1748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1752 (arg1
)->SetWidth(arg2
);
1754 wxPyEndAllowThreads(__tstate
);
1755 if (PyErr_Occurred()) SWIG_fail
;
1757 Py_INCREF(Py_None
); resultobj
= Py_None
;
1764 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1765 PyObject
*resultobj
;
1766 wxSize
*arg1
= (wxSize
*) 0 ;
1768 PyObject
* obj0
= 0 ;
1770 (char *) "self",(char *) "h", NULL
1773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1777 (arg1
)->SetHeight(arg2
);
1779 wxPyEndAllowThreads(__tstate
);
1780 if (PyErr_Occurred()) SWIG_fail
;
1782 Py_INCREF(Py_None
); resultobj
= Py_None
;
1789 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1790 PyObject
*resultobj
;
1791 wxSize
*arg1
= (wxSize
*) 0 ;
1793 PyObject
* obj0
= 0 ;
1795 (char *) "self", NULL
1798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1802 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1804 wxPyEndAllowThreads(__tstate
);
1805 if (PyErr_Occurred()) SWIG_fail
;
1807 resultobj
= PyInt_FromLong((long)result
);
1814 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1815 PyObject
*resultobj
;
1816 wxSize
*arg1
= (wxSize
*) 0 ;
1818 PyObject
* obj0
= 0 ;
1820 (char *) "self", NULL
1823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1827 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1829 wxPyEndAllowThreads(__tstate
);
1830 if (PyErr_Occurred()) SWIG_fail
;
1832 resultobj
= PyInt_FromLong((long)result
);
1839 static PyObject
*_wrap_Size_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1840 PyObject
*resultobj
;
1841 wxSize
*arg1
= (wxSize
*) 0 ;
1843 PyObject
* obj0
= 0 ;
1845 (char *) "self", NULL
1848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetX",kwnames
,&obj0
)) goto fail
;
1849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1852 result
= (int)((wxSize
const *)arg1
)->GetX();
1854 wxPyEndAllowThreads(__tstate
);
1855 if (PyErr_Occurred()) SWIG_fail
;
1857 resultobj
= PyInt_FromLong((long)result
);
1864 static PyObject
*_wrap_Size_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1865 PyObject
*resultobj
;
1866 wxSize
*arg1
= (wxSize
*) 0 ;
1868 PyObject
* obj0
= 0 ;
1870 (char *) "self", NULL
1873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetY",kwnames
,&obj0
)) goto fail
;
1874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1877 result
= (int)((wxSize
const *)arg1
)->GetY();
1879 wxPyEndAllowThreads(__tstate
);
1880 if (PyErr_Occurred()) SWIG_fail
;
1882 resultobj
= PyInt_FromLong((long)result
);
1889 static PyObject
*_wrap_Size_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1890 PyObject
*resultobj
;
1891 wxSize
*arg1
= (wxSize
*) 0 ;
1893 PyObject
* obj0
= 0 ;
1895 (char *) "self", NULL
1898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_asTuple",kwnames
,&obj0
)) goto fail
;
1899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1902 result
= (PyObject
*)wxSize_asTuple(arg1
);
1904 wxPyEndAllowThreads(__tstate
);
1905 if (PyErr_Occurred()) SWIG_fail
;
1914 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1916 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1917 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1919 return Py_BuildValue((char *)"");
1921 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1922 PyObject
*resultobj
;
1923 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1925 PyObject
* obj0
= 0 ;
1927 (char *) "self",(char *) "x", NULL
1930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1932 if (arg1
) (arg1
)->x
= arg2
;
1934 Py_INCREF(Py_None
); resultobj
= Py_None
;
1941 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1942 PyObject
*resultobj
;
1943 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1945 PyObject
* obj0
= 0 ;
1947 (char *) "self", NULL
1950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1952 result
= (double) ((arg1
)->x
);
1954 resultobj
= PyFloat_FromDouble(result
);
1961 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1962 PyObject
*resultobj
;
1963 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1965 PyObject
* obj0
= 0 ;
1967 (char *) "self",(char *) "y", NULL
1970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1972 if (arg1
) (arg1
)->y
= arg2
;
1974 Py_INCREF(Py_None
); resultobj
= Py_None
;
1981 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1982 PyObject
*resultobj
;
1983 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1985 PyObject
* obj0
= 0 ;
1987 (char *) "self", NULL
1990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1992 result
= (double) ((arg1
)->y
);
1994 resultobj
= PyFloat_FromDouble(result
);
2001 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2002 PyObject
*resultobj
;
2003 double arg1
= (double) 0.0 ;
2004 double arg2
= (double) 0.0 ;
2005 wxRealPoint
*result
;
2007 (char *) "x",(char *) "y", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
2012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2013 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
2015 wxPyEndAllowThreads(__tstate
);
2016 if (PyErr_Occurred()) SWIG_fail
;
2018 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
2025 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2026 PyObject
*resultobj
;
2027 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2028 PyObject
* obj0
= 0 ;
2030 (char *) "self", NULL
2033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
2034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2039 wxPyEndAllowThreads(__tstate
);
2040 if (PyErr_Occurred()) SWIG_fail
;
2042 Py_INCREF(Py_None
); resultobj
= Py_None
;
2049 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2050 PyObject
*resultobj
;
2051 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2052 wxRealPoint
*arg2
= 0 ;
2055 PyObject
* obj0
= 0 ;
2056 PyObject
* obj1
= 0 ;
2058 (char *) "self",(char *) "pt", NULL
2061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2065 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2069 result
= ((wxRealPoint
const *)arg1
)->operator +((wxRealPoint
const &)*arg2
);
2071 wxPyEndAllowThreads(__tstate
);
2072 if (PyErr_Occurred()) SWIG_fail
;
2075 wxRealPoint
* resultptr
;
2076 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2077 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2085 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2086 PyObject
*resultobj
;
2087 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2088 wxRealPoint
*arg2
= 0 ;
2091 PyObject
* obj0
= 0 ;
2092 PyObject
* obj1
= 0 ;
2094 (char *) "self",(char *) "pt", NULL
2097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2101 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2105 result
= ((wxRealPoint
const *)arg1
)->operator -((wxRealPoint
const &)*arg2
);
2107 wxPyEndAllowThreads(__tstate
);
2108 if (PyErr_Occurred()) SWIG_fail
;
2111 wxRealPoint
* resultptr
;
2112 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2113 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2121 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2122 PyObject
*resultobj
;
2123 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2124 wxRealPoint
*arg2
= 0 ;
2127 PyObject
* obj0
= 0 ;
2128 PyObject
* obj1
= 0 ;
2130 (char *) "self",(char *) "pt", NULL
2133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2137 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 result
= (bool)((wxRealPoint
const *)arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2146 resultobj
= PyInt_FromLong((long)result
);
2153 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2156 wxRealPoint
*arg2
= 0 ;
2159 PyObject
* obj0
= 0 ;
2160 PyObject
* obj1
= 0 ;
2162 (char *) "self",(char *) "pt", NULL
2165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2169 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 result
= (bool)((wxRealPoint
const *)arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2178 resultobj
= PyInt_FromLong((long)result
);
2185 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
*resultobj
;
2187 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2190 PyObject
* obj0
= 0 ;
2192 (char *) "self",(char *) "x",(char *) "y", NULL
2195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2199 wxRealPoint_Set(arg1
,arg2
,arg3
);
2201 wxPyEndAllowThreads(__tstate
);
2202 if (PyErr_Occurred()) SWIG_fail
;
2204 Py_INCREF(Py_None
); resultobj
= Py_None
;
2211 static PyObject
*_wrap_RealPoint_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2212 PyObject
*resultobj
;
2213 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2215 PyObject
* obj0
= 0 ;
2217 (char *) "self", NULL
2220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_asTuple",kwnames
,&obj0
)) goto fail
;
2221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2224 result
= (PyObject
*)wxRealPoint_asTuple(arg1
);
2226 wxPyEndAllowThreads(__tstate
);
2227 if (PyErr_Occurred()) SWIG_fail
;
2236 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2239 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2241 return Py_BuildValue((char *)"");
2243 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2244 PyObject
*resultobj
;
2245 wxPoint
*arg1
= (wxPoint
*) 0 ;
2247 PyObject
* obj0
= 0 ;
2249 (char *) "self",(char *) "x", NULL
2252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2254 if (arg1
) (arg1
)->x
= arg2
;
2256 Py_INCREF(Py_None
); resultobj
= Py_None
;
2263 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2264 PyObject
*resultobj
;
2265 wxPoint
*arg1
= (wxPoint
*) 0 ;
2267 PyObject
* obj0
= 0 ;
2269 (char *) "self", NULL
2272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2274 result
= (int) ((arg1
)->x
);
2276 resultobj
= PyInt_FromLong((long)result
);
2283 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2284 PyObject
*resultobj
;
2285 wxPoint
*arg1
= (wxPoint
*) 0 ;
2287 PyObject
* obj0
= 0 ;
2289 (char *) "self",(char *) "y", NULL
2292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2294 if (arg1
) (arg1
)->y
= arg2
;
2296 Py_INCREF(Py_None
); resultobj
= Py_None
;
2303 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2304 PyObject
*resultobj
;
2305 wxPoint
*arg1
= (wxPoint
*) 0 ;
2307 PyObject
* obj0
= 0 ;
2309 (char *) "self", NULL
2312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2314 result
= (int) ((arg1
)->y
);
2316 resultobj
= PyInt_FromLong((long)result
);
2323 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2324 PyObject
*resultobj
;
2325 int arg1
= (int) 0 ;
2326 int arg2
= (int) 0 ;
2329 (char *) "x",(char *) "y", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2335 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2337 wxPyEndAllowThreads(__tstate
);
2338 if (PyErr_Occurred()) SWIG_fail
;
2340 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2347 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2348 PyObject
*resultobj
;
2349 wxPoint
*arg1
= (wxPoint
*) 0 ;
2350 PyObject
* obj0
= 0 ;
2352 (char *) "self", NULL
2355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2361 wxPyEndAllowThreads(__tstate
);
2362 if (PyErr_Occurred()) SWIG_fail
;
2364 Py_INCREF(Py_None
); resultobj
= Py_None
;
2371 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2372 PyObject
*resultobj
;
2373 wxPoint
*arg1
= (wxPoint
*) 0 ;
2377 PyObject
* obj0
= 0 ;
2378 PyObject
* obj1
= 0 ;
2380 (char *) "self",(char *) "p", NULL
2383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2387 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2391 result
= (bool)((wxPoint
const *)arg1
)->operator ==((wxPoint
const &)*arg2
);
2393 wxPyEndAllowThreads(__tstate
);
2394 if (PyErr_Occurred()) SWIG_fail
;
2396 resultobj
= PyInt_FromLong((long)result
);
2403 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2404 PyObject
*resultobj
;
2405 wxPoint
*arg1
= (wxPoint
*) 0 ;
2409 PyObject
* obj0
= 0 ;
2410 PyObject
* obj1
= 0 ;
2412 (char *) "self",(char *) "p", NULL
2415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2419 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2423 result
= (bool)((wxPoint
const *)arg1
)->operator !=((wxPoint
const &)*arg2
);
2425 wxPyEndAllowThreads(__tstate
);
2426 if (PyErr_Occurred()) SWIG_fail
;
2428 resultobj
= PyInt_FromLong((long)result
);
2435 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2436 PyObject
*resultobj
;
2437 wxPoint
*arg1
= (wxPoint
*) 0 ;
2441 PyObject
* obj0
= 0 ;
2442 PyObject
* obj1
= 0 ;
2444 (char *) "self",(char *) "p", NULL
2447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2451 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2455 result
= ((wxPoint
const *)arg1
)->operator +((wxPoint
const &)*arg2
);
2457 wxPyEndAllowThreads(__tstate
);
2458 if (PyErr_Occurred()) SWIG_fail
;
2461 wxPoint
* resultptr
;
2462 resultptr
= new wxPoint((wxPoint
&) result
);
2463 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2471 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2472 PyObject
*resultobj
;
2473 wxPoint
*arg1
= (wxPoint
*) 0 ;
2477 PyObject
* obj0
= 0 ;
2478 PyObject
* obj1
= 0 ;
2480 (char *) "self",(char *) "p", NULL
2483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2487 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2491 result
= ((wxPoint
const *)arg1
)->operator -((wxPoint
const &)*arg2
);
2493 wxPyEndAllowThreads(__tstate
);
2494 if (PyErr_Occurred()) SWIG_fail
;
2497 wxPoint
* resultptr
;
2498 resultptr
= new wxPoint((wxPoint
&) result
);
2499 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2507 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2508 PyObject
*resultobj
;
2509 wxPoint
*arg1
= (wxPoint
*) 0 ;
2513 PyObject
* obj0
= 0 ;
2514 PyObject
* obj1
= 0 ;
2516 (char *) "self",(char *) "p", NULL
2519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2523 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2528 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2529 result
= (wxPoint
*) &_result_ref
;
2532 wxPyEndAllowThreads(__tstate
);
2533 if (PyErr_Occurred()) SWIG_fail
;
2535 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2542 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2543 PyObject
*resultobj
;
2544 wxPoint
*arg1
= (wxPoint
*) 0 ;
2548 PyObject
* obj0
= 0 ;
2549 PyObject
* obj1
= 0 ;
2551 (char *) "self",(char *) "p", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2564 result
= (wxPoint
*) &_result_ref
;
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2577 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 wxPoint
*arg1
= (wxPoint
*) 0 ;
2582 PyObject
* obj0
= 0 ;
2584 (char *) "self",(char *) "x",(char *) "y", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 wxPoint_Set(arg1
,arg2
,arg3
);
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 Py_INCREF(Py_None
); resultobj
= Py_None
;
2603 static PyObject
*_wrap_Point_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2605 wxPoint
*arg1
= (wxPoint
*) 0 ;
2607 PyObject
* obj0
= 0 ;
2609 (char *) "self", NULL
2612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_asTuple",kwnames
,&obj0
)) goto fail
;
2613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2616 result
= (PyObject
*)wxPoint_asTuple(arg1
);
2618 wxPyEndAllowThreads(__tstate
);
2619 if (PyErr_Occurred()) SWIG_fail
;
2628 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2631 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2633 return Py_BuildValue((char *)"");
2635 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2636 PyObject
*resultobj
;
2637 int arg1
= (int) 0 ;
2638 int arg2
= (int) 0 ;
2639 int arg3
= (int) 0 ;
2640 int arg4
= (int) 0 ;
2643 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2649 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2651 wxPyEndAllowThreads(__tstate
);
2652 if (PyErr_Occurred()) SWIG_fail
;
2654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2661 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2662 PyObject
*resultobj
;
2668 PyObject
* obj0
= 0 ;
2669 PyObject
* obj1
= 0 ;
2671 (char *) "topLeft",(char *) "bottomRight", NULL
2674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2677 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2681 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2685 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2687 wxPyEndAllowThreads(__tstate
);
2688 if (PyErr_Occurred()) SWIG_fail
;
2690 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2697 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2698 PyObject
*resultobj
;
2704 PyObject
* obj0
= 0 ;
2705 PyObject
* obj1
= 0 ;
2707 (char *) "pos",(char *) "size", NULL
2710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2713 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2717 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2733 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxRect
*arg1
= (wxRect
*) 0 ;
2736 PyObject
* obj0
= 0 ;
2738 (char *) "self", NULL
2741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2747 wxPyEndAllowThreads(__tstate
);
2748 if (PyErr_Occurred()) SWIG_fail
;
2750 Py_INCREF(Py_None
); resultobj
= Py_None
;
2757 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2758 PyObject
*resultobj
;
2759 wxRect
*arg1
= (wxRect
*) 0 ;
2761 PyObject
* obj0
= 0 ;
2763 (char *) "self", NULL
2766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2770 result
= (int)((wxRect
const *)arg1
)->GetX();
2772 wxPyEndAllowThreads(__tstate
);
2773 if (PyErr_Occurred()) SWIG_fail
;
2775 resultobj
= PyInt_FromLong((long)result
);
2782 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2783 PyObject
*resultobj
;
2784 wxRect
*arg1
= (wxRect
*) 0 ;
2786 PyObject
* obj0
= 0 ;
2788 (char *) "self",(char *) "x", NULL
2791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2797 wxPyEndAllowThreads(__tstate
);
2798 if (PyErr_Occurred()) SWIG_fail
;
2800 Py_INCREF(Py_None
); resultobj
= Py_None
;
2807 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2808 PyObject
*resultobj
;
2809 wxRect
*arg1
= (wxRect
*) 0 ;
2811 PyObject
* obj0
= 0 ;
2813 (char *) "self", NULL
2816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2820 result
= (int)(arg1
)->GetY();
2822 wxPyEndAllowThreads(__tstate
);
2823 if (PyErr_Occurred()) SWIG_fail
;
2825 resultobj
= PyInt_FromLong((long)result
);
2832 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2833 PyObject
*resultobj
;
2834 wxRect
*arg1
= (wxRect
*) 0 ;
2836 PyObject
* obj0
= 0 ;
2838 (char *) "self",(char *) "y", NULL
2841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2847 wxPyEndAllowThreads(__tstate
);
2848 if (PyErr_Occurred()) SWIG_fail
;
2850 Py_INCREF(Py_None
); resultobj
= Py_None
;
2857 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2858 PyObject
*resultobj
;
2859 wxRect
*arg1
= (wxRect
*) 0 ;
2861 PyObject
* obj0
= 0 ;
2863 (char *) "self", NULL
2866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2870 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2872 wxPyEndAllowThreads(__tstate
);
2873 if (PyErr_Occurred()) SWIG_fail
;
2875 resultobj
= PyInt_FromLong((long)result
);
2882 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2883 PyObject
*resultobj
;
2884 wxRect
*arg1
= (wxRect
*) 0 ;
2886 PyObject
* obj0
= 0 ;
2888 (char *) "self",(char *) "w", NULL
2891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2895 (arg1
)->SetWidth(arg2
);
2897 wxPyEndAllowThreads(__tstate
);
2898 if (PyErr_Occurred()) SWIG_fail
;
2900 Py_INCREF(Py_None
); resultobj
= Py_None
;
2907 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2908 PyObject
*resultobj
;
2909 wxRect
*arg1
= (wxRect
*) 0 ;
2911 PyObject
* obj0
= 0 ;
2913 (char *) "self", NULL
2916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2920 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2922 wxPyEndAllowThreads(__tstate
);
2923 if (PyErr_Occurred()) SWIG_fail
;
2925 resultobj
= PyInt_FromLong((long)result
);
2932 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2933 PyObject
*resultobj
;
2934 wxRect
*arg1
= (wxRect
*) 0 ;
2936 PyObject
* obj0
= 0 ;
2938 (char *) "self",(char *) "h", NULL
2941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2945 (arg1
)->SetHeight(arg2
);
2947 wxPyEndAllowThreads(__tstate
);
2948 if (PyErr_Occurred()) SWIG_fail
;
2950 Py_INCREF(Py_None
); resultobj
= Py_None
;
2957 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2958 PyObject
*resultobj
;
2959 wxRect
*arg1
= (wxRect
*) 0 ;
2961 PyObject
* obj0
= 0 ;
2963 (char *) "self", NULL
2966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2970 result
= ((wxRect
const *)arg1
)->GetPosition();
2972 wxPyEndAllowThreads(__tstate
);
2973 if (PyErr_Occurred()) SWIG_fail
;
2976 wxPoint
* resultptr
;
2977 resultptr
= new wxPoint((wxPoint
&) result
);
2978 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2986 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2987 PyObject
*resultobj
;
2988 wxRect
*arg1
= (wxRect
*) 0 ;
2991 PyObject
* obj0
= 0 ;
2992 PyObject
* obj1
= 0 ;
2994 (char *) "self",(char *) "p", NULL
2997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3001 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3005 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
3007 wxPyEndAllowThreads(__tstate
);
3008 if (PyErr_Occurred()) SWIG_fail
;
3010 Py_INCREF(Py_None
); resultobj
= Py_None
;
3017 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3018 PyObject
*resultobj
;
3019 wxRect
*arg1
= (wxRect
*) 0 ;
3021 PyObject
* obj0
= 0 ;
3023 (char *) "self", NULL
3026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
3027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3030 result
= ((wxRect
const *)arg1
)->GetSize();
3032 wxPyEndAllowThreads(__tstate
);
3033 if (PyErr_Occurred()) SWIG_fail
;
3037 resultptr
= new wxSize((wxSize
&) result
);
3038 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
3046 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3047 PyObject
*resultobj
;
3048 wxRect
*arg1
= (wxRect
*) 0 ;
3051 PyObject
* obj0
= 0 ;
3052 PyObject
* obj1
= 0 ;
3054 (char *) "self",(char *) "s", NULL
3057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3061 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3065 (arg1
)->SetSize((wxSize
const &)*arg2
);
3067 wxPyEndAllowThreads(__tstate
);
3068 if (PyErr_Occurred()) SWIG_fail
;
3070 Py_INCREF(Py_None
); resultobj
= Py_None
;
3077 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3078 PyObject
*resultobj
;
3079 wxRect
*arg1
= (wxRect
*) 0 ;
3081 PyObject
* obj0
= 0 ;
3083 (char *) "self", NULL
3086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3090 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3092 wxPyEndAllowThreads(__tstate
);
3093 if (PyErr_Occurred()) SWIG_fail
;
3095 resultobj
= PyInt_FromLong((long)result
);
3102 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3103 PyObject
*resultobj
;
3104 wxRect
*arg1
= (wxRect
*) 0 ;
3106 PyObject
* obj0
= 0 ;
3108 (char *) "self", NULL
3111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3115 result
= (int)((wxRect
const *)arg1
)->GetTop();
3117 wxPyEndAllowThreads(__tstate
);
3118 if (PyErr_Occurred()) SWIG_fail
;
3120 resultobj
= PyInt_FromLong((long)result
);
3127 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3128 PyObject
*resultobj
;
3129 wxRect
*arg1
= (wxRect
*) 0 ;
3131 PyObject
* obj0
= 0 ;
3133 (char *) "self", NULL
3136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3140 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3142 wxPyEndAllowThreads(__tstate
);
3143 if (PyErr_Occurred()) SWIG_fail
;
3145 resultobj
= PyInt_FromLong((long)result
);
3152 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3153 PyObject
*resultobj
;
3154 wxRect
*arg1
= (wxRect
*) 0 ;
3156 PyObject
* obj0
= 0 ;
3158 (char *) "self", NULL
3161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3165 result
= (int)((wxRect
const *)arg1
)->GetRight();
3167 wxPyEndAllowThreads(__tstate
);
3168 if (PyErr_Occurred()) SWIG_fail
;
3170 resultobj
= PyInt_FromLong((long)result
);
3177 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3178 PyObject
*resultobj
;
3179 wxRect
*arg1
= (wxRect
*) 0 ;
3181 PyObject
* obj0
= 0 ;
3183 (char *) "self",(char *) "left", NULL
3186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3190 (arg1
)->SetLeft(arg2
);
3192 wxPyEndAllowThreads(__tstate
);
3193 if (PyErr_Occurred()) SWIG_fail
;
3195 Py_INCREF(Py_None
); resultobj
= Py_None
;
3202 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3203 PyObject
*resultobj
;
3204 wxRect
*arg1
= (wxRect
*) 0 ;
3206 PyObject
* obj0
= 0 ;
3208 (char *) "self",(char *) "right", NULL
3211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3215 (arg1
)->SetRight(arg2
);
3217 wxPyEndAllowThreads(__tstate
);
3218 if (PyErr_Occurred()) SWIG_fail
;
3220 Py_INCREF(Py_None
); resultobj
= Py_None
;
3227 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3228 PyObject
*resultobj
;
3229 wxRect
*arg1
= (wxRect
*) 0 ;
3231 PyObject
* obj0
= 0 ;
3233 (char *) "self",(char *) "top", NULL
3236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 (arg1
)->SetTop(arg2
);
3242 wxPyEndAllowThreads(__tstate
);
3243 if (PyErr_Occurred()) SWIG_fail
;
3245 Py_INCREF(Py_None
); resultobj
= Py_None
;
3252 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3253 PyObject
*resultobj
;
3254 wxRect
*arg1
= (wxRect
*) 0 ;
3256 PyObject
* obj0
= 0 ;
3258 (char *) "self",(char *) "bottom", NULL
3261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 (arg1
)->SetBottom(arg2
);
3267 wxPyEndAllowThreads(__tstate
);
3268 if (PyErr_Occurred()) SWIG_fail
;
3270 Py_INCREF(Py_None
); resultobj
= Py_None
;
3277 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3278 PyObject
*resultobj
;
3279 wxRect
*arg1
= (wxRect
*) 0 ;
3283 PyObject
* obj0
= 0 ;
3285 (char *) "self",(char *) "dx",(char *) "dy", NULL
3288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3294 result
= (wxRect
*) &_result_ref
;
3297 wxPyEndAllowThreads(__tstate
);
3298 if (PyErr_Occurred()) SWIG_fail
;
3300 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3307 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3308 PyObject
*resultobj
;
3309 wxRect
*arg1
= (wxRect
*) 0 ;
3313 PyObject
* obj0
= 0 ;
3315 (char *) "self",(char *) "dx",(char *) "dy", NULL
3318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3323 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3324 result
= (wxRect
*) &_result_ref
;
3327 wxPyEndAllowThreads(__tstate
);
3328 if (PyErr_Occurred()) SWIG_fail
;
3330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3337 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3338 PyObject
*resultobj
;
3339 wxRect
*arg1
= (wxRect
*) 0 ;
3342 PyObject
* obj0
= 0 ;
3344 (char *) "self",(char *) "dx",(char *) "dy", NULL
3347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3351 (arg1
)->Offset(arg2
,arg3
);
3353 wxPyEndAllowThreads(__tstate
);
3354 if (PyErr_Occurred()) SWIG_fail
;
3356 Py_INCREF(Py_None
); resultobj
= Py_None
;
3363 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3364 PyObject
*resultobj
;
3365 wxRect
*arg1
= (wxRect
*) 0 ;
3368 PyObject
* obj0
= 0 ;
3369 PyObject
* obj1
= 0 ;
3371 (char *) "self",(char *) "pt", NULL
3374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3378 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3382 (arg1
)->Offset((wxPoint
const &)*arg2
);
3384 wxPyEndAllowThreads(__tstate
);
3385 if (PyErr_Occurred()) SWIG_fail
;
3387 Py_INCREF(Py_None
); resultobj
= Py_None
;
3394 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3395 PyObject
*resultobj
;
3396 wxRect
*arg1
= (wxRect
*) 0 ;
3400 PyObject
* obj0
= 0 ;
3401 PyObject
* obj1
= 0 ;
3403 (char *) "self",(char *) "rect", NULL
3406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3410 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3415 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3416 result
= (wxRect
*) &_result_ref
;
3419 wxPyEndAllowThreads(__tstate
);
3420 if (PyErr_Occurred()) SWIG_fail
;
3422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3429 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3430 PyObject
*resultobj
;
3431 wxRect
*arg1
= (wxRect
*) 0 ;
3435 PyObject
* obj0
= 0 ;
3436 PyObject
* obj1
= 0 ;
3438 (char *) "self",(char *) "rect", NULL
3441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3445 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3449 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3451 wxPyEndAllowThreads(__tstate
);
3452 if (PyErr_Occurred()) SWIG_fail
;
3456 resultptr
= new wxRect((wxRect
&) result
);
3457 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3465 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3466 PyObject
*resultobj
;
3467 wxRect
*arg1
= (wxRect
*) 0 ;
3471 PyObject
* obj0
= 0 ;
3472 PyObject
* obj1
= 0 ;
3474 (char *) "self",(char *) "rect", NULL
3477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3481 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3486 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3487 result
= (wxRect
*) &_result_ref
;
3490 wxPyEndAllowThreads(__tstate
);
3491 if (PyErr_Occurred()) SWIG_fail
;
3493 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3500 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3501 PyObject
*resultobj
;
3502 wxRect
*arg1
= (wxRect
*) 0 ;
3506 PyObject
* obj0
= 0 ;
3507 PyObject
* obj1
= 0 ;
3509 (char *) "self",(char *) "rect", NULL
3512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3516 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3520 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3522 wxPyEndAllowThreads(__tstate
);
3523 if (PyErr_Occurred()) SWIG_fail
;
3525 resultobj
= PyInt_FromLong((long)result
);
3532 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3533 PyObject
*resultobj
;
3534 wxRect
*arg1
= (wxRect
*) 0 ;
3538 PyObject
* obj0
= 0 ;
3539 PyObject
* obj1
= 0 ;
3541 (char *) "self",(char *) "rect", NULL
3544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3548 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3552 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3554 wxPyEndAllowThreads(__tstate
);
3555 if (PyErr_Occurred()) SWIG_fail
;
3557 resultobj
= PyInt_FromLong((long)result
);
3564 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3565 PyObject
*resultobj
;
3566 wxRect
*arg1
= (wxRect
*) 0 ;
3570 PyObject
* obj0
= 0 ;
3572 (char *) "self",(char *) "x",(char *) "y", NULL
3575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3579 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3581 wxPyEndAllowThreads(__tstate
);
3582 if (PyErr_Occurred()) SWIG_fail
;
3584 resultobj
= PyInt_FromLong((long)result
);
3591 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3592 PyObject
*resultobj
;
3593 wxRect
*arg1
= (wxRect
*) 0 ;
3597 PyObject
* obj0
= 0 ;
3598 PyObject
* obj1
= 0 ;
3600 (char *) "self",(char *) "pt", NULL
3603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3607 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3611 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3613 wxPyEndAllowThreads(__tstate
);
3614 if (PyErr_Occurred()) SWIG_fail
;
3616 resultobj
= PyInt_FromLong((long)result
);
3623 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3624 PyObject
*resultobj
;
3625 wxRect
*arg1
= (wxRect
*) 0 ;
3629 PyObject
* obj0
= 0 ;
3630 PyObject
* obj1
= 0 ;
3632 (char *) "self",(char *) "rect", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3639 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3643 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3645 wxPyEndAllowThreads(__tstate
);
3646 if (PyErr_Occurred()) SWIG_fail
;
3648 resultobj
= PyInt_FromLong((long)result
);
3655 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3656 PyObject
*resultobj
;
3657 wxRect
*arg1
= (wxRect
*) 0 ;
3659 PyObject
* obj0
= 0 ;
3661 (char *) "self",(char *) "x", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3666 if (arg1
) (arg1
)->x
= arg2
;
3668 Py_INCREF(Py_None
); resultobj
= Py_None
;
3675 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3676 PyObject
*resultobj
;
3677 wxRect
*arg1
= (wxRect
*) 0 ;
3679 PyObject
* obj0
= 0 ;
3681 (char *) "self", NULL
3684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3686 result
= (int) ((arg1
)->x
);
3688 resultobj
= PyInt_FromLong((long)result
);
3695 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3696 PyObject
*resultobj
;
3697 wxRect
*arg1
= (wxRect
*) 0 ;
3699 PyObject
* obj0
= 0 ;
3701 (char *) "self",(char *) "y", NULL
3704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3706 if (arg1
) (arg1
)->y
= arg2
;
3708 Py_INCREF(Py_None
); resultobj
= Py_None
;
3715 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3716 PyObject
*resultobj
;
3717 wxRect
*arg1
= (wxRect
*) 0 ;
3719 PyObject
* obj0
= 0 ;
3721 (char *) "self", NULL
3724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3726 result
= (int) ((arg1
)->y
);
3728 resultobj
= PyInt_FromLong((long)result
);
3735 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3736 PyObject
*resultobj
;
3737 wxRect
*arg1
= (wxRect
*) 0 ;
3739 PyObject
* obj0
= 0 ;
3741 (char *) "self",(char *) "width", NULL
3744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3746 if (arg1
) (arg1
)->width
= arg2
;
3748 Py_INCREF(Py_None
); resultobj
= Py_None
;
3755 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3756 PyObject
*resultobj
;
3757 wxRect
*arg1
= (wxRect
*) 0 ;
3759 PyObject
* obj0
= 0 ;
3761 (char *) "self", NULL
3764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3766 result
= (int) ((arg1
)->width
);
3768 resultobj
= PyInt_FromLong((long)result
);
3775 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3776 PyObject
*resultobj
;
3777 wxRect
*arg1
= (wxRect
*) 0 ;
3779 PyObject
* obj0
= 0 ;
3781 (char *) "self",(char *) "height", NULL
3784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3786 if (arg1
) (arg1
)->height
= arg2
;
3788 Py_INCREF(Py_None
); resultobj
= Py_None
;
3795 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3796 PyObject
*resultobj
;
3797 wxRect
*arg1
= (wxRect
*) 0 ;
3799 PyObject
* obj0
= 0 ;
3801 (char *) "self", NULL
3804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3806 result
= (int) ((arg1
)->height
);
3808 resultobj
= PyInt_FromLong((long)result
);
3815 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3816 PyObject
*resultobj
;
3817 wxRect
*arg1
= (wxRect
*) 0 ;
3818 int arg2
= (int) 0 ;
3819 int arg3
= (int) 0 ;
3820 int arg4
= (int) 0 ;
3821 int arg5
= (int) 0 ;
3822 PyObject
* obj0
= 0 ;
3824 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3831 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3833 wxPyEndAllowThreads(__tstate
);
3834 if (PyErr_Occurred()) SWIG_fail
;
3836 Py_INCREF(Py_None
); resultobj
= Py_None
;
3843 static PyObject
*_wrap_Rect_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3844 PyObject
*resultobj
;
3845 wxRect
*arg1
= (wxRect
*) 0 ;
3847 PyObject
* obj0
= 0 ;
3849 (char *) "self", NULL
3852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_asTuple",kwnames
,&obj0
)) goto fail
;
3853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3856 result
= (PyObject
*)wxRect_asTuple(arg1
);
3858 wxPyEndAllowThreads(__tstate
);
3859 if (PyErr_Occurred()) SWIG_fail
;
3868 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3871 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3873 return Py_BuildValue((char *)"");
3875 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3876 PyObject
*resultobj
;
3877 wxRect
*arg1
= (wxRect
*) 0 ;
3878 wxRect
*arg2
= (wxRect
*) 0 ;
3880 PyObject
* obj0
= 0 ;
3881 PyObject
* obj1
= 0 ;
3883 (char *) "r1",(char *) "r2", NULL
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3888 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3903 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3905 double arg1
= (double) 0.0 ;
3906 double arg2
= (double) 0.0 ;
3909 (char *) "x",(char *) "y", NULL
3912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3927 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxPoint2D
*arg1
= 0 ;
3932 PyObject
* obj0
= 0 ;
3937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
3940 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
3946 wxPyEndAllowThreads(__tstate
);
3947 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3956 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3957 PyObject
*resultobj
;
3961 PyObject
* obj0
= 0 ;
3966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
3969 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3973 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
3975 wxPyEndAllowThreads(__tstate
);
3976 if (PyErr_Occurred()) SWIG_fail
;
3978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3985 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3986 PyObject
*resultobj
;
3987 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3988 int *arg2
= (int *) 0 ;
3989 int *arg3
= (int *) 0 ;
3992 PyObject
* obj0
= 0 ;
3994 (char *) "self", NULL
3999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4005 wxPyEndAllowThreads(__tstate
);
4006 if (PyErr_Occurred()) SWIG_fail
;
4008 Py_INCREF(Py_None
); resultobj
= Py_None
;
4010 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4011 resultobj
= t_output_helper(resultobj
,o
);
4014 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4015 resultobj
= t_output_helper(resultobj
,o
);
4023 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4024 PyObject
*resultobj
;
4025 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4026 int *arg2
= (int *) 0 ;
4027 int *arg3
= (int *) 0 ;
4030 PyObject
* obj0
= 0 ;
4032 (char *) "self", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 Py_INCREF(Py_None
); resultobj
= Py_None
;
4048 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4049 resultobj
= t_output_helper(resultobj
,o
);
4052 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4053 resultobj
= t_output_helper(resultobj
,o
);
4061 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4062 PyObject
*resultobj
;
4063 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4065 PyObject
* obj0
= 0 ;
4067 (char *) "self", NULL
4070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4074 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4076 wxPyEndAllowThreads(__tstate
);
4077 if (PyErr_Occurred()) SWIG_fail
;
4079 resultobj
= PyFloat_FromDouble(result
);
4086 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4087 PyObject
*resultobj
;
4088 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4090 PyObject
* obj0
= 0 ;
4092 (char *) "self", NULL
4095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4099 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4101 wxPyEndAllowThreads(__tstate
);
4102 if (PyErr_Occurred()) SWIG_fail
;
4104 resultobj
= PyFloat_FromDouble(result
);
4111 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4112 PyObject
*resultobj
;
4113 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4115 PyObject
* obj0
= 0 ;
4117 (char *) "self",(char *) "length", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4124 (arg1
)->SetVectorLength(arg2
);
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 Py_INCREF(Py_None
); resultobj
= Py_None
;
4136 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
;
4138 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4140 PyObject
* obj0
= 0 ;
4142 (char *) "self",(char *) "degrees", NULL
4145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4149 (arg1
)->SetVectorAngle(arg2
);
4151 wxPyEndAllowThreads(__tstate
);
4152 if (PyErr_Occurred()) SWIG_fail
;
4154 Py_INCREF(Py_None
); resultobj
= Py_None
;
4161 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4162 PyObject
*resultobj
;
4163 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4164 wxPoint2D
*arg2
= 0 ;
4167 PyObject
* obj0
= 0 ;
4168 PyObject
* obj1
= 0 ;
4170 (char *) "self",(char *) "pt", NULL
4173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4177 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4181 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4183 wxPyEndAllowThreads(__tstate
);
4184 if (PyErr_Occurred()) SWIG_fail
;
4186 resultobj
= PyFloat_FromDouble(result
);
4193 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4194 PyObject
*resultobj
;
4195 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4196 wxPoint2D
*arg2
= 0 ;
4199 PyObject
* obj0
= 0 ;
4200 PyObject
* obj1
= 0 ;
4202 (char *) "self",(char *) "pt", NULL
4205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4209 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4213 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4215 wxPyEndAllowThreads(__tstate
);
4216 if (PyErr_Occurred()) SWIG_fail
;
4218 resultobj
= PyFloat_FromDouble(result
);
4225 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4226 PyObject
*resultobj
;
4227 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4228 wxPoint2D
*arg2
= 0 ;
4231 PyObject
* obj0
= 0 ;
4232 PyObject
* obj1
= 0 ;
4234 (char *) "self",(char *) "vec", NULL
4237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4241 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4245 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4247 wxPyEndAllowThreads(__tstate
);
4248 if (PyErr_Occurred()) SWIG_fail
;
4250 resultobj
= PyFloat_FromDouble(result
);
4257 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
;
4259 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4260 wxPoint2D
*arg2
= 0 ;
4263 PyObject
* obj0
= 0 ;
4264 PyObject
* obj1
= 0 ;
4266 (char *) "self",(char *) "vec", NULL
4269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4273 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4277 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4279 wxPyEndAllowThreads(__tstate
);
4280 if (PyErr_Occurred()) SWIG_fail
;
4282 resultobj
= PyFloat_FromDouble(result
);
4289 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4290 PyObject
*resultobj
;
4291 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4293 PyObject
* obj0
= 0 ;
4295 (char *) "self", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4302 result
= (arg1
)->operator -();
4304 wxPyEndAllowThreads(__tstate
);
4305 if (PyErr_Occurred()) SWIG_fail
;
4308 wxPoint2D
* resultptr
;
4309 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4310 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4318 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4321 wxPoint2D
*arg2
= 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4327 (char *) "self",(char *) "pt", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4334 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4339 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4340 result
= (wxPoint2D
*) &_result_ref
;
4343 wxPyEndAllowThreads(__tstate
);
4344 if (PyErr_Occurred()) SWIG_fail
;
4346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4353 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4354 PyObject
*resultobj
;
4355 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4356 wxPoint2D
*arg2
= 0 ;
4359 PyObject
* obj0
= 0 ;
4360 PyObject
* obj1
= 0 ;
4362 (char *) "self",(char *) "pt", NULL
4365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4369 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4374 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4375 result
= (wxPoint2D
*) &_result_ref
;
4378 wxPyEndAllowThreads(__tstate
);
4379 if (PyErr_Occurred()) SWIG_fail
;
4381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4388 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4389 PyObject
*resultobj
;
4390 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4391 wxPoint2D
*arg2
= 0 ;
4394 PyObject
* obj0
= 0 ;
4395 PyObject
* obj1
= 0 ;
4397 (char *) "self",(char *) "pt", NULL
4400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4404 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4409 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4410 result
= (wxPoint2D
*) &_result_ref
;
4413 wxPyEndAllowThreads(__tstate
);
4414 if (PyErr_Occurred()) SWIG_fail
;
4416 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4423 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4424 PyObject
*resultobj
;
4425 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4426 wxPoint2D
*arg2
= 0 ;
4429 PyObject
* obj0
= 0 ;
4430 PyObject
* obj1
= 0 ;
4432 (char *) "self",(char *) "pt", NULL
4435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4439 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4444 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4445 result
= (wxPoint2D
*) &_result_ref
;
4448 wxPyEndAllowThreads(__tstate
);
4449 if (PyErr_Occurred()) SWIG_fail
;
4451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4458 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4459 PyObject
*resultobj
;
4460 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4461 wxPoint2D
*arg2
= 0 ;
4464 PyObject
* obj0
= 0 ;
4465 PyObject
* obj1
= 0 ;
4467 (char *) "self",(char *) "pt", NULL
4470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4474 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4478 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4480 wxPyEndAllowThreads(__tstate
);
4481 if (PyErr_Occurred()) SWIG_fail
;
4483 resultobj
= PyInt_FromLong((long)result
);
4490 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4491 PyObject
*resultobj
;
4492 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4493 wxPoint2D
*arg2
= 0 ;
4496 PyObject
* obj0
= 0 ;
4497 PyObject
* obj1
= 0 ;
4499 (char *) "self",(char *) "pt", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4506 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4510 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4512 wxPyEndAllowThreads(__tstate
);
4513 if (PyErr_Occurred()) SWIG_fail
;
4515 resultobj
= PyInt_FromLong((long)result
);
4522 static PyObject
*_wrap_Point2D_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4523 PyObject
*resultobj
;
4524 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4526 PyObject
* obj0
= 0 ;
4528 (char *) "self",(char *) "m_x", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4533 if (arg1
) (arg1
)->m_x
= arg2
;
4535 Py_INCREF(Py_None
); resultobj
= Py_None
;
4542 static PyObject
*_wrap_Point2D_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4543 PyObject
*resultobj
;
4544 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4546 PyObject
* obj0
= 0 ;
4548 (char *) "self", NULL
4551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_m_x_get",kwnames
,&obj0
)) goto fail
;
4552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4553 result
= (double) ((arg1
)->m_x
);
4555 resultobj
= PyFloat_FromDouble(result
);
4562 static PyObject
*_wrap_Point2D_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4563 PyObject
*resultobj
;
4564 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4566 PyObject
* obj0
= 0 ;
4568 (char *) "self",(char *) "m_y", NULL
4571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4573 if (arg1
) (arg1
)->m_y
= arg2
;
4575 Py_INCREF(Py_None
); resultobj
= Py_None
;
4582 static PyObject
*_wrap_Point2D_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
;
4584 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4586 PyObject
* obj0
= 0 ;
4588 (char *) "self", NULL
4591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_m_y_get",kwnames
,&obj0
)) goto fail
;
4592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4593 result
= (double) ((arg1
)->m_y
);
4595 resultobj
= PyFloat_FromDouble(result
);
4602 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4603 PyObject
*resultobj
;
4604 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4606 PyObject
* obj0
= 0 ;
4608 (char *) "self",(char *) "m_x", NULL
4611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4613 if (arg1
) (arg1
)->m_x
= arg2
;
4615 Py_INCREF(Py_None
); resultobj
= Py_None
;
4622 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4623 PyObject
*resultobj
;
4624 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4628 (char *) "self", NULL
4631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4633 result
= (double) ((arg1
)->m_x
);
4635 resultobj
= PyFloat_FromDouble(result
);
4642 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4643 PyObject
*resultobj
;
4644 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4646 PyObject
* obj0
= 0 ;
4648 (char *) "self",(char *) "m_y", NULL
4651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4653 if (arg1
) (arg1
)->m_y
= arg2
;
4655 Py_INCREF(Py_None
); resultobj
= Py_None
;
4662 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4666 PyObject
* obj0
= 0 ;
4668 (char *) "self", NULL
4671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4673 result
= (double) ((arg1
)->m_y
);
4675 resultobj
= PyFloat_FromDouble(result
);
4682 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4683 PyObject
*resultobj
;
4684 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4685 double arg2
= (double) 0 ;
4686 double arg3
= (double) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self",(char *) "x",(char *) "y", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4696 wxPoint2D_Set(arg1
,arg2
,arg3
);
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_Point2D_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_asTuple",kwnames
,&obj0
)) goto fail
;
4718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (PyObject
*)wxPoint2D_asTuple(arg1
);
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4733 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4735 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4736 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4738 return Py_BuildValue((char *)"");
4740 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4741 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4746 static PyObject
*_wrap_DefaultPosition_get() {
4749 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4754 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4755 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4760 static PyObject
*_wrap_DefaultSize_get() {
4763 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4768 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4769 PyObject
*resultobj
;
4770 PyObject
*arg1
= (PyObject
*) 0 ;
4771 wxPyInputStream
*result
;
4772 PyObject
* obj0
= 0 ;
4777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4783 wxPyEndAllowThreads(__tstate
);
4784 if (PyErr_Occurred()) SWIG_fail
;
4786 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4793 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4794 PyObject
*resultobj
;
4795 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4796 PyObject
* obj0
= 0 ;
4798 (char *) "self", NULL
4801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4807 wxPyEndAllowThreads(__tstate
);
4808 if (PyErr_Occurred()) SWIG_fail
;
4810 Py_INCREF(Py_None
); resultobj
= Py_None
;
4817 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4818 PyObject
*resultobj
;
4819 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4820 PyObject
* obj0
= 0 ;
4822 (char *) "self", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 Py_INCREF(Py_None
); resultobj
= Py_None
;
4841 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4847 (char *) "self", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (bool)(arg1
)->eof();
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= PyInt_FromLong((long)result
);
4866 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4869 int arg2
= (int) -1 ;
4871 PyObject
* obj0
= 0 ;
4873 (char *) "self",(char *) "size", NULL
4876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4880 result
= (PyObject
*)(arg1
)->read(arg2
);
4882 wxPyEndAllowThreads(__tstate
);
4883 if (PyErr_Occurred()) SWIG_fail
;
4892 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4893 PyObject
*resultobj
;
4894 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4895 int arg2
= (int) -1 ;
4897 PyObject
* obj0
= 0 ;
4899 (char *) "self",(char *) "size", NULL
4902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4906 result
= (PyObject
*)(arg1
)->readline(arg2
);
4908 wxPyEndAllowThreads(__tstate
);
4909 if (PyErr_Occurred()) SWIG_fail
;
4918 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4919 PyObject
*resultobj
;
4920 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4921 int arg2
= (int) -1 ;
4923 PyObject
* obj0
= 0 ;
4925 (char *) "self",(char *) "sizehint", NULL
4928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4932 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4934 wxPyEndAllowThreads(__tstate
);
4935 if (PyErr_Occurred()) SWIG_fail
;
4944 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4945 PyObject
*resultobj
;
4946 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4948 int arg3
= (int) 0 ;
4949 PyObject
* obj0
= 0 ;
4951 (char *) "self",(char *) "offset",(char *) "whence", NULL
4954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->seek(arg2
,arg3
);
4960 wxPyEndAllowThreads(__tstate
);
4961 if (PyErr_Occurred()) SWIG_fail
;
4963 Py_INCREF(Py_None
); resultobj
= Py_None
;
4970 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4971 PyObject
*resultobj
;
4972 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4974 PyObject
* obj0
= 0 ;
4976 (char *) "self", NULL
4979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4983 result
= (int)(arg1
)->tell();
4985 wxPyEndAllowThreads(__tstate
);
4986 if (PyErr_Occurred()) SWIG_fail
;
4988 resultobj
= PyInt_FromLong((long)result
);
4995 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4996 PyObject
*resultobj
;
4997 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4999 PyObject
* obj0
= 0 ;
5001 (char *) "self", NULL
5004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
5005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5008 result
= (char)(arg1
)->Peek();
5010 wxPyEndAllowThreads(__tstate
);
5011 if (PyErr_Occurred()) SWIG_fail
;
5013 resultobj
= Py_BuildValue((char*)"c",result
);
5020 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5021 PyObject
*resultobj
;
5022 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5024 PyObject
* obj0
= 0 ;
5026 (char *) "self", NULL
5029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5033 result
= (char)(arg1
)->GetC();
5035 wxPyEndAllowThreads(__tstate
);
5036 if (PyErr_Occurred()) SWIG_fail
;
5038 resultobj
= Py_BuildValue((char*)"c",result
);
5045 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5046 PyObject
*resultobj
;
5047 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5049 PyObject
* obj0
= 0 ;
5051 (char *) "self", NULL
5054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5058 result
= (size_t)(arg1
)->LastRead();
5060 wxPyEndAllowThreads(__tstate
);
5061 if (PyErr_Occurred()) SWIG_fail
;
5063 resultobj
= PyInt_FromLong((long)result
);
5070 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5071 PyObject
*resultobj
;
5072 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5074 PyObject
* obj0
= 0 ;
5076 (char *) "self", NULL
5079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5083 result
= (bool)(arg1
)->CanRead();
5085 wxPyEndAllowThreads(__tstate
);
5086 if (PyErr_Occurred()) SWIG_fail
;
5088 resultobj
= PyInt_FromLong((long)result
);
5095 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5096 PyObject
*resultobj
;
5097 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5099 PyObject
* obj0
= 0 ;
5101 (char *) "self", NULL
5104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (bool)(arg1
)->Eof();
5110 wxPyEndAllowThreads(__tstate
);
5111 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= PyInt_FromLong((long)result
);
5120 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5121 PyObject
*resultobj
;
5122 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5125 PyObject
* obj0
= 0 ;
5127 (char *) "self",(char *) "c", NULL
5130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
5131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5134 result
= (bool)(arg1
)->Ungetch(arg2
);
5136 wxPyEndAllowThreads(__tstate
);
5137 if (PyErr_Occurred()) SWIG_fail
;
5139 resultobj
= PyInt_FromLong((long)result
);
5146 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5147 PyObject
*resultobj
;
5148 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5150 int arg3
= (int) wxFromStart
;
5152 PyObject
* obj0
= 0 ;
5154 (char *) "self",(char *) "pos",(char *) "mode", NULL
5157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5161 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5163 wxPyEndAllowThreads(__tstate
);
5164 if (PyErr_Occurred()) SWIG_fail
;
5166 resultobj
= PyInt_FromLong((long)result
);
5173 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5174 PyObject
*resultobj
;
5175 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5177 PyObject
* obj0
= 0 ;
5179 (char *) "self", NULL
5182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5186 result
= (long)(arg1
)->TellI();
5188 wxPyEndAllowThreads(__tstate
);
5189 if (PyErr_Occurred()) SWIG_fail
;
5191 resultobj
= PyInt_FromLong((long)result
);
5198 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5201 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5203 return Py_BuildValue((char *)"");
5205 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5206 PyObject
*resultobj
;
5207 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5208 PyObject
*arg2
= (PyObject
*) 0 ;
5209 PyObject
* obj0
= 0 ;
5210 PyObject
* obj1
= 0 ;
5212 (char *) "self",(char *) "obj", NULL
5215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5220 wxOutputStream_write(arg1
,arg2
);
5222 wxPyEndAllowThreads(__tstate
);
5223 if (PyErr_Occurred()) SWIG_fail
;
5225 Py_INCREF(Py_None
); resultobj
= Py_None
;
5232 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5235 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5237 return Py_BuildValue((char *)"");
5239 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5240 PyObject
*resultobj
;
5241 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5242 wxString
*arg2
= 0 ;
5243 wxString
*arg3
= 0 ;
5244 wxString
*arg4
= 0 ;
5247 wxPyInputStream
*temp1
;
5249 bool temp2
= false ;
5250 bool temp3
= false ;
5251 bool temp4
= false ;
5253 PyObject
* obj0
= 0 ;
5254 PyObject
* obj1
= 0 ;
5255 PyObject
* obj2
= 0 ;
5256 PyObject
* obj3
= 0 ;
5257 PyObject
* obj4
= 0 ;
5259 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5264 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5265 arg1
= temp1
->m_wxis
;
5268 PyErr_Clear(); // clear the failure of the wxPyConvert above
5269 arg1
= wxPyCBInputStream_create(obj0
, false);
5271 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5278 arg2
= wxString_in_helper(obj1
);
5279 if (arg2
== NULL
) SWIG_fail
;
5283 arg3
= wxString_in_helper(obj2
);
5284 if (arg3
== NULL
) SWIG_fail
;
5288 arg4
= wxString_in_helper(obj3
);
5289 if (arg4
== NULL
) SWIG_fail
;
5292 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5296 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5298 wxPyEndAllowThreads(__tstate
);
5299 if (PyErr_Occurred()) SWIG_fail
;
5302 resultobj
= wxPyMake_wxObject(result
);
5342 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5343 PyObject
*resultobj
;
5344 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5345 PyObject
* obj0
= 0 ;
5347 (char *) "self", NULL
5350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5356 wxPyEndAllowThreads(__tstate
);
5357 if (PyErr_Occurred()) SWIG_fail
;
5359 Py_INCREF(Py_None
); resultobj
= Py_None
;
5366 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5367 PyObject
*resultobj
;
5368 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5369 wxInputStream
*result
;
5370 PyObject
* obj0
= 0 ;
5372 (char *) "self", NULL
5375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 result
= (wxInputStream
*)(arg1
)->GetStream();
5381 wxPyEndAllowThreads(__tstate
);
5382 if (PyErr_Occurred()) SWIG_fail
;
5385 wxPyInputStream
* _ptr
= NULL
;
5388 _ptr
= new wxPyInputStream(result
);
5390 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), true);
5398 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5399 PyObject
*resultobj
;
5400 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5402 PyObject
* obj0
= 0 ;
5404 (char *) "self", NULL
5407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5412 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5413 result
= (wxString
*) &_result_ref
;
5416 wxPyEndAllowThreads(__tstate
);
5417 if (PyErr_Occurred()) SWIG_fail
;
5419 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5426 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5427 PyObject
*resultobj
;
5428 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5430 PyObject
* obj0
= 0 ;
5432 (char *) "self", NULL
5435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5440 wxString
const &_result_ref
= (arg1
)->GetLocation();
5441 result
= (wxString
*) &_result_ref
;
5444 wxPyEndAllowThreads(__tstate
);
5445 if (PyErr_Occurred()) SWIG_fail
;
5447 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5454 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5455 PyObject
*resultobj
;
5456 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5458 PyObject
* obj0
= 0 ;
5460 (char *) "self", NULL
5463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5468 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5469 result
= (wxString
*) &_result_ref
;
5472 wxPyEndAllowThreads(__tstate
);
5473 if (PyErr_Occurred()) SWIG_fail
;
5475 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5482 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5483 PyObject
*resultobj
;
5484 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5486 PyObject
* obj0
= 0 ;
5488 (char *) "self", NULL
5491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5495 result
= (arg1
)->GetModificationTime();
5497 wxPyEndAllowThreads(__tstate
);
5498 if (PyErr_Occurred()) SWIG_fail
;
5501 wxDateTime
* resultptr
;
5502 resultptr
= new wxDateTime((wxDateTime
&) result
);
5503 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5511 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5514 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5516 return Py_BuildValue((char *)"");
5518 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5520 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5521 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5523 return Py_BuildValue((char *)"");
5525 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5526 PyObject
*resultobj
;
5527 wxPyFileSystemHandler
*result
;
5532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5535 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5537 wxPyEndAllowThreads(__tstate
);
5538 if (PyErr_Occurred()) SWIG_fail
;
5540 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5547 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5550 PyObject
*arg2
= (PyObject
*) 0 ;
5551 PyObject
*arg3
= (PyObject
*) 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5554 PyObject
* obj2
= 0 ;
5556 (char *) "self",(char *) "self",(char *) "_class", NULL
5559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5565 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5567 wxPyEndAllowThreads(__tstate
);
5568 if (PyErr_Occurred()) SWIG_fail
;
5570 Py_INCREF(Py_None
); resultobj
= Py_None
;
5577 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5578 PyObject
*resultobj
;
5579 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5580 wxString
*arg2
= 0 ;
5582 bool temp2
= false ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5586 (char *) "self",(char *) "location", NULL
5589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5592 arg2
= wxString_in_helper(obj1
);
5593 if (arg2
== NULL
) SWIG_fail
;
5597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5598 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5600 wxPyEndAllowThreads(__tstate
);
5601 if (PyErr_Occurred()) SWIG_fail
;
5603 resultobj
= PyInt_FromLong((long)result
);
5618 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5619 PyObject
*resultobj
;
5620 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5621 wxFileSystem
*arg2
= 0 ;
5622 wxString
*arg3
= 0 ;
5624 bool temp3
= false ;
5625 PyObject
* obj0
= 0 ;
5626 PyObject
* obj1
= 0 ;
5627 PyObject
* obj2
= 0 ;
5629 (char *) "self",(char *) "fs",(char *) "location", NULL
5632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5639 arg3
= wxString_in_helper(obj2
);
5640 if (arg3
== NULL
) SWIG_fail
;
5644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5645 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5651 resultobj
= wxPyMake_wxObject(result
);
5667 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
;
5669 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5670 wxString
*arg2
= 0 ;
5671 int arg3
= (int) 0 ;
5673 bool temp2
= false ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5677 (char *) "self",(char *) "spec",(char *) "flags", NULL
5680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5683 arg2
= wxString_in_helper(obj1
);
5684 if (arg2
== NULL
) SWIG_fail
;
5688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5689 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5691 wxPyEndAllowThreads(__tstate
);
5692 if (PyErr_Occurred()) SWIG_fail
;
5696 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5698 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5715 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5716 PyObject
*resultobj
;
5717 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5719 PyObject
* obj0
= 0 ;
5721 (char *) "self", NULL
5724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (arg1
)->FindNext();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5746 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
;
5748 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5749 wxString
*arg2
= 0 ;
5751 bool temp2
= false ;
5752 PyObject
* obj0
= 0 ;
5753 PyObject
* obj1
= 0 ;
5755 (char *) "self",(char *) "location", NULL
5758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5761 arg2
= wxString_in_helper(obj1
);
5762 if (arg2
== NULL
) SWIG_fail
;
5766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5767 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5769 wxPyEndAllowThreads(__tstate
);
5770 if (PyErr_Occurred()) SWIG_fail
;
5774 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5776 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5793 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5794 PyObject
*resultobj
;
5795 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5796 wxString
*arg2
= 0 ;
5798 bool temp2
= false ;
5799 PyObject
* obj0
= 0 ;
5800 PyObject
* obj1
= 0 ;
5802 (char *) "self",(char *) "location", NULL
5805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5808 arg2
= wxString_in_helper(obj1
);
5809 if (arg2
== NULL
) SWIG_fail
;
5813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5814 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5816 wxPyEndAllowThreads(__tstate
);
5817 if (PyErr_Occurred()) SWIG_fail
;
5821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5840 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5841 PyObject
*resultobj
;
5842 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5843 wxString
*arg2
= 0 ;
5845 bool temp2
= false ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5849 (char *) "self",(char *) "location", NULL
5852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5855 arg2
= wxString_in_helper(obj1
);
5856 if (arg2
== NULL
) SWIG_fail
;
5860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5861 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5863 wxPyEndAllowThreads(__tstate
);
5864 if (PyErr_Occurred()) SWIG_fail
;
5868 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5870 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5887 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5888 PyObject
*resultobj
;
5889 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5890 wxString
*arg2
= 0 ;
5892 bool temp2
= false ;
5893 PyObject
* obj0
= 0 ;
5894 PyObject
* obj1
= 0 ;
5896 (char *) "self",(char *) "location", NULL
5899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5902 arg2
= wxString_in_helper(obj1
);
5903 if (arg2
== NULL
) SWIG_fail
;
5907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5908 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5915 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5917 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5934 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5935 PyObject
*resultobj
;
5936 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5937 wxString
*arg2
= 0 ;
5939 bool temp2
= false ;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5943 (char *) "self",(char *) "location", NULL
5946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5949 arg2
= wxString_in_helper(obj1
);
5950 if (arg2
== NULL
) SWIG_fail
;
5954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5955 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5957 wxPyEndAllowThreads(__tstate
);
5958 if (PyErr_Occurred()) SWIG_fail
;
5962 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5964 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5981 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5983 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5984 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5986 return Py_BuildValue((char *)"");
5988 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5989 PyObject
*resultobj
;
5990 wxFileSystem
*result
;
5995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (wxFileSystem
*)new wxFileSystem();
6000 wxPyEndAllowThreads(__tstate
);
6001 if (PyErr_Occurred()) SWIG_fail
;
6004 resultobj
= wxPyMake_wxObject(result
);
6012 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6013 PyObject
*resultobj
;
6014 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6015 PyObject
* obj0
= 0 ;
6017 (char *) "self", NULL
6020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6026 wxPyEndAllowThreads(__tstate
);
6027 if (PyErr_Occurred()) SWIG_fail
;
6029 Py_INCREF(Py_None
); resultobj
= Py_None
;
6036 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6039 wxString
*arg2
= 0 ;
6040 bool arg3
= (bool) FALSE
;
6041 bool temp2
= false ;
6042 PyObject
* obj0
= 0 ;
6043 PyObject
* obj1
= 0 ;
6044 PyObject
* obj2
= 0 ;
6046 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6052 arg2
= wxString_in_helper(obj1
);
6053 if (arg2
== NULL
) SWIG_fail
;
6057 arg3
= PyInt_AsLong(obj2
) ? true : false;
6058 if (PyErr_Occurred()) SWIG_fail
;
6061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6062 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6064 wxPyEndAllowThreads(__tstate
);
6065 if (PyErr_Occurred()) SWIG_fail
;
6067 Py_INCREF(Py_None
); resultobj
= Py_None
;
6082 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6083 PyObject
*resultobj
;
6084 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6086 PyObject
* obj0
= 0 ;
6088 (char *) "self", NULL
6091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6095 result
= (arg1
)->GetPath();
6097 wxPyEndAllowThreads(__tstate
);
6098 if (PyErr_Occurred()) SWIG_fail
;
6102 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6104 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6113 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6114 PyObject
*resultobj
;
6115 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6116 wxString
*arg2
= 0 ;
6118 bool temp2
= false ;
6119 PyObject
* obj0
= 0 ;
6120 PyObject
* obj1
= 0 ;
6122 (char *) "self",(char *) "location", NULL
6125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6128 arg2
= wxString_in_helper(obj1
);
6129 if (arg2
== NULL
) SWIG_fail
;
6133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6134 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6136 wxPyEndAllowThreads(__tstate
);
6137 if (PyErr_Occurred()) SWIG_fail
;
6140 resultobj
= wxPyMake_wxObject(result
);
6156 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6157 PyObject
*resultobj
;
6158 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6159 wxString
*arg2
= 0 ;
6160 int arg3
= (int) 0 ;
6162 bool temp2
= false ;
6163 PyObject
* obj0
= 0 ;
6164 PyObject
* obj1
= 0 ;
6166 (char *) "self",(char *) "spec",(char *) "flags", NULL
6169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6172 arg2
= wxString_in_helper(obj1
);
6173 if (arg2
== NULL
) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6204 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6205 PyObject
*resultobj
;
6206 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6208 PyObject
* obj0
= 0 ;
6210 (char *) "self", NULL
6213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6217 result
= (arg1
)->FindNext();
6219 wxPyEndAllowThreads(__tstate
);
6220 if (PyErr_Occurred()) SWIG_fail
;
6224 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6226 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6235 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6236 PyObject
*resultobj
;
6237 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6238 PyObject
* obj0
= 0 ;
6240 (char *) "handler", NULL
6243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6247 wxFileSystem::AddHandler(arg1
);
6249 wxPyEndAllowThreads(__tstate
);
6250 if (PyErr_Occurred()) SWIG_fail
;
6252 Py_INCREF(Py_None
); resultobj
= Py_None
;
6259 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6260 PyObject
*resultobj
;
6265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6268 wxFileSystem::CleanUpHandlers();
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6273 Py_INCREF(Py_None
); resultobj
= Py_None
;
6280 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6281 PyObject
*resultobj
;
6282 wxString
*arg1
= 0 ;
6284 bool temp1
= false ;
6285 PyObject
* obj0
= 0 ;
6287 (char *) "filename", NULL
6290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6292 arg1
= wxString_in_helper(obj0
);
6293 if (arg1
== NULL
) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6324 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6326 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6327 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6329 return Py_BuildValue((char *)"");
6331 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6332 PyObject
*resultobj
;
6333 wxString
*arg1
= 0 ;
6335 bool temp1
= false ;
6336 PyObject
* obj0
= 0 ;
6338 (char *) "url", NULL
6341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6343 arg1
= wxString_in_helper(obj0
);
6344 if (arg1
== NULL
) SWIG_fail
;
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6351 wxPyEndAllowThreads(__tstate
);
6352 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6358 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6375 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6376 PyObject
*resultobj
;
6377 wxInternetFSHandler
*result
;
6382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6385 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6387 wxPyEndAllowThreads(__tstate
);
6388 if (PyErr_Occurred()) SWIG_fail
;
6390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6397 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6398 PyObject
*resultobj
;
6399 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6400 wxString
*arg2
= 0 ;
6402 bool temp2
= false ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6406 (char *) "self",(char *) "location", NULL
6409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6412 arg2
= wxString_in_helper(obj1
);
6413 if (arg2
== NULL
) SWIG_fail
;
6417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6418 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6420 wxPyEndAllowThreads(__tstate
);
6421 if (PyErr_Occurred()) SWIG_fail
;
6423 resultobj
= PyInt_FromLong((long)result
);
6438 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6439 PyObject
*resultobj
;
6440 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6441 wxFileSystem
*arg2
= 0 ;
6442 wxString
*arg3
= 0 ;
6444 bool temp3
= false ;
6445 PyObject
* obj0
= 0 ;
6446 PyObject
* obj1
= 0 ;
6447 PyObject
* obj2
= 0 ;
6449 (char *) "self",(char *) "fs",(char *) "location", NULL
6452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6459 arg3
= wxString_in_helper(obj2
);
6460 if (arg3
== NULL
) SWIG_fail
;
6464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6465 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6467 wxPyEndAllowThreads(__tstate
);
6468 if (PyErr_Occurred()) SWIG_fail
;
6471 resultobj
= wxPyMake_wxObject(result
);
6487 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6489 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6490 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6492 return Py_BuildValue((char *)"");
6494 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6495 PyObject
*resultobj
;
6496 wxZipFSHandler
*result
;
6501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6504 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6506 wxPyEndAllowThreads(__tstate
);
6507 if (PyErr_Occurred()) SWIG_fail
;
6509 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6516 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6517 PyObject
*resultobj
;
6518 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6519 wxString
*arg2
= 0 ;
6521 bool temp2
= false ;
6522 PyObject
* obj0
= 0 ;
6523 PyObject
* obj1
= 0 ;
6525 (char *) "self",(char *) "location", NULL
6528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6531 arg2
= wxString_in_helper(obj1
);
6532 if (arg2
== NULL
) SWIG_fail
;
6536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6537 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6539 wxPyEndAllowThreads(__tstate
);
6540 if (PyErr_Occurred()) SWIG_fail
;
6542 resultobj
= PyInt_FromLong((long)result
);
6557 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6558 PyObject
*resultobj
;
6559 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6560 wxFileSystem
*arg2
= 0 ;
6561 wxString
*arg3
= 0 ;
6563 bool temp3
= false ;
6564 PyObject
* obj0
= 0 ;
6565 PyObject
* obj1
= 0 ;
6566 PyObject
* obj2
= 0 ;
6568 (char *) "self",(char *) "fs",(char *) "location", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6573 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6575 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6578 arg3
= wxString_in_helper(obj2
);
6579 if (arg3
== NULL
) SWIG_fail
;
6583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6584 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6586 wxPyEndAllowThreads(__tstate
);
6587 if (PyErr_Occurred()) SWIG_fail
;
6590 resultobj
= wxPyMake_wxObject(result
);
6606 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6607 PyObject
*resultobj
;
6608 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6609 wxString
*arg2
= 0 ;
6610 int arg3
= (int) 0 ;
6612 bool temp2
= false ;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "self",(char *) "spec",(char *) "flags", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6622 arg2
= wxString_in_helper(obj1
);
6623 if (arg2
== NULL
) SWIG_fail
;
6627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6628 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6630 wxPyEndAllowThreads(__tstate
);
6631 if (PyErr_Occurred()) SWIG_fail
;
6635 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6637 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6654 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6655 PyObject
*resultobj
;
6656 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6658 PyObject
* obj0
= 0 ;
6660 (char *) "self", NULL
6663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 result
= (arg1
)->FindNext();
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6674 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6676 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6685 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6687 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6688 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6690 return Py_BuildValue((char *)"");
6692 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6693 PyObject
*resultobj
;
6694 wxString
*arg1
= 0 ;
6697 bool temp1
= false ;
6698 PyObject
* obj0
= 0 ;
6699 PyObject
* obj1
= 0 ;
6701 (char *) "filename",(char *) "image",(char *) "type", NULL
6704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6706 arg1
= wxString_in_helper(obj0
);
6707 if (arg1
== NULL
) SWIG_fail
;
6710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6712 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6716 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6718 wxPyEndAllowThreads(__tstate
);
6719 if (PyErr_Occurred()) SWIG_fail
;
6721 Py_INCREF(Py_None
); resultobj
= Py_None
;
6736 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6737 PyObject
*resultobj
;
6738 wxString
*arg1
= 0 ;
6739 wxBitmap
*arg2
= 0 ;
6741 bool temp1
= false ;
6742 PyObject
* obj0
= 0 ;
6743 PyObject
* obj1
= 0 ;
6745 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6750 arg1
= wxString_in_helper(obj0
);
6751 if (arg1
== NULL
) SWIG_fail
;
6754 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6756 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6760 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6762 wxPyEndAllowThreads(__tstate
);
6763 if (PyErr_Occurred()) SWIG_fail
;
6765 Py_INCREF(Py_None
); resultobj
= Py_None
;
6780 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6781 PyObject
*resultobj
;
6782 wxString
*arg1
= 0 ;
6783 PyObject
*arg2
= (PyObject
*) 0 ;
6784 bool temp1
= false ;
6785 PyObject
* obj0
= 0 ;
6786 PyObject
* obj1
= 0 ;
6788 (char *) "filename",(char *) "data", NULL
6791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6793 arg1
= wxString_in_helper(obj0
);
6794 if (arg1
== NULL
) SWIG_fail
;
6799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6800 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6802 wxPyEndAllowThreads(__tstate
);
6803 if (PyErr_Occurred()) SWIG_fail
;
6805 Py_INCREF(Py_None
); resultobj
= Py_None
;
6820 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6821 PyObject
*resultobj
;
6822 wxMemoryFSHandler
*result
;
6827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6830 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6832 wxPyEndAllowThreads(__tstate
);
6833 if (PyErr_Occurred()) SWIG_fail
;
6835 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6842 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6843 PyObject
*resultobj
;
6844 wxString
*arg1
= 0 ;
6845 bool temp1
= false ;
6846 PyObject
* obj0
= 0 ;
6848 (char *) "filename", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6853 arg1
= wxString_in_helper(obj0
);
6854 if (arg1
== NULL
) SWIG_fail
;
6858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6859 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6861 wxPyEndAllowThreads(__tstate
);
6862 if (PyErr_Occurred()) SWIG_fail
;
6864 Py_INCREF(Py_None
); resultobj
= Py_None
;
6879 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6880 PyObject
*resultobj
;
6881 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6882 wxString
*arg2
= 0 ;
6884 bool temp2
= false ;
6885 PyObject
* obj0
= 0 ;
6886 PyObject
* obj1
= 0 ;
6888 (char *) "self",(char *) "location", NULL
6891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6894 arg2
= wxString_in_helper(obj1
);
6895 if (arg2
== NULL
) SWIG_fail
;
6899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6900 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6902 wxPyEndAllowThreads(__tstate
);
6903 if (PyErr_Occurred()) SWIG_fail
;
6905 resultobj
= PyInt_FromLong((long)result
);
6920 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6921 PyObject
*resultobj
;
6922 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6923 wxFileSystem
*arg2
= 0 ;
6924 wxString
*arg3
= 0 ;
6926 bool temp3
= false ;
6927 PyObject
* obj0
= 0 ;
6928 PyObject
* obj1
= 0 ;
6929 PyObject
* obj2
= 0 ;
6931 (char *) "self",(char *) "fs",(char *) "location", NULL
6934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6938 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6941 arg3
= wxString_in_helper(obj2
);
6942 if (arg3
== NULL
) SWIG_fail
;
6946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6947 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6949 wxPyEndAllowThreads(__tstate
);
6950 if (PyErr_Occurred()) SWIG_fail
;
6953 resultobj
= wxPyMake_wxObject(result
);
6969 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6970 PyObject
*resultobj
;
6971 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6972 wxString
*arg2
= 0 ;
6973 int arg3
= (int) 0 ;
6975 bool temp2
= false ;
6976 PyObject
* obj0
= 0 ;
6977 PyObject
* obj1
= 0 ;
6979 (char *) "self",(char *) "spec",(char *) "flags", NULL
6982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6985 arg2
= wxString_in_helper(obj1
);
6986 if (arg2
== NULL
) SWIG_fail
;
6990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6991 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6993 wxPyEndAllowThreads(__tstate
);
6994 if (PyErr_Occurred()) SWIG_fail
;
6998 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7000 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7017 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7018 PyObject
*resultobj
;
7019 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7021 PyObject
* obj0
= 0 ;
7023 (char *) "self", NULL
7026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7030 result
= (arg1
)->FindNext();
7032 wxPyEndAllowThreads(__tstate
);
7033 if (PyErr_Occurred()) SWIG_fail
;
7037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7048 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7050 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7051 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7053 return Py_BuildValue((char *)"");
7055 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7056 PyObject
*resultobj
;
7057 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7059 PyObject
* obj0
= 0 ;
7061 (char *) "self", NULL
7064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7068 result
= (arg1
)->GetName();
7070 wxPyEndAllowThreads(__tstate
);
7071 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7086 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7087 PyObject
*resultobj
;
7088 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7090 PyObject
* obj0
= 0 ;
7092 (char *) "self", NULL
7095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7099 result
= (arg1
)->GetExtension();
7101 wxPyEndAllowThreads(__tstate
);
7102 if (PyErr_Occurred()) SWIG_fail
;
7106 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7108 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7117 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7118 PyObject
*resultobj
;
7119 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7121 PyObject
* obj0
= 0 ;
7123 (char *) "self", NULL
7126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (long)(arg1
)->GetType();
7132 wxPyEndAllowThreads(__tstate
);
7133 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= PyInt_FromLong((long)result
);
7142 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7143 PyObject
*resultobj
;
7144 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7146 PyObject
* obj0
= 0 ;
7148 (char *) "self", NULL
7151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7155 result
= (arg1
)->GetMimeType();
7157 wxPyEndAllowThreads(__tstate
);
7158 if (PyErr_Occurred()) SWIG_fail
;
7162 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7164 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7173 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7174 PyObject
*resultobj
;
7175 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7176 wxString
*arg2
= 0 ;
7178 bool temp2
= false ;
7179 PyObject
* obj0
= 0 ;
7180 PyObject
* obj1
= 0 ;
7182 (char *) "self",(char *) "name", NULL
7185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7188 arg2
= wxString_in_helper(obj1
);
7189 if (arg2
== NULL
) SWIG_fail
;
7193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7194 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7196 wxPyEndAllowThreads(__tstate
);
7197 if (PyErr_Occurred()) SWIG_fail
;
7199 resultobj
= PyInt_FromLong((long)result
);
7214 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7215 PyObject
*resultobj
;
7216 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7217 wxString
*arg2
= 0 ;
7218 bool temp2
= false ;
7219 PyObject
* obj0
= 0 ;
7220 PyObject
* obj1
= 0 ;
7222 (char *) "self",(char *) "name", NULL
7225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7228 arg2
= wxString_in_helper(obj1
);
7229 if (arg2
== NULL
) SWIG_fail
;
7233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7234 (arg1
)->SetName((wxString
const &)*arg2
);
7236 wxPyEndAllowThreads(__tstate
);
7237 if (PyErr_Occurred()) SWIG_fail
;
7239 Py_INCREF(Py_None
); resultobj
= Py_None
;
7254 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7255 PyObject
*resultobj
;
7256 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7257 wxString
*arg2
= 0 ;
7258 bool temp2
= false ;
7259 PyObject
* obj0
= 0 ;
7260 PyObject
* obj1
= 0 ;
7262 (char *) "self",(char *) "extension", NULL
7265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7268 arg2
= wxString_in_helper(obj1
);
7269 if (arg2
== NULL
) SWIG_fail
;
7273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7274 (arg1
)->SetExtension((wxString
const &)*arg2
);
7276 wxPyEndAllowThreads(__tstate
);
7277 if (PyErr_Occurred()) SWIG_fail
;
7279 Py_INCREF(Py_None
); resultobj
= Py_None
;
7294 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7295 PyObject
*resultobj
;
7296 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7298 PyObject
* obj0
= 0 ;
7300 (char *) "self",(char *) "type", NULL
7303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7307 (arg1
)->SetType(arg2
);
7309 wxPyEndAllowThreads(__tstate
);
7310 if (PyErr_Occurred()) SWIG_fail
;
7312 Py_INCREF(Py_None
); resultobj
= Py_None
;
7319 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
;
7321 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7322 wxString
*arg2
= 0 ;
7323 bool temp2
= false ;
7324 PyObject
* obj0
= 0 ;
7325 PyObject
* obj1
= 0 ;
7327 (char *) "self",(char *) "mimetype", NULL
7330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7333 arg2
= wxString_in_helper(obj1
);
7334 if (arg2
== NULL
) SWIG_fail
;
7338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7339 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7341 wxPyEndAllowThreads(__tstate
);
7342 if (PyErr_Occurred()) SWIG_fail
;
7344 Py_INCREF(Py_None
); resultobj
= Py_None
;
7359 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7361 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7362 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7364 return Py_BuildValue((char *)"");
7366 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7367 PyObject
*resultobj
;
7368 wxImageHistogram
*result
;
7373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7376 result
= (wxImageHistogram
*)new wxImageHistogram();
7378 wxPyEndAllowThreads(__tstate
);
7379 if (PyErr_Occurred()) SWIG_fail
;
7381 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7388 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7389 PyObject
*resultobj
;
7390 unsigned char arg1
;
7391 unsigned char arg2
;
7392 unsigned char arg3
;
7393 unsigned long result
;
7394 PyObject
* obj0
= 0 ;
7395 PyObject
* obj1
= 0 ;
7396 PyObject
* obj2
= 0 ;
7398 (char *) "r",(char *) "g",(char *) "b", NULL
7401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7402 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7403 if (PyErr_Occurred()) SWIG_fail
;
7404 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7406 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7407 if (PyErr_Occurred()) SWIG_fail
;
7409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7410 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7412 wxPyEndAllowThreads(__tstate
);
7413 if (PyErr_Occurred()) SWIG_fail
;
7415 resultobj
= PyInt_FromLong((long)result
);
7422 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7423 PyObject
*resultobj
;
7424 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7425 unsigned char *arg2
= (unsigned char *) 0 ;
7426 unsigned char *arg3
= (unsigned char *) 0 ;
7427 unsigned char *arg4
= (unsigned char *) 0 ;
7428 unsigned char arg5
= (unsigned char) 1 ;
7429 unsigned char arg6
= (unsigned char) 0 ;
7430 unsigned char arg7
= (unsigned char) 0 ;
7432 unsigned char temp2
;
7433 unsigned char temp3
;
7434 unsigned char temp4
;
7435 PyObject
* obj0
= 0 ;
7436 PyObject
* obj1
= 0 ;
7437 PyObject
* obj2
= 0 ;
7438 PyObject
* obj3
= 0 ;
7440 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7449 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7450 if (PyErr_Occurred()) SWIG_fail
;
7453 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7457 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7462 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7464 wxPyEndAllowThreads(__tstate
);
7465 if (PyErr_Occurred()) SWIG_fail
;
7467 resultobj
= PyInt_FromLong((long)result
);
7469 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7470 resultobj
= t_output_helper(resultobj
,o
);
7473 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7474 resultobj
= t_output_helper(resultobj
,o
);
7477 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7478 resultobj
= t_output_helper(resultobj
,o
);
7486 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7489 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7491 return Py_BuildValue((char *)"");
7493 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7494 PyObject
*resultobj
;
7495 wxString
*arg1
= 0 ;
7496 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7497 int arg3
= (int) -1 ;
7499 bool temp1
= false ;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "name",(char *) "type",(char *) "index", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7507 arg1
= wxString_in_helper(obj0
);
7508 if (arg1
== NULL
) SWIG_fail
;
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7533 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxImage
*arg1
= (wxImage
*) 0 ;
7536 PyObject
* obj0
= 0 ;
7538 (char *) "self", NULL
7541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 wxPyEndAllowThreads(__tstate
);
7548 if (PyErr_Occurred()) SWIG_fail
;
7550 Py_INCREF(Py_None
); resultobj
= Py_None
;
7557 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7558 PyObject
*resultobj
;
7559 wxString
*arg1
= 0 ;
7560 wxString
*arg2
= 0 ;
7561 int arg3
= (int) -1 ;
7563 bool temp1
= false ;
7564 bool temp2
= false ;
7565 PyObject
* obj0
= 0 ;
7566 PyObject
* obj1
= 0 ;
7568 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7573 arg1
= wxString_in_helper(obj0
);
7574 if (arg1
== NULL
) SWIG_fail
;
7578 arg2
= wxString_in_helper(obj1
);
7579 if (arg2
== NULL
) SWIG_fail
;
7583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7584 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7586 wxPyEndAllowThreads(__tstate
);
7587 if (PyErr_Occurred()) SWIG_fail
;
7589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7612 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7613 PyObject
*resultobj
;
7614 wxInputStream
*arg1
= 0 ;
7615 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7616 int arg3
= (int) -1 ;
7618 wxPyInputStream
*temp1
;
7620 PyObject
* obj0
= 0 ;
7622 (char *) "stream",(char *) "type",(char *) "index", NULL
7625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7627 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7628 arg1
= temp1
->m_wxis
;
7631 PyErr_Clear(); // clear the failure of the wxPyConvert above
7632 arg1
= wxPyCBInputStream_create(obj0
, false);
7634 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7662 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7663 PyObject
*resultobj
;
7664 wxInputStream
*arg1
= 0 ;
7665 wxString
*arg2
= 0 ;
7666 int arg3
= (int) -1 ;
7668 wxPyInputStream
*temp1
;
7670 bool temp2
= false ;
7671 PyObject
* obj0
= 0 ;
7672 PyObject
* obj1
= 0 ;
7674 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7679 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7680 arg1
= temp1
->m_wxis
;
7683 PyErr_Clear(); // clear the failure of the wxPyConvert above
7684 arg1
= wxPyCBInputStream_create(obj0
, false);
7686 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7693 arg2
= wxString_in_helper(obj1
);
7694 if (arg2
== NULL
) SWIG_fail
;
7698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7699 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7727 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7728 PyObject
*resultobj
;
7729 int arg1
= (int) 0 ;
7730 int arg2
= (int) 0 ;
7731 bool arg3
= (bool) TRUE
;
7733 PyObject
* obj2
= 0 ;
7735 (char *) "width",(char *) "height",(char *) "clear", NULL
7738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7740 arg3
= PyInt_AsLong(obj2
) ? true : false;
7741 if (PyErr_Occurred()) SWIG_fail
;
7744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7745 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7747 wxPyEndAllowThreads(__tstate
);
7748 if (PyErr_Occurred()) SWIG_fail
;
7750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7757 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7758 PyObject
*resultobj
;
7759 wxBitmap
*arg1
= 0 ;
7761 PyObject
* obj0
= 0 ;
7763 (char *) "bitmap", NULL
7766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7769 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7773 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7775 wxPyEndAllowThreads(__tstate
);
7776 if (PyErr_Occurred()) SWIG_fail
;
7778 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7785 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7786 PyObject
*resultobj
;
7789 unsigned char *arg3
= (unsigned char *) 0 ;
7791 PyObject
* obj2
= 0 ;
7793 (char *) "width",(char *) "height",(char *) "data", NULL
7796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7797 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7800 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7805 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7812 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7813 PyObject
*resultobj
;
7814 wxImage
*arg1
= (wxImage
*) 0 ;
7817 PyObject
* obj0
= 0 ;
7819 (char *) "self",(char *) "width",(char *) "height", NULL
7822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7826 (arg1
)->Create(arg2
,arg3
);
7828 wxPyEndAllowThreads(__tstate
);
7829 if (PyErr_Occurred()) SWIG_fail
;
7831 Py_INCREF(Py_None
); resultobj
= Py_None
;
7838 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7839 PyObject
*resultobj
;
7840 wxImage
*arg1
= (wxImage
*) 0 ;
7841 PyObject
* obj0
= 0 ;
7843 (char *) "self", NULL
7846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7852 wxPyEndAllowThreads(__tstate
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7855 Py_INCREF(Py_None
); resultobj
= Py_None
;
7862 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7863 PyObject
*resultobj
;
7864 wxImage
*arg1
= (wxImage
*) 0 ;
7867 SwigValueWrapper
< wxImage
> result
;
7868 PyObject
* obj0
= 0 ;
7870 (char *) "self",(char *) "width",(char *) "height", NULL
7873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (arg1
)->Scale(arg2
,arg3
);
7879 wxPyEndAllowThreads(__tstate
);
7880 if (PyErr_Occurred()) SWIG_fail
;
7883 wxImage
* resultptr
;
7884 resultptr
= new wxImage((wxImage
&) result
);
7885 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7893 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7894 PyObject
*resultobj
;
7895 wxImage
*arg1
= (wxImage
*) 0 ;
7898 SwigValueWrapper
< wxImage
> result
;
7899 PyObject
* obj0
= 0 ;
7901 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7908 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7910 wxPyEndAllowThreads(__tstate
);
7911 if (PyErr_Occurred()) SWIG_fail
;
7914 wxImage
* resultptr
;
7915 resultptr
= new wxImage((wxImage
&) result
);
7916 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7924 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7925 PyObject
*resultobj
;
7926 wxImage
*arg1
= (wxImage
*) 0 ;
7930 PyObject
* obj0
= 0 ;
7932 (char *) "self",(char *) "width",(char *) "height", NULL
7935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7940 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7941 result
= (wxImage
*) &_result_ref
;
7944 wxPyEndAllowThreads(__tstate
);
7945 if (PyErr_Occurred()) SWIG_fail
;
7947 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7954 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7955 PyObject
*resultobj
;
7956 wxImage
*arg1
= (wxImage
*) 0 ;
7959 unsigned char arg4
;
7960 unsigned char arg5
;
7961 unsigned char arg6
;
7962 PyObject
* obj0
= 0 ;
7963 PyObject
* obj3
= 0 ;
7964 PyObject
* obj4
= 0 ;
7965 PyObject
* obj5
= 0 ;
7967 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7972 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7973 if (PyErr_Occurred()) SWIG_fail
;
7974 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7975 if (PyErr_Occurred()) SWIG_fail
;
7976 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7977 if (PyErr_Occurred()) SWIG_fail
;
7979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7980 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7982 wxPyEndAllowThreads(__tstate
);
7983 if (PyErr_Occurred()) SWIG_fail
;
7985 Py_INCREF(Py_None
); resultobj
= Py_None
;
7992 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7993 PyObject
*resultobj
;
7994 wxImage
*arg1
= (wxImage
*) 0 ;
7997 unsigned char result
;
7998 PyObject
* obj0
= 0 ;
8000 (char *) "self",(char *) "x",(char *) "y", NULL
8003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8007 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8009 wxPyEndAllowThreads(__tstate
);
8010 if (PyErr_Occurred()) SWIG_fail
;
8012 resultobj
= PyInt_FromLong((long)result
);
8019 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8020 PyObject
*resultobj
;
8021 wxImage
*arg1
= (wxImage
*) 0 ;
8024 unsigned char result
;
8025 PyObject
* obj0
= 0 ;
8027 (char *) "self",(char *) "x",(char *) "y", NULL
8030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8034 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8036 wxPyEndAllowThreads(__tstate
);
8037 if (PyErr_Occurred()) SWIG_fail
;
8039 resultobj
= PyInt_FromLong((long)result
);
8046 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8047 PyObject
*resultobj
;
8048 wxImage
*arg1
= (wxImage
*) 0 ;
8051 unsigned char result
;
8052 PyObject
* obj0
= 0 ;
8054 (char *) "self",(char *) "x",(char *) "y", NULL
8057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8063 wxPyEndAllowThreads(__tstate
);
8064 if (PyErr_Occurred()) SWIG_fail
;
8066 resultobj
= PyInt_FromLong((long)result
);
8073 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8074 PyObject
*resultobj
;
8075 wxImage
*arg1
= (wxImage
*) 0 ;
8078 unsigned char arg4
;
8079 PyObject
* obj0
= 0 ;
8080 PyObject
* obj3
= 0 ;
8082 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8087 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8088 if (PyErr_Occurred()) SWIG_fail
;
8090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8091 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8093 wxPyEndAllowThreads(__tstate
);
8094 if (PyErr_Occurred()) SWIG_fail
;
8096 Py_INCREF(Py_None
); resultobj
= Py_None
;
8103 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8104 PyObject
*resultobj
;
8105 wxImage
*arg1
= (wxImage
*) 0 ;
8108 unsigned char result
;
8109 PyObject
* obj0
= 0 ;
8111 (char *) "self",(char *) "x",(char *) "y", NULL
8114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8118 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8120 wxPyEndAllowThreads(__tstate
);
8121 if (PyErr_Occurred()) SWIG_fail
;
8123 resultobj
= PyInt_FromLong((long)result
);
8130 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8131 PyObject
*resultobj
;
8132 wxImage
*arg1
= (wxImage
*) 0 ;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "self", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8143 result
= (bool)(arg1
)->HasAlpha();
8145 wxPyEndAllowThreads(__tstate
);
8146 if (PyErr_Occurred()) SWIG_fail
;
8148 resultobj
= PyInt_FromLong((long)result
);
8155 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8156 PyObject
*resultobj
;
8157 wxImage
*arg1
= (wxImage
*) 0 ;
8158 byte
*arg2
= (byte
*) 0 ;
8159 byte
*arg3
= (byte
*) 0 ;
8160 byte
*arg4
= (byte
*) 0 ;
8161 byte arg5
= (byte
) 0 ;
8162 byte arg6
= (byte
) 0 ;
8163 byte arg7
= (byte
) 0 ;
8168 PyObject
* obj0
= 0 ;
8169 PyObject
* obj1
= 0 ;
8170 PyObject
* obj2
= 0 ;
8171 PyObject
* obj3
= 0 ;
8173 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8182 arg5
= (byte
) PyInt_AsLong(obj1
);
8183 if (PyErr_Occurred()) SWIG_fail
;
8186 arg6
= (byte
) PyInt_AsLong(obj2
);
8187 if (PyErr_Occurred()) SWIG_fail
;
8190 arg7
= (byte
) PyInt_AsLong(obj3
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8195 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8197 wxPyEndAllowThreads(__tstate
);
8198 if (PyErr_Occurred()) SWIG_fail
;
8200 resultobj
= PyInt_FromLong((long)result
);
8202 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8203 resultobj
= t_output_helper(resultobj
,o
);
8206 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8207 resultobj
= t_output_helper(resultobj
,o
);
8210 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8211 resultobj
= t_output_helper(resultobj
,o
);
8219 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxImage
*arg1
= (wxImage
*) 0 ;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8229 PyObject
* obj2
= 0 ;
8230 PyObject
* obj3
= 0 ;
8231 PyObject
* obj4
= 0 ;
8233 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8240 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8242 arg3
= (byte
) PyInt_AsLong(obj2
);
8243 if (PyErr_Occurred()) SWIG_fail
;
8244 arg4
= (byte
) PyInt_AsLong(obj3
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8246 arg5
= (byte
) PyInt_AsLong(obj4
);
8247 if (PyErr_Occurred()) SWIG_fail
;
8249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8250 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8252 wxPyEndAllowThreads(__tstate
);
8253 if (PyErr_Occurred()) SWIG_fail
;
8255 resultobj
= PyInt_FromLong((long)result
);
8262 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxString
*arg1
= 0 ;
8266 bool temp1
= false ;
8267 PyObject
* obj0
= 0 ;
8269 (char *) "name", NULL
8272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8274 arg1
= wxString_in_helper(obj0
);
8275 if (arg1
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8282 wxPyEndAllowThreads(__tstate
);
8283 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= PyInt_FromLong((long)result
);
8300 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8301 PyObject
*resultobj
;
8302 wxString
*arg1
= 0 ;
8303 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8305 bool temp1
= false ;
8306 PyObject
* obj0
= 0 ;
8308 (char *) "name",(char *) "type", NULL
8311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8313 arg1
= wxString_in_helper(obj0
);
8314 if (arg1
== NULL
) SWIG_fail
;
8318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8319 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8321 wxPyEndAllowThreads(__tstate
);
8322 if (PyErr_Occurred()) SWIG_fail
;
8324 resultobj
= PyInt_FromLong((long)result
);
8339 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8340 PyObject
*resultobj
;
8341 wxImage
*arg1
= (wxImage
*) 0 ;
8342 wxString
*arg2
= 0 ;
8343 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8344 int arg4
= (int) -1 ;
8346 bool temp2
= false ;
8347 PyObject
* obj0
= 0 ;
8348 PyObject
* obj1
= 0 ;
8350 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8356 arg2
= wxString_in_helper(obj1
);
8357 if (arg2
== NULL
) SWIG_fail
;
8361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8362 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8364 wxPyEndAllowThreads(__tstate
);
8365 if (PyErr_Occurred()) SWIG_fail
;
8367 resultobj
= PyInt_FromLong((long)result
);
8382 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8383 PyObject
*resultobj
;
8384 wxImage
*arg1
= (wxImage
*) 0 ;
8385 wxString
*arg2
= 0 ;
8386 wxString
*arg3
= 0 ;
8387 int arg4
= (int) -1 ;
8389 bool temp2
= false ;
8390 bool temp3
= false ;
8391 PyObject
* obj0
= 0 ;
8392 PyObject
* obj1
= 0 ;
8393 PyObject
* obj2
= 0 ;
8395 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8401 arg2
= wxString_in_helper(obj1
);
8402 if (arg2
== NULL
) SWIG_fail
;
8406 arg3
= wxString_in_helper(obj2
);
8407 if (arg3
== NULL
) SWIG_fail
;
8411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8412 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8414 wxPyEndAllowThreads(__tstate
);
8415 if (PyErr_Occurred()) SWIG_fail
;
8417 resultobj
= PyInt_FromLong((long)result
);
8440 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8441 PyObject
*resultobj
;
8442 wxImage
*arg1
= (wxImage
*) 0 ;
8443 wxString
*arg2
= 0 ;
8446 bool temp2
= false ;
8447 PyObject
* obj0
= 0 ;
8448 PyObject
* obj1
= 0 ;
8450 (char *) "self",(char *) "name",(char *) "type", NULL
8453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8456 arg2
= wxString_in_helper(obj1
);
8457 if (arg2
== NULL
) SWIG_fail
;
8461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8464 wxPyEndAllowThreads(__tstate
);
8465 if (PyErr_Occurred()) SWIG_fail
;
8467 resultobj
= PyInt_FromLong((long)result
);
8482 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8483 PyObject
*resultobj
;
8484 wxImage
*arg1
= (wxImage
*) 0 ;
8485 wxString
*arg2
= 0 ;
8486 wxString
*arg3
= 0 ;
8488 bool temp2
= false ;
8489 bool temp3
= false ;
8490 PyObject
* obj0
= 0 ;
8491 PyObject
* obj1
= 0 ;
8492 PyObject
* obj2
= 0 ;
8494 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8500 arg2
= wxString_in_helper(obj1
);
8501 if (arg2
== NULL
) SWIG_fail
;
8505 arg3
= wxString_in_helper(obj2
);
8506 if (arg3
== NULL
) SWIG_fail
;
8510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8511 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8513 wxPyEndAllowThreads(__tstate
);
8514 if (PyErr_Occurred()) SWIG_fail
;
8516 resultobj
= PyInt_FromLong((long)result
);
8539 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8540 PyObject
*resultobj
;
8541 wxInputStream
*arg1
= 0 ;
8543 wxPyInputStream
*temp1
;
8545 PyObject
* obj0
= 0 ;
8547 (char *) "stream", NULL
8550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8552 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8553 arg1
= temp1
->m_wxis
;
8556 PyErr_Clear(); // clear the failure of the wxPyConvert above
8557 arg1
= wxPyCBInputStream_create(obj0
, false);
8559 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8567 result
= (bool)wxImage::CanRead(*arg1
);
8569 wxPyEndAllowThreads(__tstate
);
8570 if (PyErr_Occurred()) SWIG_fail
;
8572 resultobj
= PyInt_FromLong((long)result
);
8587 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8588 PyObject
*resultobj
;
8589 wxImage
*arg1
= (wxImage
*) 0 ;
8590 wxInputStream
*arg2
= 0 ;
8591 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8592 int arg4
= (int) -1 ;
8594 wxPyInputStream
*temp2
;
8596 PyObject
* obj0
= 0 ;
8597 PyObject
* obj1
= 0 ;
8599 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8605 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8606 arg2
= temp2
->m_wxis
;
8609 PyErr_Clear(); // clear the failure of the wxPyConvert above
8610 arg2
= wxPyCBInputStream_create(obj1
, false);
8612 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8620 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8622 wxPyEndAllowThreads(__tstate
);
8623 if (PyErr_Occurred()) SWIG_fail
;
8625 resultobj
= PyInt_FromLong((long)result
);
8640 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8641 PyObject
*resultobj
;
8642 wxImage
*arg1
= (wxImage
*) 0 ;
8643 wxInputStream
*arg2
= 0 ;
8644 wxString
*arg3
= 0 ;
8645 int arg4
= (int) -1 ;
8647 wxPyInputStream
*temp2
;
8649 bool temp3
= false ;
8650 PyObject
* obj0
= 0 ;
8651 PyObject
* obj1
= 0 ;
8652 PyObject
* obj2
= 0 ;
8654 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8660 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8661 arg2
= temp2
->m_wxis
;
8664 PyErr_Clear(); // clear the failure of the wxPyConvert above
8665 arg2
= wxPyCBInputStream_create(obj1
, false);
8667 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8674 arg3
= wxString_in_helper(obj2
);
8675 if (arg3
== NULL
) SWIG_fail
;
8679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8680 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8682 wxPyEndAllowThreads(__tstate
);
8683 if (PyErr_Occurred()) SWIG_fail
;
8685 resultobj
= PyInt_FromLong((long)result
);
8708 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8709 PyObject
*resultobj
;
8710 wxImage
*arg1
= (wxImage
*) 0 ;
8712 PyObject
* obj0
= 0 ;
8714 (char *) "self", NULL
8717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8721 result
= (bool)(arg1
)->Ok();
8723 wxPyEndAllowThreads(__tstate
);
8724 if (PyErr_Occurred()) SWIG_fail
;
8726 resultobj
= PyInt_FromLong((long)result
);
8733 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8734 PyObject
*resultobj
;
8735 wxImage
*arg1
= (wxImage
*) 0 ;
8737 PyObject
* obj0
= 0 ;
8739 (char *) "self", NULL
8742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8746 result
= (int)(arg1
)->GetWidth();
8748 wxPyEndAllowThreads(__tstate
);
8749 if (PyErr_Occurred()) SWIG_fail
;
8751 resultobj
= PyInt_FromLong((long)result
);
8758 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8759 PyObject
*resultobj
;
8760 wxImage
*arg1
= (wxImage
*) 0 ;
8762 PyObject
* obj0
= 0 ;
8764 (char *) "self", NULL
8767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8771 result
= (int)(arg1
)->GetHeight();
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= PyInt_FromLong((long)result
);
8783 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8784 PyObject
*resultobj
;
8785 wxImage
*arg1
= (wxImage
*) 0 ;
8787 SwigValueWrapper
< wxImage
> result
;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8792 (char *) "self",(char *) "rect", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8799 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8805 wxPyEndAllowThreads(__tstate
);
8806 if (PyErr_Occurred()) SWIG_fail
;
8809 wxImage
* resultptr
;
8810 resultptr
= new wxImage((wxImage
&) result
);
8811 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8819 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8820 PyObject
*resultobj
;
8821 wxImage
*arg1
= (wxImage
*) 0 ;
8822 SwigValueWrapper
< wxImage
> result
;
8823 PyObject
* obj0
= 0 ;
8825 (char *) "self", NULL
8828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8832 result
= (arg1
)->Copy();
8834 wxPyEndAllowThreads(__tstate
);
8835 if (PyErr_Occurred()) SWIG_fail
;
8838 wxImage
* resultptr
;
8839 resultptr
= new wxImage((wxImage
&) result
);
8840 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8848 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8849 PyObject
*resultobj
;
8850 wxImage
*arg1
= (wxImage
*) 0 ;
8854 PyObject
* obj0
= 0 ;
8855 PyObject
* obj1
= 0 ;
8857 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8864 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8873 Py_INCREF(Py_None
); resultobj
= Py_None
;
8880 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxImage
*arg1
= (wxImage
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8886 (char *) "self", NULL
8889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 result
= (PyObject
*)wxImage_GetData(arg1
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8905 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxImage
*arg1
= (wxImage
*) 0 ;
8908 PyObject
*arg2
= (PyObject
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8910 PyObject
* obj1
= 0 ;
8912 (char *) "self",(char *) "data", NULL
8915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 wxImage_SetData(arg1
,arg2
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8925 Py_INCREF(Py_None
); resultobj
= Py_None
;
8932 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxImage
*arg1
= (wxImage
*) 0 ;
8936 PyObject
* obj0
= 0 ;
8938 (char *) "self", NULL
8941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8957 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxImage
*arg1
= (wxImage
*) 0 ;
8960 PyObject
*arg2
= (PyObject
*) 0 ;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8964 (char *) "self",(char *) "data", NULL
8967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8972 wxImage_SetDataBuffer(arg1
,arg2
);
8974 wxPyEndAllowThreads(__tstate
);
8975 if (PyErr_Occurred()) SWIG_fail
;
8977 Py_INCREF(Py_None
); resultobj
= Py_None
;
8984 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
;
8986 wxImage
*arg1
= (wxImage
*) 0 ;
8988 PyObject
* obj0
= 0 ;
8990 (char *) "self", NULL
8993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8997 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
8999 wxPyEndAllowThreads(__tstate
);
9000 if (PyErr_Occurred()) SWIG_fail
;
9009 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
;
9011 wxImage
*arg1
= (wxImage
*) 0 ;
9012 PyObject
*arg2
= (PyObject
*) 0 ;
9013 PyObject
* obj0
= 0 ;
9014 PyObject
* obj1
= 0 ;
9016 (char *) "self",(char *) "data", NULL
9019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9024 wxImage_SetAlphaData(arg1
,arg2
);
9026 wxPyEndAllowThreads(__tstate
);
9027 if (PyErr_Occurred()) SWIG_fail
;
9029 Py_INCREF(Py_None
); resultobj
= Py_None
;
9036 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9037 PyObject
*resultobj
;
9038 wxImage
*arg1
= (wxImage
*) 0 ;
9040 PyObject
* obj0
= 0 ;
9042 (char *) "self", NULL
9045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9049 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9051 wxPyEndAllowThreads(__tstate
);
9052 if (PyErr_Occurred()) SWIG_fail
;
9061 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9062 PyObject
*resultobj
;
9063 wxImage
*arg1
= (wxImage
*) 0 ;
9064 PyObject
*arg2
= (PyObject
*) 0 ;
9065 PyObject
* obj0
= 0 ;
9066 PyObject
* obj1
= 0 ;
9068 (char *) "self",(char *) "data", NULL
9071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9076 wxImage_SetAlphaBuffer(arg1
,arg2
);
9078 wxPyEndAllowThreads(__tstate
);
9079 if (PyErr_Occurred()) SWIG_fail
;
9081 Py_INCREF(Py_None
); resultobj
= Py_None
;
9088 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9089 PyObject
*resultobj
;
9090 wxImage
*arg1
= (wxImage
*) 0 ;
9091 unsigned char arg2
;
9092 unsigned char arg3
;
9093 unsigned char arg4
;
9094 PyObject
* obj0
= 0 ;
9095 PyObject
* obj1
= 0 ;
9096 PyObject
* obj2
= 0 ;
9097 PyObject
* obj3
= 0 ;
9099 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9104 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9106 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9107 if (PyErr_Occurred()) SWIG_fail
;
9108 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9109 if (PyErr_Occurred()) SWIG_fail
;
9111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9112 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9114 wxPyEndAllowThreads(__tstate
);
9115 if (PyErr_Occurred()) SWIG_fail
;
9117 Py_INCREF(Py_None
); resultobj
= Py_None
;
9124 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9125 PyObject
*resultobj
;
9126 wxImage
*arg1
= (wxImage
*) 0 ;
9127 unsigned char result
;
9128 PyObject
* obj0
= 0 ;
9130 (char *) "self", NULL
9133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9137 result
= (unsigned char)(arg1
)->GetMaskRed();
9139 wxPyEndAllowThreads(__tstate
);
9140 if (PyErr_Occurred()) SWIG_fail
;
9142 resultobj
= PyInt_FromLong((long)result
);
9149 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9150 PyObject
*resultobj
;
9151 wxImage
*arg1
= (wxImage
*) 0 ;
9152 unsigned char result
;
9153 PyObject
* obj0
= 0 ;
9155 (char *) "self", NULL
9158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9162 result
= (unsigned char)(arg1
)->GetMaskGreen();
9164 wxPyEndAllowThreads(__tstate
);
9165 if (PyErr_Occurred()) SWIG_fail
;
9167 resultobj
= PyInt_FromLong((long)result
);
9174 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9175 PyObject
*resultobj
;
9176 wxImage
*arg1
= (wxImage
*) 0 ;
9177 unsigned char result
;
9178 PyObject
* obj0
= 0 ;
9180 (char *) "self", NULL
9183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9187 result
= (unsigned char)(arg1
)->GetMaskBlue();
9189 wxPyEndAllowThreads(__tstate
);
9190 if (PyErr_Occurred()) SWIG_fail
;
9192 resultobj
= PyInt_FromLong((long)result
);
9199 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9200 PyObject
*resultobj
;
9201 wxImage
*arg1
= (wxImage
*) 0 ;
9202 bool arg2
= (bool) TRUE
;
9203 PyObject
* obj0
= 0 ;
9204 PyObject
* obj1
= 0 ;
9206 (char *) "self",(char *) "mask", NULL
9209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9212 arg2
= PyInt_AsLong(obj1
) ? true : false;
9213 if (PyErr_Occurred()) SWIG_fail
;
9216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9217 (arg1
)->SetMask(arg2
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 Py_INCREF(Py_None
); resultobj
= Py_None
;
9229 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9230 PyObject
*resultobj
;
9231 wxImage
*arg1
= (wxImage
*) 0 ;
9233 PyObject
* obj0
= 0 ;
9235 (char *) "self", NULL
9238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9242 result
= (bool)(arg1
)->HasMask();
9244 wxPyEndAllowThreads(__tstate
);
9245 if (PyErr_Occurred()) SWIG_fail
;
9247 resultobj
= PyInt_FromLong((long)result
);
9254 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9255 PyObject
*resultobj
;
9256 wxImage
*arg1
= (wxImage
*) 0 ;
9259 bool arg4
= (bool) TRUE
;
9260 wxPoint
*arg5
= (wxPoint
*) NULL
;
9261 SwigValueWrapper
< wxImage
> result
;
9263 PyObject
* obj0
= 0 ;
9264 PyObject
* obj2
= 0 ;
9265 PyObject
* obj3
= 0 ;
9266 PyObject
* obj4
= 0 ;
9268 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9275 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9278 arg4
= PyInt_AsLong(obj3
) ? true : false;
9279 if (PyErr_Occurred()) SWIG_fail
;
9282 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9286 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9288 wxPyEndAllowThreads(__tstate
);
9289 if (PyErr_Occurred()) SWIG_fail
;
9292 wxImage
* resultptr
;
9293 resultptr
= new wxImage((wxImage
&) result
);
9294 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9302 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9303 PyObject
*resultobj
;
9304 wxImage
*arg1
= (wxImage
*) 0 ;
9305 bool arg2
= (bool) TRUE
;
9306 SwigValueWrapper
< wxImage
> result
;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9310 (char *) "self",(char *) "clockwise", NULL
9313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9316 arg2
= PyInt_AsLong(obj1
) ? true : false;
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9321 result
= (arg1
)->Rotate90(arg2
);
9323 wxPyEndAllowThreads(__tstate
);
9324 if (PyErr_Occurred()) SWIG_fail
;
9327 wxImage
* resultptr
;
9328 resultptr
= new wxImage((wxImage
&) result
);
9329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9337 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9338 PyObject
*resultobj
;
9339 wxImage
*arg1
= (wxImage
*) 0 ;
9340 bool arg2
= (bool) TRUE
;
9341 SwigValueWrapper
< wxImage
> result
;
9342 PyObject
* obj0
= 0 ;
9343 PyObject
* obj1
= 0 ;
9345 (char *) "self",(char *) "horizontally", NULL
9348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9351 arg2
= PyInt_AsLong(obj1
) ? true : false;
9352 if (PyErr_Occurred()) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 result
= (arg1
)->Mirror(arg2
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9362 wxImage
* resultptr
;
9363 resultptr
= new wxImage((wxImage
&) result
);
9364 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9372 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9373 PyObject
*resultobj
;
9374 wxImage
*arg1
= (wxImage
*) 0 ;
9375 unsigned char arg2
;
9376 unsigned char arg3
;
9377 unsigned char arg4
;
9378 unsigned char arg5
;
9379 unsigned char arg6
;
9380 unsigned char arg7
;
9381 PyObject
* obj0
= 0 ;
9382 PyObject
* obj1
= 0 ;
9383 PyObject
* obj2
= 0 ;
9384 PyObject
* obj3
= 0 ;
9385 PyObject
* obj4
= 0 ;
9386 PyObject
* obj5
= 0 ;
9387 PyObject
* obj6
= 0 ;
9389 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9394 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9396 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9397 if (PyErr_Occurred()) SWIG_fail
;
9398 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9399 if (PyErr_Occurred()) SWIG_fail
;
9400 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9401 if (PyErr_Occurred()) SWIG_fail
;
9402 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9403 if (PyErr_Occurred()) SWIG_fail
;
9404 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9405 if (PyErr_Occurred()) SWIG_fail
;
9407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9408 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9413 Py_INCREF(Py_None
); resultobj
= Py_None
;
9420 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9421 PyObject
*resultobj
;
9422 wxImage
*arg1
= (wxImage
*) 0 ;
9423 unsigned char arg2
;
9424 unsigned char arg3
;
9425 unsigned char arg4
;
9426 SwigValueWrapper
< wxImage
> result
;
9427 PyObject
* obj0
= 0 ;
9428 PyObject
* obj1
= 0 ;
9429 PyObject
* obj2
= 0 ;
9430 PyObject
* obj3
= 0 ;
9432 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9437 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9438 if (PyErr_Occurred()) SWIG_fail
;
9439 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9440 if (PyErr_Occurred()) SWIG_fail
;
9441 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9442 if (PyErr_Occurred()) SWIG_fail
;
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9447 wxPyEndAllowThreads(__tstate
);
9448 if (PyErr_Occurred()) SWIG_fail
;
9451 wxImage
* resultptr
;
9452 resultptr
= new wxImage((wxImage
&) result
);
9453 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9461 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9462 PyObject
*resultobj
;
9463 wxImage
*arg1
= (wxImage
*) 0 ;
9464 wxString
*arg2
= 0 ;
9465 wxString
*arg3
= 0 ;
9466 bool temp2
= false ;
9467 bool temp3
= false ;
9468 PyObject
* obj0
= 0 ;
9469 PyObject
* obj1
= 0 ;
9470 PyObject
* obj2
= 0 ;
9472 (char *) "self",(char *) "name",(char *) "value", NULL
9475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9478 arg2
= wxString_in_helper(obj1
);
9479 if (arg2
== NULL
) SWIG_fail
;
9483 arg3
= wxString_in_helper(obj2
);
9484 if (arg3
== NULL
) SWIG_fail
;
9488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9489 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9491 wxPyEndAllowThreads(__tstate
);
9492 if (PyErr_Occurred()) SWIG_fail
;
9494 Py_INCREF(Py_None
); resultobj
= Py_None
;
9517 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxImage
*arg1
= (wxImage
*) 0 ;
9520 wxString
*arg2
= 0 ;
9522 bool temp2
= false ;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9526 (char *) "self",(char *) "name",(char *) "value", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 arg2
= wxString_in_helper(obj1
);
9533 if (arg2
== NULL
) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 Py_INCREF(Py_None
); resultobj
= Py_None
;
9558 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxImage
*arg1
= (wxImage
*) 0 ;
9561 wxString
*arg2
= 0 ;
9563 bool temp2
= false ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9567 (char *) "self",(char *) "name", NULL
9570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9573 arg2
= wxString_in_helper(obj1
);
9574 if (arg2
== NULL
) SWIG_fail
;
9578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9579 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9581 wxPyEndAllowThreads(__tstate
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9605 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9606 PyObject
*resultobj
;
9607 wxImage
*arg1
= (wxImage
*) 0 ;
9608 wxString
*arg2
= 0 ;
9610 bool temp2
= false ;
9611 PyObject
* obj0
= 0 ;
9612 PyObject
* obj1
= 0 ;
9614 (char *) "self",(char *) "name", NULL
9617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9620 arg2
= wxString_in_helper(obj1
);
9621 if (arg2
== NULL
) SWIG_fail
;
9625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9626 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9631 resultobj
= PyInt_FromLong((long)result
);
9646 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9647 PyObject
*resultobj
;
9648 wxImage
*arg1
= (wxImage
*) 0 ;
9649 wxString
*arg2
= 0 ;
9651 bool temp2
= false ;
9652 PyObject
* obj0
= 0 ;
9653 PyObject
* obj1
= 0 ;
9655 (char *) "self",(char *) "name", NULL
9658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9661 arg2
= wxString_in_helper(obj1
);
9662 if (arg2
== NULL
) SWIG_fail
;
9666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9667 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9669 wxPyEndAllowThreads(__tstate
);
9670 if (PyErr_Occurred()) SWIG_fail
;
9672 resultobj
= PyInt_FromLong((long)result
);
9687 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
;
9689 wxImage
*arg1
= (wxImage
*) 0 ;
9690 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9691 unsigned long result
;
9692 PyObject
* obj0
= 0 ;
9693 PyObject
* obj1
= 0 ;
9695 (char *) "self",(char *) "stopafter", NULL
9698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9701 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9702 if (PyErr_Occurred()) SWIG_fail
;
9705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9706 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9708 wxPyEndAllowThreads(__tstate
);
9709 if (PyErr_Occurred()) SWIG_fail
;
9711 resultobj
= PyInt_FromLong((long)result
);
9718 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9719 PyObject
*resultobj
;
9720 wxImage
*arg1
= (wxImage
*) 0 ;
9721 wxImageHistogram
*arg2
= 0 ;
9722 unsigned long result
;
9723 PyObject
* obj0
= 0 ;
9724 PyObject
* obj1
= 0 ;
9726 (char *) "self",(char *) "h", NULL
9729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9737 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= PyInt_FromLong((long)result
);
9749 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
;
9751 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9752 PyObject
* obj0
= 0 ;
9754 (char *) "handler", NULL
9757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9761 wxImage::AddHandler(arg1
);
9763 wxPyEndAllowThreads(__tstate
);
9764 if (PyErr_Occurred()) SWIG_fail
;
9766 Py_INCREF(Py_None
); resultobj
= Py_None
;
9773 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9774 PyObject
*resultobj
;
9775 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9776 PyObject
* obj0
= 0 ;
9778 (char *) "handler", NULL
9781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9785 wxImage::InsertHandler(arg1
);
9787 wxPyEndAllowThreads(__tstate
);
9788 if (PyErr_Occurred()) SWIG_fail
;
9790 Py_INCREF(Py_None
); resultobj
= Py_None
;
9797 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9798 PyObject
*resultobj
;
9799 wxString
*arg1
= 0 ;
9801 bool temp1
= false ;
9802 PyObject
* obj0
= 0 ;
9804 (char *) "name", NULL
9807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9809 arg1
= wxString_in_helper(obj0
);
9810 if (arg1
== NULL
) SWIG_fail
;
9814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9815 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9817 wxPyEndAllowThreads(__tstate
);
9818 if (PyErr_Occurred()) SWIG_fail
;
9820 resultobj
= PyInt_FromLong((long)result
);
9835 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9836 PyObject
*resultobj
;
9842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9845 result
= wxImage::GetImageExtWildcard();
9847 wxPyEndAllowThreads(__tstate
);
9848 if (PyErr_Occurred()) SWIG_fail
;
9852 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9854 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9863 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9864 PyObject
*resultobj
;
9865 wxImage
*arg1
= (wxImage
*) 0 ;
9867 PyObject
* obj0
= 0 ;
9869 (char *) "self", NULL
9872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9876 result
= wxImage_ConvertToBitmap(arg1
);
9878 wxPyEndAllowThreads(__tstate
);
9879 if (PyErr_Occurred()) SWIG_fail
;
9882 wxBitmap
* resultptr
;
9883 resultptr
= new wxBitmap((wxBitmap
&) result
);
9884 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9892 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9893 PyObject
*resultobj
;
9894 wxImage
*arg1
= (wxImage
*) 0 ;
9895 unsigned char arg2
;
9896 unsigned char arg3
;
9897 unsigned char arg4
;
9899 PyObject
* obj0
= 0 ;
9900 PyObject
* obj1
= 0 ;
9901 PyObject
* obj2
= 0 ;
9902 PyObject
* obj3
= 0 ;
9904 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9909 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9910 if (PyErr_Occurred()) SWIG_fail
;
9911 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9912 if (PyErr_Occurred()) SWIG_fail
;
9913 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9914 if (PyErr_Occurred()) SWIG_fail
;
9916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9917 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9919 wxPyEndAllowThreads(__tstate
);
9920 if (PyErr_Occurred()) SWIG_fail
;
9923 wxBitmap
* resultptr
;
9924 resultptr
= new wxBitmap((wxBitmap
&) result
);
9925 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9933 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9935 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9936 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9938 return Py_BuildValue((char *)"");
9940 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9941 PyObject
*resultobj
;
9946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9949 wxInitAllImageHandlers();
9951 wxPyEndAllowThreads(__tstate
);
9952 if (PyErr_Occurred()) SWIG_fail
;
9954 Py_INCREF(Py_None
); resultobj
= Py_None
;
9961 static int _wrap_NullImage_set(PyObject
*_val
) {
9962 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9967 static PyObject
*_wrap_NullImage_get() {
9970 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9975 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9976 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9981 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9986 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9988 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9995 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9996 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10001 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10006 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10008 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10015 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
10016 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10021 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10026 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10028 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10035 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
10036 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10041 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10046 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10048 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10055 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
10056 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10061 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10066 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10068 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10075 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
;
10077 wxBMPHandler
*result
;
10078 char *kwnames
[] = {
10082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10085 result
= (wxBMPHandler
*)new wxBMPHandler();
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
10097 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10099 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10100 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
10102 return Py_BuildValue((char *)"");
10104 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10105 PyObject
*resultobj
;
10106 wxICOHandler
*result
;
10107 char *kwnames
[] = {
10111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
10113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10114 result
= (wxICOHandler
*)new wxICOHandler();
10116 wxPyEndAllowThreads(__tstate
);
10117 if (PyErr_Occurred()) SWIG_fail
;
10119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
10126 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10128 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10129 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10131 return Py_BuildValue((char *)"");
10133 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10134 PyObject
*resultobj
;
10135 wxCURHandler
*result
;
10136 char *kwnames
[] = {
10140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10143 result
= (wxCURHandler
*)new wxCURHandler();
10145 wxPyEndAllowThreads(__tstate
);
10146 if (PyErr_Occurred()) SWIG_fail
;
10148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10155 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10157 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10158 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10160 return Py_BuildValue((char *)"");
10162 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10163 PyObject
*resultobj
;
10164 wxANIHandler
*result
;
10165 char *kwnames
[] = {
10169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10172 result
= (wxANIHandler
*)new wxANIHandler();
10174 wxPyEndAllowThreads(__tstate
);
10175 if (PyErr_Occurred()) SWIG_fail
;
10177 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10184 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10187 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10189 return Py_BuildValue((char *)"");
10191 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
;
10193 wxPNGHandler
*result
;
10194 char *kwnames
[] = {
10198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10201 result
= (wxPNGHandler
*)new wxPNGHandler();
10203 wxPyEndAllowThreads(__tstate
);
10204 if (PyErr_Occurred()) SWIG_fail
;
10206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10213 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10216 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10218 return Py_BuildValue((char *)"");
10220 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10221 PyObject
*resultobj
;
10222 wxGIFHandler
*result
;
10223 char *kwnames
[] = {
10227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10230 result
= (wxGIFHandler
*)new wxGIFHandler();
10232 wxPyEndAllowThreads(__tstate
);
10233 if (PyErr_Occurred()) SWIG_fail
;
10235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10242 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10244 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10245 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10247 return Py_BuildValue((char *)"");
10249 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10250 PyObject
*resultobj
;
10251 wxPCXHandler
*result
;
10252 char *kwnames
[] = {
10256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10259 result
= (wxPCXHandler
*)new wxPCXHandler();
10261 wxPyEndAllowThreads(__tstate
);
10262 if (PyErr_Occurred()) SWIG_fail
;
10264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10271 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10274 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10276 return Py_BuildValue((char *)"");
10278 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10279 PyObject
*resultobj
;
10280 wxJPEGHandler
*result
;
10281 char *kwnames
[] = {
10285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10288 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10290 wxPyEndAllowThreads(__tstate
);
10291 if (PyErr_Occurred()) SWIG_fail
;
10293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10300 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10302 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10303 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10305 return Py_BuildValue((char *)"");
10307 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10308 PyObject
*resultobj
;
10309 wxPNMHandler
*result
;
10310 char *kwnames
[] = {
10314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10317 result
= (wxPNMHandler
*)new wxPNMHandler();
10319 wxPyEndAllowThreads(__tstate
);
10320 if (PyErr_Occurred()) SWIG_fail
;
10322 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10329 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10331 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10332 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10334 return Py_BuildValue((char *)"");
10336 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10337 PyObject
*resultobj
;
10338 wxXPMHandler
*result
;
10339 char *kwnames
[] = {
10343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10346 result
= (wxXPMHandler
*)new wxXPMHandler();
10348 wxPyEndAllowThreads(__tstate
);
10349 if (PyErr_Occurred()) SWIG_fail
;
10351 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10358 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10361 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10363 return Py_BuildValue((char *)"");
10365 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10366 PyObject
*resultobj
;
10367 wxTIFFHandler
*result
;
10368 char *kwnames
[] = {
10372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10375 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10377 wxPyEndAllowThreads(__tstate
);
10378 if (PyErr_Occurred()) SWIG_fail
;
10380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10387 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10390 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10392 return Py_BuildValue((char *)"");
10394 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10395 PyObject
*resultobj
;
10396 wxEvtHandler
*result
;
10397 char *kwnames
[] = {
10401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10404 result
= (wxEvtHandler
*)new wxEvtHandler();
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10410 resultobj
= wxPyMake_wxObject(result
);
10418 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10421 wxEvtHandler
*result
;
10422 PyObject
* obj0
= 0 ;
10423 char *kwnames
[] = {
10424 (char *) "self", NULL
10427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10431 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10433 wxPyEndAllowThreads(__tstate
);
10434 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= wxPyMake_wxObject(result
);
10445 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10446 PyObject
*resultobj
;
10447 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10448 wxEvtHandler
*result
;
10449 PyObject
* obj0
= 0 ;
10450 char *kwnames
[] = {
10451 (char *) "self", NULL
10454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10458 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10460 wxPyEndAllowThreads(__tstate
);
10461 if (PyErr_Occurred()) SWIG_fail
;
10464 resultobj
= wxPyMake_wxObject(result
);
10472 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10473 PyObject
*resultobj
;
10474 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10475 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10476 PyObject
* obj0
= 0 ;
10477 PyObject
* obj1
= 0 ;
10478 char *kwnames
[] = {
10479 (char *) "self",(char *) "handler", NULL
10482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10487 (arg1
)->SetNextHandler(arg2
);
10489 wxPyEndAllowThreads(__tstate
);
10490 if (PyErr_Occurred()) SWIG_fail
;
10492 Py_INCREF(Py_None
); resultobj
= Py_None
;
10499 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10500 PyObject
*resultobj
;
10501 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10502 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10503 PyObject
* obj0
= 0 ;
10504 PyObject
* obj1
= 0 ;
10505 char *kwnames
[] = {
10506 (char *) "self",(char *) "handler", NULL
10509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10511 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10514 (arg1
)->SetPreviousHandler(arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 Py_INCREF(Py_None
); resultobj
= Py_None
;
10526 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10527 PyObject
*resultobj
;
10528 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10530 PyObject
* obj0
= 0 ;
10531 char *kwnames
[] = {
10532 (char *) "self", NULL
10535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10539 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= PyInt_FromLong((long)result
);
10551 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10552 PyObject
*resultobj
;
10553 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10555 PyObject
* obj0
= 0 ;
10556 PyObject
* obj1
= 0 ;
10557 char *kwnames
[] = {
10558 (char *) "self",(char *) "enabled", NULL
10561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10563 arg2
= PyInt_AsLong(obj1
) ? true : false;
10564 if (PyErr_Occurred()) SWIG_fail
;
10566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10567 (arg1
)->SetEvtHandlerEnabled(arg2
);
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10572 Py_INCREF(Py_None
); resultobj
= Py_None
;
10579 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10580 PyObject
*resultobj
;
10581 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10582 wxEvent
*arg2
= 0 ;
10584 PyObject
* obj0
= 0 ;
10585 PyObject
* obj1
= 0 ;
10586 char *kwnames
[] = {
10587 (char *) "self",(char *) "event", NULL
10590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10593 if (arg2
== NULL
) {
10594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10598 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10600 wxPyEndAllowThreads(__tstate
);
10601 if (PyErr_Occurred()) SWIG_fail
;
10603 resultobj
= PyInt_FromLong((long)result
);
10610 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10611 PyObject
*resultobj
;
10612 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10613 wxEvent
*arg2
= 0 ;
10614 PyObject
* obj0
= 0 ;
10615 PyObject
* obj1
= 0 ;
10616 char *kwnames
[] = {
10617 (char *) "self",(char *) "event", NULL
10620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10623 if (arg2
== NULL
) {
10624 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10628 (arg1
)->AddPendingEvent(*arg2
);
10630 wxPyEndAllowThreads(__tstate
);
10631 if (PyErr_Occurred()) SWIG_fail
;
10633 Py_INCREF(Py_None
); resultobj
= Py_None
;
10640 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10641 PyObject
*resultobj
;
10642 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10643 PyObject
* obj0
= 0 ;
10644 char *kwnames
[] = {
10645 (char *) "self", NULL
10648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10652 (arg1
)->ProcessPendingEvents();
10654 wxPyEndAllowThreads(__tstate
);
10655 if (PyErr_Occurred()) SWIG_fail
;
10657 Py_INCREF(Py_None
); resultobj
= Py_None
;
10664 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10665 PyObject
*resultobj
;
10666 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10670 PyObject
*arg5
= (PyObject
*) 0 ;
10671 PyObject
* obj0
= 0 ;
10672 PyObject
* obj4
= 0 ;
10673 char *kwnames
[] = {
10674 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 Py_INCREF(Py_None
); resultobj
= Py_None
;
10694 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10698 int arg3
= (int) -1 ;
10699 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10701 PyObject
* obj0
= 0 ;
10702 char *kwnames
[] = {
10703 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10710 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10712 wxPyEndAllowThreads(__tstate
);
10713 if (PyErr_Occurred()) SWIG_fail
;
10715 resultobj
= PyInt_FromLong((long)result
);
10722 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10723 PyObject
*resultobj
;
10724 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10725 PyObject
*arg2
= (PyObject
*) 0 ;
10726 PyObject
* obj0
= 0 ;
10727 PyObject
* obj1
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self",(char *) "_self", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10737 wxEvtHandler__setOORInfo(arg1
,arg2
);
10739 wxPyEndAllowThreads(__tstate
);
10740 if (PyErr_Occurred()) SWIG_fail
;
10742 Py_INCREF(Py_None
); resultobj
= Py_None
;
10749 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10751 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10752 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10754 return Py_BuildValue((char *)"");
10756 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10757 PyObject
*resultobj
;
10758 wxEventType result
;
10759 char *kwnames
[] = {
10763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10766 result
= (wxEventType
)wxNewEventType();
10768 wxPyEndAllowThreads(__tstate
);
10769 if (PyErr_Occurred()) SWIG_fail
;
10771 resultobj
= PyInt_FromLong((long)result
);
10778 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10779 PyObject
*resultobj
;
10780 wxEvent
*arg1
= (wxEvent
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 Py_INCREF(Py_None
); resultobj
= Py_None
;
10802 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10804 wxEvent
*arg1
= (wxEvent
*) 0 ;
10806 PyObject
* obj0
= 0 ;
10807 char *kwnames
[] = {
10808 (char *) "self",(char *) "typ", NULL
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetEventType(arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxEvent
*arg1
= (wxEvent
*) 0 ;
10830 wxEventType result
;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= PyInt_FromLong((long)result
);
10852 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxEvent
*arg1
= (wxEvent
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10871 resultobj
= wxPyMake_wxObject(result
);
10879 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10880 PyObject
*resultobj
;
10881 wxEvent
*arg1
= (wxEvent
*) 0 ;
10882 wxObject
*arg2
= (wxObject
*) 0 ;
10883 PyObject
* obj0
= 0 ;
10884 PyObject
* obj1
= 0 ;
10885 char *kwnames
[] = {
10886 (char *) "self",(char *) "obj", NULL
10889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10891 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10894 (arg1
)->SetEventObject(arg2
);
10896 wxPyEndAllowThreads(__tstate
);
10897 if (PyErr_Occurred()) SWIG_fail
;
10899 Py_INCREF(Py_None
); resultobj
= Py_None
;
10906 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10907 PyObject
*resultobj
;
10908 wxEvent
*arg1
= (wxEvent
*) 0 ;
10910 PyObject
* obj0
= 0 ;
10911 char *kwnames
[] = {
10912 (char *) "self", NULL
10915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10921 wxPyEndAllowThreads(__tstate
);
10922 if (PyErr_Occurred()) SWIG_fail
;
10924 resultobj
= PyInt_FromLong((long)result
);
10931 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10932 PyObject
*resultobj
;
10933 wxEvent
*arg1
= (wxEvent
*) 0 ;
10934 long arg2
= (long) 0 ;
10935 PyObject
* obj0
= 0 ;
10936 char *kwnames
[] = {
10937 (char *) "self",(char *) "ts", NULL
10940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 (arg1
)->SetTimestamp(arg2
);
10946 wxPyEndAllowThreads(__tstate
);
10947 if (PyErr_Occurred()) SWIG_fail
;
10949 Py_INCREF(Py_None
); resultobj
= Py_None
;
10956 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10957 PyObject
*resultobj
;
10958 wxEvent
*arg1
= (wxEvent
*) 0 ;
10960 PyObject
* obj0
= 0 ;
10961 char *kwnames
[] = {
10962 (char *) "self", NULL
10965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10969 result
= (int)((wxEvent
const *)arg1
)->GetId();
10971 wxPyEndAllowThreads(__tstate
);
10972 if (PyErr_Occurred()) SWIG_fail
;
10974 resultobj
= PyInt_FromLong((long)result
);
10981 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10982 PyObject
*resultobj
;
10983 wxEvent
*arg1
= (wxEvent
*) 0 ;
10985 PyObject
* obj0
= 0 ;
10986 char *kwnames
[] = {
10987 (char *) "self",(char *) "Id", NULL
10990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10994 (arg1
)->SetId(arg2
);
10996 wxPyEndAllowThreads(__tstate
);
10997 if (PyErr_Occurred()) SWIG_fail
;
10999 Py_INCREF(Py_None
); resultobj
= Py_None
;
11006 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11007 PyObject
*resultobj
;
11008 wxEvent
*arg1
= (wxEvent
*) 0 ;
11010 PyObject
* obj0
= 0 ;
11011 char *kwnames
[] = {
11012 (char *) "self", NULL
11015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11019 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11021 wxPyEndAllowThreads(__tstate
);
11022 if (PyErr_Occurred()) SWIG_fail
;
11024 resultobj
= PyInt_FromLong((long)result
);
11031 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11032 PyObject
*resultobj
;
11033 wxEvent
*arg1
= (wxEvent
*) 0 ;
11034 bool arg2
= (bool) TRUE
;
11035 PyObject
* obj0
= 0 ;
11036 PyObject
* obj1
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self",(char *) "skip", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11044 arg2
= PyInt_AsLong(obj1
) ? true : false;
11045 if (PyErr_Occurred()) SWIG_fail
;
11048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11049 (arg1
)->Skip(arg2
);
11051 wxPyEndAllowThreads(__tstate
);
11052 if (PyErr_Occurred()) SWIG_fail
;
11054 Py_INCREF(Py_None
); resultobj
= Py_None
;
11061 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11062 PyObject
*resultobj
;
11063 wxEvent
*arg1
= (wxEvent
*) 0 ;
11065 PyObject
* obj0
= 0 ;
11066 char *kwnames
[] = {
11067 (char *) "self", NULL
11070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
11071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11074 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
11076 wxPyEndAllowThreads(__tstate
);
11077 if (PyErr_Occurred()) SWIG_fail
;
11079 resultobj
= PyInt_FromLong((long)result
);
11086 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11087 PyObject
*resultobj
;
11088 wxEvent
*arg1
= (wxEvent
*) 0 ;
11090 PyObject
* obj0
= 0 ;
11091 char *kwnames
[] = {
11092 (char *) "self", NULL
11095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
11096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11099 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
11101 wxPyEndAllowThreads(__tstate
);
11102 if (PyErr_Occurred()) SWIG_fail
;
11104 resultobj
= PyInt_FromLong((long)result
);
11111 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11112 PyObject
*resultobj
;
11113 wxEvent
*arg1
= (wxEvent
*) 0 ;
11115 PyObject
* obj0
= 0 ;
11116 char *kwnames
[] = {
11117 (char *) "self", NULL
11120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
11121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11124 result
= (int)(arg1
)->StopPropagation();
11126 wxPyEndAllowThreads(__tstate
);
11127 if (PyErr_Occurred()) SWIG_fail
;
11129 resultobj
= PyInt_FromLong((long)result
);
11136 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11137 PyObject
*resultobj
;
11138 wxEvent
*arg1
= (wxEvent
*) 0 ;
11140 PyObject
* obj0
= 0 ;
11141 char *kwnames
[] = {
11142 (char *) "self",(char *) "propagationLevel", NULL
11145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11149 (arg1
)->ResumePropagation(arg2
);
11151 wxPyEndAllowThreads(__tstate
);
11152 if (PyErr_Occurred()) SWIG_fail
;
11154 Py_INCREF(Py_None
); resultobj
= Py_None
;
11161 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11162 PyObject
*resultobj
;
11163 wxEvent
*arg1
= (wxEvent
*) 0 ;
11165 PyObject
* obj0
= 0 ;
11166 char *kwnames
[] = {
11167 (char *) "self", NULL
11170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 result
= (wxEvent
*)(arg1
)->Clone();
11176 wxPyEndAllowThreads(__tstate
);
11177 if (PyErr_Occurred()) SWIG_fail
;
11179 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11186 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11189 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11191 return Py_BuildValue((char *)"");
11193 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11194 PyObject
*resultobj
;
11195 wxEvent
*arg1
= 0 ;
11196 wxPropagationDisabler
*result
;
11197 PyObject
* obj0
= 0 ;
11198 char *kwnames
[] = {
11199 (char *) "event", NULL
11202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11204 if (arg1
== NULL
) {
11205 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11209 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11211 wxPyEndAllowThreads(__tstate
);
11212 if (PyErr_Occurred()) SWIG_fail
;
11214 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11221 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11222 PyObject
*resultobj
;
11223 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11224 PyObject
* obj0
= 0 ;
11225 char *kwnames
[] = {
11226 (char *) "self", NULL
11229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 Py_INCREF(Py_None
); resultobj
= Py_None
;
11245 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11247 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11248 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11250 return Py_BuildValue((char *)"");
11252 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11253 PyObject
*resultobj
;
11254 wxEvent
*arg1
= 0 ;
11255 wxPropagateOnce
*result
;
11256 PyObject
* obj0
= 0 ;
11257 char *kwnames
[] = {
11258 (char *) "event", NULL
11261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11263 if (arg1
== NULL
) {
11264 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11268 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11270 wxPyEndAllowThreads(__tstate
);
11271 if (PyErr_Occurred()) SWIG_fail
;
11273 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11280 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11283 PyObject
* obj0
= 0 ;
11284 char *kwnames
[] = {
11285 (char *) "self", NULL
11288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11294 wxPyEndAllowThreads(__tstate
);
11295 if (PyErr_Occurred()) SWIG_fail
;
11297 Py_INCREF(Py_None
); resultobj
= Py_None
;
11304 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11306 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11307 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11309 return Py_BuildValue((char *)"");
11311 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11314 int arg2
= (int) 0 ;
11315 wxCommandEvent
*result
;
11316 char *kwnames
[] = {
11317 (char *) "commandType",(char *) "winid", NULL
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11323 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11325 wxPyEndAllowThreads(__tstate
);
11326 if (PyErr_Occurred()) SWIG_fail
;
11328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11335 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11336 PyObject
*resultobj
;
11337 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11339 PyObject
* obj0
= 0 ;
11340 char *kwnames
[] = {
11341 (char *) "self", NULL
11344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11348 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11350 wxPyEndAllowThreads(__tstate
);
11351 if (PyErr_Occurred()) SWIG_fail
;
11353 resultobj
= PyInt_FromLong((long)result
);
11360 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11361 PyObject
*resultobj
;
11362 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11363 wxString
*arg2
= 0 ;
11364 bool temp2
= false ;
11365 PyObject
* obj0
= 0 ;
11366 PyObject
* obj1
= 0 ;
11367 char *kwnames
[] = {
11368 (char *) "self",(char *) "s", NULL
11371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11374 arg2
= wxString_in_helper(obj1
);
11375 if (arg2
== NULL
) SWIG_fail
;
11379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11380 (arg1
)->SetString((wxString
const &)*arg2
);
11382 wxPyEndAllowThreads(__tstate
);
11383 if (PyErr_Occurred()) SWIG_fail
;
11385 Py_INCREF(Py_None
); resultobj
= Py_None
;
11400 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11420 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11422 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11431 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11432 PyObject
*resultobj
;
11433 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11435 PyObject
* obj0
= 0 ;
11436 char *kwnames
[] = {
11437 (char *) "self", NULL
11440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11444 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11446 wxPyEndAllowThreads(__tstate
);
11447 if (PyErr_Occurred()) SWIG_fail
;
11449 resultobj
= PyInt_FromLong((long)result
);
11456 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11457 PyObject
*resultobj
;
11458 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11460 PyObject
* obj0
= 0 ;
11461 char *kwnames
[] = {
11462 (char *) "self", NULL
11465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11469 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11471 wxPyEndAllowThreads(__tstate
);
11472 if (PyErr_Occurred()) SWIG_fail
;
11474 resultobj
= PyInt_FromLong((long)result
);
11481 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11482 PyObject
*resultobj
;
11483 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11485 PyObject
* obj0
= 0 ;
11486 char *kwnames
[] = {
11487 (char *) "self",(char *) "extraLong", NULL
11490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 (arg1
)->SetExtraLong(arg2
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 Py_INCREF(Py_None
); resultobj
= Py_None
;
11506 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11510 PyObject
* obj0
= 0 ;
11511 char *kwnames
[] = {
11512 (char *) "self", NULL
11515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11519 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11521 wxPyEndAllowThreads(__tstate
);
11522 if (PyErr_Occurred()) SWIG_fail
;
11524 resultobj
= PyInt_FromLong((long)result
);
11531 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11532 PyObject
*resultobj
;
11533 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self",(char *) "i", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 (arg1
)->SetInt(arg2
);
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 Py_INCREF(Py_None
); resultobj
= Py_None
;
11556 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "self", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= PyInt_FromLong((long)result
);
11581 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11582 PyObject
*resultobj
;
11583 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11585 PyObject
* obj0
= 0 ;
11586 char *kwnames
[] = {
11587 (char *) "self", NULL
11590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11594 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11596 wxPyEndAllowThreads(__tstate
);
11597 if (PyErr_Occurred()) SWIG_fail
;
11599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11606 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11608 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11609 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11611 return Py_BuildValue((char *)"");
11613 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11614 PyObject
*resultobj
;
11615 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11616 int arg2
= (int) 0 ;
11617 wxNotifyEvent
*result
;
11618 char *kwnames
[] = {
11619 (char *) "commandType",(char *) "winid", NULL
11622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11637 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11640 PyObject
* obj0
= 0 ;
11641 char *kwnames
[] = {
11642 (char *) "self", NULL
11645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11651 wxPyEndAllowThreads(__tstate
);
11652 if (PyErr_Occurred()) SWIG_fail
;
11654 Py_INCREF(Py_None
); resultobj
= Py_None
;
11661 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11662 PyObject
*resultobj
;
11663 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11664 PyObject
* obj0
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 Py_INCREF(Py_None
); resultobj
= Py_None
;
11685 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 result
= (bool)(arg1
)->IsAllowed();
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 resultobj
= PyInt_FromLong((long)result
);
11710 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11713 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11715 return Py_BuildValue((char *)"");
11717 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11720 int arg2
= (int) 0 ;
11721 int arg3
= (int) 0 ;
11722 int arg4
= (int) 0 ;
11723 wxScrollEvent
*result
;
11724 char *kwnames
[] = {
11725 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11731 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11733 wxPyEndAllowThreads(__tstate
);
11734 if (PyErr_Occurred()) SWIG_fail
;
11736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11743 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11744 PyObject
*resultobj
;
11745 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11747 PyObject
* obj0
= 0 ;
11748 char *kwnames
[] = {
11749 (char *) "self", NULL
11752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11756 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11758 wxPyEndAllowThreads(__tstate
);
11759 if (PyErr_Occurred()) SWIG_fail
;
11761 resultobj
= PyInt_FromLong((long)result
);
11768 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11769 PyObject
*resultobj
;
11770 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11772 PyObject
* obj0
= 0 ;
11773 char *kwnames
[] = {
11774 (char *) "self", NULL
11777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11781 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11783 wxPyEndAllowThreads(__tstate
);
11784 if (PyErr_Occurred()) SWIG_fail
;
11786 resultobj
= PyInt_FromLong((long)result
);
11793 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11794 PyObject
*resultobj
;
11795 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11797 PyObject
* obj0
= 0 ;
11798 char *kwnames
[] = {
11799 (char *) "self",(char *) "orient", NULL
11802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11806 (arg1
)->SetOrientation(arg2
);
11808 wxPyEndAllowThreads(__tstate
);
11809 if (PyErr_Occurred()) SWIG_fail
;
11811 Py_INCREF(Py_None
); resultobj
= Py_None
;
11818 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11819 PyObject
*resultobj
;
11820 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11822 PyObject
* obj0
= 0 ;
11823 char *kwnames
[] = {
11824 (char *) "self",(char *) "pos", NULL
11827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11831 (arg1
)->SetPosition(arg2
);
11833 wxPyEndAllowThreads(__tstate
);
11834 if (PyErr_Occurred()) SWIG_fail
;
11836 Py_INCREF(Py_None
); resultobj
= Py_None
;
11843 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11845 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11846 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11848 return Py_BuildValue((char *)"");
11850 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
;
11852 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11853 int arg2
= (int) 0 ;
11854 int arg3
= (int) 0 ;
11855 wxScrollWinEvent
*result
;
11856 char *kwnames
[] = {
11857 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11863 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11865 wxPyEndAllowThreads(__tstate
);
11866 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11875 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11876 PyObject
*resultobj
;
11877 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11879 PyObject
* obj0
= 0 ;
11880 char *kwnames
[] = {
11881 (char *) "self", NULL
11884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11888 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11890 wxPyEndAllowThreads(__tstate
);
11891 if (PyErr_Occurred()) SWIG_fail
;
11893 resultobj
= PyInt_FromLong((long)result
);
11900 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11901 PyObject
*resultobj
;
11902 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= PyInt_FromLong((long)result
);
11925 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
*resultobj
;
11927 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11929 PyObject
* obj0
= 0 ;
11930 char *kwnames
[] = {
11931 (char *) "self",(char *) "orient", NULL
11934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11938 (arg1
)->SetOrientation(arg2
);
11940 wxPyEndAllowThreads(__tstate
);
11941 if (PyErr_Occurred()) SWIG_fail
;
11943 Py_INCREF(Py_None
); resultobj
= Py_None
;
11950 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11951 PyObject
*resultobj
;
11952 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11954 PyObject
* obj0
= 0 ;
11955 char *kwnames
[] = {
11956 (char *) "self",(char *) "pos", NULL
11959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11963 (arg1
)->SetPosition(arg2
);
11965 wxPyEndAllowThreads(__tstate
);
11966 if (PyErr_Occurred()) SWIG_fail
;
11968 Py_INCREF(Py_None
); resultobj
= Py_None
;
11975 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11977 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11978 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11980 return Py_BuildValue((char *)"");
11982 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11983 PyObject
*resultobj
;
11984 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11985 wxMouseEvent
*result
;
11986 char *kwnames
[] = {
11987 (char *) "mouseType", NULL
11990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= wxPyMake_wxObject(result
);
12007 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12011 PyObject
* obj0
= 0 ;
12012 char *kwnames
[] = {
12013 (char *) "self", NULL
12016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
12017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12020 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
12022 wxPyEndAllowThreads(__tstate
);
12023 if (PyErr_Occurred()) SWIG_fail
;
12025 resultobj
= PyInt_FromLong((long)result
);
12032 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12033 PyObject
*resultobj
;
12034 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12035 int arg2
= (int) wxMOUSE_BTN_ANY
;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self",(char *) "but", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= PyInt_FromLong((long)result
);
12058 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12061 int arg2
= (int) wxMOUSE_BTN_ANY
;
12063 PyObject
* obj0
= 0 ;
12064 char *kwnames
[] = {
12065 (char *) "self",(char *) "but", NULL
12068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
12069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12072 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= PyInt_FromLong((long)result
);
12084 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12085 PyObject
*resultobj
;
12086 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12087 int arg2
= (int) wxMOUSE_BTN_ANY
;
12089 PyObject
* obj0
= 0 ;
12090 char *kwnames
[] = {
12091 (char *) "self",(char *) "but", NULL
12094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
12095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12098 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
12100 wxPyEndAllowThreads(__tstate
);
12101 if (PyErr_Occurred()) SWIG_fail
;
12103 resultobj
= PyInt_FromLong((long)result
);
12110 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12111 PyObject
*resultobj
;
12112 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12115 PyObject
* obj0
= 0 ;
12116 char *kwnames
[] = {
12117 (char *) "self",(char *) "but", NULL
12120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
12121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12124 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
12126 wxPyEndAllowThreads(__tstate
);
12127 if (PyErr_Occurred()) SWIG_fail
;
12129 resultobj
= PyInt_FromLong((long)result
);
12136 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12137 PyObject
*resultobj
;
12138 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12141 PyObject
* obj0
= 0 ;
12142 char *kwnames
[] = {
12143 (char *) "self",(char *) "but", NULL
12146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12150 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12152 wxPyEndAllowThreads(__tstate
);
12153 if (PyErr_Occurred()) SWIG_fail
;
12155 resultobj
= PyInt_FromLong((long)result
);
12162 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12163 PyObject
*resultobj
;
12164 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12166 PyObject
* obj0
= 0 ;
12167 char *kwnames
[] = {
12168 (char *) "self", NULL
12171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12175 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12177 wxPyEndAllowThreads(__tstate
);
12178 if (PyErr_Occurred()) SWIG_fail
;
12180 resultobj
= PyInt_FromLong((long)result
);
12187 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12188 PyObject
*resultobj
;
12189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12191 PyObject
* obj0
= 0 ;
12192 char *kwnames
[] = {
12193 (char *) "self", NULL
12196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12200 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12202 wxPyEndAllowThreads(__tstate
);
12203 if (PyErr_Occurred()) SWIG_fail
;
12205 resultobj
= PyInt_FromLong((long)result
);
12212 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12213 PyObject
*resultobj
;
12214 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12216 PyObject
* obj0
= 0 ;
12217 char *kwnames
[] = {
12218 (char *) "self", NULL
12221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12225 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12227 wxPyEndAllowThreads(__tstate
);
12228 if (PyErr_Occurred()) SWIG_fail
;
12230 resultobj
= PyInt_FromLong((long)result
);
12237 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12238 PyObject
*resultobj
;
12239 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12241 PyObject
* obj0
= 0 ;
12242 char *kwnames
[] = {
12243 (char *) "self", NULL
12246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12250 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12252 wxPyEndAllowThreads(__tstate
);
12253 if (PyErr_Occurred()) SWIG_fail
;
12255 resultobj
= PyInt_FromLong((long)result
);
12262 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12263 PyObject
*resultobj
;
12264 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12266 PyObject
* obj0
= 0 ;
12267 char *kwnames
[] = {
12268 (char *) "self", NULL
12271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12277 wxPyEndAllowThreads(__tstate
);
12278 if (PyErr_Occurred()) SWIG_fail
;
12280 resultobj
= PyInt_FromLong((long)result
);
12287 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12288 PyObject
*resultobj
;
12289 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12291 PyObject
* obj0
= 0 ;
12292 char *kwnames
[] = {
12293 (char *) "self", NULL
12296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12302 wxPyEndAllowThreads(__tstate
);
12303 if (PyErr_Occurred()) SWIG_fail
;
12305 resultobj
= PyInt_FromLong((long)result
);
12312 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12313 PyObject
*resultobj
;
12314 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12316 PyObject
* obj0
= 0 ;
12317 char *kwnames
[] = {
12318 (char *) "self", NULL
12321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12325 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12327 wxPyEndAllowThreads(__tstate
);
12328 if (PyErr_Occurred()) SWIG_fail
;
12330 resultobj
= PyInt_FromLong((long)result
);
12337 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12338 PyObject
*resultobj
;
12339 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12341 PyObject
* obj0
= 0 ;
12342 char *kwnames
[] = {
12343 (char *) "self", NULL
12346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12350 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12352 wxPyEndAllowThreads(__tstate
);
12353 if (PyErr_Occurred()) SWIG_fail
;
12355 resultobj
= PyInt_FromLong((long)result
);
12362 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12363 PyObject
*resultobj
;
12364 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12366 PyObject
* obj0
= 0 ;
12367 char *kwnames
[] = {
12368 (char *) "self", NULL
12371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12375 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12377 wxPyEndAllowThreads(__tstate
);
12378 if (PyErr_Occurred()) SWIG_fail
;
12380 resultobj
= PyInt_FromLong((long)result
);
12387 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12388 PyObject
*resultobj
;
12389 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12391 PyObject
* obj0
= 0 ;
12392 char *kwnames
[] = {
12393 (char *) "self", NULL
12396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12400 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12402 wxPyEndAllowThreads(__tstate
);
12403 if (PyErr_Occurred()) SWIG_fail
;
12405 resultobj
= PyInt_FromLong((long)result
);
12412 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12413 PyObject
*resultobj
;
12414 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12416 PyObject
* obj0
= 0 ;
12417 char *kwnames
[] = {
12418 (char *) "self", NULL
12421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12425 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12427 wxPyEndAllowThreads(__tstate
);
12428 if (PyErr_Occurred()) SWIG_fail
;
12430 resultobj
= PyInt_FromLong((long)result
);
12437 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12438 PyObject
*resultobj
;
12439 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12441 PyObject
* obj0
= 0 ;
12442 char *kwnames
[] = {
12443 (char *) "self", NULL
12446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12450 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12452 wxPyEndAllowThreads(__tstate
);
12453 if (PyErr_Occurred()) SWIG_fail
;
12455 resultobj
= PyInt_FromLong((long)result
);
12462 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12463 PyObject
*resultobj
;
12464 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12466 PyObject
* obj0
= 0 ;
12467 char *kwnames
[] = {
12468 (char *) "self", NULL
12471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= PyInt_FromLong((long)result
);
12487 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12488 PyObject
*resultobj
;
12489 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12491 PyObject
* obj0
= 0 ;
12492 char *kwnames
[] = {
12493 (char *) "self", NULL
12496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12500 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12502 wxPyEndAllowThreads(__tstate
);
12503 if (PyErr_Occurred()) SWIG_fail
;
12505 resultobj
= PyInt_FromLong((long)result
);
12512 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12513 PyObject
*resultobj
;
12514 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12516 PyObject
* obj0
= 0 ;
12517 char *kwnames
[] = {
12518 (char *) "self", NULL
12521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12525 result
= (bool)(arg1
)->LeftIsDown();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= PyInt_FromLong((long)result
);
12537 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12538 PyObject
*resultobj
;
12539 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12541 PyObject
* obj0
= 0 ;
12542 char *kwnames
[] = {
12543 (char *) "self", NULL
12546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12550 result
= (bool)(arg1
)->MiddleIsDown();
12552 wxPyEndAllowThreads(__tstate
);
12553 if (PyErr_Occurred()) SWIG_fail
;
12555 resultobj
= PyInt_FromLong((long)result
);
12562 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12563 PyObject
*resultobj
;
12564 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12566 PyObject
* obj0
= 0 ;
12567 char *kwnames
[] = {
12568 (char *) "self", NULL
12571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12575 result
= (bool)(arg1
)->RightIsDown();
12577 wxPyEndAllowThreads(__tstate
);
12578 if (PyErr_Occurred()) SWIG_fail
;
12580 resultobj
= PyInt_FromLong((long)result
);
12587 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12591 PyObject
* obj0
= 0 ;
12592 char *kwnames
[] = {
12593 (char *) "self", NULL
12596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12600 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12602 wxPyEndAllowThreads(__tstate
);
12603 if (PyErr_Occurred()) SWIG_fail
;
12605 resultobj
= PyInt_FromLong((long)result
);
12612 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12613 PyObject
*resultobj
;
12614 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12616 PyObject
* obj0
= 0 ;
12617 char *kwnames
[] = {
12618 (char *) "self", NULL
12621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12625 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= PyInt_FromLong((long)result
);
12637 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
;
12639 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12641 PyObject
* obj0
= 0 ;
12642 char *kwnames
[] = {
12643 (char *) "self", NULL
12646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12650 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12652 wxPyEndAllowThreads(__tstate
);
12653 if (PyErr_Occurred()) SWIG_fail
;
12655 resultobj
= PyInt_FromLong((long)result
);
12662 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12663 PyObject
*resultobj
;
12664 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12666 PyObject
* obj0
= 0 ;
12667 char *kwnames
[] = {
12668 (char *) "self", NULL
12671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12675 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12677 wxPyEndAllowThreads(__tstate
);
12678 if (PyErr_Occurred()) SWIG_fail
;
12680 resultobj
= PyInt_FromLong((long)result
);
12687 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12688 PyObject
*resultobj
;
12689 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12691 PyObject
* obj0
= 0 ;
12692 char *kwnames
[] = {
12693 (char *) "self", NULL
12696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 result
= (arg1
)->GetPosition();
12702 wxPyEndAllowThreads(__tstate
);
12703 if (PyErr_Occurred()) SWIG_fail
;
12706 wxPoint
* resultptr
;
12707 resultptr
= new wxPoint((wxPoint
&) result
);
12708 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12716 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12717 PyObject
*resultobj
;
12718 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12719 long *arg2
= (long *) 0 ;
12720 long *arg3
= (long *) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self", NULL
12730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12734 (arg1
)->GetPosition(arg2
,arg3
);
12736 wxPyEndAllowThreads(__tstate
);
12737 if (PyErr_Occurred()) SWIG_fail
;
12739 Py_INCREF(Py_None
); resultobj
= Py_None
;
12741 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12742 resultobj
= t_output_helper(resultobj
,o
);
12745 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12746 resultobj
= t_output_helper(resultobj
,o
);
12754 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12755 PyObject
*resultobj
;
12756 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12759 PyObject
* obj0
= 0 ;
12760 PyObject
* obj1
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self",(char *) "dc", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12767 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12768 if (arg2
== NULL
) {
12769 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12779 wxPoint
* resultptr
;
12780 resultptr
= new wxPoint((wxPoint
&) result
);
12781 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12789 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12790 PyObject
*resultobj
;
12791 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12793 PyObject
* obj0
= 0 ;
12794 char *kwnames
[] = {
12795 (char *) "self", NULL
12798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12802 result
= (wxCoord
)((wxMouseEvent
const *)arg1
)->GetX();
12804 wxPyEndAllowThreads(__tstate
);
12805 if (PyErr_Occurred()) SWIG_fail
;
12807 resultobj
= PyInt_FromLong((long)result
);
12814 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12815 PyObject
*resultobj
;
12816 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12818 PyObject
* obj0
= 0 ;
12819 char *kwnames
[] = {
12820 (char *) "self", NULL
12823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12827 result
= (wxCoord
)((wxMouseEvent
const *)arg1
)->GetY();
12829 wxPyEndAllowThreads(__tstate
);
12830 if (PyErr_Occurred()) SWIG_fail
;
12832 resultobj
= PyInt_FromLong((long)result
);
12839 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12852 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12854 wxPyEndAllowThreads(__tstate
);
12855 if (PyErr_Occurred()) SWIG_fail
;
12857 resultobj
= PyInt_FromLong((long)result
);
12864 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12865 PyObject
*resultobj
;
12866 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12868 PyObject
* obj0
= 0 ;
12869 char *kwnames
[] = {
12870 (char *) "self", NULL
12873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12879 wxPyEndAllowThreads(__tstate
);
12880 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= PyInt_FromLong((long)result
);
12889 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12890 PyObject
*resultobj
;
12891 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12893 PyObject
* obj0
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12902 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12904 wxPyEndAllowThreads(__tstate
);
12905 if (PyErr_Occurred()) SWIG_fail
;
12907 resultobj
= PyInt_FromLong((long)result
);
12914 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12915 PyObject
*resultobj
;
12916 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12918 PyObject
* obj0
= 0 ;
12919 char *kwnames
[] = {
12920 (char *) "self", NULL
12923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12927 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12929 wxPyEndAllowThreads(__tstate
);
12930 if (PyErr_Occurred()) SWIG_fail
;
12932 resultobj
= PyInt_FromLong((long)result
);
12939 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12940 PyObject
*resultobj
;
12941 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12943 PyObject
* obj0
= 0 ;
12944 char *kwnames
[] = {
12945 (char *) "self",(char *) "m_x", NULL
12948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12950 if (arg1
) (arg1
)->m_x
= arg2
;
12952 Py_INCREF(Py_None
); resultobj
= Py_None
;
12959 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12960 PyObject
*resultobj
;
12961 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12963 PyObject
* obj0
= 0 ;
12964 char *kwnames
[] = {
12965 (char *) "self", NULL
12968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12970 result
= (wxCoord
) ((arg1
)->m_x
);
12972 resultobj
= PyInt_FromLong((long)result
);
12979 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12980 PyObject
*resultobj
;
12981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12983 PyObject
* obj0
= 0 ;
12984 char *kwnames
[] = {
12985 (char *) "self",(char *) "m_y", NULL
12988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12990 if (arg1
) (arg1
)->m_y
= arg2
;
12992 Py_INCREF(Py_None
); resultobj
= Py_None
;
12999 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13010 result
= (wxCoord
) ((arg1
)->m_y
);
13012 resultobj
= PyInt_FromLong((long)result
);
13019 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "m_leftDown", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13031 arg2
= PyInt_AsLong(obj1
) ? true : false;
13032 if (PyErr_Occurred()) SWIG_fail
;
13033 if (arg1
) (arg1
)->m_leftDown
= arg2
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
13052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13053 result
= (bool) ((arg1
)->m_leftDown
);
13055 resultobj
= PyInt_FromLong((long)result
);
13062 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self",(char *) "m_middleDown", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13074 arg2
= PyInt_AsLong(obj1
) ? true : false;
13075 if (PyErr_Occurred()) SWIG_fail
;
13076 if (arg1
) (arg1
)->m_middleDown
= arg2
;
13078 Py_INCREF(Py_None
); resultobj
= Py_None
;
13085 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13096 result
= (bool) ((arg1
)->m_middleDown
);
13098 resultobj
= PyInt_FromLong((long)result
);
13105 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self",(char *) "m_rightDown", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13117 arg2
= PyInt_AsLong(obj1
) ? true : false;
13118 if (PyErr_Occurred()) SWIG_fail
;
13119 if (arg1
) (arg1
)->m_rightDown
= arg2
;
13121 Py_INCREF(Py_None
); resultobj
= Py_None
;
13128 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13139 result
= (bool) ((arg1
)->m_rightDown
);
13141 resultobj
= PyInt_FromLong((long)result
);
13148 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "m_controlDown", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13160 arg2
= PyInt_AsLong(obj1
) ? true : false;
13161 if (PyErr_Occurred()) SWIG_fail
;
13162 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13182 result
= (bool) ((arg1
)->m_controlDown
);
13184 resultobj
= PyInt_FromLong((long)result
);
13191 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 PyObject
* obj1
= 0 ;
13197 char *kwnames
[] = {
13198 (char *) "self",(char *) "m_shiftDown", NULL
13201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13203 arg2
= PyInt_AsLong(obj1
) ? true : false;
13204 if (PyErr_Occurred()) SWIG_fail
;
13205 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13207 Py_INCREF(Py_None
); resultobj
= Py_None
;
13214 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13215 PyObject
*resultobj
;
13216 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13218 PyObject
* obj0
= 0 ;
13219 char *kwnames
[] = {
13220 (char *) "self", NULL
13223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13225 result
= (bool) ((arg1
)->m_shiftDown
);
13227 resultobj
= PyInt_FromLong((long)result
);
13234 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13235 PyObject
*resultobj
;
13236 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13238 PyObject
* obj0
= 0 ;
13239 PyObject
* obj1
= 0 ;
13240 char *kwnames
[] = {
13241 (char *) "self",(char *) "m_altDown", NULL
13244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13246 arg2
= PyInt_AsLong(obj1
) ? true : false;
13247 if (PyErr_Occurred()) SWIG_fail
;
13248 if (arg1
) (arg1
)->m_altDown
= arg2
;
13250 Py_INCREF(Py_None
); resultobj
= Py_None
;
13257 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13258 PyObject
*resultobj
;
13259 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13261 PyObject
* obj0
= 0 ;
13262 char *kwnames
[] = {
13263 (char *) "self", NULL
13266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13268 result
= (bool) ((arg1
)->m_altDown
);
13270 resultobj
= PyInt_FromLong((long)result
);
13277 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13278 PyObject
*resultobj
;
13279 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13281 PyObject
* obj0
= 0 ;
13282 PyObject
* obj1
= 0 ;
13283 char *kwnames
[] = {
13284 (char *) "self",(char *) "m_metaDown", NULL
13287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13289 arg2
= PyInt_AsLong(obj1
) ? true : false;
13290 if (PyErr_Occurred()) SWIG_fail
;
13291 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13311 result
= (bool) ((arg1
)->m_metaDown
);
13313 resultobj
= PyInt_FromLong((long)result
);
13320 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13321 PyObject
*resultobj
;
13322 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13324 PyObject
* obj0
= 0 ;
13325 char *kwnames
[] = {
13326 (char *) "self",(char *) "m_wheelRotation", NULL
13329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13331 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13333 Py_INCREF(Py_None
); resultobj
= Py_None
;
13340 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
;
13342 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13351 result
= (int) ((arg1
)->m_wheelRotation
);
13353 resultobj
= PyInt_FromLong((long)result
);
13360 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13361 PyObject
*resultobj
;
13362 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13364 PyObject
* obj0
= 0 ;
13365 char *kwnames
[] = {
13366 (char *) "self",(char *) "m_wheelDelta", NULL
13369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13371 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13373 Py_INCREF(Py_None
); resultobj
= Py_None
;
13380 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13381 PyObject
*resultobj
;
13382 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13384 PyObject
* obj0
= 0 ;
13385 char *kwnames
[] = {
13386 (char *) "self", NULL
13389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13391 result
= (int) ((arg1
)->m_wheelDelta
);
13393 resultobj
= PyInt_FromLong((long)result
);
13400 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13401 PyObject
*resultobj
;
13402 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13404 PyObject
* obj0
= 0 ;
13405 char *kwnames
[] = {
13406 (char *) "self",(char *) "m_linesPerAction", NULL
13409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13411 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13431 result
= (int) ((arg1
)->m_linesPerAction
);
13433 resultobj
= PyInt_FromLong((long)result
);
13440 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13442 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13443 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13445 return Py_BuildValue((char *)"");
13447 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13448 PyObject
*resultobj
;
13449 wxCoord arg1
= (wxCoord
) 0 ;
13450 wxCoord arg2
= (wxCoord
) 0 ;
13451 wxSetCursorEvent
*result
;
13452 char *kwnames
[] = {
13453 (char *) "x",(char *) "y", NULL
13456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13471 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13472 PyObject
*resultobj
;
13473 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13475 PyObject
* obj0
= 0 ;
13476 char *kwnames
[] = {
13477 (char *) "self", NULL
13480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13484 result
= (wxCoord
)((wxSetCursorEvent
const *)arg1
)->GetX();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= PyInt_FromLong((long)result
);
13496 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
;
13498 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13500 PyObject
* obj0
= 0 ;
13501 char *kwnames
[] = {
13502 (char *) "self", NULL
13505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13509 result
= (wxCoord
)((wxSetCursorEvent
const *)arg1
)->GetY();
13511 wxPyEndAllowThreads(__tstate
);
13512 if (PyErr_Occurred()) SWIG_fail
;
13514 resultobj
= PyInt_FromLong((long)result
);
13521 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13522 PyObject
*resultobj
;
13523 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13524 wxCursor
*arg2
= 0 ;
13525 PyObject
* obj0
= 0 ;
13526 PyObject
* obj1
= 0 ;
13527 char *kwnames
[] = {
13528 (char *) "self",(char *) "cursor", NULL
13531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13534 if (arg2
== NULL
) {
13535 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 Py_INCREF(Py_None
); resultobj
= Py_None
;
13551 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13565 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13566 result
= (wxCursor
*) &_result_ref
;
13569 wxPyEndAllowThreads(__tstate
);
13570 if (PyErr_Occurred()) SWIG_fail
;
13572 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13579 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13580 PyObject
*resultobj
;
13581 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13583 PyObject
* obj0
= 0 ;
13584 char *kwnames
[] = {
13585 (char *) "self", NULL
13588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13592 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13594 wxPyEndAllowThreads(__tstate
);
13595 if (PyErr_Occurred()) SWIG_fail
;
13597 resultobj
= PyInt_FromLong((long)result
);
13604 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13607 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13609 return Py_BuildValue((char *)"");
13611 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13612 PyObject
*resultobj
;
13613 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13614 wxKeyEvent
*result
;
13615 char *kwnames
[] = {
13616 (char *) "keyType", NULL
13619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13622 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13624 wxPyEndAllowThreads(__tstate
);
13625 if (PyErr_Occurred()) SWIG_fail
;
13627 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13634 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
;
13636 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13638 PyObject
* obj0
= 0 ;
13639 char *kwnames
[] = {
13640 (char *) "self", NULL
13643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13647 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13649 wxPyEndAllowThreads(__tstate
);
13650 if (PyErr_Occurred()) SWIG_fail
;
13652 resultobj
= PyInt_FromLong((long)result
);
13659 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13660 PyObject
*resultobj
;
13661 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13663 PyObject
* obj0
= 0 ;
13664 char *kwnames
[] = {
13665 (char *) "self", NULL
13668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13672 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13674 wxPyEndAllowThreads(__tstate
);
13675 if (PyErr_Occurred()) SWIG_fail
;
13677 resultobj
= PyInt_FromLong((long)result
);
13684 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13685 PyObject
*resultobj
;
13686 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13688 PyObject
* obj0
= 0 ;
13689 char *kwnames
[] = {
13690 (char *) "self", NULL
13693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13697 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13699 wxPyEndAllowThreads(__tstate
);
13700 if (PyErr_Occurred()) SWIG_fail
;
13702 resultobj
= PyInt_FromLong((long)result
);
13709 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13710 PyObject
*resultobj
;
13711 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13713 PyObject
* obj0
= 0 ;
13714 char *kwnames
[] = {
13715 (char *) "self", NULL
13718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13722 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13724 wxPyEndAllowThreads(__tstate
);
13725 if (PyErr_Occurred()) SWIG_fail
;
13727 resultobj
= PyInt_FromLong((long)result
);
13734 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13735 PyObject
*resultobj
;
13736 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13738 PyObject
* obj0
= 0 ;
13739 char *kwnames
[] = {
13740 (char *) "self", NULL
13743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13747 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13749 wxPyEndAllowThreads(__tstate
);
13750 if (PyErr_Occurred()) SWIG_fail
;
13752 resultobj
= PyInt_FromLong((long)result
);
13759 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13763 PyObject
* obj0
= 0 ;
13764 char *kwnames
[] = {
13765 (char *) "self", NULL
13768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13772 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13774 wxPyEndAllowThreads(__tstate
);
13775 if (PyErr_Occurred()) SWIG_fail
;
13777 resultobj
= PyInt_FromLong((long)result
);
13784 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13785 PyObject
*resultobj
;
13786 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13788 PyObject
* obj0
= 0 ;
13789 char *kwnames
[] = {
13790 (char *) "self", NULL
13793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13799 wxPyEndAllowThreads(__tstate
);
13800 if (PyErr_Occurred()) SWIG_fail
;
13802 resultobj
= PyInt_FromLong((long)result
);
13809 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13810 PyObject
*resultobj
;
13811 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13813 PyObject
* obj0
= 0 ;
13814 char *kwnames
[] = {
13815 (char *) "self", NULL
13818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13822 result
= (wxUint32
)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13824 wxPyEndAllowThreads(__tstate
);
13825 if (PyErr_Occurred()) SWIG_fail
;
13827 resultobj
= PyInt_FromLong((long)result
);
13834 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13835 PyObject
*resultobj
;
13836 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13838 PyObject
* obj0
= 0 ;
13839 char *kwnames
[] = {
13840 (char *) "self", NULL
13843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13847 result
= (wxUint32
)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13849 wxPyEndAllowThreads(__tstate
);
13850 if (PyErr_Occurred()) SWIG_fail
;
13852 resultobj
= PyInt_FromLong((long)result
);
13859 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13860 PyObject
*resultobj
;
13861 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13863 PyObject
* obj0
= 0 ;
13864 char *kwnames
[] = {
13865 (char *) "self", NULL
13868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (arg1
)->GetPosition();
13874 wxPyEndAllowThreads(__tstate
);
13875 if (PyErr_Occurred()) SWIG_fail
;
13878 wxPoint
* resultptr
;
13879 resultptr
= new wxPoint((wxPoint
&) result
);
13880 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13888 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13889 PyObject
*resultobj
;
13890 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13891 long *arg2
= (long *) 0 ;
13892 long *arg3
= (long *) 0 ;
13895 PyObject
* obj0
= 0 ;
13896 char *kwnames
[] = {
13897 (char *) "self", NULL
13902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13906 (arg1
)->GetPosition(arg2
,arg3
);
13908 wxPyEndAllowThreads(__tstate
);
13909 if (PyErr_Occurred()) SWIG_fail
;
13911 Py_INCREF(Py_None
); resultobj
= Py_None
;
13913 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13914 resultobj
= t_output_helper(resultobj
,o
);
13917 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13918 resultobj
= t_output_helper(resultobj
,o
);
13926 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13927 PyObject
*resultobj
;
13928 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13930 PyObject
* obj0
= 0 ;
13931 char *kwnames
[] = {
13932 (char *) "self", NULL
13935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13939 result
= (wxCoord
)((wxKeyEvent
const *)arg1
)->GetX();
13941 wxPyEndAllowThreads(__tstate
);
13942 if (PyErr_Occurred()) SWIG_fail
;
13944 resultobj
= PyInt_FromLong((long)result
);
13951 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13952 PyObject
*resultobj
;
13953 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13955 PyObject
* obj0
= 0 ;
13956 char *kwnames
[] = {
13957 (char *) "self", NULL
13960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13964 result
= (wxCoord
)((wxKeyEvent
const *)arg1
)->GetY();
13966 wxPyEndAllowThreads(__tstate
);
13967 if (PyErr_Occurred()) SWIG_fail
;
13969 resultobj
= PyInt_FromLong((long)result
);
13976 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 char *kwnames
[] = {
13982 (char *) "self",(char *) "m_x", NULL
13985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13987 if (arg1
) (arg1
)->m_x
= arg2
;
13989 Py_INCREF(Py_None
); resultobj
= Py_None
;
13996 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13997 PyObject
*resultobj
;
13998 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14000 PyObject
* obj0
= 0 ;
14001 char *kwnames
[] = {
14002 (char *) "self", NULL
14005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14007 result
= (wxCoord
) ((arg1
)->m_x
);
14009 resultobj
= PyInt_FromLong((long)result
);
14016 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14017 PyObject
*resultobj
;
14018 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14020 PyObject
* obj0
= 0 ;
14021 char *kwnames
[] = {
14022 (char *) "self",(char *) "m_y", NULL
14025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14027 if (arg1
) (arg1
)->m_y
= arg2
;
14029 Py_INCREF(Py_None
); resultobj
= Py_None
;
14036 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14037 PyObject
*resultobj
;
14038 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14040 PyObject
* obj0
= 0 ;
14041 char *kwnames
[] = {
14042 (char *) "self", NULL
14045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14047 result
= (wxCoord
) ((arg1
)->m_y
);
14049 resultobj
= PyInt_FromLong((long)result
);
14056 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14057 PyObject
*resultobj
;
14058 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14060 PyObject
* obj0
= 0 ;
14061 char *kwnames
[] = {
14062 (char *) "self",(char *) "m_keyCode", NULL
14065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14067 if (arg1
) (arg1
)->m_keyCode
= arg2
;
14069 Py_INCREF(Py_None
); resultobj
= Py_None
;
14076 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14087 result
= (long) ((arg1
)->m_keyCode
);
14089 resultobj
= PyInt_FromLong((long)result
);
14096 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self",(char *) "m_controlDown", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14108 arg2
= PyInt_AsLong(obj1
) ? true : false;
14109 if (PyErr_Occurred()) SWIG_fail
;
14110 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14119 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14130 result
= (bool) ((arg1
)->m_controlDown
);
14132 resultobj
= PyInt_FromLong((long)result
);
14139 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self",(char *) "m_shiftDown", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14151 arg2
= PyInt_AsLong(obj1
) ? true : false;
14152 if (PyErr_Occurred()) SWIG_fail
;
14153 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14155 Py_INCREF(Py_None
); resultobj
= Py_None
;
14162 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14173 result
= (bool) ((arg1
)->m_shiftDown
);
14175 resultobj
= PyInt_FromLong((long)result
);
14182 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "m_altDown", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14194 arg2
= PyInt_AsLong(obj1
) ? true : false;
14195 if (PyErr_Occurred()) SWIG_fail
;
14196 if (arg1
) (arg1
)->m_altDown
= arg2
;
14198 Py_INCREF(Py_None
); resultobj
= Py_None
;
14205 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14209 PyObject
* obj0
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14216 result
= (bool) ((arg1
)->m_altDown
);
14218 resultobj
= PyInt_FromLong((long)result
);
14225 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self",(char *) "m_metaDown", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14237 arg2
= PyInt_AsLong(obj1
) ? true : false;
14238 if (PyErr_Occurred()) SWIG_fail
;
14239 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14241 Py_INCREF(Py_None
); resultobj
= Py_None
;
14248 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14259 result
= (bool) ((arg1
)->m_metaDown
);
14261 resultobj
= PyInt_FromLong((long)result
);
14268 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14269 PyObject
*resultobj
;
14270 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14272 PyObject
* obj0
= 0 ;
14273 PyObject
* obj1
= 0 ;
14274 char *kwnames
[] = {
14275 (char *) "self",(char *) "m_scanCode", NULL
14278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14280 arg2
= PyInt_AsLong(obj1
) ? true : false;
14281 if (PyErr_Occurred()) SWIG_fail
;
14282 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14284 Py_INCREF(Py_None
); resultobj
= Py_None
;
14291 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14292 PyObject
*resultobj
;
14293 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14295 PyObject
* obj0
= 0 ;
14296 char *kwnames
[] = {
14297 (char *) "self", NULL
14300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14302 result
= (bool) ((arg1
)->m_scanCode
);
14304 resultobj
= PyInt_FromLong((long)result
);
14311 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14312 PyObject
*resultobj
;
14313 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14315 PyObject
* obj0
= 0 ;
14316 PyObject
* obj1
= 0 ;
14317 char *kwnames
[] = {
14318 (char *) "self",(char *) "m_rawCode", NULL
14321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14323 arg2
= (wxUint32
) PyInt_AsLong(obj1
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14325 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14327 Py_INCREF(Py_None
); resultobj
= Py_None
;
14334 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14335 PyObject
*resultobj
;
14336 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 char *kwnames
[] = {
14340 (char *) "self", NULL
14343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14345 result
= (wxUint32
) ((arg1
)->m_rawCode
);
14347 resultobj
= PyInt_FromLong((long)result
);
14354 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14355 PyObject
*resultobj
;
14356 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14358 PyObject
* obj0
= 0 ;
14359 PyObject
* obj1
= 0 ;
14360 char *kwnames
[] = {
14361 (char *) "self",(char *) "m_rawFlags", NULL
14364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14366 arg2
= (wxUint32
) PyInt_AsLong(obj1
);
14367 if (PyErr_Occurred()) SWIG_fail
;
14368 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14370 Py_INCREF(Py_None
); resultobj
= Py_None
;
14377 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14378 PyObject
*resultobj
;
14379 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14381 PyObject
* obj0
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14388 result
= (wxUint32
) ((arg1
)->m_rawFlags
);
14390 resultobj
= PyInt_FromLong((long)result
);
14397 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14399 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14400 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14402 return Py_BuildValue((char *)"");
14404 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14407 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14408 int arg2
= (int) 0 ;
14409 wxSizeEvent
*result
;
14411 PyObject
* obj0
= 0 ;
14412 char *kwnames
[] = {
14413 (char *) "sz",(char *) "winid", NULL
14416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14420 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14425 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14427 wxPyEndAllowThreads(__tstate
);
14428 if (PyErr_Occurred()) SWIG_fail
;
14430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14437 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14438 PyObject
*resultobj
;
14439 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14441 PyObject
* obj0
= 0 ;
14442 char *kwnames
[] = {
14443 (char *) "self", NULL
14446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14450 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14452 wxPyEndAllowThreads(__tstate
);
14453 if (PyErr_Occurred()) SWIG_fail
;
14456 wxSize
* resultptr
;
14457 resultptr
= new wxSize((wxSize
&) result
);
14458 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14466 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 char *kwnames
[] = {
14472 (char *) "self", NULL
14475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14479 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14481 wxPyEndAllowThreads(__tstate
);
14482 if (PyErr_Occurred()) SWIG_fail
;
14485 wxRect
* resultptr
;
14486 resultptr
= new wxRect((wxRect
&) result
);
14487 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14495 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14496 PyObject
*resultobj
;
14497 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14500 PyObject
* obj0
= 0 ;
14501 PyObject
* obj1
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self",(char *) "rect", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14508 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 (arg1
)->SetRect(arg2
);
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14517 Py_INCREF(Py_None
); resultobj
= Py_None
;
14524 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14529 PyObject
* obj0
= 0 ;
14530 PyObject
* obj1
= 0 ;
14531 char *kwnames
[] = {
14532 (char *) "self",(char *) "size", NULL
14535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14537 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14541 wxSizeEvent_SetSize(arg1
,arg2
);
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 Py_INCREF(Py_None
); resultobj
= Py_None
;
14553 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
;
14555 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14556 wxSize
*arg2
= (wxSize
*) 0 ;
14557 PyObject
* obj0
= 0 ;
14558 PyObject
* obj1
= 0 ;
14559 char *kwnames
[] = {
14560 (char *) "self",(char *) "m_size", NULL
14563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14566 if (arg1
) (arg1
)->m_size
= *arg2
;
14568 Py_INCREF(Py_None
); resultobj
= Py_None
;
14575 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14586 result
= (wxSize
*)& ((arg1
)->m_size
);
14588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14595 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
;
14597 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14598 wxRect
*arg2
= (wxRect
*) 0 ;
14599 PyObject
* obj0
= 0 ;
14600 PyObject
* obj1
= 0 ;
14601 char *kwnames
[] = {
14602 (char *) "self",(char *) "m_rect", NULL
14605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14608 if (arg1
) (arg1
)->m_rect
= *arg2
;
14610 Py_INCREF(Py_None
); resultobj
= Py_None
;
14617 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
;
14619 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14621 PyObject
* obj0
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14628 result
= (wxRect
*)& ((arg1
)->m_rect
);
14630 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14637 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14640 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14642 return Py_BuildValue((char *)"");
14644 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14647 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14648 int arg2
= (int) 0 ;
14649 wxMoveEvent
*result
;
14651 PyObject
* obj0
= 0 ;
14652 char *kwnames
[] = {
14653 (char *) "pos",(char *) "winid", NULL
14656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14660 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14665 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14667 wxPyEndAllowThreads(__tstate
);
14668 if (PyErr_Occurred()) SWIG_fail
;
14670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14677 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14678 PyObject
*resultobj
;
14679 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14681 PyObject
* obj0
= 0 ;
14682 char *kwnames
[] = {
14683 (char *) "self", NULL
14686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14690 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14692 wxPyEndAllowThreads(__tstate
);
14693 if (PyErr_Occurred()) SWIG_fail
;
14696 wxPoint
* resultptr
;
14697 resultptr
= new wxPoint((wxPoint
&) result
);
14698 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14706 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 char *kwnames
[] = {
14712 (char *) "self", NULL
14715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14725 wxRect
* resultptr
;
14726 resultptr
= new wxRect((wxRect
&) result
);
14727 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14735 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14736 PyObject
*resultobj
;
14737 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14740 PyObject
* obj0
= 0 ;
14741 PyObject
* obj1
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self",(char *) "rect", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14748 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 (arg1
)->SetRect(arg2
);
14754 wxPyEndAllowThreads(__tstate
);
14755 if (PyErr_Occurred()) SWIG_fail
;
14757 Py_INCREF(Py_None
); resultobj
= Py_None
;
14764 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14769 PyObject
* obj0
= 0 ;
14770 PyObject
* obj1
= 0 ;
14771 char *kwnames
[] = {
14772 (char *) "self",(char *) "pos", NULL
14775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14777 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14781 wxMoveEvent_SetPosition(arg1
,arg2
);
14783 wxPyEndAllowThreads(__tstate
);
14784 if (PyErr_Occurred()) SWIG_fail
;
14786 Py_INCREF(Py_None
); resultobj
= Py_None
;
14793 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14794 PyObject
*resultobj
;
14795 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14796 wxPoint
*arg2
= (wxPoint
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char *kwnames
[] = {
14800 (char *) "self",(char *) "m_pos", NULL
14803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14806 if (arg1
) (arg1
)->m_pos
= *arg2
;
14808 Py_INCREF(Py_None
); resultobj
= Py_None
;
14815 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14819 PyObject
* obj0
= 0 ;
14820 char *kwnames
[] = {
14821 (char *) "self", NULL
14824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14826 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14828 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14835 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14836 PyObject
*resultobj
;
14837 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14838 wxRect
*arg2
= (wxRect
*) 0 ;
14839 PyObject
* obj0
= 0 ;
14840 PyObject
* obj1
= 0 ;
14841 char *kwnames
[] = {
14842 (char *) "self",(char *) "m_rect", NULL
14845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14847 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14848 if (arg1
) (arg1
)->m_rect
= *arg2
;
14850 Py_INCREF(Py_None
); resultobj
= Py_None
;
14857 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14858 PyObject
*resultobj
;
14859 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14861 PyObject
* obj0
= 0 ;
14862 char *kwnames
[] = {
14863 (char *) "self", NULL
14866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14868 result
= (wxRect
*)& ((arg1
)->m_rect
);
14870 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14877 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14879 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14880 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14882 return Py_BuildValue((char *)"");
14884 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14885 PyObject
*resultobj
;
14886 int arg1
= (int) 0 ;
14887 wxPaintEvent
*result
;
14888 char *kwnames
[] = {
14889 (char *) "Id", NULL
14892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14895 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14897 wxPyEndAllowThreads(__tstate
);
14898 if (PyErr_Occurred()) SWIG_fail
;
14900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14907 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14910 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14912 return Py_BuildValue((char *)"");
14914 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14915 PyObject
*resultobj
;
14916 int arg1
= (int) 0 ;
14917 wxNcPaintEvent
*result
;
14918 char *kwnames
[] = {
14919 (char *) "winid", NULL
14922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14925 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14927 wxPyEndAllowThreads(__tstate
);
14928 if (PyErr_Occurred()) SWIG_fail
;
14930 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14937 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14939 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14940 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14942 return Py_BuildValue((char *)"");
14944 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
;
14946 int arg1
= (int) 0 ;
14947 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14948 wxEraseEvent
*result
;
14949 PyObject
* obj1
= 0 ;
14950 char *kwnames
[] = {
14951 (char *) "Id",(char *) "dc", NULL
14954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14956 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14960 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14962 wxPyEndAllowThreads(__tstate
);
14963 if (PyErr_Occurred()) SWIG_fail
;
14965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14972 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14973 PyObject
*resultobj
;
14974 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14976 PyObject
* obj0
= 0 ;
14977 char *kwnames
[] = {
14978 (char *) "self", NULL
14981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14985 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14987 wxPyEndAllowThreads(__tstate
);
14988 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= wxPyMake_wxObject(result
);
14999 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15001 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15002 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
15004 return Py_BuildValue((char *)"");
15006 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15007 PyObject
*resultobj
;
15008 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15009 int arg2
= (int) 0 ;
15010 wxFocusEvent
*result
;
15011 char *kwnames
[] = {
15012 (char *) "type",(char *) "winid", NULL
15015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15018 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
15020 wxPyEndAllowThreads(__tstate
);
15021 if (PyErr_Occurred()) SWIG_fail
;
15023 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
15030 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15031 PyObject
*resultobj
;
15032 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15034 PyObject
* obj0
= 0 ;
15035 char *kwnames
[] = {
15036 (char *) "self", NULL
15039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15043 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
15045 wxPyEndAllowThreads(__tstate
);
15046 if (PyErr_Occurred()) SWIG_fail
;
15049 resultobj
= wxPyMake_wxObject(result
);
15057 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15058 PyObject
*resultobj
;
15059 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15060 wxWindow
*arg2
= (wxWindow
*) 0 ;
15061 PyObject
* obj0
= 0 ;
15062 PyObject
* obj1
= 0 ;
15063 char *kwnames
[] = {
15064 (char *) "self",(char *) "win", NULL
15067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15069 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15072 (arg1
)->SetWindow(arg2
);
15074 wxPyEndAllowThreads(__tstate
);
15075 if (PyErr_Occurred()) SWIG_fail
;
15077 Py_INCREF(Py_None
); resultobj
= Py_None
;
15084 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15087 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
15089 return Py_BuildValue((char *)"");
15091 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15092 PyObject
*resultobj
;
15093 wxWindow
*arg1
= (wxWindow
*) NULL
;
15094 wxChildFocusEvent
*result
;
15095 PyObject
* obj0
= 0 ;
15096 char *kwnames
[] = {
15097 (char *) "win", NULL
15100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
15102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15106 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
15108 wxPyEndAllowThreads(__tstate
);
15109 if (PyErr_Occurred()) SWIG_fail
;
15111 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
15118 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15119 PyObject
*resultobj
;
15120 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
15122 PyObject
* obj0
= 0 ;
15123 char *kwnames
[] = {
15124 (char *) "self", NULL
15127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15131 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15133 wxPyEndAllowThreads(__tstate
);
15134 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= wxPyMake_wxObject(result
);
15145 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15147 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15148 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15150 return Py_BuildValue((char *)"");
15152 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15153 PyObject
*resultobj
;
15154 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15155 bool arg2
= (bool) TRUE
;
15156 int arg3
= (int) 0 ;
15157 wxActivateEvent
*result
;
15158 PyObject
* obj1
= 0 ;
15159 char *kwnames
[] = {
15160 (char *) "type",(char *) "active",(char *) "Id", NULL
15163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15165 arg2
= PyInt_AsLong(obj1
) ? true : false;
15166 if (PyErr_Occurred()) SWIG_fail
;
15169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15170 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15172 wxPyEndAllowThreads(__tstate
);
15173 if (PyErr_Occurred()) SWIG_fail
;
15175 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15182 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15183 PyObject
*resultobj
;
15184 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15186 PyObject
* obj0
= 0 ;
15187 char *kwnames
[] = {
15188 (char *) "self", NULL
15191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15195 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15197 wxPyEndAllowThreads(__tstate
);
15198 if (PyErr_Occurred()) SWIG_fail
;
15200 resultobj
= PyInt_FromLong((long)result
);
15207 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15209 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15210 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15212 return Py_BuildValue((char *)"");
15214 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15215 PyObject
*resultobj
;
15216 int arg1
= (int) 0 ;
15217 wxInitDialogEvent
*result
;
15218 char *kwnames
[] = {
15219 (char *) "Id", NULL
15222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15225 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15227 wxPyEndAllowThreads(__tstate
);
15228 if (PyErr_Occurred()) SWIG_fail
;
15230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15237 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15239 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15240 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15242 return Py_BuildValue((char *)"");
15244 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15245 PyObject
*resultobj
;
15246 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15247 int arg2
= (int) 0 ;
15248 wxMenu
*arg3
= (wxMenu
*) NULL
;
15249 wxMenuEvent
*result
;
15250 PyObject
* obj2
= 0 ;
15251 char *kwnames
[] = {
15252 (char *) "type",(char *) "winid",(char *) "menu", NULL
15255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15257 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15261 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15263 wxPyEndAllowThreads(__tstate
);
15264 if (PyErr_Occurred()) SWIG_fail
;
15266 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15273 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15274 PyObject
*resultobj
;
15275 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15277 PyObject
* obj0
= 0 ;
15278 char *kwnames
[] = {
15279 (char *) "self", NULL
15282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15286 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15288 wxPyEndAllowThreads(__tstate
);
15289 if (PyErr_Occurred()) SWIG_fail
;
15291 resultobj
= PyInt_FromLong((long)result
);
15298 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15299 PyObject
*resultobj
;
15300 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15302 PyObject
* obj0
= 0 ;
15303 char *kwnames
[] = {
15304 (char *) "self", NULL
15307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15311 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15313 wxPyEndAllowThreads(__tstate
);
15314 if (PyErr_Occurred()) SWIG_fail
;
15316 resultobj
= PyInt_FromLong((long)result
);
15323 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15324 PyObject
*resultobj
;
15325 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15327 PyObject
* obj0
= 0 ;
15328 char *kwnames
[] = {
15329 (char *) "self", NULL
15332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15336 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15338 wxPyEndAllowThreads(__tstate
);
15339 if (PyErr_Occurred()) SWIG_fail
;
15342 resultobj
= wxPyMake_wxObject(result
);
15350 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15352 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15353 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15355 return Py_BuildValue((char *)"");
15357 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15358 PyObject
*resultobj
;
15359 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15360 int arg2
= (int) 0 ;
15361 wxCloseEvent
*result
;
15362 char *kwnames
[] = {
15363 (char *) "type",(char *) "winid", NULL
15366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15369 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15371 wxPyEndAllowThreads(__tstate
);
15372 if (PyErr_Occurred()) SWIG_fail
;
15374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15381 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15382 PyObject
*resultobj
;
15383 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 char *kwnames
[] = {
15388 (char *) "self",(char *) "logOff", NULL
15391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15393 arg2
= PyInt_AsLong(obj1
) ? true : false;
15394 if (PyErr_Occurred()) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 (arg1
)->SetLoggingOff(arg2
);
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 Py_INCREF(Py_None
); resultobj
= Py_None
;
15409 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15410 PyObject
*resultobj
;
15411 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15413 PyObject
* obj0
= 0 ;
15414 char *kwnames
[] = {
15415 (char *) "self", NULL
15418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15422 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15424 wxPyEndAllowThreads(__tstate
);
15425 if (PyErr_Occurred()) SWIG_fail
;
15427 resultobj
= PyInt_FromLong((long)result
);
15434 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15435 PyObject
*resultobj
;
15436 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15437 bool arg2
= (bool) TRUE
;
15438 PyObject
* obj0
= 0 ;
15439 PyObject
* obj1
= 0 ;
15440 char *kwnames
[] = {
15441 (char *) "self",(char *) "veto", NULL
15444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15447 arg2
= PyInt_AsLong(obj1
) ? true : false;
15448 if (PyErr_Occurred()) SWIG_fail
;
15451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15452 (arg1
)->Veto(arg2
);
15454 wxPyEndAllowThreads(__tstate
);
15455 if (PyErr_Occurred()) SWIG_fail
;
15457 Py_INCREF(Py_None
); resultobj
= Py_None
;
15464 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15465 PyObject
*resultobj
;
15466 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15468 PyObject
* obj0
= 0 ;
15469 PyObject
* obj1
= 0 ;
15470 char *kwnames
[] = {
15471 (char *) "self",(char *) "canVeto", NULL
15474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15476 arg2
= PyInt_AsLong(obj1
) ? true : false;
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15480 (arg1
)->SetCanVeto(arg2
);
15482 wxPyEndAllowThreads(__tstate
);
15483 if (PyErr_Occurred()) SWIG_fail
;
15485 Py_INCREF(Py_None
); resultobj
= Py_None
;
15492 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15493 PyObject
*resultobj
;
15494 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15496 PyObject
* obj0
= 0 ;
15497 char *kwnames
[] = {
15498 (char *) "self", NULL
15501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15505 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15507 wxPyEndAllowThreads(__tstate
);
15508 if (PyErr_Occurred()) SWIG_fail
;
15510 resultobj
= PyInt_FromLong((long)result
);
15517 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15518 PyObject
*resultobj
;
15519 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15521 PyObject
* obj0
= 0 ;
15522 char *kwnames
[] = {
15523 (char *) "self", NULL
15526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15530 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15532 wxPyEndAllowThreads(__tstate
);
15533 if (PyErr_Occurred()) SWIG_fail
;
15535 resultobj
= PyInt_FromLong((long)result
);
15542 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15544 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15545 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15547 return Py_BuildValue((char *)"");
15549 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15550 PyObject
*resultobj
;
15551 int arg1
= (int) 0 ;
15552 bool arg2
= (bool) FALSE
;
15553 wxShowEvent
*result
;
15554 PyObject
* obj1
= 0 ;
15555 char *kwnames
[] = {
15556 (char *) "winid",(char *) "show", NULL
15559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15561 arg2
= PyInt_AsLong(obj1
) ? true : false;
15562 if (PyErr_Occurred()) SWIG_fail
;
15565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15566 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15568 wxPyEndAllowThreads(__tstate
);
15569 if (PyErr_Occurred()) SWIG_fail
;
15571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15578 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15579 PyObject
*resultobj
;
15580 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15582 PyObject
* obj0
= 0 ;
15583 PyObject
* obj1
= 0 ;
15584 char *kwnames
[] = {
15585 (char *) "self",(char *) "show", NULL
15588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15590 arg2
= PyInt_AsLong(obj1
) ? true : false;
15591 if (PyErr_Occurred()) SWIG_fail
;
15593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15594 (arg1
)->SetShow(arg2
);
15596 wxPyEndAllowThreads(__tstate
);
15597 if (PyErr_Occurred()) SWIG_fail
;
15599 Py_INCREF(Py_None
); resultobj
= Py_None
;
15606 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15607 PyObject
*resultobj
;
15608 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15610 PyObject
* obj0
= 0 ;
15611 char *kwnames
[] = {
15612 (char *) "self", NULL
15615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15619 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15621 wxPyEndAllowThreads(__tstate
);
15622 if (PyErr_Occurred()) SWIG_fail
;
15624 resultobj
= PyInt_FromLong((long)result
);
15631 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15633 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15634 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15636 return Py_BuildValue((char *)"");
15638 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 int arg1
= (int) 0 ;
15641 bool arg2
= (bool) TRUE
;
15642 wxIconizeEvent
*result
;
15643 PyObject
* obj1
= 0 ;
15644 char *kwnames
[] = {
15645 (char *) "id",(char *) "iconized", NULL
15648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15650 arg2
= PyInt_AsLong(obj1
) ? true : false;
15651 if (PyErr_Occurred()) SWIG_fail
;
15654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15655 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15657 wxPyEndAllowThreads(__tstate
);
15658 if (PyErr_Occurred()) SWIG_fail
;
15660 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15667 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15668 PyObject
*resultobj
;
15669 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15671 PyObject
* obj0
= 0 ;
15672 char *kwnames
[] = {
15673 (char *) "self", NULL
15676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15680 result
= (bool)(arg1
)->Iconized();
15682 wxPyEndAllowThreads(__tstate
);
15683 if (PyErr_Occurred()) SWIG_fail
;
15685 resultobj
= PyInt_FromLong((long)result
);
15692 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15694 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15695 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15697 return Py_BuildValue((char *)"");
15699 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15700 PyObject
*resultobj
;
15701 int arg1
= (int) 0 ;
15702 wxMaximizeEvent
*result
;
15703 char *kwnames
[] = {
15704 (char *) "id", NULL
15707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15710 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15712 wxPyEndAllowThreads(__tstate
);
15713 if (PyErr_Occurred()) SWIG_fail
;
15715 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15722 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15724 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15725 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15727 return Py_BuildValue((char *)"");
15729 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15730 PyObject
*resultobj
;
15731 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15733 PyObject
* obj0
= 0 ;
15734 char *kwnames
[] = {
15735 (char *) "self", NULL
15738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15742 result
= (arg1
)->GetPosition();
15744 wxPyEndAllowThreads(__tstate
);
15745 if (PyErr_Occurred()) SWIG_fail
;
15748 wxPoint
* resultptr
;
15749 resultptr
= new wxPoint((wxPoint
&) result
);
15750 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15758 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15759 PyObject
*resultobj
;
15760 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15762 PyObject
* obj0
= 0 ;
15763 char *kwnames
[] = {
15764 (char *) "self", NULL
15767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15771 result
= (int)(arg1
)->GetNumberOfFiles();
15773 wxPyEndAllowThreads(__tstate
);
15774 if (PyErr_Occurred()) SWIG_fail
;
15776 resultobj
= PyInt_FromLong((long)result
);
15783 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15784 PyObject
*resultobj
;
15785 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15787 PyObject
* obj0
= 0 ;
15788 char *kwnames
[] = {
15789 (char *) "self", NULL
15792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15796 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15798 wxPyEndAllowThreads(__tstate
);
15799 if (PyErr_Occurred()) SWIG_fail
;
15801 resultobj
= result
;
15808 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15811 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15813 return Py_BuildValue((char *)"");
15815 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxWindowID arg1
= (wxWindowID
) 0 ;
15818 wxUpdateUIEvent
*result
;
15819 char *kwnames
[] = {
15820 (char *) "commandId", NULL
15823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15838 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= PyInt_FromLong((long)result
);
15863 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 char *kwnames
[] = {
15869 (char *) "self", NULL
15872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15876 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15878 wxPyEndAllowThreads(__tstate
);
15879 if (PyErr_Occurred()) SWIG_fail
;
15881 resultobj
= PyInt_FromLong((long)result
);
15888 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15889 PyObject
*resultobj
;
15890 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15892 PyObject
* obj0
= 0 ;
15893 char *kwnames
[] = {
15894 (char *) "self", NULL
15897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15903 wxPyEndAllowThreads(__tstate
);
15904 if (PyErr_Occurred()) SWIG_fail
;
15908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15919 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15923 PyObject
* obj0
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15932 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15934 wxPyEndAllowThreads(__tstate
);
15935 if (PyErr_Occurred()) SWIG_fail
;
15937 resultobj
= PyInt_FromLong((long)result
);
15944 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15945 PyObject
*resultobj
;
15946 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15948 PyObject
* obj0
= 0 ;
15949 char *kwnames
[] = {
15950 (char *) "self", NULL
15953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15957 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15959 wxPyEndAllowThreads(__tstate
);
15960 if (PyErr_Occurred()) SWIG_fail
;
15962 resultobj
= PyInt_FromLong((long)result
);
15969 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15970 PyObject
*resultobj
;
15971 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15973 PyObject
* obj0
= 0 ;
15974 char *kwnames
[] = {
15975 (char *) "self", NULL
15978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
15979 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15982 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
15984 wxPyEndAllowThreads(__tstate
);
15985 if (PyErr_Occurred()) SWIG_fail
;
15987 resultobj
= PyInt_FromLong((long)result
);
15994 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15995 PyObject
*resultobj
;
15996 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15998 PyObject
* obj0
= 0 ;
15999 PyObject
* obj1
= 0 ;
16000 char *kwnames
[] = {
16001 (char *) "self",(char *) "check", NULL
16004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
16005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16006 arg2
= PyInt_AsLong(obj1
) ? true : false;
16007 if (PyErr_Occurred()) SWIG_fail
;
16009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16010 (arg1
)->Check(arg2
);
16012 wxPyEndAllowThreads(__tstate
);
16013 if (PyErr_Occurred()) SWIG_fail
;
16015 Py_INCREF(Py_None
); resultobj
= Py_None
;
16022 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16023 PyObject
*resultobj
;
16024 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16026 PyObject
* obj0
= 0 ;
16027 PyObject
* obj1
= 0 ;
16028 char *kwnames
[] = {
16029 (char *) "self",(char *) "enable", NULL
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16034 arg2
= PyInt_AsLong(obj1
) ? true : false;
16035 if (PyErr_Occurred()) SWIG_fail
;
16037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16038 (arg1
)->Enable(arg2
);
16040 wxPyEndAllowThreads(__tstate
);
16041 if (PyErr_Occurred()) SWIG_fail
;
16043 Py_INCREF(Py_None
); resultobj
= Py_None
;
16050 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16051 PyObject
*resultobj
;
16052 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16053 wxString
*arg2
= 0 ;
16054 bool temp2
= false ;
16055 PyObject
* obj0
= 0 ;
16056 PyObject
* obj1
= 0 ;
16057 char *kwnames
[] = {
16058 (char *) "self",(char *) "text", NULL
16061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16064 arg2
= wxString_in_helper(obj1
);
16065 if (arg2
== NULL
) SWIG_fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 (arg1
)->SetText((wxString
const &)*arg2
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 Py_INCREF(Py_None
); resultobj
= Py_None
;
16090 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16091 PyObject
*resultobj
;
16093 char *kwnames
[] = {
16094 (char *) "updateInterval", NULL
16097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
16099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16100 wxUpdateUIEvent::SetUpdateInterval(arg1
);
16102 wxPyEndAllowThreads(__tstate
);
16103 if (PyErr_Occurred()) SWIG_fail
;
16105 Py_INCREF(Py_None
); resultobj
= Py_None
;
16112 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16113 PyObject
*resultobj
;
16115 char *kwnames
[] = {
16119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
16121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16122 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
16124 wxPyEndAllowThreads(__tstate
);
16125 if (PyErr_Occurred()) SWIG_fail
;
16127 resultobj
= PyInt_FromLong((long)result
);
16134 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16135 PyObject
*resultobj
;
16136 wxWindow
*arg1
= (wxWindow
*) 0 ;
16138 PyObject
* obj0
= 0 ;
16139 char *kwnames
[] = {
16140 (char *) "win", NULL
16143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= PyInt_FromLong((long)result
);
16159 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 char *kwnames
[] = {
16165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 wxUpdateUIEvent::ResetUpdateTime();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16173 Py_INCREF(Py_None
); resultobj
= Py_None
;
16180 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16181 PyObject
*resultobj
;
16183 char *kwnames
[] = {
16184 (char *) "mode", NULL
16187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16190 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16192 wxPyEndAllowThreads(__tstate
);
16193 if (PyErr_Occurred()) SWIG_fail
;
16195 Py_INCREF(Py_None
); resultobj
= Py_None
;
16202 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16205 char *kwnames
[] = {
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (int)wxUpdateUIEvent::GetMode();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= PyInt_FromLong((long)result
);
16224 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16227 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16229 return Py_BuildValue((char *)"");
16231 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 wxSysColourChangedEvent
*result
;
16234 char *kwnames
[] = {
16238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16243 wxPyEndAllowThreads(__tstate
);
16244 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16253 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16255 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16256 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16258 return Py_BuildValue((char *)"");
16260 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
;
16262 wxWindowID arg1
= (wxWindowID
) 0 ;
16263 wxWindow
*arg2
= (wxWindow
*) NULL
;
16264 wxMouseCaptureChangedEvent
*result
;
16265 PyObject
* obj1
= 0 ;
16266 char *kwnames
[] = {
16267 (char *) "winid",(char *) "gainedCapture", NULL
16270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16272 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16276 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16278 wxPyEndAllowThreads(__tstate
);
16279 if (PyErr_Occurred()) SWIG_fail
;
16281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16288 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16289 PyObject
*resultobj
;
16290 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16292 PyObject
* obj0
= 0 ;
16293 char *kwnames
[] = {
16294 (char *) "self", NULL
16297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16301 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16303 wxPyEndAllowThreads(__tstate
);
16304 if (PyErr_Occurred()) SWIG_fail
;
16307 resultobj
= wxPyMake_wxObject(result
);
16315 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16317 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16318 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16320 return Py_BuildValue((char *)"");
16322 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16323 PyObject
*resultobj
;
16324 wxDisplayChangedEvent
*result
;
16325 char *kwnames
[] = {
16329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16332 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16334 wxPyEndAllowThreads(__tstate
);
16335 if (PyErr_Occurred()) SWIG_fail
;
16337 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16344 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16346 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16347 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16349 return Py_BuildValue((char *)"");
16351 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
;
16353 wxWindowID arg1
= (wxWindowID
) 0 ;
16354 wxPaletteChangedEvent
*result
;
16355 char *kwnames
[] = {
16356 (char *) "id", NULL
16359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16362 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16364 wxPyEndAllowThreads(__tstate
);
16365 if (PyErr_Occurred()) SWIG_fail
;
16367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16374 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16375 PyObject
*resultobj
;
16376 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16377 wxWindow
*arg2
= (wxWindow
*) 0 ;
16378 PyObject
* obj0
= 0 ;
16379 PyObject
* obj1
= 0 ;
16380 char *kwnames
[] = {
16381 (char *) "self",(char *) "win", NULL
16384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16389 (arg1
)->SetChangedWindow(arg2
);
16391 wxPyEndAllowThreads(__tstate
);
16392 if (PyErr_Occurred()) SWIG_fail
;
16394 Py_INCREF(Py_None
); resultobj
= Py_None
;
16401 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16402 PyObject
*resultobj
;
16403 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16405 PyObject
* obj0
= 0 ;
16406 char *kwnames
[] = {
16407 (char *) "self", NULL
16410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16414 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16416 wxPyEndAllowThreads(__tstate
);
16417 if (PyErr_Occurred()) SWIG_fail
;
16420 resultobj
= wxPyMake_wxObject(result
);
16428 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16430 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16431 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16433 return Py_BuildValue((char *)"");
16435 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
;
16437 wxWindowID arg1
= (wxWindowID
) 0 ;
16438 wxQueryNewPaletteEvent
*result
;
16439 char *kwnames
[] = {
16440 (char *) "winid", NULL
16443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16446 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16448 wxPyEndAllowThreads(__tstate
);
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16458 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16459 PyObject
*resultobj
;
16460 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16462 PyObject
* obj0
= 0 ;
16463 PyObject
* obj1
= 0 ;
16464 char *kwnames
[] = {
16465 (char *) "self",(char *) "realized", NULL
16468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16470 arg2
= PyInt_AsLong(obj1
) ? true : false;
16471 if (PyErr_Occurred()) SWIG_fail
;
16473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16474 (arg1
)->SetPaletteRealized(arg2
);
16476 wxPyEndAllowThreads(__tstate
);
16477 if (PyErr_Occurred()) SWIG_fail
;
16479 Py_INCREF(Py_None
); resultobj
= Py_None
;
16486 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16487 PyObject
*resultobj
;
16488 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16490 PyObject
* obj0
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16499 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16501 wxPyEndAllowThreads(__tstate
);
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 resultobj
= PyInt_FromLong((long)result
);
16511 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16514 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16516 return Py_BuildValue((char *)"");
16518 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16519 PyObject
*resultobj
;
16520 wxNavigationKeyEvent
*result
;
16521 char *kwnames
[] = {
16525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16540 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 char *kwnames
[] = {
16546 (char *) "self", NULL
16549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16553 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16555 wxPyEndAllowThreads(__tstate
);
16556 if (PyErr_Occurred()) SWIG_fail
;
16558 resultobj
= PyInt_FromLong((long)result
);
16565 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16566 PyObject
*resultobj
;
16567 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16569 PyObject
* obj0
= 0 ;
16570 PyObject
* obj1
= 0 ;
16571 char *kwnames
[] = {
16572 (char *) "self",(char *) "bForward", NULL
16575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16577 arg2
= PyInt_AsLong(obj1
) ? true : false;
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16581 (arg1
)->SetDirection(arg2
);
16583 wxPyEndAllowThreads(__tstate
);
16584 if (PyErr_Occurred()) SWIG_fail
;
16586 Py_INCREF(Py_None
); resultobj
= Py_None
;
16593 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16594 PyObject
*resultobj
;
16595 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16597 PyObject
* obj0
= 0 ;
16598 char *kwnames
[] = {
16599 (char *) "self", NULL
16602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16606 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16608 wxPyEndAllowThreads(__tstate
);
16609 if (PyErr_Occurred()) SWIG_fail
;
16611 resultobj
= PyInt_FromLong((long)result
);
16618 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16619 PyObject
*resultobj
;
16620 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16622 PyObject
* obj0
= 0 ;
16623 PyObject
* obj1
= 0 ;
16624 char *kwnames
[] = {
16625 (char *) "self",(char *) "bIs", NULL
16628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16630 arg2
= PyInt_AsLong(obj1
) ? true : false;
16631 if (PyErr_Occurred()) SWIG_fail
;
16633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16634 (arg1
)->SetWindowChange(arg2
);
16636 wxPyEndAllowThreads(__tstate
);
16637 if (PyErr_Occurred()) SWIG_fail
;
16639 Py_INCREF(Py_None
); resultobj
= Py_None
;
16646 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16647 PyObject
*resultobj
;
16648 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16650 PyObject
* obj0
= 0 ;
16651 char *kwnames
[] = {
16652 (char *) "self", NULL
16655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16659 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16661 wxPyEndAllowThreads(__tstate
);
16662 if (PyErr_Occurred()) SWIG_fail
;
16665 resultobj
= wxPyMake_wxObject(result
);
16673 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
;
16675 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16676 wxWindow
*arg2
= (wxWindow
*) 0 ;
16677 PyObject
* obj0
= 0 ;
16678 PyObject
* obj1
= 0 ;
16679 char *kwnames
[] = {
16680 (char *) "self",(char *) "win", NULL
16683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 (arg1
)->SetCurrentFocus(arg2
);
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16693 Py_INCREF(Py_None
); resultobj
= Py_None
;
16700 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16703 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16705 return Py_BuildValue((char *)"");
16707 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16708 PyObject
*resultobj
;
16709 wxWindow
*arg1
= (wxWindow
*) NULL
;
16710 wxWindowCreateEvent
*result
;
16711 PyObject
* obj0
= 0 ;
16712 char *kwnames
[] = {
16713 (char *) "win", NULL
16716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16734 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16749 wxPyEndAllowThreads(__tstate
);
16750 if (PyErr_Occurred()) SWIG_fail
;
16753 resultobj
= wxPyMake_wxObject(result
);
16761 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16763 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16764 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16766 return Py_BuildValue((char *)"");
16768 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16769 PyObject
*resultobj
;
16770 wxWindow
*arg1
= (wxWindow
*) NULL
;
16771 wxWindowDestroyEvent
*result
;
16772 PyObject
* obj0
= 0 ;
16773 char *kwnames
[] = {
16774 (char *) "win", NULL
16777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16783 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16785 wxPyEndAllowThreads(__tstate
);
16786 if (PyErr_Occurred()) SWIG_fail
;
16788 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16795 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16796 PyObject
*resultobj
;
16797 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16799 PyObject
* obj0
= 0 ;
16800 char *kwnames
[] = {
16801 (char *) "self", NULL
16804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16814 resultobj
= wxPyMake_wxObject(result
);
16822 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16825 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16827 return Py_BuildValue((char *)"");
16829 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16830 PyObject
*resultobj
;
16831 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16832 wxWindowID arg2
= (wxWindowID
) 0 ;
16833 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16834 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16835 wxContextMenuEvent
*result
;
16837 PyObject
* obj2
= 0 ;
16838 char *kwnames
[] = {
16839 (char *) "type",(char *) "winid",(char *) "pt", NULL
16842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16846 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16851 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16853 wxPyEndAllowThreads(__tstate
);
16854 if (PyErr_Occurred()) SWIG_fail
;
16856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16863 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16864 PyObject
*resultobj
;
16865 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16867 PyObject
* obj0
= 0 ;
16868 char *kwnames
[] = {
16869 (char *) "self", NULL
16872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16877 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16878 result
= (wxPoint
*) &_result_ref
;
16881 wxPyEndAllowThreads(__tstate
);
16882 if (PyErr_Occurred()) SWIG_fail
;
16884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16891 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16892 PyObject
*resultobj
;
16893 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16894 wxPoint
*arg2
= 0 ;
16896 PyObject
* obj0
= 0 ;
16897 PyObject
* obj1
= 0 ;
16898 char *kwnames
[] = {
16899 (char *) "self",(char *) "pos", NULL
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16906 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16910 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16912 wxPyEndAllowThreads(__tstate
);
16913 if (PyErr_Occurred()) SWIG_fail
;
16915 Py_INCREF(Py_None
); resultobj
= Py_None
;
16922 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16924 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16925 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16927 return Py_BuildValue((char *)"");
16929 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16930 PyObject
*resultobj
;
16931 wxIdleEvent
*result
;
16932 char *kwnames
[] = {
16936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16939 result
= (wxIdleEvent
*)new wxIdleEvent();
16941 wxPyEndAllowThreads(__tstate
);
16942 if (PyErr_Occurred()) SWIG_fail
;
16944 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16951 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16954 bool arg2
= (bool) TRUE
;
16955 PyObject
* obj0
= 0 ;
16956 PyObject
* obj1
= 0 ;
16957 char *kwnames
[] = {
16958 (char *) "self",(char *) "needMore", NULL
16961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16964 arg2
= PyInt_AsLong(obj1
) ? true : false;
16965 if (PyErr_Occurred()) SWIG_fail
;
16968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16969 (arg1
)->RequestMore(arg2
);
16971 wxPyEndAllowThreads(__tstate
);
16972 if (PyErr_Occurred()) SWIG_fail
;
16974 Py_INCREF(Py_None
); resultobj
= Py_None
;
16981 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16982 PyObject
*resultobj
;
16983 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16985 PyObject
* obj0
= 0 ;
16986 char *kwnames
[] = {
16987 (char *) "self", NULL
16990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16994 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16996 wxPyEndAllowThreads(__tstate
);
16997 if (PyErr_Occurred()) SWIG_fail
;
16999 resultobj
= PyInt_FromLong((long)result
);
17006 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17007 PyObject
*resultobj
;
17009 char *kwnames
[] = {
17010 (char *) "mode", NULL
17013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 Py_INCREF(Py_None
); resultobj
= Py_None
;
17028 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17031 char *kwnames
[] = {
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
17037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17038 result
= (int)wxIdleEvent::GetMode();
17040 wxPyEndAllowThreads(__tstate
);
17041 if (PyErr_Occurred()) SWIG_fail
;
17043 resultobj
= PyInt_FromLong((long)result
);
17050 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17051 PyObject
*resultobj
;
17052 wxWindow
*arg1
= (wxWindow
*) 0 ;
17054 PyObject
* obj0
= 0 ;
17055 char *kwnames
[] = {
17056 (char *) "win", NULL
17059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
17060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17063 result
= (bool)wxIdleEvent::CanSend(arg1
);
17065 wxPyEndAllowThreads(__tstate
);
17066 if (PyErr_Occurred()) SWIG_fail
;
17068 resultobj
= PyInt_FromLong((long)result
);
17075 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17078 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
17080 return Py_BuildValue((char *)"");
17082 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 int arg1
= (int) 0 ;
17085 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
17087 char *kwnames
[] = {
17088 (char *) "winid",(char *) "commandType", NULL
17091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
17106 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17109 PyObject
* obj0
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
17115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17120 wxPyEndAllowThreads(__tstate
);
17121 if (PyErr_Occurred()) SWIG_fail
;
17123 Py_INCREF(Py_None
); resultobj
= Py_None
;
17130 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
;
17132 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17133 PyObject
*arg2
= (PyObject
*) 0 ;
17134 PyObject
* obj0
= 0 ;
17135 PyObject
* obj1
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self",(char *) "self", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17145 (arg1
)->SetSelf(arg2
);
17147 wxPyEndAllowThreads(__tstate
);
17148 if (PyErr_Occurred()) SWIG_fail
;
17150 Py_INCREF(Py_None
); resultobj
= Py_None
;
17157 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17158 PyObject
*resultobj
;
17159 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17161 PyObject
* obj0
= 0 ;
17162 char *kwnames
[] = {
17163 (char *) "self", NULL
17166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17170 result
= (PyObject
*)(arg1
)->GetSelf();
17172 wxPyEndAllowThreads(__tstate
);
17173 if (PyErr_Occurred()) SWIG_fail
;
17175 resultobj
= result
;
17182 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17185 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17187 return Py_BuildValue((char *)"");
17189 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17192 int arg2
= (int) 0 ;
17193 wxPyCommandEvent
*result
;
17194 char *kwnames
[] = {
17195 (char *) "commandType",(char *) "id", NULL
17198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17213 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 char *kwnames
[] = {
17218 (char *) "self", NULL
17221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17227 wxPyEndAllowThreads(__tstate
);
17228 if (PyErr_Occurred()) SWIG_fail
;
17230 Py_INCREF(Py_None
); resultobj
= Py_None
;
17237 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17238 PyObject
*resultobj
;
17239 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17240 PyObject
*arg2
= (PyObject
*) 0 ;
17241 PyObject
* obj0
= 0 ;
17242 PyObject
* obj1
= 0 ;
17243 char *kwnames
[] = {
17244 (char *) "self",(char *) "self", NULL
17247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17252 (arg1
)->SetSelf(arg2
);
17254 wxPyEndAllowThreads(__tstate
);
17255 if (PyErr_Occurred()) SWIG_fail
;
17257 Py_INCREF(Py_None
); resultobj
= Py_None
;
17264 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17265 PyObject
*resultobj
;
17266 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17268 PyObject
* obj0
= 0 ;
17269 char *kwnames
[] = {
17270 (char *) "self", NULL
17273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17277 result
= (PyObject
*)(arg1
)->GetSelf();
17279 wxPyEndAllowThreads(__tstate
);
17280 if (PyErr_Occurred()) SWIG_fail
;
17282 resultobj
= result
;
17289 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17291 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17292 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17294 return Py_BuildValue((char *)"");
17296 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17297 PyObject
*resultobj
;
17299 char *kwnames
[] = {
17303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17306 result
= (wxPyApp
*)new_wxPyApp();
17308 wxPyEndAllowThreads(__tstate
);
17309 if (PyErr_Occurred()) SWIG_fail
;
17312 resultobj
= wxPyMake_wxObject(result
);
17320 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17321 PyObject
*resultobj
;
17322 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17323 PyObject
* obj0
= 0 ;
17324 char *kwnames
[] = {
17325 (char *) "self", NULL
17328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17334 wxPyEndAllowThreads(__tstate
);
17335 if (PyErr_Occurred()) SWIG_fail
;
17337 Py_INCREF(Py_None
); resultobj
= Py_None
;
17344 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17345 PyObject
*resultobj
;
17346 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17347 PyObject
*arg2
= (PyObject
*) 0 ;
17348 PyObject
*arg3
= (PyObject
*) 0 ;
17349 PyObject
* obj0
= 0 ;
17350 PyObject
* obj1
= 0 ;
17351 PyObject
* obj2
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "self",(char *) "_class", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17362 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17364 wxPyEndAllowThreads(__tstate
);
17365 if (PyErr_Occurred()) SWIG_fail
;
17367 Py_INCREF(Py_None
); resultobj
= Py_None
;
17374 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17375 PyObject
*resultobj
;
17376 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17378 PyObject
* obj0
= 0 ;
17379 char *kwnames
[] = {
17380 (char *) "self", NULL
17383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17387 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17389 wxPyEndAllowThreads(__tstate
);
17390 if (PyErr_Occurred()) SWIG_fail
;
17394 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17396 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17405 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17406 PyObject
*resultobj
;
17407 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17408 wxString
*arg2
= 0 ;
17409 bool temp2
= false ;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 char *kwnames
[] = {
17413 (char *) "self",(char *) "name", NULL
17416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17419 arg2
= wxString_in_helper(obj1
);
17420 if (arg2
== NULL
) SWIG_fail
;
17424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17425 (arg1
)->SetAppName((wxString
const &)*arg2
);
17427 wxPyEndAllowThreads(__tstate
);
17428 if (PyErr_Occurred()) SWIG_fail
;
17430 Py_INCREF(Py_None
); resultobj
= Py_None
;
17445 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17446 PyObject
*resultobj
;
17447 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17449 PyObject
* obj0
= 0 ;
17450 char *kwnames
[] = {
17451 (char *) "self", NULL
17454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17458 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17460 wxPyEndAllowThreads(__tstate
);
17461 if (PyErr_Occurred()) SWIG_fail
;
17465 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17467 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17476 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17479 wxString
*arg2
= 0 ;
17480 bool temp2
= false ;
17481 PyObject
* obj0
= 0 ;
17482 PyObject
* obj1
= 0 ;
17483 char *kwnames
[] = {
17484 (char *) "self",(char *) "name", NULL
17487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17490 arg2
= wxString_in_helper(obj1
);
17491 if (arg2
== NULL
) SWIG_fail
;
17495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17496 (arg1
)->SetClassName((wxString
const &)*arg2
);
17498 wxPyEndAllowThreads(__tstate
);
17499 if (PyErr_Occurred()) SWIG_fail
;
17501 Py_INCREF(Py_None
); resultobj
= Py_None
;
17516 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17517 PyObject
*resultobj
;
17518 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17520 PyObject
* obj0
= 0 ;
17521 char *kwnames
[] = {
17522 (char *) "self", NULL
17525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17530 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17531 result
= (wxString
*) &_result_ref
;
17534 wxPyEndAllowThreads(__tstate
);
17535 if (PyErr_Occurred()) SWIG_fail
;
17537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17544 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17545 PyObject
*resultobj
;
17546 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17547 wxString
*arg2
= 0 ;
17548 bool temp2
= false ;
17549 PyObject
* obj0
= 0 ;
17550 PyObject
* obj1
= 0 ;
17551 char *kwnames
[] = {
17552 (char *) "self",(char *) "name", NULL
17555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17558 arg2
= wxString_in_helper(obj1
);
17559 if (arg2
== NULL
) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17566 wxPyEndAllowThreads(__tstate
);
17567 if (PyErr_Occurred()) SWIG_fail
;
17569 Py_INCREF(Py_None
); resultobj
= Py_None
;
17584 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17587 wxAppTraits
*result
;
17588 PyObject
* obj0
= 0 ;
17589 char *kwnames
[] = {
17590 (char *) "self", NULL
17593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17597 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17599 wxPyEndAllowThreads(__tstate
);
17600 if (PyErr_Occurred()) SWIG_fail
;
17602 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17609 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17610 PyObject
*resultobj
;
17611 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17612 PyObject
* obj0
= 0 ;
17613 char *kwnames
[] = {
17614 (char *) "self", NULL
17617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17621 (arg1
)->ProcessPendingEvents();
17623 wxPyEndAllowThreads(__tstate
);
17624 if (PyErr_Occurred()) SWIG_fail
;
17626 Py_INCREF(Py_None
); resultobj
= Py_None
;
17633 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
;
17635 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17636 bool arg2
= (bool) false ;
17638 PyObject
* obj0
= 0 ;
17639 PyObject
* obj1
= 0 ;
17640 char *kwnames
[] = {
17641 (char *) "self",(char *) "onlyIfNeeded", NULL
17644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17647 arg2
= PyInt_AsLong(obj1
) ? true : false;
17648 if (PyErr_Occurred()) SWIG_fail
;
17651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17652 result
= (bool)(arg1
)->Yield(arg2
);
17654 wxPyEndAllowThreads(__tstate
);
17655 if (PyErr_Occurred()) SWIG_fail
;
17657 resultobj
= PyInt_FromLong((long)result
);
17664 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17665 PyObject
*resultobj
;
17666 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17667 PyObject
* obj0
= 0 ;
17668 char *kwnames
[] = {
17669 (char *) "self", NULL
17672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17676 (arg1
)->WakeUpIdle();
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 Py_INCREF(Py_None
); resultobj
= Py_None
;
17688 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17689 PyObject
*resultobj
;
17690 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17692 PyObject
* obj0
= 0 ;
17693 char *kwnames
[] = {
17694 (char *) "self", NULL
17697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17701 result
= (int)(arg1
)->MainLoop();
17703 wxPyEndAllowThreads(__tstate
);
17704 if (PyErr_Occurred()) SWIG_fail
;
17706 resultobj
= PyInt_FromLong((long)result
);
17713 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17714 PyObject
*resultobj
;
17715 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17716 PyObject
* obj0
= 0 ;
17717 char *kwnames
[] = {
17718 (char *) "self", NULL
17721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 Py_INCREF(Py_None
); resultobj
= Py_None
;
17737 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17740 PyObject
* obj0
= 0 ;
17741 char *kwnames
[] = {
17742 (char *) "self", NULL
17745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17749 (arg1
)->ExitMainLoop();
17751 wxPyEndAllowThreads(__tstate
);
17752 if (PyErr_Occurred()) SWIG_fail
;
17754 Py_INCREF(Py_None
); resultobj
= Py_None
;
17761 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17762 PyObject
*resultobj
;
17763 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17765 PyObject
* obj0
= 0 ;
17766 char *kwnames
[] = {
17767 (char *) "self", NULL
17770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17774 result
= (bool)(arg1
)->Pending();
17776 wxPyEndAllowThreads(__tstate
);
17777 if (PyErr_Occurred()) SWIG_fail
;
17779 resultobj
= PyInt_FromLong((long)result
);
17786 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17787 PyObject
*resultobj
;
17788 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17790 PyObject
* obj0
= 0 ;
17791 char *kwnames
[] = {
17792 (char *) "self", NULL
17795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17799 result
= (bool)(arg1
)->Dispatch();
17801 wxPyEndAllowThreads(__tstate
);
17802 if (PyErr_Occurred()) SWIG_fail
;
17804 resultobj
= PyInt_FromLong((long)result
);
17811 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17812 PyObject
*resultobj
;
17813 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17815 PyObject
* obj0
= 0 ;
17816 char *kwnames
[] = {
17817 (char *) "self", NULL
17820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17824 result
= (bool)(arg1
)->ProcessIdle();
17826 wxPyEndAllowThreads(__tstate
);
17827 if (PyErr_Occurred()) SWIG_fail
;
17829 resultobj
= PyInt_FromLong((long)result
);
17836 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17837 PyObject
*resultobj
;
17838 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17839 wxWindow
*arg2
= (wxWindow
*) 0 ;
17840 wxIdleEvent
*arg3
= 0 ;
17842 PyObject
* obj0
= 0 ;
17843 PyObject
* obj1
= 0 ;
17844 PyObject
* obj2
= 0 ;
17845 char *kwnames
[] = {
17846 (char *) "self",(char *) "win",(char *) "event", NULL
17849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17851 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17852 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17853 if (arg3
== NULL
) {
17854 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17858 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17860 wxPyEndAllowThreads(__tstate
);
17861 if (PyErr_Occurred()) SWIG_fail
;
17863 resultobj
= PyInt_FromLong((long)result
);
17870 static PyObject
*_wrap_PyApp_OnIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17871 PyObject
*resultobj
;
17872 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17873 wxIdleEvent
*arg2
= 0 ;
17874 PyObject
* obj0
= 0 ;
17875 PyObject
* obj1
= 0 ;
17876 char *kwnames
[] = {
17877 (char *) "self",(char *) "event", NULL
17880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_OnIdle",kwnames
,&obj0
,&obj1
)) goto fail
;
17881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17882 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17883 if (arg2
== NULL
) {
17884 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 (arg1
)->OnIdle(*arg2
);
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 Py_INCREF(Py_None
); resultobj
= Py_None
;
17900 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 char *kwnames
[] = {
17906 (char *) "self", NULL
17909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17913 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17915 wxPyEndAllowThreads(__tstate
);
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 resultobj
= PyInt_FromLong((long)result
);
17925 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17926 PyObject
*resultobj
;
17927 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17928 wxWindow
*arg2
= (wxWindow
*) 0 ;
17929 PyObject
* obj0
= 0 ;
17930 PyObject
* obj1
= 0 ;
17931 char *kwnames
[] = {
17932 (char *) "self",(char *) "win", NULL
17935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17937 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 (arg1
)->SetTopWindow(arg2
);
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 Py_INCREF(Py_None
); resultobj
= Py_None
;
17952 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17953 PyObject
*resultobj
;
17954 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17956 PyObject
* obj0
= 0 ;
17957 char *kwnames
[] = {
17958 (char *) "self", NULL
17961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17965 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17967 wxPyEndAllowThreads(__tstate
);
17968 if (PyErr_Occurred()) SWIG_fail
;
17971 resultobj
= wxPyMake_wxObject(result
);
17979 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17980 PyObject
*resultobj
;
17981 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17983 PyObject
* obj0
= 0 ;
17984 PyObject
* obj1
= 0 ;
17985 char *kwnames
[] = {
17986 (char *) "self",(char *) "flag", NULL
17989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17991 arg2
= PyInt_AsLong(obj1
) ? true : false;
17992 if (PyErr_Occurred()) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 (arg1
)->SetExitOnFrameDelete(arg2
);
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 Py_INCREF(Py_None
); resultobj
= Py_None
;
18007 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 char *kwnames
[] = {
18013 (char *) "self", NULL
18016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
18017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18020 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
18022 wxPyEndAllowThreads(__tstate
);
18023 if (PyErr_Occurred()) SWIG_fail
;
18025 resultobj
= PyInt_FromLong((long)result
);
18032 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18033 PyObject
*resultobj
;
18034 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18036 PyObject
* obj0
= 0 ;
18037 PyObject
* obj1
= 0 ;
18038 char *kwnames
[] = {
18039 (char *) "self",(char *) "flag", NULL
18042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
18043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18044 arg2
= PyInt_AsLong(obj1
) ? true : false;
18045 if (PyErr_Occurred()) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 (arg1
)->SetUseBestVisual(arg2
);
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 Py_INCREF(Py_None
); resultobj
= Py_None
;
18060 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= PyInt_FromLong((long)result
);
18085 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self",(char *) "mode", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 (arg1
)->SetPrintMode(arg2
);
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 Py_INCREF(Py_None
); resultobj
= Py_None
;
18110 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 resultobj
= PyInt_FromLong((long)result
);
18135 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (int)(arg1
)->GetAssertMode();
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= PyInt_FromLong((long)result
);
18160 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18162 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18164 PyObject
* obj0
= 0 ;
18165 char *kwnames
[] = {
18166 (char *) "self",(char *) "mode", NULL
18169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 (arg1
)->SetAssertMode(arg2
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 Py_INCREF(Py_None
); resultobj
= Py_None
;
18185 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18188 char *kwnames
[] = {
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 resultobj
= PyInt_FromLong((long)result
);
18207 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18210 char *kwnames
[] = {
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 resultobj
= PyInt_FromLong((long)result
);
18229 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18232 char *kwnames
[] = {
18236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18239 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= PyInt_FromLong((long)result
);
18251 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
;
18254 char *kwnames
[] = {
18258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18261 result
= (long)wxPyApp::GetMacExitMenuItemId();
18263 wxPyEndAllowThreads(__tstate
);
18264 if (PyErr_Occurred()) SWIG_fail
;
18266 resultobj
= PyInt_FromLong((long)result
);
18273 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18274 PyObject
*resultobj
;
18276 char *kwnames
[] = {
18280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18283 result
= wxPyApp::GetMacHelpMenuTitleName();
18285 wxPyEndAllowThreads(__tstate
);
18286 if (PyErr_Occurred()) SWIG_fail
;
18290 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18292 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18301 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
;
18304 PyObject
* obj0
= 0 ;
18305 char *kwnames
[] = {
18306 (char *) "val", NULL
18309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18310 arg1
= PyInt_AsLong(obj0
) ? true : false;
18311 if (PyErr_Occurred()) SWIG_fail
;
18313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18314 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 Py_INCREF(Py_None
); resultobj
= Py_None
;
18326 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18327 PyObject
*resultobj
;
18329 char *kwnames
[] = {
18330 (char *) "val", NULL
18333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18336 wxPyApp::SetMacAboutMenuItemId(arg1
);
18338 wxPyEndAllowThreads(__tstate
);
18339 if (PyErr_Occurred()) SWIG_fail
;
18341 Py_INCREF(Py_None
); resultobj
= Py_None
;
18348 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18349 PyObject
*resultobj
;
18351 char *kwnames
[] = {
18352 (char *) "val", NULL
18355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18358 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18360 wxPyEndAllowThreads(__tstate
);
18361 if (PyErr_Occurred()) SWIG_fail
;
18363 Py_INCREF(Py_None
); resultobj
= Py_None
;
18370 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18371 PyObject
*resultobj
;
18373 char *kwnames
[] = {
18374 (char *) "val", NULL
18377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18380 wxPyApp::SetMacExitMenuItemId(arg1
);
18382 wxPyEndAllowThreads(__tstate
);
18383 if (PyErr_Occurred()) SWIG_fail
;
18385 Py_INCREF(Py_None
); resultobj
= Py_None
;
18392 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18393 PyObject
*resultobj
;
18394 wxString
*arg1
= 0 ;
18395 bool temp1
= false ;
18396 PyObject
* obj0
= 0 ;
18397 char *kwnames
[] = {
18398 (char *) "val", NULL
18401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18403 arg1
= wxString_in_helper(obj0
);
18404 if (arg1
== NULL
) SWIG_fail
;
18408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18409 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18411 wxPyEndAllowThreads(__tstate
);
18412 if (PyErr_Occurred()) SWIG_fail
;
18414 Py_INCREF(Py_None
); resultobj
= Py_None
;
18429 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18430 PyObject
*resultobj
;
18431 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18432 PyObject
* obj0
= 0 ;
18433 char *kwnames
[] = {
18434 (char *) "self", NULL
18437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18441 (arg1
)->_BootstrapApp();
18443 wxPyEndAllowThreads(__tstate
);
18444 if (PyErr_Occurred()) SWIG_fail
;
18446 Py_INCREF(Py_None
); resultobj
= Py_None
;
18453 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18454 PyObject
*resultobj
;
18456 char *kwnames
[] = {
18460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18463 result
= (int)PyApp_GetComCtl32Version();
18465 wxPyEndAllowThreads(__tstate
);
18466 if (PyErr_Occurred()) SWIG_fail
;
18468 resultobj
= PyInt_FromLong((long)result
);
18475 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18478 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18480 return Py_BuildValue((char *)"");
18482 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18483 PyObject
*resultobj
;
18484 char *kwnames
[] = {
18488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18493 wxPyEndAllowThreads(__tstate
);
18494 if (PyErr_Occurred()) SWIG_fail
;
18496 Py_INCREF(Py_None
); resultobj
= Py_None
;
18503 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18504 PyObject
*resultobj
;
18506 char *kwnames
[] = {
18510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 result
= (bool)wxYield();
18515 wxPyEndAllowThreads(__tstate
);
18516 if (PyErr_Occurred()) SWIG_fail
;
18518 resultobj
= PyInt_FromLong((long)result
);
18525 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18526 PyObject
*resultobj
;
18528 char *kwnames
[] = {
18532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18535 result
= (bool)wxYieldIfNeeded();
18537 wxPyEndAllowThreads(__tstate
);
18538 if (PyErr_Occurred()) SWIG_fail
;
18540 resultobj
= PyInt_FromLong((long)result
);
18547 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18548 PyObject
*resultobj
;
18549 wxWindow
*arg1
= (wxWindow
*) NULL
;
18550 bool arg2
= (bool) FALSE
;
18552 PyObject
* obj0
= 0 ;
18553 PyObject
* obj1
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "win",(char *) "onlyIfNeeded", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18563 arg2
= PyInt_AsLong(obj1
) ? true : false;
18564 if (PyErr_Occurred()) SWIG_fail
;
18567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18568 result
= (bool)wxSafeYield(arg1
,arg2
);
18570 wxPyEndAllowThreads(__tstate
);
18571 if (PyErr_Occurred()) SWIG_fail
;
18573 resultobj
= PyInt_FromLong((long)result
);
18580 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18581 PyObject
*resultobj
;
18582 char *kwnames
[] = {
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 Py_INCREF(Py_None
); resultobj
= Py_None
;
18601 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18604 wxEvent
*arg2
= 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "dest",(char *) "event", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18614 if (arg2
== NULL
) {
18615 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18619 wxPostEvent(arg1
,*arg2
);
18621 wxPyEndAllowThreads(__tstate
);
18622 if (PyErr_Occurred()) SWIG_fail
;
18624 Py_INCREF(Py_None
); resultobj
= Py_None
;
18631 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18632 PyObject
*resultobj
;
18633 char *kwnames
[] = {
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18642 wxPyEndAllowThreads(__tstate
);
18643 if (PyErr_Occurred()) SWIG_fail
;
18645 Py_INCREF(Py_None
); resultobj
= Py_None
;
18652 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18653 PyObject
*resultobj
;
18655 char *kwnames
[] = {
18659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18662 result
= (wxPyApp
*)wxGetApp();
18664 wxPyEndAllowThreads(__tstate
);
18665 if (PyErr_Occurred()) SWIG_fail
;
18668 resultobj
= wxPyMake_wxObject(result
);
18676 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18677 PyObject
*resultobj
;
18678 wxWindow
*arg1
= (wxWindow
*) 0 ;
18680 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18681 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18682 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18683 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18684 long arg5
= (long) 0 ;
18685 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18686 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18690 bool temp6
= false ;
18691 PyObject
* obj0
= 0 ;
18692 PyObject
* obj2
= 0 ;
18693 PyObject
* obj3
= 0 ;
18694 PyObject
* obj5
= 0 ;
18695 char *kwnames
[] = {
18696 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18704 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18710 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18715 arg6
= wxString_in_helper(obj5
);
18716 if (arg6
== NULL
) SWIG_fail
;
18721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18722 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18724 wxPyEndAllowThreads(__tstate
);
18725 if (PyErr_Occurred()) SWIG_fail
;
18728 resultobj
= wxPyMake_wxObject(result
);
18744 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18745 PyObject
*resultobj
;
18747 char *kwnames
[] = {
18751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
18753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18754 result
= (wxWindow
*)new wxWindow();
18756 wxPyEndAllowThreads(__tstate
);
18757 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= wxPyMake_wxObject(result
);
18768 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18769 PyObject
*resultobj
;
18770 wxWindow
*arg1
= (wxWindow
*) 0 ;
18771 wxWindow
*arg2
= (wxWindow
*) 0 ;
18773 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18774 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18775 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18776 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18777 long arg6
= (long) 0 ;
18778 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
18779 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18783 bool temp7
= false ;
18784 PyObject
* obj0
= 0 ;
18785 PyObject
* obj1
= 0 ;
18786 PyObject
* obj3
= 0 ;
18787 PyObject
* obj4
= 0 ;
18788 PyObject
* obj6
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18799 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18805 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18810 arg7
= wxString_in_helper(obj6
);
18811 if (arg7
== NULL
) SWIG_fail
;
18816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18817 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18819 wxPyEndAllowThreads(__tstate
);
18820 if (PyErr_Occurred()) SWIG_fail
;
18822 resultobj
= PyInt_FromLong((long)result
);
18837 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18838 PyObject
*resultobj
;
18839 wxWindow
*arg1
= (wxWindow
*) 0 ;
18840 bool arg2
= (bool) FALSE
;
18842 PyObject
* obj0
= 0 ;
18843 PyObject
* obj1
= 0 ;
18844 char *kwnames
[] = {
18845 (char *) "self",(char *) "force", NULL
18848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
18849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18851 arg2
= PyInt_AsLong(obj1
) ? true : false;
18852 if (PyErr_Occurred()) SWIG_fail
;
18855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18856 result
= (bool)(arg1
)->Close(arg2
);
18858 wxPyEndAllowThreads(__tstate
);
18859 if (PyErr_Occurred()) SWIG_fail
;
18861 resultobj
= PyInt_FromLong((long)result
);
18868 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18869 PyObject
*resultobj
;
18870 wxWindow
*arg1
= (wxWindow
*) 0 ;
18872 PyObject
* obj0
= 0 ;
18873 char *kwnames
[] = {
18874 (char *) "self", NULL
18877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
18878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18881 result
= (bool)(arg1
)->Destroy();
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= PyInt_FromLong((long)result
);
18893 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18894 PyObject
*resultobj
;
18895 wxWindow
*arg1
= (wxWindow
*) 0 ;
18897 PyObject
* obj0
= 0 ;
18898 char *kwnames
[] = {
18899 (char *) "self", NULL
18902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
18903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18906 result
= (bool)(arg1
)->DestroyChildren();
18908 wxPyEndAllowThreads(__tstate
);
18909 if (PyErr_Occurred()) SWIG_fail
;
18911 resultobj
= PyInt_FromLong((long)result
);
18918 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxWindow
*arg1
= (wxWindow
*) 0 ;
18922 PyObject
* obj0
= 0 ;
18923 char *kwnames
[] = {
18924 (char *) "self", NULL
18927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
18928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18931 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
18933 wxPyEndAllowThreads(__tstate
);
18934 if (PyErr_Occurred()) SWIG_fail
;
18936 resultobj
= PyInt_FromLong((long)result
);
18943 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18944 PyObject
*resultobj
;
18945 wxWindow
*arg1
= (wxWindow
*) 0 ;
18946 wxString
*arg2
= 0 ;
18947 bool temp2
= false ;
18948 PyObject
* obj0
= 0 ;
18949 PyObject
* obj1
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self",(char *) "title", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18957 arg2
= wxString_in_helper(obj1
);
18958 if (arg2
== NULL
) SWIG_fail
;
18962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18963 (arg1
)->SetTitle((wxString
const &)*arg2
);
18965 wxPyEndAllowThreads(__tstate
);
18966 if (PyErr_Occurred()) SWIG_fail
;
18968 Py_INCREF(Py_None
); resultobj
= Py_None
;
18983 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
;
18985 wxWindow
*arg1
= (wxWindow
*) 0 ;
18987 PyObject
* obj0
= 0 ;
18988 char *kwnames
[] = {
18989 (char *) "self", NULL
18992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
18993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= ((wxWindow
const *)arg1
)->GetTitle();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19003 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19005 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19014 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19015 PyObject
*resultobj
;
19016 wxWindow
*arg1
= (wxWindow
*) 0 ;
19017 wxString
*arg2
= 0 ;
19018 bool temp2
= false ;
19019 PyObject
* obj0
= 0 ;
19020 PyObject
* obj1
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self",(char *) "label", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19028 arg2
= wxString_in_helper(obj1
);
19029 if (arg2
== NULL
) SWIG_fail
;
19033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19034 (arg1
)->SetLabel((wxString
const &)*arg2
);
19036 wxPyEndAllowThreads(__tstate
);
19037 if (PyErr_Occurred()) SWIG_fail
;
19039 Py_INCREF(Py_None
); resultobj
= Py_None
;
19054 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19055 PyObject
*resultobj
;
19056 wxWindow
*arg1
= (wxWindow
*) 0 ;
19058 PyObject
* obj0
= 0 ;
19059 char *kwnames
[] = {
19060 (char *) "self", NULL
19063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
19064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19067 result
= ((wxWindow
const *)arg1
)->GetLabel();
19069 wxPyEndAllowThreads(__tstate
);
19070 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19085 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19086 PyObject
*resultobj
;
19087 wxWindow
*arg1
= (wxWindow
*) 0 ;
19088 wxString
*arg2
= 0 ;
19089 bool temp2
= false ;
19090 PyObject
* obj0
= 0 ;
19091 PyObject
* obj1
= 0 ;
19092 char *kwnames
[] = {
19093 (char *) "self",(char *) "name", NULL
19096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
19097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19099 arg2
= wxString_in_helper(obj1
);
19100 if (arg2
== NULL
) SWIG_fail
;
19104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19105 (arg1
)->SetName((wxString
const &)*arg2
);
19107 wxPyEndAllowThreads(__tstate
);
19108 if (PyErr_Occurred()) SWIG_fail
;
19110 Py_INCREF(Py_None
); resultobj
= Py_None
;
19125 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19126 PyObject
*resultobj
;
19127 wxWindow
*arg1
= (wxWindow
*) 0 ;
19129 PyObject
* obj0
= 0 ;
19130 char *kwnames
[] = {
19131 (char *) "self", NULL
19134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19138 result
= ((wxWindow
const *)arg1
)->GetName();
19140 wxPyEndAllowThreads(__tstate
);
19141 if (PyErr_Occurred()) SWIG_fail
;
19145 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19147 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19156 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19157 PyObject
*resultobj
;
19158 wxWindow
*arg1
= (wxWindow
*) 0 ;
19160 PyObject
* obj0
= 0 ;
19161 char *kwnames
[] = {
19162 (char *) "self",(char *) "winid", NULL
19165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19169 (arg1
)->SetId(arg2
);
19171 wxPyEndAllowThreads(__tstate
);
19172 if (PyErr_Occurred()) SWIG_fail
;
19174 Py_INCREF(Py_None
); resultobj
= Py_None
;
19181 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19182 PyObject
*resultobj
;
19183 wxWindow
*arg1
= (wxWindow
*) 0 ;
19185 PyObject
* obj0
= 0 ;
19186 char *kwnames
[] = {
19187 (char *) "self", NULL
19190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19194 result
= (wxWindowID
)((wxWindow
const *)arg1
)->GetId();
19196 wxPyEndAllowThreads(__tstate
);
19197 if (PyErr_Occurred()) SWIG_fail
;
19199 resultobj
= PyInt_FromLong((long)result
);
19206 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19209 char *kwnames
[] = {
19213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19216 result
= (int)wxWindow::NewControlId();
19218 wxPyEndAllowThreads(__tstate
);
19219 if (PyErr_Occurred()) SWIG_fail
;
19221 resultobj
= PyInt_FromLong((long)result
);
19228 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19229 PyObject
*resultobj
;
19232 char *kwnames
[] = {
19233 (char *) "winid", NULL
19236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 result
= (int)wxWindow::NextControlId(arg1
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 resultobj
= PyInt_FromLong((long)result
);
19251 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
;
19255 char *kwnames
[] = {
19256 (char *) "winid", NULL
19259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19262 result
= (int)wxWindow::PrevControlId(arg1
);
19264 wxPyEndAllowThreads(__tstate
);
19265 if (PyErr_Occurred()) SWIG_fail
;
19267 resultobj
= PyInt_FromLong((long)result
);
19274 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19275 PyObject
*resultobj
;
19276 wxWindow
*arg1
= (wxWindow
*) 0 ;
19279 PyObject
* obj0
= 0 ;
19280 PyObject
* obj1
= 0 ;
19281 char *kwnames
[] = {
19282 (char *) "self",(char *) "size", NULL
19285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19289 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19293 (arg1
)->SetSize((wxSize
const &)*arg2
);
19295 wxPyEndAllowThreads(__tstate
);
19296 if (PyErr_Occurred()) SWIG_fail
;
19298 Py_INCREF(Py_None
); resultobj
= Py_None
;
19305 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19306 PyObject
*resultobj
;
19307 wxWindow
*arg1
= (wxWindow
*) 0 ;
19312 int arg6
= (int) wxSIZE_AUTO
;
19313 PyObject
* obj0
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19322 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 Py_INCREF(Py_None
); resultobj
= Py_None
;
19334 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxWindow
*arg1
= (wxWindow
*) 0 ;
19338 int arg3
= (int) wxSIZE_AUTO
;
19340 PyObject
* obj0
= 0 ;
19341 PyObject
* obj1
= 0 ;
19342 char *kwnames
[] = {
19343 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19350 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19354 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19366 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxWindow
*arg1
= (wxWindow
*) 0 ;
19371 PyObject
* obj0
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self",(char *) "width",(char *) "height", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 (arg1
)->SetSize(arg2
,arg3
);
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19385 Py_INCREF(Py_None
); resultobj
= Py_None
;
19392 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19393 PyObject
*resultobj
;
19394 wxWindow
*arg1
= (wxWindow
*) 0 ;
19395 wxPoint
*arg2
= 0 ;
19396 int arg3
= (int) wxSIZE_USE_EXISTING
;
19398 PyObject
* obj0
= 0 ;
19399 PyObject
* obj1
= 0 ;
19400 char *kwnames
[] = {
19401 (char *) "self",(char *) "pt",(char *) "flags", NULL
19404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19408 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19412 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19414 wxPyEndAllowThreads(__tstate
);
19415 if (PyErr_Occurred()) SWIG_fail
;
19417 Py_INCREF(Py_None
); resultobj
= Py_None
;
19424 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19425 PyObject
*resultobj
;
19426 wxWindow
*arg1
= (wxWindow
*) 0 ;
19429 int arg4
= (int) wxSIZE_USE_EXISTING
;
19430 PyObject
* obj0
= 0 ;
19431 char *kwnames
[] = {
19432 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 (arg1
)->Move(arg2
,arg3
,arg4
);
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 Py_INCREF(Py_None
); resultobj
= Py_None
;
19451 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19453 wxWindow
*arg1
= (wxWindow
*) 0 ;
19454 PyObject
* obj0
= 0 ;
19455 char *kwnames
[] = {
19456 (char *) "self", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19465 wxPyEndAllowThreads(__tstate
);
19466 if (PyErr_Occurred()) SWIG_fail
;
19468 Py_INCREF(Py_None
); resultobj
= Py_None
;
19475 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxWindow
*arg1
= (wxWindow
*) 0 ;
19478 PyObject
* obj0
= 0 ;
19479 char *kwnames
[] = {
19480 (char *) "self", NULL
19483 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19484 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 Py_INCREF(Py_None
); resultobj
= Py_None
;
19499 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxWindow
*arg1
= (wxWindow
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self",(char *) "size", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19514 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 Py_INCREF(Py_None
); resultobj
= Py_None
;
19530 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxWindow
*arg1
= (wxWindow
*) 0 ;
19535 PyObject
* obj0
= 0 ;
19536 char *kwnames
[] = {
19537 (char *) "self",(char *) "width",(char *) "height", NULL
19540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19544 (arg1
)->SetClientSize(arg2
,arg3
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 Py_INCREF(Py_None
); resultobj
= Py_None
;
19556 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19557 PyObject
*resultobj
;
19558 wxWindow
*arg1
= (wxWindow
*) 0 ;
19561 PyObject
* obj0
= 0 ;
19562 PyObject
* obj1
= 0 ;
19563 char *kwnames
[] = {
19564 (char *) "self",(char *) "rect", NULL
19567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19571 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19575 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19577 wxPyEndAllowThreads(__tstate
);
19578 if (PyErr_Occurred()) SWIG_fail
;
19580 Py_INCREF(Py_None
); resultobj
= Py_None
;
19587 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19588 PyObject
*resultobj
;
19589 wxWindow
*arg1
= (wxWindow
*) 0 ;
19591 PyObject
* obj0
= 0 ;
19592 char *kwnames
[] = {
19593 (char *) "self", NULL
19596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= ((wxWindow
const *)arg1
)->GetPosition();
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19606 wxPoint
* resultptr
;
19607 resultptr
= new wxPoint((wxPoint
&) result
);
19608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19616 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19617 PyObject
*resultobj
;
19618 wxWindow
*arg1
= (wxWindow
*) 0 ;
19619 int *arg2
= (int *) 0 ;
19620 int *arg3
= (int *) 0 ;
19623 PyObject
* obj0
= 0 ;
19624 char *kwnames
[] = {
19625 (char *) "self", NULL
19630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19634 ((wxWindow
const *)arg1
)->GetPosition(arg2
,arg3
);
19636 wxPyEndAllowThreads(__tstate
);
19637 if (PyErr_Occurred()) SWIG_fail
;
19639 Py_INCREF(Py_None
); resultobj
= Py_None
;
19641 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19642 resultobj
= t_output_helper(resultobj
,o
);
19645 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19646 resultobj
= t_output_helper(resultobj
,o
);
19654 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19655 PyObject
*resultobj
;
19656 wxWindow
*arg1
= (wxWindow
*) 0 ;
19658 PyObject
* obj0
= 0 ;
19659 char *kwnames
[] = {
19660 (char *) "self", NULL
19663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
19664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19667 result
= ((wxWindow
const *)arg1
)->GetSize();
19669 wxPyEndAllowThreads(__tstate
);
19670 if (PyErr_Occurred()) SWIG_fail
;
19673 wxSize
* resultptr
;
19674 resultptr
= new wxSize((wxSize
&) result
);
19675 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19683 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19684 PyObject
*resultobj
;
19685 wxWindow
*arg1
= (wxWindow
*) 0 ;
19686 int *arg2
= (int *) 0 ;
19687 int *arg3
= (int *) 0 ;
19690 PyObject
* obj0
= 0 ;
19691 char *kwnames
[] = {
19692 (char *) "self", NULL
19697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
19698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19701 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
19703 wxPyEndAllowThreads(__tstate
);
19704 if (PyErr_Occurred()) SWIG_fail
;
19706 Py_INCREF(Py_None
); resultobj
= Py_None
;
19708 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19709 resultobj
= t_output_helper(resultobj
,o
);
19712 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19713 resultobj
= t_output_helper(resultobj
,o
);
19721 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19722 PyObject
*resultobj
;
19723 wxWindow
*arg1
= (wxWindow
*) 0 ;
19725 PyObject
* obj0
= 0 ;
19726 char *kwnames
[] = {
19727 (char *) "self", NULL
19730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
19731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19734 result
= ((wxWindow
const *)arg1
)->GetRect();
19736 wxPyEndAllowThreads(__tstate
);
19737 if (PyErr_Occurred()) SWIG_fail
;
19740 wxRect
* resultptr
;
19741 resultptr
= new wxRect((wxRect
&) result
);
19742 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19750 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19751 PyObject
*resultobj
;
19752 wxWindow
*arg1
= (wxWindow
*) 0 ;
19754 PyObject
* obj0
= 0 ;
19755 char *kwnames
[] = {
19756 (char *) "self", NULL
19759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
19760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19763 result
= ((wxWindow
const *)arg1
)->GetClientSize();
19765 wxPyEndAllowThreads(__tstate
);
19766 if (PyErr_Occurred()) SWIG_fail
;
19769 wxSize
* resultptr
;
19770 resultptr
= new wxSize((wxSize
&) result
);
19771 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19779 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxWindow
*arg1
= (wxWindow
*) 0 ;
19782 int *arg2
= (int *) 0 ;
19783 int *arg3
= (int *) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 char *kwnames
[] = {
19788 (char *) "self", NULL
19793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
19794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19797 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
19799 wxPyEndAllowThreads(__tstate
);
19800 if (PyErr_Occurred()) SWIG_fail
;
19802 Py_INCREF(Py_None
); resultobj
= Py_None
;
19804 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19805 resultobj
= t_output_helper(resultobj
,o
);
19808 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19809 resultobj
= t_output_helper(resultobj
,o
);
19817 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19818 PyObject
*resultobj
;
19819 wxWindow
*arg1
= (wxWindow
*) 0 ;
19821 PyObject
* obj0
= 0 ;
19822 char *kwnames
[] = {
19823 (char *) "self", NULL
19826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
19827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19830 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
19832 wxPyEndAllowThreads(__tstate
);
19833 if (PyErr_Occurred()) SWIG_fail
;
19836 wxPoint
* resultptr
;
19837 resultptr
= new wxPoint((wxPoint
&) result
);
19838 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19846 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19847 PyObject
*resultobj
;
19848 wxWindow
*arg1
= (wxWindow
*) 0 ;
19850 PyObject
* obj0
= 0 ;
19851 char *kwnames
[] = {
19852 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 result
= ((wxWindow
const *)arg1
)->GetClientRect();
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19865 wxRect
* resultptr
;
19866 resultptr
= new wxRect((wxRect
&) result
);
19867 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19875 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19876 PyObject
*resultobj
;
19877 wxWindow
*arg1
= (wxWindow
*) 0 ;
19879 PyObject
* obj0
= 0 ;
19880 char *kwnames
[] = {
19881 (char *) "self", NULL
19884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
19885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19888 result
= ((wxWindow
const *)arg1
)->GetBestSize();
19890 wxPyEndAllowThreads(__tstate
);
19891 if (PyErr_Occurred()) SWIG_fail
;
19894 wxSize
* resultptr
;
19895 resultptr
= new wxSize((wxSize
&) result
);
19896 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19904 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19905 PyObject
*resultobj
;
19906 wxWindow
*arg1
= (wxWindow
*) 0 ;
19907 int *arg2
= (int *) 0 ;
19908 int *arg3
= (int *) 0 ;
19911 PyObject
* obj0
= 0 ;
19912 char *kwnames
[] = {
19913 (char *) "self", NULL
19918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
19919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19922 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
19924 wxPyEndAllowThreads(__tstate
);
19925 if (PyErr_Occurred()) SWIG_fail
;
19927 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19930 resultobj
= t_output_helper(resultobj
,o
);
19933 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19934 resultobj
= t_output_helper(resultobj
,o
);
19942 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19943 PyObject
*resultobj
;
19944 wxWindow
*arg1
= (wxWindow
*) 0 ;
19946 PyObject
* obj0
= 0 ;
19947 char *kwnames
[] = {
19948 (char *) "self", NULL
19951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
19952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19955 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
19957 wxPyEndAllowThreads(__tstate
);
19958 if (PyErr_Occurred()) SWIG_fail
;
19961 wxSize
* resultptr
;
19962 resultptr
= new wxSize((wxSize
&) result
);
19963 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19971 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19972 PyObject
*resultobj
;
19973 wxWindow
*arg1
= (wxWindow
*) 0 ;
19974 int arg2
= (int) wxBOTH
;
19975 PyObject
* obj0
= 0 ;
19976 char *kwnames
[] = {
19977 (char *) "self",(char *) "direction", NULL
19980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
19981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19984 (arg1
)->Center(arg2
);
19986 wxPyEndAllowThreads(__tstate
);
19987 if (PyErr_Occurred()) SWIG_fail
;
19989 Py_INCREF(Py_None
); resultobj
= Py_None
;
19996 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19997 PyObject
*resultobj
;
19998 wxWindow
*arg1
= (wxWindow
*) 0 ;
19999 int arg2
= (int) wxBOTH
;
20000 PyObject
* obj0
= 0 ;
20001 char *kwnames
[] = {
20002 (char *) "self",(char *) "dir", NULL
20005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
20006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20009 (arg1
)->CenterOnScreen(arg2
);
20011 wxPyEndAllowThreads(__tstate
);
20012 if (PyErr_Occurred()) SWIG_fail
;
20014 Py_INCREF(Py_None
); resultobj
= Py_None
;
20021 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxWindow
*arg1
= (wxWindow
*) 0 ;
20024 int arg2
= (int) wxBOTH
;
20025 PyObject
* obj0
= 0 ;
20026 char *kwnames
[] = {
20027 (char *) "self",(char *) "dir", NULL
20030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
20031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20034 (arg1
)->CenterOnParent(arg2
);
20036 wxPyEndAllowThreads(__tstate
);
20037 if (PyErr_Occurred()) SWIG_fail
;
20039 Py_INCREF(Py_None
); resultobj
= Py_None
;
20046 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20047 PyObject
*resultobj
;
20048 wxWindow
*arg1
= (wxWindow
*) 0 ;
20049 PyObject
* obj0
= 0 ;
20050 char *kwnames
[] = {
20051 (char *) "self", NULL
20054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
20055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20060 wxPyEndAllowThreads(__tstate
);
20061 if (PyErr_Occurred()) SWIG_fail
;
20063 Py_INCREF(Py_None
); resultobj
= Py_None
;
20070 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20071 PyObject
*resultobj
;
20072 wxWindow
*arg1
= (wxWindow
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 (arg1
)->FitInside();
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20087 Py_INCREF(Py_None
); resultobj
= Py_None
;
20094 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
;
20096 wxWindow
*arg1
= (wxWindow
*) 0 ;
20099 int arg4
= (int) -1 ;
20100 int arg5
= (int) -1 ;
20101 int arg6
= (int) -1 ;
20102 int arg7
= (int) -1 ;
20103 PyObject
* obj0
= 0 ;
20104 char *kwnames
[] = {
20105 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20112 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20114 wxPyEndAllowThreads(__tstate
);
20115 if (PyErr_Occurred()) SWIG_fail
;
20117 Py_INCREF(Py_None
); resultobj
= Py_None
;
20124 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20125 PyObject
*resultobj
;
20126 wxWindow
*arg1
= (wxWindow
*) 0 ;
20129 int arg4
= (int) -1 ;
20130 int arg5
= (int) -1 ;
20131 PyObject
* obj0
= 0 ;
20132 char *kwnames
[] = {
20133 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20140 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20142 wxPyEndAllowThreads(__tstate
);
20143 if (PyErr_Occurred()) SWIG_fail
;
20145 Py_INCREF(Py_None
); resultobj
= Py_None
;
20152 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20153 PyObject
*resultobj
;
20154 wxWindow
*arg1
= (wxWindow
*) 0 ;
20156 PyObject
* obj0
= 0 ;
20157 char *kwnames
[] = {
20158 (char *) "self", NULL
20161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20165 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= PyInt_FromLong((long)result
);
20177 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
;
20179 wxWindow
*arg1
= (wxWindow
*) 0 ;
20181 PyObject
* obj0
= 0 ;
20182 char *kwnames
[] = {
20183 (char *) "self", NULL
20186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20190 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20192 wxPyEndAllowThreads(__tstate
);
20193 if (PyErr_Occurred()) SWIG_fail
;
20195 resultobj
= PyInt_FromLong((long)result
);
20202 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20203 PyObject
*resultobj
;
20204 wxWindow
*arg1
= (wxWindow
*) 0 ;
20206 PyObject
* obj0
= 0 ;
20207 char *kwnames
[] = {
20208 (char *) "self", NULL
20211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20215 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20217 wxPyEndAllowThreads(__tstate
);
20218 if (PyErr_Occurred()) SWIG_fail
;
20220 resultobj
= PyInt_FromLong((long)result
);
20227 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20228 PyObject
*resultobj
;
20229 wxWindow
*arg1
= (wxWindow
*) 0 ;
20231 PyObject
* obj0
= 0 ;
20232 char *kwnames
[] = {
20233 (char *) "self", NULL
20236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20240 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20242 wxPyEndAllowThreads(__tstate
);
20243 if (PyErr_Occurred()) SWIG_fail
;
20245 resultobj
= PyInt_FromLong((long)result
);
20252 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20253 PyObject
*resultobj
;
20254 wxWindow
*arg1
= (wxWindow
*) 0 ;
20256 PyObject
* obj0
= 0 ;
20257 char *kwnames
[] = {
20258 (char *) "self", NULL
20261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20265 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20267 wxPyEndAllowThreads(__tstate
);
20268 if (PyErr_Occurred()) SWIG_fail
;
20271 wxSize
* resultptr
;
20272 resultptr
= new wxSize((wxSize
&) result
);
20273 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20281 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20282 PyObject
*resultobj
;
20283 wxWindow
*arg1
= (wxWindow
*) 0 ;
20286 PyObject
* obj0
= 0 ;
20287 PyObject
* obj1
= 0 ;
20288 char *kwnames
[] = {
20289 (char *) "self",(char *) "size", NULL
20292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20296 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20300 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 Py_INCREF(Py_None
); resultobj
= Py_None
;
20312 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxWindow
*arg1
= (wxWindow
*) 0 ;
20317 PyObject
* obj0
= 0 ;
20318 char *kwnames
[] = {
20319 (char *) "self",(char *) "w",(char *) "h", NULL
20322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20326 (arg1
)->SetVirtualSize(arg2
,arg3
);
20328 wxPyEndAllowThreads(__tstate
);
20329 if (PyErr_Occurred()) SWIG_fail
;
20331 Py_INCREF(Py_None
); resultobj
= Py_None
;
20338 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20339 PyObject
*resultobj
;
20340 wxWindow
*arg1
= (wxWindow
*) 0 ;
20342 PyObject
* obj0
= 0 ;
20343 char *kwnames
[] = {
20344 (char *) "self", NULL
20347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20353 wxPyEndAllowThreads(__tstate
);
20354 if (PyErr_Occurred()) SWIG_fail
;
20357 wxSize
* resultptr
;
20358 resultptr
= new wxSize((wxSize
&) result
);
20359 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20367 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20368 PyObject
*resultobj
;
20369 wxWindow
*arg1
= (wxWindow
*) 0 ;
20370 int *arg2
= (int *) 0 ;
20371 int *arg3
= (int *) 0 ;
20374 PyObject
* obj0
= 0 ;
20375 char *kwnames
[] = {
20376 (char *) "self", NULL
20381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20385 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20387 wxPyEndAllowThreads(__tstate
);
20388 if (PyErr_Occurred()) SWIG_fail
;
20390 Py_INCREF(Py_None
); resultobj
= Py_None
;
20392 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20393 resultobj
= t_output_helper(resultobj
,o
);
20396 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20397 resultobj
= t_output_helper(resultobj
,o
);
20405 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20406 PyObject
*resultobj
;
20407 wxWindow
*arg1
= (wxWindow
*) 0 ;
20409 PyObject
* obj0
= 0 ;
20410 char *kwnames
[] = {
20411 (char *) "self", NULL
20414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20418 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20424 wxSize
* resultptr
;
20425 resultptr
= new wxSize((wxSize
&) result
);
20426 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20434 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20435 PyObject
*resultobj
;
20436 wxWindow
*arg1
= (wxWindow
*) 0 ;
20437 bool arg2
= (bool) TRUE
;
20439 PyObject
* obj0
= 0 ;
20440 PyObject
* obj1
= 0 ;
20441 char *kwnames
[] = {
20442 (char *) "self",(char *) "show", NULL
20445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20448 arg2
= PyInt_AsLong(obj1
) ? true : false;
20449 if (PyErr_Occurred()) SWIG_fail
;
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (bool)(arg1
)->Show(arg2
);
20455 wxPyEndAllowThreads(__tstate
);
20456 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= PyInt_FromLong((long)result
);
20465 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20466 PyObject
*resultobj
;
20467 wxWindow
*arg1
= (wxWindow
*) 0 ;
20469 PyObject
* obj0
= 0 ;
20470 char *kwnames
[] = {
20471 (char *) "self", NULL
20474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20478 result
= (bool)(arg1
)->Hide();
20480 wxPyEndAllowThreads(__tstate
);
20481 if (PyErr_Occurred()) SWIG_fail
;
20483 resultobj
= PyInt_FromLong((long)result
);
20490 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20491 PyObject
*resultobj
;
20492 wxWindow
*arg1
= (wxWindow
*) 0 ;
20493 bool arg2
= (bool) TRUE
;
20495 PyObject
* obj0
= 0 ;
20496 PyObject
* obj1
= 0 ;
20497 char *kwnames
[] = {
20498 (char *) "self",(char *) "enable", NULL
20501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20504 arg2
= PyInt_AsLong(obj1
) ? true : false;
20505 if (PyErr_Occurred()) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (bool)(arg1
)->Enable(arg2
);
20511 wxPyEndAllowThreads(__tstate
);
20512 if (PyErr_Occurred()) SWIG_fail
;
20514 resultobj
= PyInt_FromLong((long)result
);
20521 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20522 PyObject
*resultobj
;
20523 wxWindow
*arg1
= (wxWindow
*) 0 ;
20525 PyObject
* obj0
= 0 ;
20526 char *kwnames
[] = {
20527 (char *) "self", NULL
20530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20534 result
= (bool)(arg1
)->Disable();
20536 wxPyEndAllowThreads(__tstate
);
20537 if (PyErr_Occurred()) SWIG_fail
;
20539 resultobj
= PyInt_FromLong((long)result
);
20546 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20547 PyObject
*resultobj
;
20548 wxWindow
*arg1
= (wxWindow
*) 0 ;
20550 PyObject
* obj0
= 0 ;
20551 char *kwnames
[] = {
20552 (char *) "self", NULL
20555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
20556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20559 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
20561 wxPyEndAllowThreads(__tstate
);
20562 if (PyErr_Occurred()) SWIG_fail
;
20564 resultobj
= PyInt_FromLong((long)result
);
20571 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20572 PyObject
*resultobj
;
20573 wxWindow
*arg1
= (wxWindow
*) 0 ;
20575 PyObject
* obj0
= 0 ;
20576 char *kwnames
[] = {
20577 (char *) "self", NULL
20580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20584 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20586 wxPyEndAllowThreads(__tstate
);
20587 if (PyErr_Occurred()) SWIG_fail
;
20589 resultobj
= PyInt_FromLong((long)result
);
20596 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20597 PyObject
*resultobj
;
20598 wxWindow
*arg1
= (wxWindow
*) 0 ;
20600 PyObject
* obj0
= 0 ;
20601 char *kwnames
[] = {
20602 (char *) "self",(char *) "style", NULL
20605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20609 (arg1
)->SetWindowStyleFlag(arg2
);
20611 wxPyEndAllowThreads(__tstate
);
20612 if (PyErr_Occurred()) SWIG_fail
;
20614 Py_INCREF(Py_None
); resultobj
= Py_None
;
20621 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20622 PyObject
*resultobj
;
20623 wxWindow
*arg1
= (wxWindow
*) 0 ;
20625 PyObject
* obj0
= 0 ;
20626 char *kwnames
[] = {
20627 (char *) "self", NULL
20630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20634 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20636 wxPyEndAllowThreads(__tstate
);
20637 if (PyErr_Occurred()) SWIG_fail
;
20639 resultobj
= PyInt_FromLong((long)result
);
20646 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20647 PyObject
*resultobj
;
20648 wxWindow
*arg1
= (wxWindow
*) 0 ;
20650 PyObject
* obj0
= 0 ;
20651 char *kwnames
[] = {
20652 (char *) "self",(char *) "style", NULL
20655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20659 (arg1
)->SetWindowStyle(arg2
);
20661 wxPyEndAllowThreads(__tstate
);
20662 if (PyErr_Occurred()) SWIG_fail
;
20664 Py_INCREF(Py_None
); resultobj
= Py_None
;
20671 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20672 PyObject
*resultobj
;
20673 wxWindow
*arg1
= (wxWindow
*) 0 ;
20675 PyObject
* obj0
= 0 ;
20676 char *kwnames
[] = {
20677 (char *) "self", NULL
20680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
20681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
20686 wxPyEndAllowThreads(__tstate
);
20687 if (PyErr_Occurred()) SWIG_fail
;
20689 resultobj
= PyInt_FromLong((long)result
);
20696 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20697 PyObject
*resultobj
;
20698 wxWindow
*arg1
= (wxWindow
*) 0 ;
20701 PyObject
* obj0
= 0 ;
20702 char *kwnames
[] = {
20703 (char *) "self",(char *) "flag", NULL
20706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20710 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= PyInt_FromLong((long)result
);
20722 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20723 PyObject
*resultobj
;
20724 wxWindow
*arg1
= (wxWindow
*) 0 ;
20726 PyObject
* obj0
= 0 ;
20727 char *kwnames
[] = {
20728 (char *) "self", NULL
20731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
20732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20735 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
20737 wxPyEndAllowThreads(__tstate
);
20738 if (PyErr_Occurred()) SWIG_fail
;
20740 resultobj
= PyInt_FromLong((long)result
);
20747 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20748 PyObject
*resultobj
;
20749 wxWindow
*arg1
= (wxWindow
*) 0 ;
20751 PyObject
* obj0
= 0 ;
20752 char *kwnames
[] = {
20753 (char *) "self",(char *) "exStyle", NULL
20756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20760 (arg1
)->SetExtraStyle(arg2
);
20762 wxPyEndAllowThreads(__tstate
);
20763 if (PyErr_Occurred()) SWIG_fail
;
20765 Py_INCREF(Py_None
); resultobj
= Py_None
;
20772 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20773 PyObject
*resultobj
;
20774 wxWindow
*arg1
= (wxWindow
*) 0 ;
20776 PyObject
* obj0
= 0 ;
20777 char *kwnames
[] = {
20778 (char *) "self", NULL
20781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
20782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20785 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
20787 wxPyEndAllowThreads(__tstate
);
20788 if (PyErr_Occurred()) SWIG_fail
;
20790 resultobj
= PyInt_FromLong((long)result
);
20797 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20798 PyObject
*resultobj
;
20799 wxWindow
*arg1
= (wxWindow
*) 0 ;
20800 bool arg2
= (bool) TRUE
;
20801 PyObject
* obj0
= 0 ;
20802 PyObject
* obj1
= 0 ;
20803 char *kwnames
[] = {
20804 (char *) "self",(char *) "modal", NULL
20807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
20808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20810 arg2
= PyInt_AsLong(obj1
) ? true : false;
20811 if (PyErr_Occurred()) SWIG_fail
;
20814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20815 (arg1
)->MakeModal(arg2
);
20817 wxPyEndAllowThreads(__tstate
);
20818 if (PyErr_Occurred()) SWIG_fail
;
20820 Py_INCREF(Py_None
); resultobj
= Py_None
;
20827 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20828 PyObject
*resultobj
;
20829 wxWindow
*arg1
= (wxWindow
*) 0 ;
20831 PyObject
* obj0
= 0 ;
20832 PyObject
* obj1
= 0 ;
20833 char *kwnames
[] = {
20834 (char *) "self",(char *) "enableTheme", NULL
20837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20839 arg2
= PyInt_AsLong(obj1
) ? true : false;
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20843 (arg1
)->SetThemeEnabled(arg2
);
20845 wxPyEndAllowThreads(__tstate
);
20846 if (PyErr_Occurred()) SWIG_fail
;
20848 Py_INCREF(Py_None
); resultobj
= Py_None
;
20855 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20856 PyObject
*resultobj
;
20857 wxWindow
*arg1
= (wxWindow
*) 0 ;
20859 PyObject
* obj0
= 0 ;
20860 char *kwnames
[] = {
20861 (char *) "self", NULL
20864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
20865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20868 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
20870 wxPyEndAllowThreads(__tstate
);
20871 if (PyErr_Occurred()) SWIG_fail
;
20873 resultobj
= PyInt_FromLong((long)result
);
20880 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20881 PyObject
*resultobj
;
20882 wxWindow
*arg1
= (wxWindow
*) 0 ;
20884 PyObject
* obj0
= 0 ;
20885 char *kwnames
[] = {
20886 (char *) "self", NULL
20889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20893 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
20895 wxPyEndAllowThreads(__tstate
);
20896 if (PyErr_Occurred()) SWIG_fail
;
20898 resultobj
= PyInt_FromLong((long)result
);
20905 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20906 PyObject
*resultobj
;
20907 wxWindow
*arg1
= (wxWindow
*) 0 ;
20908 PyObject
* obj0
= 0 ;
20909 char *kwnames
[] = {
20910 (char *) "self", NULL
20913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
20914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20917 (arg1
)->SetFocus();
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 Py_INCREF(Py_None
); resultobj
= Py_None
;
20929 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20930 PyObject
*resultobj
;
20931 wxWindow
*arg1
= (wxWindow
*) 0 ;
20932 PyObject
* obj0
= 0 ;
20933 char *kwnames
[] = {
20934 (char *) "self", NULL
20937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
20938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20941 (arg1
)->SetFocusFromKbd();
20943 wxPyEndAllowThreads(__tstate
);
20944 if (PyErr_Occurred()) SWIG_fail
;
20946 Py_INCREF(Py_None
); resultobj
= Py_None
;
20953 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20954 PyObject
*resultobj
;
20956 char *kwnames
[] = {
20960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
20962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20963 result
= (wxWindow
*)wxWindow::FindFocus();
20965 wxPyEndAllowThreads(__tstate
);
20966 if (PyErr_Occurred()) SWIG_fail
;
20969 resultobj
= wxPyMake_wxObject(result
);
20977 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20978 PyObject
*resultobj
;
20979 wxWindow
*arg1
= (wxWindow
*) 0 ;
20981 PyObject
* obj0
= 0 ;
20982 char *kwnames
[] = {
20983 (char *) "self", NULL
20986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 resultobj
= PyInt_FromLong((long)result
);
21002 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxWindow
*arg1
= (wxWindow
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
21012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= PyInt_FromLong((long)result
);
21027 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxWindow
*arg1
= (wxWindow
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= wxPyMake_wxObject(result
);
21054 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxWindow
*arg1
= (wxWindow
*) 0 ;
21057 wxWindow
*arg2
= (wxWindow
*) 0 ;
21059 PyObject
* obj0
= 0 ;
21060 PyObject
* obj1
= 0 ;
21061 char *kwnames
[] = {
21062 (char *) "self",(char *) "child", NULL
21065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21067 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21070 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
21072 wxPyEndAllowThreads(__tstate
);
21073 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= wxPyMake_wxObject(result
);
21084 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21085 PyObject
*resultobj
;
21086 wxWindow
*arg1
= (wxWindow
*) 0 ;
21087 wxWindow
*arg2
= (wxWindow
*) 0 ;
21088 PyObject
* obj0
= 0 ;
21089 PyObject
* obj1
= 0 ;
21090 char *kwnames
[] = {
21091 (char *) "self",(char *) "win", NULL
21094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21099 (arg1
)->SetTmpDefaultItem(arg2
);
21101 wxPyEndAllowThreads(__tstate
);
21102 if (PyErr_Occurred()) SWIG_fail
;
21104 Py_INCREF(Py_None
); resultobj
= Py_None
;
21111 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
;
21113 wxWindow
*arg1
= (wxWindow
*) 0 ;
21115 PyObject
* obj0
= 0 ;
21116 char *kwnames
[] = {
21117 (char *) "self", NULL
21120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21124 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21126 wxPyEndAllowThreads(__tstate
);
21127 if (PyErr_Occurred()) SWIG_fail
;
21129 resultobj
= result
;
21136 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21137 PyObject
*resultobj
;
21138 wxWindow
*arg1
= (wxWindow
*) 0 ;
21140 PyObject
* obj0
= 0 ;
21141 char *kwnames
[] = {
21142 (char *) "self", NULL
21145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21155 resultobj
= wxPyMake_wxObject(result
);
21163 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21164 PyObject
*resultobj
;
21165 wxWindow
*arg1
= (wxWindow
*) 0 ;
21167 PyObject
* obj0
= 0 ;
21168 char *kwnames
[] = {
21169 (char *) "self", NULL
21172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21182 resultobj
= wxPyMake_wxObject(result
);
21190 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21191 PyObject
*resultobj
;
21192 wxWindow
*arg1
= (wxWindow
*) 0 ;
21194 PyObject
* obj0
= 0 ;
21195 char *kwnames
[] = {
21196 (char *) "self", NULL
21199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21203 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21205 wxPyEndAllowThreads(__tstate
);
21206 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= PyInt_FromLong((long)result
);
21215 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21216 PyObject
*resultobj
;
21217 wxWindow
*arg1
= (wxWindow
*) 0 ;
21218 wxWindow
*arg2
= (wxWindow
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 PyObject
* obj1
= 0 ;
21222 char *kwnames
[] = {
21223 (char *) "self",(char *) "newParent", NULL
21226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21228 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21231 result
= (bool)(arg1
)->Reparent(arg2
);
21233 wxPyEndAllowThreads(__tstate
);
21234 if (PyErr_Occurred()) SWIG_fail
;
21236 resultobj
= PyInt_FromLong((long)result
);
21243 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21244 PyObject
*resultobj
;
21245 wxWindow
*arg1
= (wxWindow
*) 0 ;
21246 wxWindow
*arg2
= (wxWindow
*) 0 ;
21247 PyObject
* obj0
= 0 ;
21248 PyObject
* obj1
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self",(char *) "child", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21258 (arg1
)->AddChild(arg2
);
21260 wxPyEndAllowThreads(__tstate
);
21261 if (PyErr_Occurred()) SWIG_fail
;
21263 Py_INCREF(Py_None
); resultobj
= Py_None
;
21270 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21271 PyObject
*resultobj
;
21272 wxWindow
*arg1
= (wxWindow
*) 0 ;
21273 wxWindow
*arg2
= (wxWindow
*) 0 ;
21274 PyObject
* obj0
= 0 ;
21275 PyObject
* obj1
= 0 ;
21276 char *kwnames
[] = {
21277 (char *) "self",(char *) "child", NULL
21280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21282 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21285 (arg1
)->RemoveChild(arg2
);
21287 wxPyEndAllowThreads(__tstate
);
21288 if (PyErr_Occurred()) SWIG_fail
;
21290 Py_INCREF(Py_None
); resultobj
= Py_None
;
21297 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21298 PyObject
*resultobj
;
21299 wxWindow
*arg1
= (wxWindow
*) 0 ;
21302 PyObject
* obj0
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self",(char *) "winid", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21311 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21313 wxPyEndAllowThreads(__tstate
);
21314 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= wxPyMake_wxObject(result
);
21325 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21326 PyObject
*resultobj
;
21327 wxWindow
*arg1
= (wxWindow
*) 0 ;
21328 wxString
*arg2
= 0 ;
21330 bool temp2
= false ;
21331 PyObject
* obj0
= 0 ;
21332 PyObject
* obj1
= 0 ;
21333 char *kwnames
[] = {
21334 (char *) "self",(char *) "name", NULL
21337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21340 arg2
= wxString_in_helper(obj1
);
21341 if (arg2
== NULL
) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21348 wxPyEndAllowThreads(__tstate
);
21349 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= wxPyMake_wxObject(result
);
21368 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21369 PyObject
*resultobj
;
21370 wxWindow
*arg1
= (wxWindow
*) 0 ;
21371 wxEvtHandler
*result
;
21372 PyObject
* obj0
= 0 ;
21373 char *kwnames
[] = {
21374 (char *) "self", NULL
21377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21381 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21383 wxPyEndAllowThreads(__tstate
);
21384 if (PyErr_Occurred()) SWIG_fail
;
21387 resultobj
= wxPyMake_wxObject(result
);
21395 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21396 PyObject
*resultobj
;
21397 wxWindow
*arg1
= (wxWindow
*) 0 ;
21398 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21399 PyObject
* obj0
= 0 ;
21400 PyObject
* obj1
= 0 ;
21401 char *kwnames
[] = {
21402 (char *) "self",(char *) "handler", NULL
21405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21407 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21410 (arg1
)->SetEventHandler(arg2
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 Py_INCREF(Py_None
); resultobj
= Py_None
;
21422 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
;
21424 wxWindow
*arg1
= (wxWindow
*) 0 ;
21425 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 PyObject
* obj1
= 0 ;
21428 char *kwnames
[] = {
21429 (char *) "self",(char *) "handler", NULL
21432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21437 (arg1
)->PushEventHandler(arg2
);
21439 wxPyEndAllowThreads(__tstate
);
21440 if (PyErr_Occurred()) SWIG_fail
;
21442 Py_INCREF(Py_None
); resultobj
= Py_None
;
21449 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21450 PyObject
*resultobj
;
21451 wxWindow
*arg1
= (wxWindow
*) 0 ;
21452 bool arg2
= (bool) FALSE
;
21453 wxEvtHandler
*result
;
21454 PyObject
* obj0
= 0 ;
21455 PyObject
* obj1
= 0 ;
21456 char *kwnames
[] = {
21457 (char *) "self",(char *) "deleteHandler", NULL
21460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21463 arg2
= PyInt_AsLong(obj1
) ? true : false;
21464 if (PyErr_Occurred()) SWIG_fail
;
21467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21468 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21470 wxPyEndAllowThreads(__tstate
);
21471 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= wxPyMake_wxObject(result
);
21482 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21483 PyObject
*resultobj
;
21484 wxWindow
*arg1
= (wxWindow
*) 0 ;
21485 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21487 PyObject
* obj0
= 0 ;
21488 PyObject
* obj1
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "handler", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21495 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21498 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21500 wxPyEndAllowThreads(__tstate
);
21501 if (PyErr_Occurred()) SWIG_fail
;
21503 resultobj
= PyInt_FromLong((long)result
);
21510 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21511 PyObject
*resultobj
;
21512 wxWindow
*arg1
= (wxWindow
*) 0 ;
21513 wxValidator
*arg2
= 0 ;
21514 PyObject
* obj0
= 0 ;
21515 PyObject
* obj1
= 0 ;
21516 char *kwnames
[] = {
21517 (char *) "self",(char *) "validator", NULL
21520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21523 if (arg2
== NULL
) {
21524 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21528 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21530 wxPyEndAllowThreads(__tstate
);
21531 if (PyErr_Occurred()) SWIG_fail
;
21533 Py_INCREF(Py_None
); resultobj
= Py_None
;
21540 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21541 PyObject
*resultobj
;
21542 wxWindow
*arg1
= (wxWindow
*) 0 ;
21543 wxValidator
*result
;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= (wxValidator
*)(arg1
)->GetValidator();
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= wxPyMake_wxObject(result
);
21567 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxWindow
*arg1
= (wxWindow
*) 0 ;
21570 wxAcceleratorTable
*arg2
= 0 ;
21571 PyObject
* obj0
= 0 ;
21572 PyObject
* obj1
= 0 ;
21573 char *kwnames
[] = {
21574 (char *) "self",(char *) "accel", NULL
21577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21580 if (arg2
== NULL
) {
21581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21585 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21587 wxPyEndAllowThreads(__tstate
);
21588 if (PyErr_Occurred()) SWIG_fail
;
21590 Py_INCREF(Py_None
); resultobj
= Py_None
;
21597 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21598 PyObject
*resultobj
;
21599 wxWindow
*arg1
= (wxWindow
*) 0 ;
21600 wxAcceleratorTable
*result
;
21601 PyObject
* obj0
= 0 ;
21602 char *kwnames
[] = {
21603 (char *) "self", NULL
21606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21610 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21612 wxPyEndAllowThreads(__tstate
);
21613 if (PyErr_Occurred()) SWIG_fail
;
21615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21622 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21623 PyObject
*resultobj
;
21624 wxWindow
*arg1
= (wxWindow
*) 0 ;
21629 PyObject
* obj0
= 0 ;
21630 char *kwnames
[] = {
21631 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21638 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
21640 wxPyEndAllowThreads(__tstate
);
21641 if (PyErr_Occurred()) SWIG_fail
;
21643 resultobj
= PyInt_FromLong((long)result
);
21650 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21651 PyObject
*resultobj
;
21652 wxWindow
*arg1
= (wxWindow
*) 0 ;
21655 PyObject
* obj0
= 0 ;
21656 char *kwnames
[] = {
21657 (char *) "self",(char *) "hotkeyId", NULL
21660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
21661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21664 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
21666 wxPyEndAllowThreads(__tstate
);
21667 if (PyErr_Occurred()) SWIG_fail
;
21669 resultobj
= PyInt_FromLong((long)result
);
21676 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21677 PyObject
*resultobj
;
21678 wxWindow
*arg1
= (wxWindow
*) 0 ;
21679 wxPoint
*arg2
= 0 ;
21682 PyObject
* obj0
= 0 ;
21683 PyObject
* obj1
= 0 ;
21684 char *kwnames
[] = {
21685 (char *) "self",(char *) "pt", NULL
21688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21692 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21696 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21698 wxPyEndAllowThreads(__tstate
);
21699 if (PyErr_Occurred()) SWIG_fail
;
21702 wxPoint
* resultptr
;
21703 resultptr
= new wxPoint((wxPoint
&) result
);
21704 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21712 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21713 PyObject
*resultobj
;
21714 wxWindow
*arg1
= (wxWindow
*) 0 ;
21718 PyObject
* obj0
= 0 ;
21719 PyObject
* obj1
= 0 ;
21720 char *kwnames
[] = {
21721 (char *) "self",(char *) "sz", NULL
21724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21728 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21732 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21734 wxPyEndAllowThreads(__tstate
);
21735 if (PyErr_Occurred()) SWIG_fail
;
21738 wxSize
* resultptr
;
21739 resultptr
= new wxSize((wxSize
&) result
);
21740 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21748 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21749 PyObject
*resultobj
;
21750 wxWindow
*arg1
= (wxWindow
*) 0 ;
21751 wxPoint
*arg2
= 0 ;
21754 PyObject
* obj0
= 0 ;
21755 PyObject
* obj1
= 0 ;
21756 char *kwnames
[] = {
21757 (char *) "self",(char *) "pt", NULL
21760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
21761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21764 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21768 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21770 wxPyEndAllowThreads(__tstate
);
21771 if (PyErr_Occurred()) SWIG_fail
;
21774 wxPoint
* resultptr
;
21775 resultptr
= new wxPoint((wxPoint
&) result
);
21776 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21784 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21785 PyObject
*resultobj
;
21786 wxWindow
*arg1
= (wxWindow
*) 0 ;
21790 PyObject
* obj0
= 0 ;
21791 PyObject
* obj1
= 0 ;
21792 char *kwnames
[] = {
21793 (char *) "self",(char *) "sz", NULL
21796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
21797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21800 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21804 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21810 wxSize
* resultptr
;
21811 resultptr
= new wxSize((wxSize
&) result
);
21812 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21820 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxWindow
*arg1
= (wxWindow
*) 0 ;
21823 wxPoint
*arg2
= 0 ;
21826 PyObject
* obj0
= 0 ;
21827 PyObject
* obj1
= 0 ;
21828 char *kwnames
[] = {
21829 (char *) "self",(char *) "pt", NULL
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21836 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21840 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
21842 wxPyEndAllowThreads(__tstate
);
21843 if (PyErr_Occurred()) SWIG_fail
;
21846 wxPoint
* resultptr
;
21847 resultptr
= new wxPoint((wxPoint
&) result
);
21848 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21856 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21857 PyObject
*resultobj
;
21858 wxWindow
*arg1
= (wxWindow
*) 0 ;
21862 PyObject
* obj0
= 0 ;
21863 PyObject
* obj1
= 0 ;
21864 char *kwnames
[] = {
21865 (char *) "self",(char *) "sz", NULL
21868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21872 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21876 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
21878 wxPyEndAllowThreads(__tstate
);
21879 if (PyErr_Occurred()) SWIG_fail
;
21882 wxSize
* resultptr
;
21883 resultptr
= new wxSize((wxSize
&) result
);
21884 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21892 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxWindow
*arg1
= (wxWindow
*) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "x",(char *) "y", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 (arg1
)->WarpPointer(arg2
,arg3
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 Py_INCREF(Py_None
); resultobj
= Py_None
;
21918 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxWindow
*arg1
= (wxWindow
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 char *kwnames
[] = {
21923 (char *) "self", NULL
21926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
21927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21930 (arg1
)->CaptureMouse();
21932 wxPyEndAllowThreads(__tstate
);
21933 if (PyErr_Occurred()) SWIG_fail
;
21935 Py_INCREF(Py_None
); resultobj
= Py_None
;
21942 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21943 PyObject
*resultobj
;
21944 wxWindow
*arg1
= (wxWindow
*) 0 ;
21945 PyObject
* obj0
= 0 ;
21946 char *kwnames
[] = {
21947 (char *) "self", NULL
21950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
21951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 (arg1
)->ReleaseMouse();
21956 wxPyEndAllowThreads(__tstate
);
21957 if (PyErr_Occurred()) SWIG_fail
;
21959 Py_INCREF(Py_None
); resultobj
= Py_None
;
21966 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21967 PyObject
*resultobj
;
21969 char *kwnames
[] = {
21973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 result
= (wxWindow
*)wxWindow::GetCapture();
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21982 resultobj
= wxPyMake_wxObject(result
);
21990 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 wxWindow
*arg1
= (wxWindow
*) 0 ;
21994 PyObject
* obj0
= 0 ;
21995 char *kwnames
[] = {
21996 (char *) "self", NULL
21999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
22000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22003 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
22005 wxPyEndAllowThreads(__tstate
);
22006 if (PyErr_Occurred()) SWIG_fail
;
22008 resultobj
= PyInt_FromLong((long)result
);
22015 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22016 PyObject
*resultobj
;
22017 wxWindow
*arg1
= (wxWindow
*) 0 ;
22018 bool arg2
= (bool) TRUE
;
22019 wxRect
*arg3
= (wxRect
*) NULL
;
22020 PyObject
* obj0
= 0 ;
22021 PyObject
* obj1
= 0 ;
22022 PyObject
* obj2
= 0 ;
22023 char *kwnames
[] = {
22024 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22030 arg2
= PyInt_AsLong(obj1
) ? true : false;
22031 if (PyErr_Occurred()) SWIG_fail
;
22034 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22038 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
22040 wxPyEndAllowThreads(__tstate
);
22041 if (PyErr_Occurred()) SWIG_fail
;
22043 Py_INCREF(Py_None
); resultobj
= Py_None
;
22050 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22051 PyObject
*resultobj
;
22052 wxWindow
*arg1
= (wxWindow
*) 0 ;
22055 PyObject
* obj0
= 0 ;
22056 PyObject
* obj1
= 0 ;
22057 char *kwnames
[] = {
22058 (char *) "self",(char *) "rect", NULL
22061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22065 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22069 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
22071 wxPyEndAllowThreads(__tstate
);
22072 if (PyErr_Occurred()) SWIG_fail
;
22074 Py_INCREF(Py_None
); resultobj
= Py_None
;
22081 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxWindow
*arg1
= (wxWindow
*) 0 ;
22084 PyObject
* obj0
= 0 ;
22085 char *kwnames
[] = {
22086 (char *) "self", NULL
22089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
22090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 Py_INCREF(Py_None
); resultobj
= Py_None
;
22105 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
;
22107 wxWindow
*arg1
= (wxWindow
*) 0 ;
22108 PyObject
* obj0
= 0 ;
22109 char *kwnames
[] = {
22110 (char *) "self", NULL
22113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22117 (arg1
)->ClearBackground();
22119 wxPyEndAllowThreads(__tstate
);
22120 if (PyErr_Occurred()) SWIG_fail
;
22122 Py_INCREF(Py_None
); resultobj
= Py_None
;
22129 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22130 PyObject
*resultobj
;
22131 wxWindow
*arg1
= (wxWindow
*) 0 ;
22132 PyObject
* obj0
= 0 ;
22133 char *kwnames
[] = {
22134 (char *) "self", NULL
22137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22143 wxPyEndAllowThreads(__tstate
);
22144 if (PyErr_Occurred()) SWIG_fail
;
22146 Py_INCREF(Py_None
); resultobj
= Py_None
;
22153 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22154 PyObject
*resultobj
;
22155 wxWindow
*arg1
= (wxWindow
*) 0 ;
22156 PyObject
* obj0
= 0 ;
22157 char *kwnames
[] = {
22158 (char *) "self", NULL
22161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22170 Py_INCREF(Py_None
); resultobj
= Py_None
;
22177 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22178 PyObject
*resultobj
;
22179 wxWindow
*arg1
= (wxWindow
*) 0 ;
22181 PyObject
* obj0
= 0 ;
22182 PyObject
* obj1
= 0 ;
22183 char *kwnames
[] = {
22184 (char *) "self",(char *) "dc", NULL
22187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22189 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22190 if (arg2
== NULL
) {
22191 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22195 (arg1
)->PrepareDC(*arg2
);
22197 wxPyEndAllowThreads(__tstate
);
22198 if (PyErr_Occurred()) SWIG_fail
;
22200 Py_INCREF(Py_None
); resultobj
= Py_None
;
22207 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22208 PyObject
*resultobj
;
22209 wxWindow
*arg1
= (wxWindow
*) 0 ;
22211 PyObject
* obj0
= 0 ;
22212 char *kwnames
[] = {
22213 (char *) "self", NULL
22216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22221 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22222 result
= (wxRegion
*) &_result_ref
;
22225 wxPyEndAllowThreads(__tstate
);
22226 if (PyErr_Occurred()) SWIG_fail
;
22228 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22235 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22236 PyObject
*resultobj
;
22237 wxWindow
*arg1
= (wxWindow
*) 0 ;
22239 PyObject
* obj0
= 0 ;
22240 char *kwnames
[] = {
22241 (char *) "self", NULL
22244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22248 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22250 wxPyEndAllowThreads(__tstate
);
22251 if (PyErr_Occurred()) SWIG_fail
;
22254 wxRect
* resultptr
;
22255 resultptr
= new wxRect((wxRect
&) result
);
22256 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22264 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22265 PyObject
*resultobj
;
22266 wxWindow
*arg1
= (wxWindow
*) 0 ;
22269 int arg4
= (int) 1 ;
22270 int arg5
= (int) 1 ;
22272 PyObject
* obj0
= 0 ;
22273 char *kwnames
[] = {
22274 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22281 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22283 wxPyEndAllowThreads(__tstate
);
22284 if (PyErr_Occurred()) SWIG_fail
;
22286 resultobj
= PyInt_FromLong((long)result
);
22293 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22294 PyObject
*resultobj
;
22295 wxWindow
*arg1
= (wxWindow
*) 0 ;
22296 wxPoint
*arg2
= 0 ;
22299 PyObject
* obj0
= 0 ;
22300 PyObject
* obj1
= 0 ;
22301 char *kwnames
[] = {
22302 (char *) "self",(char *) "pt", NULL
22305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22309 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22313 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22315 wxPyEndAllowThreads(__tstate
);
22316 if (PyErr_Occurred()) SWIG_fail
;
22318 resultobj
= PyInt_FromLong((long)result
);
22325 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22326 PyObject
*resultobj
;
22327 wxWindow
*arg1
= (wxWindow
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 PyObject
* obj1
= 0 ;
22333 char *kwnames
[] = {
22334 (char *) "self",(char *) "rect", NULL
22337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22341 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22345 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22347 wxPyEndAllowThreads(__tstate
);
22348 if (PyErr_Occurred()) SWIG_fail
;
22350 resultobj
= PyInt_FromLong((long)result
);
22357 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22358 PyObject
*resultobj
;
22359 wxWindow
*arg1
= (wxWindow
*) 0 ;
22360 wxColour
*arg2
= 0 ;
22363 PyObject
* obj0
= 0 ;
22364 PyObject
* obj1
= 0 ;
22365 char *kwnames
[] = {
22366 (char *) "self",(char *) "colour", NULL
22369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22373 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22377 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22379 wxPyEndAllowThreads(__tstate
);
22380 if (PyErr_Occurred()) SWIG_fail
;
22382 resultobj
= PyInt_FromLong((long)result
);
22389 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22390 PyObject
*resultobj
;
22391 wxWindow
*arg1
= (wxWindow
*) 0 ;
22392 wxColour
*arg2
= 0 ;
22395 PyObject
* obj0
= 0 ;
22396 PyObject
* obj1
= 0 ;
22397 char *kwnames
[] = {
22398 (char *) "self",(char *) "colour", NULL
22401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22405 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22411 wxPyEndAllowThreads(__tstate
);
22412 if (PyErr_Occurred()) SWIG_fail
;
22414 resultobj
= PyInt_FromLong((long)result
);
22421 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22422 PyObject
*resultobj
;
22423 wxWindow
*arg1
= (wxWindow
*) 0 ;
22425 PyObject
* obj0
= 0 ;
22426 char *kwnames
[] = {
22427 (char *) "self", NULL
22430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22436 wxPyEndAllowThreads(__tstate
);
22437 if (PyErr_Occurred()) SWIG_fail
;
22440 wxColour
* resultptr
;
22441 resultptr
= new wxColour((wxColour
&) result
);
22442 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22450 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22451 PyObject
*resultobj
;
22452 wxWindow
*arg1
= (wxWindow
*) 0 ;
22454 PyObject
* obj0
= 0 ;
22455 char *kwnames
[] = {
22456 (char *) "self", NULL
22459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
22460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22465 wxPyEndAllowThreads(__tstate
);
22466 if (PyErr_Occurred()) SWIG_fail
;
22469 wxColour
* resultptr
;
22470 resultptr
= new wxColour((wxColour
&) result
);
22471 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22479 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22480 PyObject
*resultobj
;
22481 wxWindow
*arg1
= (wxWindow
*) 0 ;
22482 wxCursor
*arg2
= 0 ;
22484 PyObject
* obj0
= 0 ;
22485 PyObject
* obj1
= 0 ;
22486 char *kwnames
[] = {
22487 (char *) "self",(char *) "cursor", NULL
22490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22492 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22493 if (arg2
== NULL
) {
22494 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22498 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22500 wxPyEndAllowThreads(__tstate
);
22501 if (PyErr_Occurred()) SWIG_fail
;
22503 resultobj
= PyInt_FromLong((long)result
);
22510 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22511 PyObject
*resultobj
;
22512 wxWindow
*arg1
= (wxWindow
*) 0 ;
22514 PyObject
* obj0
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22524 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22525 result
= (wxCursor
*) &_result_ref
;
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22538 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxWindow
*arg1
= (wxWindow
*) 0 ;
22543 PyObject
* obj0
= 0 ;
22544 PyObject
* obj1
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self",(char *) "font", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22551 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22552 if (arg2
== NULL
) {
22553 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22557 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22559 wxPyEndAllowThreads(__tstate
);
22560 if (PyErr_Occurred()) SWIG_fail
;
22562 resultobj
= PyInt_FromLong((long)result
);
22569 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22570 PyObject
*resultobj
;
22571 wxWindow
*arg1
= (wxWindow
*) 0 ;
22573 PyObject
* obj0
= 0 ;
22574 char *kwnames
[] = {
22575 (char *) "self", NULL
22578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22583 wxFont
&_result_ref
= (arg1
)->GetFont();
22584 result
= (wxFont
*) &_result_ref
;
22587 wxPyEndAllowThreads(__tstate
);
22588 if (PyErr_Occurred()) SWIG_fail
;
22590 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22597 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22598 PyObject
*resultobj
;
22599 wxWindow
*arg1
= (wxWindow
*) 0 ;
22600 wxCaret
*arg2
= (wxCaret
*) 0 ;
22601 PyObject
* obj0
= 0 ;
22602 PyObject
* obj1
= 0 ;
22603 char *kwnames
[] = {
22604 (char *) "self",(char *) "caret", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22609 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 (arg1
)->SetCaret(arg2
);
22614 wxPyEndAllowThreads(__tstate
);
22615 if (PyErr_Occurred()) SWIG_fail
;
22617 Py_INCREF(Py_None
); resultobj
= Py_None
;
22624 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22625 PyObject
*resultobj
;
22626 wxWindow
*arg1
= (wxWindow
*) 0 ;
22628 PyObject
* obj0
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self", NULL
22633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22637 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
22649 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22650 PyObject
*resultobj
;
22651 wxWindow
*arg1
= (wxWindow
*) 0 ;
22653 PyObject
* obj0
= 0 ;
22654 char *kwnames
[] = {
22655 (char *) "self", NULL
22658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
22659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22662 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22667 resultobj
= PyInt_FromLong((long)result
);
22674 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22675 PyObject
*resultobj
;
22676 wxWindow
*arg1
= (wxWindow
*) 0 ;
22678 PyObject
* obj0
= 0 ;
22679 char *kwnames
[] = {
22680 (char *) "self", NULL
22683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
22684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22687 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
22689 wxPyEndAllowThreads(__tstate
);
22690 if (PyErr_Occurred()) SWIG_fail
;
22692 resultobj
= PyInt_FromLong((long)result
);
22699 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22700 PyObject
*resultobj
;
22701 wxWindow
*arg1
= (wxWindow
*) 0 ;
22702 wxString
*arg2
= 0 ;
22703 int *arg3
= (int *) 0 ;
22704 int *arg4
= (int *) 0 ;
22705 bool temp2
= false ;
22708 PyObject
* obj0
= 0 ;
22709 PyObject
* obj1
= 0 ;
22710 char *kwnames
[] = {
22711 (char *) "self",(char *) "string", NULL
22716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
22717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22719 arg2
= wxString_in_helper(obj1
);
22720 if (arg2
== NULL
) SWIG_fail
;
22724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22725 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22727 wxPyEndAllowThreads(__tstate
);
22728 if (PyErr_Occurred()) SWIG_fail
;
22730 Py_INCREF(Py_None
); resultobj
= Py_None
;
22732 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22733 resultobj
= t_output_helper(resultobj
,o
);
22736 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22737 resultobj
= t_output_helper(resultobj
,o
);
22753 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22754 PyObject
*resultobj
;
22755 wxWindow
*arg1
= (wxWindow
*) 0 ;
22756 wxString
*arg2
= 0 ;
22757 int *arg3
= (int *) 0 ;
22758 int *arg4
= (int *) 0 ;
22759 int *arg5
= (int *) 0 ;
22760 int *arg6
= (int *) 0 ;
22761 wxFont
*arg7
= (wxFont
*) NULL
;
22762 bool temp2
= false ;
22767 PyObject
* obj0
= 0 ;
22768 PyObject
* obj1
= 0 ;
22769 PyObject
* obj2
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self",(char *) "string",(char *) "font", NULL
22778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22781 arg2
= wxString_in_helper(obj1
);
22782 if (arg2
== NULL
) SWIG_fail
;
22786 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22790 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
22792 wxPyEndAllowThreads(__tstate
);
22793 if (PyErr_Occurred()) SWIG_fail
;
22795 Py_INCREF(Py_None
); resultobj
= Py_None
;
22797 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22798 resultobj
= t_output_helper(resultobj
,o
);
22801 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22802 resultobj
= t_output_helper(resultobj
,o
);
22805 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22806 resultobj
= t_output_helper(resultobj
,o
);
22809 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
22810 resultobj
= t_output_helper(resultobj
,o
);
22826 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
;
22828 wxWindow
*arg1
= (wxWindow
*) 0 ;
22829 int *arg2
= (int *) 0 ;
22830 int *arg3
= (int *) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 PyObject
* obj2
= 0 ;
22836 char *kwnames
[] = {
22837 (char *) "self",(char *) "x",(char *) "y", NULL
22840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22843 temp2
= PyInt_AsLong(obj1
);
22844 if (PyErr_Occurred()) SWIG_fail
;
22848 temp3
= PyInt_AsLong(obj2
);
22849 if (PyErr_Occurred()) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 Py_INCREF(Py_None
); resultobj
= Py_None
;
22861 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22862 resultobj
= t_output_helper(resultobj
,o
);
22865 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22866 resultobj
= t_output_helper(resultobj
,o
);
22874 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxWindow
*arg1
= (wxWindow
*) 0 ;
22877 int *arg2
= (int *) 0 ;
22878 int *arg3
= (int *) 0 ;
22881 PyObject
* obj0
= 0 ;
22882 PyObject
* obj1
= 0 ;
22883 PyObject
* obj2
= 0 ;
22884 char *kwnames
[] = {
22885 (char *) "self",(char *) "x",(char *) "y", NULL
22888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22891 temp2
= PyInt_AsLong(obj1
);
22892 if (PyErr_Occurred()) SWIG_fail
;
22896 temp3
= PyInt_AsLong(obj2
);
22897 if (PyErr_Occurred()) SWIG_fail
;
22901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22902 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
22904 wxPyEndAllowThreads(__tstate
);
22905 if (PyErr_Occurred()) SWIG_fail
;
22907 Py_INCREF(Py_None
); resultobj
= Py_None
;
22909 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22910 resultobj
= t_output_helper(resultobj
,o
);
22913 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22914 resultobj
= t_output_helper(resultobj
,o
);
22922 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxWindow
*arg1
= (wxWindow
*) 0 ;
22925 wxPoint
*arg2
= 0 ;
22928 PyObject
* obj0
= 0 ;
22929 PyObject
* obj1
= 0 ;
22930 char *kwnames
[] = {
22931 (char *) "self",(char *) "pt", NULL
22934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22938 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22942 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
22944 wxPyEndAllowThreads(__tstate
);
22945 if (PyErr_Occurred()) SWIG_fail
;
22948 wxPoint
* resultptr
;
22949 resultptr
= new wxPoint((wxPoint
&) result
);
22950 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22958 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxWindow
*arg1
= (wxWindow
*) 0 ;
22961 wxPoint
*arg2
= 0 ;
22964 PyObject
* obj0
= 0 ;
22965 PyObject
* obj1
= 0 ;
22966 char *kwnames
[] = {
22967 (char *) "self",(char *) "pt", NULL
22970 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
22971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22974 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
22980 wxPyEndAllowThreads(__tstate
);
22981 if (PyErr_Occurred()) SWIG_fail
;
22984 wxPoint
* resultptr
;
22985 resultptr
= new wxPoint((wxPoint
&) result
);
22986 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22994 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22995 PyObject
*resultobj
;
22996 wxWindow
*arg1
= (wxWindow
*) 0 ;
23000 PyObject
* obj0
= 0 ;
23001 char *kwnames
[] = {
23002 (char *) "self",(char *) "x",(char *) "y", NULL
23005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23009 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
23011 wxPyEndAllowThreads(__tstate
);
23012 if (PyErr_Occurred()) SWIG_fail
;
23014 resultobj
= PyInt_FromLong((long)result
);
23021 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23022 PyObject
*resultobj
;
23023 wxWindow
*arg1
= (wxWindow
*) 0 ;
23024 wxPoint
*arg2
= 0 ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "self",(char *) "pt", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23037 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= PyInt_FromLong((long)result
);
23053 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxWindow
*arg1
= (wxWindow
*) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self",(char *) "flags", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23067 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= PyInt_FromLong((long)result
);
23079 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
;
23081 wxWindow
*arg1
= (wxWindow
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
23089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23092 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= PyInt_FromLong((long)result
);
23104 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxWindow
*arg1
= (wxWindow
*) 0 ;
23107 long arg2
= (long) wxUPDATE_UI_NONE
;
23108 PyObject
* obj0
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "flags", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23117 (arg1
)->UpdateWindowUI(arg2
);
23119 wxPyEndAllowThreads(__tstate
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23122 Py_INCREF(Py_None
); resultobj
= Py_None
;
23129 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23130 PyObject
*resultobj
;
23131 wxWindow
*arg1
= (wxWindow
*) 0 ;
23132 wxMenu
*arg2
= (wxMenu
*) 0 ;
23136 PyObject
* obj0
= 0 ;
23137 PyObject
* obj1
= 0 ;
23138 char *kwnames
[] = {
23139 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23147 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23149 wxPyEndAllowThreads(__tstate
);
23150 if (PyErr_Occurred()) SWIG_fail
;
23152 resultobj
= PyInt_FromLong((long)result
);
23159 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23160 PyObject
*resultobj
;
23161 wxWindow
*arg1
= (wxWindow
*) 0 ;
23162 wxMenu
*arg2
= (wxMenu
*) 0 ;
23163 wxPoint
*arg3
= 0 ;
23166 PyObject
* obj0
= 0 ;
23167 PyObject
* obj1
= 0 ;
23168 PyObject
* obj2
= 0 ;
23169 char *kwnames
[] = {
23170 (char *) "self",(char *) "menu",(char *) "pos", NULL
23173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23178 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23182 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23184 wxPyEndAllowThreads(__tstate
);
23185 if (PyErr_Occurred()) SWIG_fail
;
23187 resultobj
= PyInt_FromLong((long)result
);
23194 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23195 PyObject
*resultobj
;
23196 wxWindow
*arg1
= (wxWindow
*) 0 ;
23198 PyObject
* obj0
= 0 ;
23199 char *kwnames
[] = {
23200 (char *) "self", NULL
23203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23207 result
= (long)wxWindow_GetHandle(arg1
);
23209 wxPyEndAllowThreads(__tstate
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23212 resultobj
= PyInt_FromLong((long)result
);
23219 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxWindow
*arg1
= (wxWindow
*) 0 ;
23224 PyObject
* obj0
= 0 ;
23225 char *kwnames
[] = {
23226 (char *) "self",(char *) "orient", NULL
23229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23233 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23235 wxPyEndAllowThreads(__tstate
);
23236 if (PyErr_Occurred()) SWIG_fail
;
23238 resultobj
= PyInt_FromLong((long)result
);
23245 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23246 PyObject
*resultobj
;
23247 wxWindow
*arg1
= (wxWindow
*) 0 ;
23252 bool arg6
= (bool) TRUE
;
23253 PyObject
* obj0
= 0 ;
23254 PyObject
* obj5
= 0 ;
23255 char *kwnames
[] = {
23256 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23262 arg6
= PyInt_AsLong(obj5
) ? true : false;
23263 if (PyErr_Occurred()) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxWindow
*arg1
= (wxWindow
*) 0 ;
23284 bool arg4
= (bool) TRUE
;
23285 PyObject
* obj0
= 0 ;
23286 PyObject
* obj3
= 0 ;
23287 char *kwnames
[] = {
23288 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23294 arg4
= PyInt_AsLong(obj3
) ? true : false;
23295 if (PyErr_Occurred()) SWIG_fail
;
23298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23299 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23301 wxPyEndAllowThreads(__tstate
);
23302 if (PyErr_Occurred()) SWIG_fail
;
23304 Py_INCREF(Py_None
); resultobj
= Py_None
;
23311 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23312 PyObject
*resultobj
;
23313 wxWindow
*arg1
= (wxWindow
*) 0 ;
23316 PyObject
* obj0
= 0 ;
23317 char *kwnames
[] = {
23318 (char *) "self",(char *) "orient", NULL
23321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23327 wxPyEndAllowThreads(__tstate
);
23328 if (PyErr_Occurred()) SWIG_fail
;
23330 resultobj
= PyInt_FromLong((long)result
);
23337 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23338 PyObject
*resultobj
;
23339 wxWindow
*arg1
= (wxWindow
*) 0 ;
23342 PyObject
* obj0
= 0 ;
23343 char *kwnames
[] = {
23344 (char *) "self",(char *) "orient", NULL
23347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23351 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23353 wxPyEndAllowThreads(__tstate
);
23354 if (PyErr_Occurred()) SWIG_fail
;
23356 resultobj
= PyInt_FromLong((long)result
);
23363 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23364 PyObject
*resultobj
;
23365 wxWindow
*arg1
= (wxWindow
*) 0 ;
23368 PyObject
* obj0
= 0 ;
23369 char *kwnames
[] = {
23370 (char *) "self",(char *) "orient", NULL
23373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23377 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23379 wxPyEndAllowThreads(__tstate
);
23380 if (PyErr_Occurred()) SWIG_fail
;
23382 resultobj
= PyInt_FromLong((long)result
);
23389 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23390 PyObject
*resultobj
;
23391 wxWindow
*arg1
= (wxWindow
*) 0 ;
23394 wxRect
*arg4
= (wxRect
*) NULL
;
23395 PyObject
* obj0
= 0 ;
23396 PyObject
* obj3
= 0 ;
23397 char *kwnames
[] = {
23398 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23404 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23408 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23410 wxPyEndAllowThreads(__tstate
);
23411 if (PyErr_Occurred()) SWIG_fail
;
23413 Py_INCREF(Py_None
); resultobj
= Py_None
;
23420 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23421 PyObject
*resultobj
;
23422 wxWindow
*arg1
= (wxWindow
*) 0 ;
23425 PyObject
* obj0
= 0 ;
23426 char *kwnames
[] = {
23427 (char *) "self",(char *) "lines", NULL
23430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23434 result
= (bool)(arg1
)->ScrollLines(arg2
);
23436 wxPyEndAllowThreads(__tstate
);
23437 if (PyErr_Occurred()) SWIG_fail
;
23439 resultobj
= PyInt_FromLong((long)result
);
23446 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23447 PyObject
*resultobj
;
23448 wxWindow
*arg1
= (wxWindow
*) 0 ;
23451 PyObject
* obj0
= 0 ;
23452 char *kwnames
[] = {
23453 (char *) "self",(char *) "pages", NULL
23456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 result
= (bool)(arg1
)->ScrollPages(arg2
);
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 resultobj
= PyInt_FromLong((long)result
);
23472 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxWindow
*arg1
= (wxWindow
*) 0 ;
23476 PyObject
* obj0
= 0 ;
23477 char *kwnames
[] = {
23478 (char *) "self", NULL
23481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
23482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (bool)(arg1
)->LineUp();
23487 wxPyEndAllowThreads(__tstate
);
23488 if (PyErr_Occurred()) SWIG_fail
;
23490 resultobj
= PyInt_FromLong((long)result
);
23497 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23498 PyObject
*resultobj
;
23499 wxWindow
*arg1
= (wxWindow
*) 0 ;
23501 PyObject
* obj0
= 0 ;
23502 char *kwnames
[] = {
23503 (char *) "self", NULL
23506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23510 result
= (bool)(arg1
)->LineDown();
23512 wxPyEndAllowThreads(__tstate
);
23513 if (PyErr_Occurred()) SWIG_fail
;
23515 resultobj
= PyInt_FromLong((long)result
);
23522 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23523 PyObject
*resultobj
;
23524 wxWindow
*arg1
= (wxWindow
*) 0 ;
23526 PyObject
* obj0
= 0 ;
23527 char *kwnames
[] = {
23528 (char *) "self", NULL
23531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23535 result
= (bool)(arg1
)->PageUp();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= PyInt_FromLong((long)result
);
23547 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23548 PyObject
*resultobj
;
23549 wxWindow
*arg1
= (wxWindow
*) 0 ;
23551 PyObject
* obj0
= 0 ;
23552 char *kwnames
[] = {
23553 (char *) "self", NULL
23556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 result
= (bool)(arg1
)->PageDown();
23562 wxPyEndAllowThreads(__tstate
);
23563 if (PyErr_Occurred()) SWIG_fail
;
23565 resultobj
= PyInt_FromLong((long)result
);
23572 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23573 PyObject
*resultobj
;
23574 wxWindow
*arg1
= (wxWindow
*) 0 ;
23575 wxString
*arg2
= 0 ;
23576 bool temp2
= false ;
23577 PyObject
* obj0
= 0 ;
23578 PyObject
* obj1
= 0 ;
23579 char *kwnames
[] = {
23580 (char *) "self",(char *) "text", NULL
23583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23586 arg2
= wxString_in_helper(obj1
);
23587 if (arg2
== NULL
) SWIG_fail
;
23591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23592 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23594 wxPyEndAllowThreads(__tstate
);
23595 if (PyErr_Occurred()) SWIG_fail
;
23597 Py_INCREF(Py_None
); resultobj
= Py_None
;
23612 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23613 PyObject
*resultobj
;
23614 wxWindow
*arg1
= (wxWindow
*) 0 ;
23615 wxString
*arg2
= 0 ;
23616 bool temp2
= false ;
23617 PyObject
* obj0
= 0 ;
23618 PyObject
* obj1
= 0 ;
23619 char *kwnames
[] = {
23620 (char *) "self",(char *) "text", NULL
23623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
23624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23626 arg2
= wxString_in_helper(obj1
);
23627 if (arg2
== NULL
) SWIG_fail
;
23631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23632 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
23634 wxPyEndAllowThreads(__tstate
);
23635 if (PyErr_Occurred()) SWIG_fail
;
23637 Py_INCREF(Py_None
); resultobj
= Py_None
;
23652 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23653 PyObject
*resultobj
;
23654 wxWindow
*arg1
= (wxWindow
*) 0 ;
23656 PyObject
* obj0
= 0 ;
23657 char *kwnames
[] = {
23658 (char *) "self", NULL
23661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
23662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23665 result
= ((wxWindow
const *)arg1
)->GetHelpText();
23667 wxPyEndAllowThreads(__tstate
);
23668 if (PyErr_Occurred()) SWIG_fail
;
23672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23683 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23684 PyObject
*resultobj
;
23685 wxWindow
*arg1
= (wxWindow
*) 0 ;
23686 wxString
*arg2
= 0 ;
23687 bool temp2
= false ;
23688 PyObject
* obj0
= 0 ;
23689 PyObject
* obj1
= 0 ;
23690 char *kwnames
[] = {
23691 (char *) "self",(char *) "tip", NULL
23694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
23695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23697 arg2
= wxString_in_helper(obj1
);
23698 if (arg2
== NULL
) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23723 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23724 PyObject
*resultobj
;
23725 wxWindow
*arg1
= (wxWindow
*) 0 ;
23726 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
23727 PyObject
* obj0
= 0 ;
23728 PyObject
* obj1
= 0 ;
23729 char *kwnames
[] = {
23730 (char *) "self",(char *) "tip", NULL
23733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23735 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 (arg1
)->SetToolTip(arg2
);
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 Py_INCREF(Py_None
); resultobj
= Py_None
;
23750 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxWindow
*arg1
= (wxWindow
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= wxPyMake_wxObject(result
);
23777 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23778 PyObject
*resultobj
;
23779 wxWindow
*arg1
= (wxWindow
*) 0 ;
23780 wxDropTarget
*arg2
= (wxDropTarget
*) 0 ;
23781 PyObject
* obj0
= 0 ;
23782 PyObject
* obj1
= 0 ;
23783 char *kwnames
[] = {
23784 (char *) "self",(char *) "dropTarget", NULL
23787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
23788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23789 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23792 (arg1
)->SetDropTarget(arg2
);
23794 wxPyEndAllowThreads(__tstate
);
23795 if (PyErr_Occurred()) SWIG_fail
;
23797 Py_INCREF(Py_None
); resultobj
= Py_None
;
23804 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23805 PyObject
*resultobj
;
23806 wxWindow
*arg1
= (wxWindow
*) 0 ;
23807 wxDropTarget
*result
;
23808 PyObject
* obj0
= 0 ;
23809 char *kwnames
[] = {
23810 (char *) "self", NULL
23813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
23814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 result
= (wxDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDropTarget
, 0);
23829 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23830 PyObject
*resultobj
;
23831 wxWindow
*arg1
= (wxWindow
*) 0 ;
23832 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
23833 PyObject
* obj0
= 0 ;
23834 PyObject
* obj1
= 0 ;
23835 char *kwnames
[] = {
23836 (char *) "self",(char *) "constraints", NULL
23839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
23840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23841 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23844 (arg1
)->SetConstraints(arg2
);
23846 wxPyEndAllowThreads(__tstate
);
23847 if (PyErr_Occurred()) SWIG_fail
;
23849 Py_INCREF(Py_None
); resultobj
= Py_None
;
23856 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23857 PyObject
*resultobj
;
23858 wxWindow
*arg1
= (wxWindow
*) 0 ;
23859 wxLayoutConstraints
*result
;
23860 PyObject
* obj0
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
23866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23869 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
23871 wxPyEndAllowThreads(__tstate
);
23872 if (PyErr_Occurred()) SWIG_fail
;
23874 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
23881 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23882 PyObject
*resultobj
;
23883 wxWindow
*arg1
= (wxWindow
*) 0 ;
23885 PyObject
* obj0
= 0 ;
23886 PyObject
* obj1
= 0 ;
23887 char *kwnames
[] = {
23888 (char *) "self",(char *) "autoLayout", NULL
23891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
23892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23893 arg2
= PyInt_AsLong(obj1
) ? true : false;
23894 if (PyErr_Occurred()) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 (arg1
)->SetAutoLayout(arg2
);
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23902 Py_INCREF(Py_None
); resultobj
= Py_None
;
23909 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23910 PyObject
*resultobj
;
23911 wxWindow
*arg1
= (wxWindow
*) 0 ;
23913 PyObject
* obj0
= 0 ;
23914 char *kwnames
[] = {
23915 (char *) "self", NULL
23918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
23919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23922 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
23924 wxPyEndAllowThreads(__tstate
);
23925 if (PyErr_Occurred()) SWIG_fail
;
23927 resultobj
= PyInt_FromLong((long)result
);
23934 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23935 PyObject
*resultobj
;
23936 wxWindow
*arg1
= (wxWindow
*) 0 ;
23938 PyObject
* obj0
= 0 ;
23939 char *kwnames
[] = {
23940 (char *) "self", NULL
23943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
23944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 result
= (bool)(arg1
)->Layout();
23949 wxPyEndAllowThreads(__tstate
);
23950 if (PyErr_Occurred()) SWIG_fail
;
23952 resultobj
= PyInt_FromLong((long)result
);
23959 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23960 PyObject
*resultobj
;
23961 wxWindow
*arg1
= (wxWindow
*) 0 ;
23962 wxSizer
*arg2
= (wxSizer
*) 0 ;
23963 bool arg3
= (bool) TRUE
;
23964 PyObject
* obj0
= 0 ;
23965 PyObject
* obj1
= 0 ;
23966 PyObject
* obj2
= 0 ;
23967 char *kwnames
[] = {
23968 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23975 arg3
= PyInt_AsLong(obj2
) ? true : false;
23976 if (PyErr_Occurred()) SWIG_fail
;
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 (arg1
)->SetSizer(arg2
,arg3
);
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 Py_INCREF(Py_None
); resultobj
= Py_None
;
23992 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
;
23994 wxWindow
*arg1
= (wxWindow
*) 0 ;
23995 wxSizer
*arg2
= (wxSizer
*) 0 ;
23996 bool arg3
= (bool) TRUE
;
23997 PyObject
* obj0
= 0 ;
23998 PyObject
* obj1
= 0 ;
23999 PyObject
* obj2
= 0 ;
24000 char *kwnames
[] = {
24001 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24006 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24008 arg3
= PyInt_AsLong(obj2
) ? true : false;
24009 if (PyErr_Occurred()) SWIG_fail
;
24012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24013 (arg1
)->SetSizerAndFit(arg2
,arg3
);
24015 wxPyEndAllowThreads(__tstate
);
24016 if (PyErr_Occurred()) SWIG_fail
;
24018 Py_INCREF(Py_None
); resultobj
= Py_None
;
24025 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24026 PyObject
*resultobj
;
24027 wxWindow
*arg1
= (wxWindow
*) 0 ;
24029 PyObject
* obj0
= 0 ;
24030 char *kwnames
[] = {
24031 (char *) "self", NULL
24034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
24035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24038 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
24040 wxPyEndAllowThreads(__tstate
);
24041 if (PyErr_Occurred()) SWIG_fail
;
24044 resultobj
= wxPyMake_wxSizer(result
);
24052 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24053 PyObject
*resultobj
;
24054 wxWindow
*arg1
= (wxWindow
*) 0 ;
24055 wxSizer
*arg2
= (wxSizer
*) 0 ;
24056 PyObject
* obj0
= 0 ;
24057 PyObject
* obj1
= 0 ;
24058 char *kwnames
[] = {
24059 (char *) "self",(char *) "sizer", NULL
24062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24064 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24067 (arg1
)->SetContainingSizer(arg2
);
24069 wxPyEndAllowThreads(__tstate
);
24070 if (PyErr_Occurred()) SWIG_fail
;
24072 Py_INCREF(Py_None
); resultobj
= Py_None
;
24079 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24080 PyObject
*resultobj
;
24081 wxWindow
*arg1
= (wxWindow
*) 0 ;
24083 PyObject
* obj0
= 0 ;
24084 char *kwnames
[] = {
24085 (char *) "self", NULL
24088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24092 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24094 wxPyEndAllowThreads(__tstate
);
24095 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= wxPyMake_wxSizer(result
);
24106 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24109 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24111 return Py_BuildValue((char *)"");
24113 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24114 PyObject
*resultobj
;
24116 wxWindow
*arg2
= (wxWindow
*) NULL
;
24118 PyObject
* obj1
= 0 ;
24119 char *kwnames
[] = {
24120 (char *) "id",(char *) "parent", NULL
24123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24125 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24135 resultobj
= wxPyMake_wxObject(result
);
24143 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24144 PyObject
*resultobj
;
24145 wxString
*arg1
= 0 ;
24146 wxWindow
*arg2
= (wxWindow
*) NULL
;
24148 bool temp1
= false ;
24149 PyObject
* obj0
= 0 ;
24150 PyObject
* obj1
= 0 ;
24151 char *kwnames
[] = {
24152 (char *) "name",(char *) "parent", NULL
24155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24157 arg1
= wxString_in_helper(obj0
);
24158 if (arg1
== NULL
) SWIG_fail
;
24162 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24166 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24168 wxPyEndAllowThreads(__tstate
);
24169 if (PyErr_Occurred()) SWIG_fail
;
24172 resultobj
= wxPyMake_wxObject(result
);
24188 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24189 PyObject
*resultobj
;
24190 wxString
*arg1
= 0 ;
24191 wxWindow
*arg2
= (wxWindow
*) NULL
;
24193 bool temp1
= false ;
24194 PyObject
* obj0
= 0 ;
24195 PyObject
* obj1
= 0 ;
24196 char *kwnames
[] = {
24197 (char *) "label",(char *) "parent", NULL
24200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24202 arg1
= wxString_in_helper(obj0
);
24203 if (arg1
== NULL
) SWIG_fail
;
24207 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24211 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24213 wxPyEndAllowThreads(__tstate
);
24214 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= wxPyMake_wxObject(result
);
24233 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
;
24235 unsigned long arg1
;
24237 PyObject
* obj0
= 0 ;
24238 char *kwnames
[] = {
24239 (char *) "hWnd", NULL
24242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24243 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= wxPyMake_wxObject(result
);
24261 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxValidator
*result
;
24264 char *kwnames
[] = {
24268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (wxValidator
*)new wxValidator();
24273 wxPyEndAllowThreads(__tstate
);
24274 if (PyErr_Occurred()) SWIG_fail
;
24277 resultobj
= wxPyMake_wxObject(result
);
24285 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24286 PyObject
*resultobj
;
24287 wxValidator
*arg1
= (wxValidator
*) 0 ;
24288 wxValidator
*result
;
24289 PyObject
* obj0
= 0 ;
24290 char *kwnames
[] = {
24291 (char *) "self", NULL
24294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 result
= (wxValidator
*)(arg1
)->Clone();
24300 wxPyEndAllowThreads(__tstate
);
24301 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= wxPyMake_wxObject(result
);
24312 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24313 PyObject
*resultobj
;
24314 wxValidator
*arg1
= (wxValidator
*) 0 ;
24315 wxWindow
*arg2
= (wxWindow
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self",(char *) "parent", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24328 result
= (bool)(arg1
)->Validate(arg2
);
24330 wxPyEndAllowThreads(__tstate
);
24331 if (PyErr_Occurred()) SWIG_fail
;
24333 resultobj
= PyInt_FromLong((long)result
);
24340 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24341 PyObject
*resultobj
;
24342 wxValidator
*arg1
= (wxValidator
*) 0 ;
24344 PyObject
* obj0
= 0 ;
24345 char *kwnames
[] = {
24346 (char *) "self", NULL
24349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24353 result
= (bool)(arg1
)->TransferToWindow();
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= PyInt_FromLong((long)result
);
24365 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24366 PyObject
*resultobj
;
24367 wxValidator
*arg1
= (wxValidator
*) 0 ;
24369 PyObject
* obj0
= 0 ;
24370 char *kwnames
[] = {
24371 (char *) "self", NULL
24374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24378 result
= (bool)(arg1
)->TransferFromWindow();
24380 wxPyEndAllowThreads(__tstate
);
24381 if (PyErr_Occurred()) SWIG_fail
;
24383 resultobj
= PyInt_FromLong((long)result
);
24390 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24391 PyObject
*resultobj
;
24392 wxValidator
*arg1
= (wxValidator
*) 0 ;
24394 PyObject
* obj0
= 0 ;
24395 char *kwnames
[] = {
24396 (char *) "self", NULL
24399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 result
= (wxWindow
*)(arg1
)->GetWindow();
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24409 resultobj
= wxPyMake_wxObject(result
);
24417 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24418 PyObject
*resultobj
;
24419 wxValidator
*arg1
= (wxValidator
*) 0 ;
24420 wxWindow
*arg2
= (wxWindow
*) 0 ;
24421 PyObject
* obj0
= 0 ;
24422 PyObject
* obj1
= 0 ;
24423 char *kwnames
[] = {
24424 (char *) "self",(char *) "window", NULL
24427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24429 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 (arg1
)->SetWindow(arg2
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 Py_INCREF(Py_None
); resultobj
= Py_None
;
24444 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
;
24447 char *kwnames
[] = {
24451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= (bool)wxValidator::IsSilent();
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= PyInt_FromLong((long)result
);
24466 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 int arg1
= (int) TRUE
;
24469 char *kwnames
[] = {
24470 (char *) "doIt", NULL
24473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 wxValidator::SetBellOnError(arg1
);
24478 wxPyEndAllowThreads(__tstate
);
24479 if (PyErr_Occurred()) SWIG_fail
;
24481 Py_INCREF(Py_None
); resultobj
= Py_None
;
24488 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24491 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24493 return Py_BuildValue((char *)"");
24495 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24496 PyObject
*resultobj
;
24497 wxPyValidator
*result
;
24498 char *kwnames
[] = {
24502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 result
= (wxPyValidator
*)new wxPyValidator();
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24517 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24518 PyObject
*resultobj
;
24519 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24520 PyObject
*arg2
= (PyObject
*) 0 ;
24521 PyObject
*arg3
= (PyObject
*) 0 ;
24522 int arg4
= (int) TRUE
;
24523 PyObject
* obj0
= 0 ;
24524 PyObject
* obj1
= 0 ;
24525 PyObject
* obj2
= 0 ;
24526 char *kwnames
[] = {
24527 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24536 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24538 wxPyEndAllowThreads(__tstate
);
24539 if (PyErr_Occurred()) SWIG_fail
;
24541 Py_INCREF(Py_None
); resultobj
= Py_None
;
24548 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24550 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24551 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24553 return Py_BuildValue((char *)"");
24555 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24556 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24561 static PyObject
*_wrap_DefaultValidator_get() {
24564 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24569 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24570 PyObject
*resultobj
;
24571 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24572 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24573 long arg2
= (long) 0 ;
24575 bool temp1
= false ;
24576 PyObject
* obj0
= 0 ;
24577 char *kwnames
[] = {
24578 (char *) "title",(char *) "style", NULL
24581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
24584 arg1
= wxString_in_helper(obj0
);
24585 if (arg1
== NULL
) SWIG_fail
;
24590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24591 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
24593 wxPyEndAllowThreads(__tstate
);
24594 if (PyErr_Occurred()) SWIG_fail
;
24597 resultobj
= wxPyMake_wxObject(result
);
24613 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24614 PyObject
*resultobj
;
24615 wxMenu
*arg1
= (wxMenu
*) 0 ;
24617 wxString
*arg3
= 0 ;
24618 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24619 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24620 int arg5
= (int) wxITEM_NORMAL
;
24621 bool temp3
= false ;
24622 bool temp4
= false ;
24623 PyObject
* obj0
= 0 ;
24624 PyObject
* obj2
= 0 ;
24625 PyObject
* obj3
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24633 arg3
= wxString_in_helper(obj2
);
24634 if (arg3
== NULL
) SWIG_fail
;
24639 arg4
= wxString_in_helper(obj3
);
24640 if (arg4
== NULL
) SWIG_fail
;
24645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24646 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
24648 wxPyEndAllowThreads(__tstate
);
24649 if (PyErr_Occurred()) SWIG_fail
;
24651 Py_INCREF(Py_None
); resultobj
= Py_None
;
24674 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24675 PyObject
*resultobj
;
24676 wxMenu
*arg1
= (wxMenu
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 char *kwnames
[] = {
24679 (char *) "self", NULL
24682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
24683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24686 (arg1
)->AppendSeparator();
24688 wxPyEndAllowThreads(__tstate
);
24689 if (PyErr_Occurred()) SWIG_fail
;
24691 Py_INCREF(Py_None
); resultobj
= Py_None
;
24698 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxMenu
*arg1
= (wxMenu
*) 0 ;
24702 wxString
*arg3
= 0 ;
24703 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24704 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24705 bool temp3
= false ;
24706 bool temp4
= false ;
24707 PyObject
* obj0
= 0 ;
24708 PyObject
* obj2
= 0 ;
24709 PyObject
* obj3
= 0 ;
24710 char *kwnames
[] = {
24711 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24717 arg3
= wxString_in_helper(obj2
);
24718 if (arg3
== NULL
) SWIG_fail
;
24723 arg4
= wxString_in_helper(obj3
);
24724 if (arg4
== NULL
) SWIG_fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 Py_INCREF(Py_None
); resultobj
= Py_None
;
24758 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24759 PyObject
*resultobj
;
24760 wxMenu
*arg1
= (wxMenu
*) 0 ;
24762 wxString
*arg3
= 0 ;
24763 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24764 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24765 bool temp3
= false ;
24766 bool temp4
= false ;
24767 PyObject
* obj0
= 0 ;
24768 PyObject
* obj2
= 0 ;
24769 PyObject
* obj3
= 0 ;
24770 char *kwnames
[] = {
24771 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24777 arg3
= wxString_in_helper(obj2
);
24778 if (arg3
== NULL
) SWIG_fail
;
24783 arg4
= wxString_in_helper(obj3
);
24784 if (arg4
== NULL
) SWIG_fail
;
24789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24790 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 Py_INCREF(Py_None
); resultobj
= Py_None
;
24818 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24819 PyObject
*resultobj
;
24820 wxMenu
*arg1
= (wxMenu
*) 0 ;
24822 wxString
*arg3
= 0 ;
24823 wxMenu
*arg4
= (wxMenu
*) 0 ;
24824 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24825 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24826 bool temp3
= false ;
24827 bool temp5
= false ;
24828 PyObject
* obj0
= 0 ;
24829 PyObject
* obj2
= 0 ;
24830 PyObject
* obj3
= 0 ;
24831 PyObject
* obj4
= 0 ;
24832 char *kwnames
[] = {
24833 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
24837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24839 arg3
= wxString_in_helper(obj2
);
24840 if (arg3
== NULL
) SWIG_fail
;
24843 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24846 arg5
= wxString_in_helper(obj4
);
24847 if (arg5
== NULL
) SWIG_fail
;
24852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24853 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
24855 wxPyEndAllowThreads(__tstate
);
24856 if (PyErr_Occurred()) SWIG_fail
;
24858 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxMenu
*arg1
= (wxMenu
*) 0 ;
24884 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
24885 PyObject
* obj0
= 0 ;
24886 PyObject
* obj1
= 0 ;
24887 char *kwnames
[] = {
24888 (char *) "self",(char *) "item", NULL
24891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24893 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24896 (arg1
)->Append(arg2
);
24898 wxPyEndAllowThreads(__tstate
);
24899 if (PyErr_Occurred()) SWIG_fail
;
24901 Py_INCREF(Py_None
); resultobj
= Py_None
;
24908 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24909 PyObject
*resultobj
;
24910 wxMenu
*arg1
= (wxMenu
*) 0 ;
24911 PyObject
* obj0
= 0 ;
24912 char *kwnames
[] = {
24913 (char *) "self", NULL
24916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
24917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24922 wxPyEndAllowThreads(__tstate
);
24923 if (PyErr_Occurred()) SWIG_fail
;
24925 Py_INCREF(Py_None
); resultobj
= Py_None
;
24932 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24933 PyObject
*resultobj
;
24934 wxMenu
*arg1
= (wxMenu
*) 0 ;
24936 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
24938 PyObject
* obj0
= 0 ;
24939 PyObject
* obj1
= 0 ;
24940 PyObject
* obj2
= 0 ;
24941 char *kwnames
[] = {
24942 (char *) "self",(char *) "pos",(char *) "item", NULL
24945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24947 arg2
= (size_t) PyInt_AsLong(obj1
);
24948 if (PyErr_Occurred()) SWIG_fail
;
24949 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 resultobj
= PyInt_FromLong((long)result
);
24964 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24965 PyObject
*resultobj
;
24966 wxMenu
*arg1
= (wxMenu
*) 0 ;
24969 wxString
*arg4
= 0 ;
24970 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24971 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24972 int arg6
= (int) wxITEM_NORMAL
;
24973 bool temp4
= false ;
24974 bool temp5
= false ;
24975 PyObject
* obj0
= 0 ;
24976 PyObject
* obj1
= 0 ;
24977 PyObject
* obj3
= 0 ;
24978 PyObject
* obj4
= 0 ;
24979 char *kwnames
[] = {
24980 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24985 arg2
= (size_t) PyInt_AsLong(obj1
);
24986 if (PyErr_Occurred()) SWIG_fail
;
24988 arg4
= wxString_in_helper(obj3
);
24989 if (arg4
== NULL
) SWIG_fail
;
24994 arg5
= wxString_in_helper(obj4
);
24995 if (arg5
== NULL
) SWIG_fail
;
25000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25001 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
25003 wxPyEndAllowThreads(__tstate
);
25004 if (PyErr_Occurred()) SWIG_fail
;
25006 Py_INCREF(Py_None
); resultobj
= Py_None
;
25029 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25030 PyObject
*resultobj
;
25031 wxMenu
*arg1
= (wxMenu
*) 0 ;
25033 PyObject
* obj0
= 0 ;
25034 PyObject
* obj1
= 0 ;
25035 char *kwnames
[] = {
25036 (char *) "self",(char *) "pos", NULL
25039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25045 (arg1
)->InsertSeparator(arg2
);
25047 wxPyEndAllowThreads(__tstate
);
25048 if (PyErr_Occurred()) SWIG_fail
;
25050 Py_INCREF(Py_None
); resultobj
= Py_None
;
25057 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25058 PyObject
*resultobj
;
25059 wxMenu
*arg1
= (wxMenu
*) 0 ;
25062 wxString
*arg4
= 0 ;
25063 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25064 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25065 bool temp4
= false ;
25066 bool temp5
= false ;
25067 PyObject
* obj0
= 0 ;
25068 PyObject
* obj1
= 0 ;
25069 PyObject
* obj3
= 0 ;
25070 PyObject
* obj4
= 0 ;
25071 char *kwnames
[] = {
25072 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25077 arg2
= (size_t) PyInt_AsLong(obj1
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 arg4
= wxString_in_helper(obj3
);
25081 if (arg4
== NULL
) SWIG_fail
;
25086 arg5
= wxString_in_helper(obj4
);
25087 if (arg5
== NULL
) SWIG_fail
;
25092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25093 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25095 wxPyEndAllowThreads(__tstate
);
25096 if (PyErr_Occurred()) SWIG_fail
;
25098 Py_INCREF(Py_None
); resultobj
= Py_None
;
25121 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25122 PyObject
*resultobj
;
25123 wxMenu
*arg1
= (wxMenu
*) 0 ;
25126 wxString
*arg4
= 0 ;
25127 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25128 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25129 bool temp4
= false ;
25130 bool temp5
= false ;
25131 PyObject
* obj0
= 0 ;
25132 PyObject
* obj1
= 0 ;
25133 PyObject
* obj3
= 0 ;
25134 PyObject
* obj4
= 0 ;
25135 char *kwnames
[] = {
25136 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25141 arg2
= (size_t) PyInt_AsLong(obj1
);
25142 if (PyErr_Occurred()) SWIG_fail
;
25144 arg4
= wxString_in_helper(obj3
);
25145 if (arg4
== NULL
) SWIG_fail
;
25150 arg5
= wxString_in_helper(obj4
);
25151 if (arg5
== NULL
) SWIG_fail
;
25156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25157 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25159 wxPyEndAllowThreads(__tstate
);
25160 if (PyErr_Occurred()) SWIG_fail
;
25162 Py_INCREF(Py_None
); resultobj
= Py_None
;
25185 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25186 PyObject
*resultobj
;
25187 wxMenu
*arg1
= (wxMenu
*) 0 ;
25190 wxString
*arg4
= 0 ;
25191 wxMenu
*arg5
= (wxMenu
*) 0 ;
25192 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25193 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25194 bool temp4
= false ;
25195 bool temp6
= false ;
25196 PyObject
* obj0
= 0 ;
25197 PyObject
* obj1
= 0 ;
25198 PyObject
* obj3
= 0 ;
25199 PyObject
* obj4
= 0 ;
25200 PyObject
* obj5
= 0 ;
25201 char *kwnames
[] = {
25202 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25207 arg2
= (size_t) PyInt_AsLong(obj1
);
25208 if (PyErr_Occurred()) SWIG_fail
;
25210 arg4
= wxString_in_helper(obj3
);
25211 if (arg4
== NULL
) SWIG_fail
;
25214 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25217 arg6
= wxString_in_helper(obj5
);
25218 if (arg6
== NULL
) SWIG_fail
;
25223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25224 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25226 wxPyEndAllowThreads(__tstate
);
25227 if (PyErr_Occurred()) SWIG_fail
;
25229 Py_INCREF(Py_None
); resultobj
= Py_None
;
25252 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25253 PyObject
*resultobj
;
25254 wxMenu
*arg1
= (wxMenu
*) 0 ;
25255 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 char *kwnames
[] = {
25259 (char *) "self",(char *) "item", NULL
25262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25264 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25267 (arg1
)->Prepend(arg2
);
25269 wxPyEndAllowThreads(__tstate
);
25270 if (PyErr_Occurred()) SWIG_fail
;
25272 Py_INCREF(Py_None
); resultobj
= Py_None
;
25279 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25280 PyObject
*resultobj
;
25281 wxMenu
*arg1
= (wxMenu
*) 0 ;
25283 wxString
*arg3
= 0 ;
25284 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25285 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25286 int arg5
= (int) wxITEM_NORMAL
;
25287 bool temp3
= false ;
25288 bool temp4
= false ;
25289 PyObject
* obj0
= 0 ;
25290 PyObject
* obj2
= 0 ;
25291 PyObject
* obj3
= 0 ;
25292 char *kwnames
[] = {
25293 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25299 arg3
= wxString_in_helper(obj2
);
25300 if (arg3
== NULL
) SWIG_fail
;
25305 arg4
= wxString_in_helper(obj3
);
25306 if (arg4
== NULL
) SWIG_fail
;
25311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25312 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25314 wxPyEndAllowThreads(__tstate
);
25315 if (PyErr_Occurred()) SWIG_fail
;
25317 Py_INCREF(Py_None
); resultobj
= Py_None
;
25340 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25341 PyObject
*resultobj
;
25342 wxMenu
*arg1
= (wxMenu
*) 0 ;
25343 PyObject
* obj0
= 0 ;
25344 char *kwnames
[] = {
25345 (char *) "self", NULL
25348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25352 (arg1
)->PrependSeparator();
25354 wxPyEndAllowThreads(__tstate
);
25355 if (PyErr_Occurred()) SWIG_fail
;
25357 Py_INCREF(Py_None
); resultobj
= Py_None
;
25364 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25365 PyObject
*resultobj
;
25366 wxMenu
*arg1
= (wxMenu
*) 0 ;
25368 wxString
*arg3
= 0 ;
25369 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25370 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25371 bool temp3
= false ;
25372 bool temp4
= false ;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj2
= 0 ;
25375 PyObject
* obj3
= 0 ;
25376 char *kwnames
[] = {
25377 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25383 arg3
= wxString_in_helper(obj2
);
25384 if (arg3
== NULL
) SWIG_fail
;
25389 arg4
= wxString_in_helper(obj3
);
25390 if (arg4
== NULL
) SWIG_fail
;
25395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25396 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 Py_INCREF(Py_None
); resultobj
= Py_None
;
25424 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25425 PyObject
*resultobj
;
25426 wxMenu
*arg1
= (wxMenu
*) 0 ;
25428 wxString
*arg3
= 0 ;
25429 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25430 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25431 bool temp3
= false ;
25432 bool temp4
= false ;
25433 PyObject
* obj0
= 0 ;
25434 PyObject
* obj2
= 0 ;
25435 PyObject
* obj3
= 0 ;
25436 char *kwnames
[] = {
25437 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25443 arg3
= wxString_in_helper(obj2
);
25444 if (arg3
== NULL
) SWIG_fail
;
25449 arg4
= wxString_in_helper(obj3
);
25450 if (arg4
== NULL
) SWIG_fail
;
25455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25456 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25458 wxPyEndAllowThreads(__tstate
);
25459 if (PyErr_Occurred()) SWIG_fail
;
25461 Py_INCREF(Py_None
); resultobj
= Py_None
;
25484 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25485 PyObject
*resultobj
;
25486 wxMenu
*arg1
= (wxMenu
*) 0 ;
25488 wxString
*arg3
= 0 ;
25489 wxMenu
*arg4
= (wxMenu
*) 0 ;
25490 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25491 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25492 bool temp3
= false ;
25493 bool temp5
= false ;
25494 PyObject
* obj0
= 0 ;
25495 PyObject
* obj2
= 0 ;
25496 PyObject
* obj3
= 0 ;
25497 PyObject
* obj4
= 0 ;
25498 char *kwnames
[] = {
25499 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25505 arg3
= wxString_in_helper(obj2
);
25506 if (arg3
== NULL
) SWIG_fail
;
25509 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25512 arg5
= wxString_in_helper(obj4
);
25513 if (arg5
== NULL
) SWIG_fail
;
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25521 wxPyEndAllowThreads(__tstate
);
25522 if (PyErr_Occurred()) SWIG_fail
;
25524 Py_INCREF(Py_None
); resultobj
= Py_None
;
25547 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25548 PyObject
*resultobj
;
25549 wxMenu
*arg1
= (wxMenu
*) 0 ;
25551 wxMenuItem
*result
;
25552 PyObject
* obj0
= 0 ;
25553 char *kwnames
[] = {
25554 (char *) "self",(char *) "itemid", NULL
25557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25561 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25563 wxPyEndAllowThreads(__tstate
);
25564 if (PyErr_Occurred()) SWIG_fail
;
25567 resultobj
= wxPyMake_wxObject(result
);
25575 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25576 PyObject
*resultobj
;
25577 wxMenu
*arg1
= (wxMenu
*) 0 ;
25578 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25579 wxMenuItem
*result
;
25580 PyObject
* obj0
= 0 ;
25581 PyObject
* obj1
= 0 ;
25582 char *kwnames
[] = {
25583 (char *) "self",(char *) "item", NULL
25586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25591 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25593 wxPyEndAllowThreads(__tstate
);
25594 if (PyErr_Occurred()) SWIG_fail
;
25597 resultobj
= wxPyMake_wxObject(result
);
25605 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25606 PyObject
*resultobj
;
25607 wxMenu
*arg1
= (wxMenu
*) 0 ;
25610 PyObject
* obj0
= 0 ;
25611 char *kwnames
[] = {
25612 (char *) "self",(char *) "itemid", NULL
25615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
25616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25619 result
= (bool)(arg1
)->Delete(arg2
);
25621 wxPyEndAllowThreads(__tstate
);
25622 if (PyErr_Occurred()) SWIG_fail
;
25624 resultobj
= PyInt_FromLong((long)result
);
25631 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25632 PyObject
*resultobj
;
25633 wxMenu
*arg1
= (wxMenu
*) 0 ;
25634 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
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_DeleteItem",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
= (bool)(arg1
)->Delete(arg2
);
25649 wxPyEndAllowThreads(__tstate
);
25650 if (PyErr_Occurred()) SWIG_fail
;
25652 resultobj
= PyInt_FromLong((long)result
);
25659 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25660 PyObject
*resultobj
;
25661 wxMenu
*arg1
= (wxMenu
*) 0 ;
25662 PyObject
* obj0
= 0 ;
25663 char *kwnames
[] = {
25664 (char *) "self", NULL
25667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
25668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25671 wxMenu_Destroy(arg1
);
25673 wxPyEndAllowThreads(__tstate
);
25674 if (PyErr_Occurred()) SWIG_fail
;
25676 Py_INCREF(Py_None
); resultobj
= Py_None
;
25683 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25684 PyObject
*resultobj
;
25685 wxMenu
*arg1
= (wxMenu
*) 0 ;
25688 PyObject
* obj0
= 0 ;
25689 char *kwnames
[] = {
25690 (char *) "self",(char *) "itemid", NULL
25693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
25694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (bool)(arg1
)->Destroy(arg2
);
25699 wxPyEndAllowThreads(__tstate
);
25700 if (PyErr_Occurred()) SWIG_fail
;
25702 resultobj
= PyInt_FromLong((long)result
);
25709 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxMenu
*arg1
= (wxMenu
*) 0 ;
25712 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25714 PyObject
* obj0
= 0 ;
25715 PyObject
* obj1
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self",(char *) "item", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (bool)(arg1
)->Destroy(arg2
);
25727 wxPyEndAllowThreads(__tstate
);
25728 if (PyErr_Occurred()) SWIG_fail
;
25730 resultobj
= PyInt_FromLong((long)result
);
25737 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25738 PyObject
*resultobj
;
25739 wxMenu
*arg1
= (wxMenu
*) 0 ;
25741 PyObject
* obj0
= 0 ;
25742 char *kwnames
[] = {
25743 (char *) "self", NULL
25746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
25747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25750 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
25752 wxPyEndAllowThreads(__tstate
);
25753 if (PyErr_Occurred()) SWIG_fail
;
25755 resultobj
= PyInt_FromLong((long)result
);
25762 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25763 PyObject
*resultobj
;
25764 wxMenu
*arg1
= (wxMenu
*) 0 ;
25766 PyObject
* obj0
= 0 ;
25767 char *kwnames
[] = {
25768 (char *) "self", NULL
25771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
25772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25775 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= result
;
25787 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25788 PyObject
*resultobj
;
25789 wxMenu
*arg1
= (wxMenu
*) 0 ;
25790 wxString
*arg2
= 0 ;
25792 bool temp2
= false ;
25793 PyObject
* obj0
= 0 ;
25794 PyObject
* obj1
= 0 ;
25795 char *kwnames
[] = {
25796 (char *) "self",(char *) "item", NULL
25799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25802 arg2
= wxString_in_helper(obj1
);
25803 if (arg2
== NULL
) SWIG_fail
;
25807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25808 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= PyInt_FromLong((long)result
);
25828 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxMenu
*arg1
= (wxMenu
*) 0 ;
25832 wxMenuItem
*result
;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "itemid", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= wxPyMake_wxObject(result
);
25856 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxMenu
*arg1
= (wxMenu
*) 0 ;
25860 wxMenuItem
*result
;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "position", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25869 arg2
= (size_t) PyInt_AsLong(obj1
);
25870 if (PyErr_Occurred()) SWIG_fail
;
25872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25873 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
25875 wxPyEndAllowThreads(__tstate
);
25876 if (PyErr_Occurred()) SWIG_fail
;
25879 resultobj
= wxPyMake_wxObject(result
);
25887 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25888 PyObject
*resultobj
;
25889 wxMenu
*arg1
= (wxMenu
*) 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj2
= 0 ;
25894 char *kwnames
[] = {
25895 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25900 arg3
= PyInt_AsLong(obj2
) ? true : false;
25901 if (PyErr_Occurred()) SWIG_fail
;
25903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25904 (arg1
)->Enable(arg2
,arg3
);
25906 wxPyEndAllowThreads(__tstate
);
25907 if (PyErr_Occurred()) SWIG_fail
;
25909 Py_INCREF(Py_None
); resultobj
= Py_None
;
25916 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25917 PyObject
*resultobj
;
25918 wxMenu
*arg1
= (wxMenu
*) 0 ;
25921 PyObject
* obj0
= 0 ;
25922 char *kwnames
[] = {
25923 (char *) "self",(char *) "itemid", NULL
25926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
25927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25930 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
25932 wxPyEndAllowThreads(__tstate
);
25933 if (PyErr_Occurred()) SWIG_fail
;
25935 resultobj
= PyInt_FromLong((long)result
);
25942 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25943 PyObject
*resultobj
;
25944 wxMenu
*arg1
= (wxMenu
*) 0 ;
25947 PyObject
* obj0
= 0 ;
25948 PyObject
* obj2
= 0 ;
25949 char *kwnames
[] = {
25950 (char *) "self",(char *) "itemid",(char *) "check", NULL
25953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25955 arg3
= PyInt_AsLong(obj2
) ? true : false;
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25959 (arg1
)->Check(arg2
,arg3
);
25961 wxPyEndAllowThreads(__tstate
);
25962 if (PyErr_Occurred()) SWIG_fail
;
25964 Py_INCREF(Py_None
); resultobj
= Py_None
;
25971 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25972 PyObject
*resultobj
;
25973 wxMenu
*arg1
= (wxMenu
*) 0 ;
25976 PyObject
* obj0
= 0 ;
25977 char *kwnames
[] = {
25978 (char *) "self",(char *) "itemid", NULL
25981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
25982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25985 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
25987 wxPyEndAllowThreads(__tstate
);
25988 if (PyErr_Occurred()) SWIG_fail
;
25990 resultobj
= PyInt_FromLong((long)result
);
25997 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25998 PyObject
*resultobj
;
25999 wxMenu
*arg1
= (wxMenu
*) 0 ;
26001 wxString
*arg3
= 0 ;
26002 bool temp3
= false ;
26003 PyObject
* obj0
= 0 ;
26004 PyObject
* obj2
= 0 ;
26005 char *kwnames
[] = {
26006 (char *) "self",(char *) "itemid",(char *) "label", NULL
26009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26012 arg3
= wxString_in_helper(obj2
);
26013 if (arg3
== NULL
) SWIG_fail
;
26017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26018 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 Py_INCREF(Py_None
); resultobj
= Py_None
;
26038 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26039 PyObject
*resultobj
;
26040 wxMenu
*arg1
= (wxMenu
*) 0 ;
26043 PyObject
* obj0
= 0 ;
26044 char *kwnames
[] = {
26045 (char *) "self",(char *) "itemid", NULL
26048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
26049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26052 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26054 wxPyEndAllowThreads(__tstate
);
26055 if (PyErr_Occurred()) SWIG_fail
;
26059 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26061 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26070 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxMenu
*arg1
= (wxMenu
*) 0 ;
26074 wxString
*arg3
= 0 ;
26075 bool temp3
= false ;
26076 PyObject
* obj0
= 0 ;
26077 PyObject
* obj2
= 0 ;
26078 char *kwnames
[] = {
26079 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
26082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26085 arg3
= wxString_in_helper(obj2
);
26086 if (arg3
== NULL
) SWIG_fail
;
26090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26091 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26093 wxPyEndAllowThreads(__tstate
);
26094 if (PyErr_Occurred()) SWIG_fail
;
26096 Py_INCREF(Py_None
); resultobj
= Py_None
;
26111 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26112 PyObject
*resultobj
;
26113 wxMenu
*arg1
= (wxMenu
*) 0 ;
26116 PyObject
* obj0
= 0 ;
26117 char *kwnames
[] = {
26118 (char *) "self",(char *) "itemid", NULL
26121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26125 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26127 wxPyEndAllowThreads(__tstate
);
26128 if (PyErr_Occurred()) SWIG_fail
;
26132 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26134 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26143 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26144 PyObject
*resultobj
;
26145 wxMenu
*arg1
= (wxMenu
*) 0 ;
26146 wxString
*arg2
= 0 ;
26147 bool temp2
= false ;
26148 PyObject
* obj0
= 0 ;
26149 PyObject
* obj1
= 0 ;
26150 char *kwnames
[] = {
26151 (char *) "self",(char *) "title", NULL
26154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26157 arg2
= wxString_in_helper(obj1
);
26158 if (arg2
== NULL
) SWIG_fail
;
26162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26163 (arg1
)->SetTitle((wxString
const &)*arg2
);
26165 wxPyEndAllowThreads(__tstate
);
26166 if (PyErr_Occurred()) SWIG_fail
;
26168 Py_INCREF(Py_None
); resultobj
= Py_None
;
26183 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26184 PyObject
*resultobj
;
26185 wxMenu
*arg1
= (wxMenu
*) 0 ;
26187 PyObject
* obj0
= 0 ;
26188 char *kwnames
[] = {
26189 (char *) "self", NULL
26192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26196 result
= ((wxMenu
const *)arg1
)->GetTitle();
26198 wxPyEndAllowThreads(__tstate
);
26199 if (PyErr_Occurred()) SWIG_fail
;
26203 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26205 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26214 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26215 PyObject
*resultobj
;
26216 wxMenu
*arg1
= (wxMenu
*) 0 ;
26217 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 PyObject
* obj1
= 0 ;
26220 char *kwnames
[] = {
26221 (char *) "self",(char *) "handler", NULL
26224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26226 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26229 (arg1
)->SetEventHandler(arg2
);
26231 wxPyEndAllowThreads(__tstate
);
26232 if (PyErr_Occurred()) SWIG_fail
;
26234 Py_INCREF(Py_None
); resultobj
= Py_None
;
26241 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26242 PyObject
*resultobj
;
26243 wxMenu
*arg1
= (wxMenu
*) 0 ;
26244 wxEvtHandler
*result
;
26245 PyObject
* obj0
= 0 ;
26246 char *kwnames
[] = {
26247 (char *) "self", NULL
26250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26254 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26256 wxPyEndAllowThreads(__tstate
);
26257 if (PyErr_Occurred()) SWIG_fail
;
26260 resultobj
= wxPyMake_wxObject(result
);
26268 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26269 PyObject
*resultobj
;
26270 wxMenu
*arg1
= (wxMenu
*) 0 ;
26271 wxWindow
*arg2
= (wxWindow
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char *kwnames
[] = {
26275 (char *) "self",(char *) "win", NULL
26278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26280 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 (arg1
)->SetInvokingWindow(arg2
);
26285 wxPyEndAllowThreads(__tstate
);
26286 if (PyErr_Occurred()) SWIG_fail
;
26288 Py_INCREF(Py_None
); resultobj
= Py_None
;
26295 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxMenu
*arg1
= (wxMenu
*) 0 ;
26299 PyObject
* obj0
= 0 ;
26300 char *kwnames
[] = {
26301 (char *) "self", NULL
26304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26308 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26310 wxPyEndAllowThreads(__tstate
);
26311 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= wxPyMake_wxObject(result
);
26322 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26323 PyObject
*resultobj
;
26324 wxMenu
*arg1
= (wxMenu
*) 0 ;
26326 PyObject
* obj0
= 0 ;
26327 char *kwnames
[] = {
26328 (char *) "self", NULL
26331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26335 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26337 wxPyEndAllowThreads(__tstate
);
26338 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= PyInt_FromLong((long)result
);
26347 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26348 PyObject
*resultobj
;
26349 wxMenu
*arg1
= (wxMenu
*) 0 ;
26350 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26351 PyObject
* obj0
= 0 ;
26352 PyObject
* obj1
= 0 ;
26353 char *kwnames
[] = {
26354 (char *) "self",(char *) "source", NULL
26357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26360 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26364 (arg1
)->UpdateUI(arg2
);
26366 wxPyEndAllowThreads(__tstate
);
26367 if (PyErr_Occurred()) SWIG_fail
;
26369 Py_INCREF(Py_None
); resultobj
= Py_None
;
26376 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26377 PyObject
*resultobj
;
26378 wxMenu
*arg1
= (wxMenu
*) 0 ;
26380 PyObject
* obj0
= 0 ;
26381 char *kwnames
[] = {
26382 (char *) "self", NULL
26385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26389 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26391 wxPyEndAllowThreads(__tstate
);
26392 if (PyErr_Occurred()) SWIG_fail
;
26395 resultobj
= wxPyMake_wxObject(result
);
26403 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxMenu
*arg1
= (wxMenu
*) 0 ;
26406 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26407 PyObject
* obj0
= 0 ;
26408 PyObject
* obj1
= 0 ;
26409 char *kwnames
[] = {
26410 (char *) "self",(char *) "menubar", NULL
26413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26415 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 (arg1
)->Attach(arg2
);
26420 wxPyEndAllowThreads(__tstate
);
26421 if (PyErr_Occurred()) SWIG_fail
;
26423 Py_INCREF(Py_None
); resultobj
= Py_None
;
26430 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26431 PyObject
*resultobj
;
26432 wxMenu
*arg1
= (wxMenu
*) 0 ;
26433 PyObject
* obj0
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 wxPyEndAllowThreads(__tstate
);
26445 if (PyErr_Occurred()) SWIG_fail
;
26447 Py_INCREF(Py_None
); resultobj
= Py_None
;
26454 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26455 PyObject
*resultobj
;
26456 wxMenu
*arg1
= (wxMenu
*) 0 ;
26458 PyObject
* obj0
= 0 ;
26459 char *kwnames
[] = {
26460 (char *) "self", NULL
26463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26467 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26469 wxPyEndAllowThreads(__tstate
);
26470 if (PyErr_Occurred()) SWIG_fail
;
26472 resultobj
= PyInt_FromLong((long)result
);
26479 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26480 PyObject
*resultobj
;
26481 wxMenu
*arg1
= (wxMenu
*) 0 ;
26482 wxMenu
*arg2
= (wxMenu
*) 0 ;
26483 PyObject
* obj0
= 0 ;
26484 PyObject
* obj1
= 0 ;
26485 char *kwnames
[] = {
26486 (char *) "self",(char *) "parent", NULL
26489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26494 (arg1
)->SetParent(arg2
);
26496 wxPyEndAllowThreads(__tstate
);
26497 if (PyErr_Occurred()) SWIG_fail
;
26499 Py_INCREF(Py_None
); resultobj
= Py_None
;
26506 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26507 PyObject
*resultobj
;
26508 wxMenu
*arg1
= (wxMenu
*) 0 ;
26510 PyObject
* obj0
= 0 ;
26511 char *kwnames
[] = {
26512 (char *) "self", NULL
26515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26519 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26521 wxPyEndAllowThreads(__tstate
);
26522 if (PyErr_Occurred()) SWIG_fail
;
26525 resultobj
= wxPyMake_wxObject(result
);
26533 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26535 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26536 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26538 return Py_BuildValue((char *)"");
26540 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26541 PyObject
*resultobj
;
26542 long arg1
= (long) 0 ;
26544 char *kwnames
[] = {
26545 (char *) "style", NULL
26548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26551 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26553 wxPyEndAllowThreads(__tstate
);
26554 if (PyErr_Occurred()) SWIG_fail
;
26557 resultobj
= wxPyMake_wxObject(result
);
26565 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26566 PyObject
*resultobj
;
26567 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26568 wxMenu
*arg2
= (wxMenu
*) 0 ;
26569 wxString
*arg3
= 0 ;
26571 bool temp3
= false ;
26572 PyObject
* obj0
= 0 ;
26573 PyObject
* obj1
= 0 ;
26574 PyObject
* obj2
= 0 ;
26575 char *kwnames
[] = {
26576 (char *) "self",(char *) "menu",(char *) "title", NULL
26579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26583 arg3
= wxString_in_helper(obj2
);
26584 if (arg3
== NULL
) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 resultobj
= PyInt_FromLong((long)result
);
26609 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26610 PyObject
*resultobj
;
26611 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26613 wxMenu
*arg3
= (wxMenu
*) 0 ;
26614 wxString
*arg4
= 0 ;
26616 bool temp4
= false ;
26617 PyObject
* obj0
= 0 ;
26618 PyObject
* obj1
= 0 ;
26619 PyObject
* obj2
= 0 ;
26620 PyObject
* obj3
= 0 ;
26621 char *kwnames
[] = {
26622 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26627 arg2
= (size_t) PyInt_AsLong(obj1
);
26628 if (PyErr_Occurred()) SWIG_fail
;
26629 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26631 arg4
= wxString_in_helper(obj3
);
26632 if (arg4
== NULL
) SWIG_fail
;
26636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26637 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
26639 wxPyEndAllowThreads(__tstate
);
26640 if (PyErr_Occurred()) SWIG_fail
;
26642 resultobj
= PyInt_FromLong((long)result
);
26657 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26675 resultobj
= PyInt_FromLong((long)result
);
26682 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26683 PyObject
*resultobj
;
26684 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26687 PyObject
* obj0
= 0 ;
26688 PyObject
* obj1
= 0 ;
26689 char *kwnames
[] = {
26690 (char *) "self",(char *) "pos", NULL
26693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26695 arg2
= (size_t) PyInt_AsLong(obj1
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= wxPyMake_wxObject(result
);
26713 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26714 PyObject
*resultobj
;
26715 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26717 wxMenu
*arg3
= (wxMenu
*) 0 ;
26718 wxString
*arg4
= 0 ;
26720 bool temp4
= false ;
26721 PyObject
* obj0
= 0 ;
26722 PyObject
* obj1
= 0 ;
26723 PyObject
* obj2
= 0 ;
26724 PyObject
* obj3
= 0 ;
26725 char *kwnames
[] = {
26726 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26731 arg2
= (size_t) PyInt_AsLong(obj1
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26733 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26735 arg4
= wxString_in_helper(obj3
);
26736 if (arg4
== NULL
) SWIG_fail
;
26740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26741 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
26743 wxPyEndAllowThreads(__tstate
);
26744 if (PyErr_Occurred()) SWIG_fail
;
26747 resultobj
= wxPyMake_wxObject(result
);
26763 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26764 PyObject
*resultobj
;
26765 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26768 PyObject
* obj0
= 0 ;
26769 PyObject
* obj1
= 0 ;
26770 char *kwnames
[] = {
26771 (char *) "self",(char *) "pos", NULL
26774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
26775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26776 arg2
= (size_t) PyInt_AsLong(obj1
);
26777 if (PyErr_Occurred()) SWIG_fail
;
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26780 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
26782 wxPyEndAllowThreads(__tstate
);
26783 if (PyErr_Occurred()) SWIG_fail
;
26786 resultobj
= wxPyMake_wxObject(result
);
26794 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26795 PyObject
*resultobj
;
26796 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 PyObject
* obj1
= 0 ;
26801 PyObject
* obj2
= 0 ;
26802 char *kwnames
[] = {
26803 (char *) "self",(char *) "pos",(char *) "enable", NULL
26806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26808 arg2
= (size_t) PyInt_AsLong(obj1
);
26809 if (PyErr_Occurred()) SWIG_fail
;
26810 arg3
= PyInt_AsLong(obj2
) ? true : false;
26811 if (PyErr_Occurred()) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 (arg1
)->EnableTop(arg2
,arg3
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 Py_INCREF(Py_None
); resultobj
= Py_None
;
26826 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26827 PyObject
*resultobj
;
26828 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26831 PyObject
* obj0
= 0 ;
26832 PyObject
* obj1
= 0 ;
26833 char *kwnames
[] = {
26834 (char *) "self",(char *) "pos", NULL
26837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
26838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26839 arg2
= (size_t) PyInt_AsLong(obj1
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26843 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
26845 wxPyEndAllowThreads(__tstate
);
26846 if (PyErr_Occurred()) SWIG_fail
;
26848 resultobj
= PyInt_FromLong((long)result
);
26855 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26856 PyObject
*resultobj
;
26857 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26859 wxString
*arg3
= 0 ;
26860 bool temp3
= false ;
26861 PyObject
* obj0
= 0 ;
26862 PyObject
* obj1
= 0 ;
26863 PyObject
* obj2
= 0 ;
26864 char *kwnames
[] = {
26865 (char *) "self",(char *) "pos",(char *) "label", NULL
26868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26870 arg2
= (size_t) PyInt_AsLong(obj1
);
26871 if (PyErr_Occurred()) SWIG_fail
;
26873 arg3
= wxString_in_helper(obj2
);
26874 if (arg3
== NULL
) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 Py_INCREF(Py_None
); resultobj
= Py_None
;
26899 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26904 PyObject
* obj0
= 0 ;
26905 PyObject
* obj1
= 0 ;
26906 char *kwnames
[] = {
26907 (char *) "self",(char *) "pos", NULL
26910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
26911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26912 arg2
= (size_t) PyInt_AsLong(obj1
);
26913 if (PyErr_Occurred()) SWIG_fail
;
26915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26916 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
26918 wxPyEndAllowThreads(__tstate
);
26919 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26925 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26934 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26935 PyObject
*resultobj
;
26936 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26937 wxString
*arg2
= 0 ;
26938 wxString
*arg3
= 0 ;
26940 bool temp2
= false ;
26941 bool temp3
= false ;
26942 PyObject
* obj0
= 0 ;
26943 PyObject
* obj1
= 0 ;
26944 PyObject
* obj2
= 0 ;
26945 char *kwnames
[] = {
26946 (char *) "self",(char *) "menu",(char *) "item", NULL
26949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26952 arg2
= wxString_in_helper(obj1
);
26953 if (arg2
== NULL
) SWIG_fail
;
26957 arg3
= wxString_in_helper(obj2
);
26958 if (arg3
== NULL
) SWIG_fail
;
26962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26963 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
26965 wxPyEndAllowThreads(__tstate
);
26966 if (PyErr_Occurred()) SWIG_fail
;
26968 resultobj
= PyInt_FromLong((long)result
);
26991 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26992 PyObject
*resultobj
;
26993 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26995 wxMenuItem
*result
;
26996 PyObject
* obj0
= 0 ;
26997 char *kwnames
[] = {
26998 (char *) "self",(char *) "itemid", NULL
27001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
27002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= wxPyMake_wxObject(result
);
27019 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27022 wxString
*arg2
= 0 ;
27024 bool temp2
= false ;
27025 PyObject
* obj0
= 0 ;
27026 PyObject
* obj1
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "title", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27034 arg2
= wxString_in_helper(obj1
);
27035 if (arg2
== NULL
) SWIG_fail
;
27039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27040 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
27042 wxPyEndAllowThreads(__tstate
);
27043 if (PyErr_Occurred()) SWIG_fail
;
27045 resultobj
= PyInt_FromLong((long)result
);
27060 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
;
27062 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj2
= 0 ;
27067 char *kwnames
[] = {
27068 (char *) "self",(char *) "itemid",(char *) "enable", NULL
27071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27073 arg3
= PyInt_AsLong(obj2
) ? true : false;
27074 if (PyErr_Occurred()) SWIG_fail
;
27076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27077 (arg1
)->Enable(arg2
,arg3
);
27079 wxPyEndAllowThreads(__tstate
);
27080 if (PyErr_Occurred()) SWIG_fail
;
27082 Py_INCREF(Py_None
); resultobj
= Py_None
;
27089 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27090 PyObject
*resultobj
;
27091 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27094 PyObject
* obj0
= 0 ;
27095 PyObject
* obj2
= 0 ;
27096 char *kwnames
[] = {
27097 (char *) "self",(char *) "itemid",(char *) "check", NULL
27100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27102 arg3
= PyInt_AsLong(obj2
) ? true : false;
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27106 (arg1
)->Check(arg2
,arg3
);
27108 wxPyEndAllowThreads(__tstate
);
27109 if (PyErr_Occurred()) SWIG_fail
;
27111 Py_INCREF(Py_None
); resultobj
= Py_None
;
27118 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27119 PyObject
*resultobj
;
27120 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27123 PyObject
* obj0
= 0 ;
27124 char *kwnames
[] = {
27125 (char *) "self",(char *) "itemid", NULL
27128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27132 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27134 wxPyEndAllowThreads(__tstate
);
27135 if (PyErr_Occurred()) SWIG_fail
;
27137 resultobj
= PyInt_FromLong((long)result
);
27144 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27145 PyObject
*resultobj
;
27146 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27149 PyObject
* obj0
= 0 ;
27150 char *kwnames
[] = {
27151 (char *) "self",(char *) "itemid", NULL
27154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27163 resultobj
= PyInt_FromLong((long)result
);
27170 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27171 PyObject
*resultobj
;
27172 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27174 wxString
*arg3
= 0 ;
27175 bool temp3
= false ;
27176 PyObject
* obj0
= 0 ;
27177 PyObject
* obj2
= 0 ;
27178 char *kwnames
[] = {
27179 (char *) "self",(char *) "itemid",(char *) "label", NULL
27182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27185 arg3
= wxString_in_helper(obj2
);
27186 if (arg3
== NULL
) SWIG_fail
;
27190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27191 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27193 wxPyEndAllowThreads(__tstate
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 Py_INCREF(Py_None
); resultobj
= Py_None
;
27211 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27212 PyObject
*resultobj
;
27213 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27216 PyObject
* obj0
= 0 ;
27217 char *kwnames
[] = {
27218 (char *) "self",(char *) "itemid", NULL
27221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27225 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27227 wxPyEndAllowThreads(__tstate
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27232 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27234 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27243 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27244 PyObject
*resultobj
;
27245 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27247 wxString
*arg3
= 0 ;
27248 bool temp3
= false ;
27249 PyObject
* obj0
= 0 ;
27250 PyObject
* obj2
= 0 ;
27251 char *kwnames
[] = {
27252 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27258 arg3
= wxString_in_helper(obj2
);
27259 if (arg3
== NULL
) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27266 wxPyEndAllowThreads(__tstate
);
27267 if (PyErr_Occurred()) SWIG_fail
;
27269 Py_INCREF(Py_None
); resultobj
= Py_None
;
27284 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27285 PyObject
*resultobj
;
27286 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27289 PyObject
* obj0
= 0 ;
27290 char *kwnames
[] = {
27291 (char *) "self",(char *) "itemid", NULL
27294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27305 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27307 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27316 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27317 PyObject
*resultobj
;
27318 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27320 PyObject
* obj0
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "self", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= wxPyMake_wxObject(result
);
27343 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27356 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 resultobj
= PyInt_FromLong((long)result
);
27368 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
;
27370 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27371 wxFrame
*arg2
= (wxFrame
*) 0 ;
27372 PyObject
* obj0
= 0 ;
27373 PyObject
* obj1
= 0 ;
27374 char *kwnames
[] = {
27375 (char *) "self",(char *) "frame", NULL
27378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 (arg1
)->Attach(arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 Py_INCREF(Py_None
); resultobj
= Py_None
;
27395 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
;
27397 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27398 PyObject
* obj0
= 0 ;
27399 char *kwnames
[] = {
27400 (char *) "self", NULL
27403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27409 wxPyEndAllowThreads(__tstate
);
27410 if (PyErr_Occurred()) SWIG_fail
;
27412 Py_INCREF(Py_None
); resultobj
= Py_None
;
27419 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27421 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27422 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27424 return Py_BuildValue((char *)"");
27426 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27427 PyObject
*resultobj
;
27428 wxMenu
*arg1
= (wxMenu
*) NULL
;
27429 int arg2
= (int) wxID_SEPARATOR
;
27430 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27431 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27432 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27433 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27434 int arg5
= (int) wxITEM_NORMAL
;
27435 wxMenu
*arg6
= (wxMenu
*) NULL
;
27436 wxMenuItem
*result
;
27437 bool temp3
= false ;
27438 bool temp4
= false ;
27439 PyObject
* obj0
= 0 ;
27440 PyObject
* obj2
= 0 ;
27441 PyObject
* obj3
= 0 ;
27442 PyObject
* obj5
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27453 arg3
= wxString_in_helper(obj2
);
27454 if (arg3
== NULL
) SWIG_fail
;
27460 arg4
= wxString_in_helper(obj3
);
27461 if (arg4
== NULL
) SWIG_fail
;
27466 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27470 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27472 wxPyEndAllowThreads(__tstate
);
27473 if (PyErr_Occurred()) SWIG_fail
;
27476 resultobj
= wxPyMake_wxObject(result
);
27500 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27501 PyObject
*resultobj
;
27502 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27504 PyObject
* obj0
= 0 ;
27505 char *kwnames
[] = {
27506 (char *) "self", NULL
27509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27513 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27515 wxPyEndAllowThreads(__tstate
);
27516 if (PyErr_Occurred()) SWIG_fail
;
27519 resultobj
= wxPyMake_wxObject(result
);
27527 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27528 PyObject
*resultobj
;
27529 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27530 wxMenu
*arg2
= (wxMenu
*) 0 ;
27531 PyObject
* obj0
= 0 ;
27532 PyObject
* obj1
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self",(char *) "menu", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27542 (arg1
)->SetMenu(arg2
);
27544 wxPyEndAllowThreads(__tstate
);
27545 if (PyErr_Occurred()) SWIG_fail
;
27547 Py_INCREF(Py_None
); resultobj
= Py_None
;
27554 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27555 PyObject
*resultobj
;
27556 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27558 PyObject
* obj0
= 0 ;
27559 char *kwnames
[] = {
27560 (char *) "self",(char *) "itemid", NULL
27563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27567 (arg1
)->SetId(arg2
);
27569 wxPyEndAllowThreads(__tstate
);
27570 if (PyErr_Occurred()) SWIG_fail
;
27572 Py_INCREF(Py_None
); resultobj
= Py_None
;
27579 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27580 PyObject
*resultobj
;
27581 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27583 PyObject
* obj0
= 0 ;
27584 char *kwnames
[] = {
27585 (char *) "self", NULL
27588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
27589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27592 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
27594 wxPyEndAllowThreads(__tstate
);
27595 if (PyErr_Occurred()) SWIG_fail
;
27597 resultobj
= PyInt_FromLong((long)result
);
27604 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27605 PyObject
*resultobj
;
27606 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27608 PyObject
* obj0
= 0 ;
27609 char *kwnames
[] = {
27610 (char *) "self", NULL
27613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
27614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27617 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= PyInt_FromLong((long)result
);
27629 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
;
27631 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27632 wxString
*arg2
= 0 ;
27633 bool temp2
= false ;
27634 PyObject
* obj0
= 0 ;
27635 PyObject
* obj1
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self",(char *) "str", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27643 arg2
= wxString_in_helper(obj1
);
27644 if (arg2
== NULL
) SWIG_fail
;
27648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27649 (arg1
)->SetText((wxString
const &)*arg2
);
27651 wxPyEndAllowThreads(__tstate
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 Py_INCREF(Py_None
); resultobj
= Py_None
;
27669 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27670 PyObject
*resultobj
;
27671 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27673 PyObject
* obj0
= 0 ;
27674 char *kwnames
[] = {
27675 (char *) "self", NULL
27678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
27679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27682 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27700 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27701 PyObject
*resultobj
;
27702 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27704 PyObject
* obj0
= 0 ;
27705 char *kwnames
[] = {
27706 (char *) "self", NULL
27709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
27710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27714 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
27715 result
= (wxString
*) &_result_ref
;
27718 wxPyEndAllowThreads(__tstate
);
27719 if (PyErr_Occurred()) SWIG_fail
;
27721 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
27728 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
;
27730 wxString
*arg1
= 0 ;
27732 bool temp1
= false ;
27733 PyObject
* obj0
= 0 ;
27734 char *kwnames
[] = {
27735 (char *) "text", NULL
27738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
27740 arg1
= wxString_in_helper(obj0
);
27741 if (arg1
== NULL
) SWIG_fail
;
27745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27746 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
27748 wxPyEndAllowThreads(__tstate
);
27749 if (PyErr_Occurred()) SWIG_fail
;
27753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27772 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27773 PyObject
*resultobj
;
27774 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27776 PyObject
* obj0
= 0 ;
27777 char *kwnames
[] = {
27778 (char *) "self", NULL
27781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
27782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
27787 wxPyEndAllowThreads(__tstate
);
27788 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= PyInt_FromLong((long)result
);
27797 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27798 PyObject
*resultobj
;
27799 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27801 PyObject
* obj0
= 0 ;
27802 PyObject
* obj1
= 0 ;
27803 char *kwnames
[] = {
27804 (char *) "self",(char *) "checkable", NULL
27807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
27808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27809 arg2
= PyInt_AsLong(obj1
) ? true : false;
27810 if (PyErr_Occurred()) SWIG_fail
;
27812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27813 (arg1
)->SetCheckable(arg2
);
27815 wxPyEndAllowThreads(__tstate
);
27816 if (PyErr_Occurred()) SWIG_fail
;
27818 Py_INCREF(Py_None
); resultobj
= Py_None
;
27825 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27826 PyObject
*resultobj
;
27827 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27829 PyObject
* obj0
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
27835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27838 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
27840 wxPyEndAllowThreads(__tstate
);
27841 if (PyErr_Occurred()) SWIG_fail
;
27843 resultobj
= PyInt_FromLong((long)result
);
27850 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27851 PyObject
*resultobj
;
27852 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27854 PyObject
* obj0
= 0 ;
27855 char *kwnames
[] = {
27856 (char *) "self", NULL
27859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
27860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27863 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
27865 wxPyEndAllowThreads(__tstate
);
27866 if (PyErr_Occurred()) SWIG_fail
;
27868 resultobj
= PyInt_FromLong((long)result
);
27875 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27876 PyObject
*resultobj
;
27877 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27878 wxMenu
*arg2
= (wxMenu
*) 0 ;
27879 PyObject
* obj0
= 0 ;
27880 PyObject
* obj1
= 0 ;
27881 char *kwnames
[] = {
27882 (char *) "self",(char *) "menu", NULL
27885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27887 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27890 (arg1
)->SetSubMenu(arg2
);
27892 wxPyEndAllowThreads(__tstate
);
27893 if (PyErr_Occurred()) SWIG_fail
;
27895 Py_INCREF(Py_None
); resultobj
= Py_None
;
27902 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27903 PyObject
*resultobj
;
27904 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27906 PyObject
* obj0
= 0 ;
27907 char *kwnames
[] = {
27908 (char *) "self", NULL
27911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
27912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27915 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
27917 wxPyEndAllowThreads(__tstate
);
27918 if (PyErr_Occurred()) SWIG_fail
;
27921 resultobj
= wxPyMake_wxObject(result
);
27929 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27930 PyObject
*resultobj
;
27931 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27932 bool arg2
= (bool) TRUE
;
27933 PyObject
* obj0
= 0 ;
27934 PyObject
* obj1
= 0 ;
27935 char *kwnames
[] = {
27936 (char *) "self",(char *) "enable", NULL
27939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27942 arg2
= PyInt_AsLong(obj1
) ? true : false;
27943 if (PyErr_Occurred()) SWIG_fail
;
27946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 (arg1
)->Enable(arg2
);
27949 wxPyEndAllowThreads(__tstate
);
27950 if (PyErr_Occurred()) SWIG_fail
;
27952 Py_INCREF(Py_None
); resultobj
= Py_None
;
27959 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27960 PyObject
*resultobj
;
27961 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27963 PyObject
* obj0
= 0 ;
27964 char *kwnames
[] = {
27965 (char *) "self", NULL
27968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
27969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27972 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
27974 wxPyEndAllowThreads(__tstate
);
27975 if (PyErr_Occurred()) SWIG_fail
;
27977 resultobj
= PyInt_FromLong((long)result
);
27984 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27985 PyObject
*resultobj
;
27986 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27987 bool arg2
= (bool) TRUE
;
27988 PyObject
* obj0
= 0 ;
27989 PyObject
* obj1
= 0 ;
27990 char *kwnames
[] = {
27991 (char *) "self",(char *) "check", NULL
27994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
27995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27997 arg2
= PyInt_AsLong(obj1
) ? true : false;
27998 if (PyErr_Occurred()) SWIG_fail
;
28001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 (arg1
)->Check(arg2
);
28004 wxPyEndAllowThreads(__tstate
);
28005 if (PyErr_Occurred()) SWIG_fail
;
28007 Py_INCREF(Py_None
); resultobj
= Py_None
;
28014 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28015 PyObject
*resultobj
;
28016 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28018 PyObject
* obj0
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
28024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= PyInt_FromLong((long)result
);
28039 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28040 PyObject
*resultobj
;
28041 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28042 PyObject
* obj0
= 0 ;
28043 char *kwnames
[] = {
28044 (char *) "self", NULL
28047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
28048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28053 wxPyEndAllowThreads(__tstate
);
28054 if (PyErr_Occurred()) SWIG_fail
;
28056 Py_INCREF(Py_None
); resultobj
= Py_None
;
28063 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28064 PyObject
*resultobj
;
28065 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28066 wxString
*arg2
= 0 ;
28067 bool temp2
= false ;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self",(char *) "str", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28077 arg2
= wxString_in_helper(obj1
);
28078 if (arg2
== NULL
) SWIG_fail
;
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 (arg1
)->SetHelp((wxString
const &)*arg2
);
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 Py_INCREF(Py_None
); resultobj
= Py_None
;
28103 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28104 PyObject
*resultobj
;
28105 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28107 PyObject
* obj0
= 0 ;
28108 char *kwnames
[] = {
28109 (char *) "self", NULL
28112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28117 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28118 result
= (wxString
*) &_result_ref
;
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
28131 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
;
28133 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28134 wxAcceleratorEntry
*result
;
28135 PyObject
* obj0
= 0 ;
28136 char *kwnames
[] = {
28137 (char *) "self", NULL
28140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28149 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28156 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28159 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "self",(char *) "accel", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 (arg1
)->SetAccel(arg2
);
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 Py_INCREF(Py_None
); resultobj
= Py_None
;
28183 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28186 char *kwnames
[] = {
28190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28193 result
= (int)MenuItem_GetDefaultMarginWidth();
28195 wxPyEndAllowThreads(__tstate
);
28196 if (PyErr_Occurred()) SWIG_fail
;
28198 resultobj
= PyInt_FromLong((long)result
);
28205 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28206 PyObject
*resultobj
;
28207 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28208 wxBitmap
*arg2
= 0 ;
28209 PyObject
* obj0
= 0 ;
28210 PyObject
* obj1
= 0 ;
28211 char *kwnames
[] = {
28212 (char *) "self",(char *) "bitmap", NULL
28215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28218 if (arg2
== NULL
) {
28219 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28223 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28225 wxPyEndAllowThreads(__tstate
);
28226 if (PyErr_Occurred()) SWIG_fail
;
28228 Py_INCREF(Py_None
); resultobj
= Py_None
;
28235 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28236 PyObject
*resultobj
;
28237 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28239 PyObject
* obj0
= 0 ;
28240 char *kwnames
[] = {
28241 (char *) "self", NULL
28244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
28245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28249 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
28250 result
= (wxBitmap
*) &_result_ref
;
28253 wxPyEndAllowThreads(__tstate
);
28254 if (PyErr_Occurred()) SWIG_fail
;
28256 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28263 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
28265 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28266 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
28268 return Py_BuildValue((char *)"");
28270 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28271 PyObject
*resultobj
;
28272 wxWindow
*arg1
= (wxWindow
*) 0 ;
28274 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28275 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28276 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28277 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28278 long arg5
= (long) 0 ;
28279 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28280 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28281 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28282 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28286 bool temp7
= false ;
28287 PyObject
* obj0
= 0 ;
28288 PyObject
* obj2
= 0 ;
28289 PyObject
* obj3
= 0 ;
28290 PyObject
* obj5
= 0 ;
28291 PyObject
* obj6
= 0 ;
28292 char *kwnames
[] = {
28293 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
28297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28301 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28307 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28311 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28312 if (arg6
== NULL
) {
28313 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28318 arg7
= wxString_in_helper(obj6
);
28319 if (arg7
== NULL
) SWIG_fail
;
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28327 wxPyEndAllowThreads(__tstate
);
28328 if (PyErr_Occurred()) SWIG_fail
;
28331 resultobj
= wxPyMake_wxObject(result
);
28347 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28348 PyObject
*resultobj
;
28350 char *kwnames
[] = {
28354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 result
= (wxControl
*)new wxControl();
28359 wxPyEndAllowThreads(__tstate
);
28360 if (PyErr_Occurred()) SWIG_fail
;
28363 resultobj
= wxPyMake_wxObject(result
);
28371 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28372 PyObject
*resultobj
;
28373 wxControl
*arg1
= (wxControl
*) 0 ;
28374 wxWindow
*arg2
= (wxWindow
*) 0 ;
28376 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28377 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28378 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28379 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28380 long arg6
= (long) 0 ;
28381 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28382 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28383 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
28384 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28388 bool temp8
= false ;
28389 PyObject
* obj0
= 0 ;
28390 PyObject
* obj1
= 0 ;
28391 PyObject
* obj3
= 0 ;
28392 PyObject
* obj4
= 0 ;
28393 PyObject
* obj6
= 0 ;
28394 PyObject
* obj7
= 0 ;
28395 char *kwnames
[] = {
28396 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
28400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28401 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28405 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28411 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28415 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28416 if (arg7
== NULL
) {
28417 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28422 arg8
= wxString_in_helper(obj7
);
28423 if (arg8
== NULL
) SWIG_fail
;
28428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28429 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28431 wxPyEndAllowThreads(__tstate
);
28432 if (PyErr_Occurred()) SWIG_fail
;
28434 resultobj
= PyInt_FromLong((long)result
);
28449 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28450 PyObject
*resultobj
;
28451 wxControl
*arg1
= (wxControl
*) 0 ;
28452 wxCommandEvent
*arg2
= 0 ;
28453 PyObject
* obj0
= 0 ;
28454 PyObject
* obj1
= 0 ;
28455 char *kwnames
[] = {
28456 (char *) "self",(char *) "event", NULL
28459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
28460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28462 if (arg2
== NULL
) {
28463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28467 (arg1
)->Command(*arg2
);
28469 wxPyEndAllowThreads(__tstate
);
28470 if (PyErr_Occurred()) SWIG_fail
;
28472 Py_INCREF(Py_None
); resultobj
= Py_None
;
28479 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28480 PyObject
*resultobj
;
28481 wxControl
*arg1
= (wxControl
*) 0 ;
28483 PyObject
* obj0
= 0 ;
28484 char *kwnames
[] = {
28485 (char *) "self", NULL
28488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
28489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28492 result
= (arg1
)->GetLabel();
28494 wxPyEndAllowThreads(__tstate
);
28495 if (PyErr_Occurred()) SWIG_fail
;
28499 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28501 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28510 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28511 PyObject
*resultobj
;
28512 wxControl
*arg1
= (wxControl
*) 0 ;
28513 wxString
*arg2
= 0 ;
28514 bool temp2
= false ;
28515 PyObject
* obj0
= 0 ;
28516 PyObject
* obj1
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "self",(char *) "label", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28524 arg2
= wxString_in_helper(obj1
);
28525 if (arg2
== NULL
) SWIG_fail
;
28529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28530 (arg1
)->SetLabel((wxString
const &)*arg2
);
28532 wxPyEndAllowThreads(__tstate
);
28533 if (PyErr_Occurred()) SWIG_fail
;
28535 Py_INCREF(Py_None
); resultobj
= Py_None
;
28550 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
28552 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28553 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
28555 return Py_BuildValue((char *)"");
28557 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28558 PyObject
*resultobj
;
28559 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28560 wxString
*arg2
= 0 ;
28561 PyObject
*arg3
= (PyObject
*) NULL
;
28563 bool temp2
= false ;
28564 PyObject
* obj0
= 0 ;
28565 PyObject
* obj1
= 0 ;
28566 PyObject
* obj2
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self",(char *) "item",(char *) "clientData", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28574 arg2
= wxString_in_helper(obj1
);
28575 if (arg2
== NULL
) SWIG_fail
;
28582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28583 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
28585 wxPyEndAllowThreads(__tstate
);
28586 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= PyInt_FromLong((long)result
);
28603 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28604 PyObject
*resultobj
;
28605 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28606 wxArrayString
*arg2
= 0 ;
28607 PyObject
* obj0
= 0 ;
28608 PyObject
* obj1
= 0 ;
28609 char *kwnames
[] = {
28610 (char *) "self",(char *) "strings", NULL
28613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
28614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28616 if (! PySequence_Check(obj1
)) {
28617 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
28620 arg2
= new wxArrayString
;
28621 int i
, len
=PySequence_Length(obj1
);
28622 for (i
=0; i
<len
; i
++) {
28623 PyObject
* item
= PySequence_GetItem(obj1
, i
);
28625 PyObject
* str
= PyObject_Unicode(item
);
28627 PyObject
* str
= PyObject_Str(item
);
28629 arg2
->Add(Py2wxString(str
));
28635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28636 (arg1
)->Append((wxArrayString
const &)*arg2
);
28638 wxPyEndAllowThreads(__tstate
);
28639 if (PyErr_Occurred()) SWIG_fail
;
28641 Py_INCREF(Py_None
); resultobj
= Py_None
;
28643 if (arg2
) delete arg2
;
28648 if (arg2
) delete arg2
;
28654 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28655 PyObject
*resultobj
;
28656 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28657 wxString
*arg2
= 0 ;
28659 PyObject
*arg4
= (PyObject
*) NULL
;
28661 bool temp2
= false ;
28662 PyObject
* obj0
= 0 ;
28663 PyObject
* obj1
= 0 ;
28664 PyObject
* obj3
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28672 arg2
= wxString_in_helper(obj1
);
28673 if (arg2
== NULL
) SWIG_fail
;
28680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28681 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
28683 wxPyEndAllowThreads(__tstate
);
28684 if (PyErr_Occurred()) SWIG_fail
;
28686 resultobj
= PyInt_FromLong((long)result
);
28701 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
;
28703 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28704 PyObject
* obj0
= 0 ;
28705 char *kwnames
[] = {
28706 (char *) "self", NULL
28709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
28710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28715 wxPyEndAllowThreads(__tstate
);
28716 if (PyErr_Occurred()) SWIG_fail
;
28718 Py_INCREF(Py_None
); resultobj
= Py_None
;
28725 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28727 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28729 PyObject
* obj0
= 0 ;
28730 char *kwnames
[] = {
28731 (char *) "self",(char *) "n", NULL
28734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
28735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28738 (arg1
)->Delete(arg2
);
28740 wxPyEndAllowThreads(__tstate
);
28741 if (PyErr_Occurred()) SWIG_fail
;
28743 Py_INCREF(Py_None
); resultobj
= Py_None
;
28750 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28751 PyObject
*resultobj
;
28752 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28754 PyObject
* obj0
= 0 ;
28755 char *kwnames
[] = {
28756 (char *) "self", NULL
28759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
28760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28763 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
28765 wxPyEndAllowThreads(__tstate
);
28766 if (PyErr_Occurred()) SWIG_fail
;
28768 resultobj
= PyInt_FromLong((long)result
);
28775 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28776 PyObject
*resultobj
;
28777 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28779 PyObject
* obj0
= 0 ;
28780 char *kwnames
[] = {
28781 (char *) "self", NULL
28784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
28785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28788 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
28790 wxPyEndAllowThreads(__tstate
);
28791 if (PyErr_Occurred()) SWIG_fail
;
28793 resultobj
= PyInt_FromLong((long)result
);
28800 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28805 PyObject
* obj0
= 0 ;
28806 char *kwnames
[] = {
28807 (char *) "self",(char *) "n", NULL
28810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
28811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28814 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
28816 wxPyEndAllowThreads(__tstate
);
28817 if (PyErr_Occurred()) SWIG_fail
;
28821 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28823 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28832 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28835 wxArrayString result
;
28836 PyObject
* obj0
= 0 ;
28837 char *kwnames
[] = {
28838 (char *) "self", NULL
28841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
28842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28845 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28851 resultobj
= wxArrayString2PyList_helper(result
);
28859 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28860 PyObject
*resultobj
;
28861 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28863 wxString
*arg3
= 0 ;
28864 bool temp3
= false ;
28865 PyObject
* obj0
= 0 ;
28866 PyObject
* obj2
= 0 ;
28867 char *kwnames
[] = {
28868 (char *) "self",(char *) "n",(char *) "s", NULL
28871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
28872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28874 arg3
= wxString_in_helper(obj2
);
28875 if (arg3
== NULL
) SWIG_fail
;
28879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28880 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 Py_INCREF(Py_None
); resultobj
= Py_None
;
28900 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28901 PyObject
*resultobj
;
28902 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28903 wxString
*arg2
= 0 ;
28905 bool temp2
= false ;
28906 PyObject
* obj0
= 0 ;
28907 PyObject
* obj1
= 0 ;
28908 char *kwnames
[] = {
28909 (char *) "self",(char *) "s", NULL
28912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
28913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28915 arg2
= wxString_in_helper(obj1
);
28916 if (arg2
== NULL
) SWIG_fail
;
28920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28921 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
28923 wxPyEndAllowThreads(__tstate
);
28924 if (PyErr_Occurred()) SWIG_fail
;
28926 resultobj
= PyInt_FromLong((long)result
);
28941 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28942 PyObject
*resultobj
;
28943 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28945 PyObject
* obj0
= 0 ;
28946 char *kwnames
[] = {
28947 (char *) "self",(char *) "n", NULL
28950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
28951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28954 (arg1
)->Select(arg2
);
28956 wxPyEndAllowThreads(__tstate
);
28957 if (PyErr_Occurred()) SWIG_fail
;
28959 Py_INCREF(Py_None
); resultobj
= Py_None
;
28966 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28967 PyObject
*resultobj
;
28968 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28970 PyObject
* obj0
= 0 ;
28971 char *kwnames
[] = {
28972 (char *) "self", NULL
28975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
28976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28979 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
28981 wxPyEndAllowThreads(__tstate
);
28982 if (PyErr_Occurred()) SWIG_fail
;
28984 resultobj
= PyInt_FromLong((long)result
);
28991 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28992 PyObject
*resultobj
;
28993 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28995 PyObject
* obj0
= 0 ;
28996 char *kwnames
[] = {
28997 (char *) "self", NULL
29000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29004 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29006 wxPyEndAllowThreads(__tstate
);
29007 if (PyErr_Occurred()) SWIG_fail
;
29011 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29013 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29022 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29023 PyObject
*resultobj
;
29024 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29027 PyObject
* obj0
= 0 ;
29028 char *kwnames
[] = {
29029 (char *) "self",(char *) "n", NULL
29032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29036 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29038 wxPyEndAllowThreads(__tstate
);
29039 if (PyErr_Occurred()) SWIG_fail
;
29041 resultobj
= result
;
29048 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29049 PyObject
*resultobj
;
29050 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29052 PyObject
*arg3
= (PyObject
*) 0 ;
29053 PyObject
* obj0
= 0 ;
29054 PyObject
* obj2
= 0 ;
29055 char *kwnames
[] = {
29056 (char *) "self",(char *) "n",(char *) "clientData", NULL
29059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29064 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 Py_INCREF(Py_None
); resultobj
= Py_None
;
29076 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29079 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29081 return Py_BuildValue((char *)"");
29083 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29086 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29088 return Py_BuildValue((char *)"");
29090 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29091 PyObject
*resultobj
;
29092 wxSizerItem
*result
;
29093 char *kwnames
[] = {
29097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29100 result
= (wxSizerItem
*)new wxSizerItem();
29102 wxPyEndAllowThreads(__tstate
);
29103 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29112 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29113 PyObject
*resultobj
;
29119 wxObject
*arg6
= (wxObject
*) 0 ;
29120 wxSizerItem
*result
;
29121 PyObject
* obj5
= 0 ;
29122 char *kwnames
[] = {
29123 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29127 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29132 wxPyEndAllowThreads(__tstate
);
29133 if (PyErr_Occurred()) SWIG_fail
;
29135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29142 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29143 PyObject
*resultobj
;
29144 wxWindow
*arg1
= (wxWindow
*) 0 ;
29148 wxObject
*arg5
= (wxObject
*) 0 ;
29149 wxSizerItem
*result
;
29150 PyObject
* obj0
= 0 ;
29151 PyObject
* obj4
= 0 ;
29152 char *kwnames
[] = {
29153 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29158 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29173 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29174 PyObject
*resultobj
;
29175 wxSizer
*arg1
= (wxSizer
*) 0 ;
29179 wxObject
*arg5
= (wxObject
*) 0 ;
29180 wxSizerItem
*result
;
29181 PyObject
* obj0
= 0 ;
29182 PyObject
* obj4
= 0 ;
29183 char *kwnames
[] = {
29184 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29189 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29192 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29194 wxPyEndAllowThreads(__tstate
);
29195 if (PyErr_Occurred()) SWIG_fail
;
29197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29204 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29205 PyObject
*resultobj
;
29206 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29207 PyObject
* obj0
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
29213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 (arg1
)->DeleteWindows();
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29221 Py_INCREF(Py_None
); resultobj
= Py_None
;
29228 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29229 PyObject
*resultobj
;
29230 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29231 PyObject
* obj0
= 0 ;
29232 char *kwnames
[] = {
29233 (char *) "self", NULL
29236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
29237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29240 (arg1
)->DetachSizer();
29242 wxPyEndAllowThreads(__tstate
);
29243 if (PyErr_Occurred()) SWIG_fail
;
29245 Py_INCREF(Py_None
); resultobj
= Py_None
;
29252 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29253 PyObject
*resultobj
;
29254 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29256 PyObject
* obj0
= 0 ;
29257 char *kwnames
[] = {
29258 (char *) "self", NULL
29261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
29262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 result
= (arg1
)->GetSize();
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29271 wxSize
* resultptr
;
29272 resultptr
= new wxSize((wxSize
&) result
);
29273 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29281 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29282 PyObject
*resultobj
;
29283 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29285 PyObject
* obj0
= 0 ;
29286 char *kwnames
[] = {
29287 (char *) "self", NULL
29290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
29291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29294 result
= (arg1
)->CalcMin();
29296 wxPyEndAllowThreads(__tstate
);
29297 if (PyErr_Occurred()) SWIG_fail
;
29300 wxSize
* resultptr
;
29301 resultptr
= new wxSize((wxSize
&) result
);
29302 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29310 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29311 PyObject
*resultobj
;
29312 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29317 PyObject
* obj0
= 0 ;
29318 PyObject
* obj1
= 0 ;
29319 PyObject
* obj2
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "self",(char *) "pos",(char *) "size", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29326 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29328 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29332 (arg1
)->SetDimension(arg2
,arg3
);
29334 wxPyEndAllowThreads(__tstate
);
29335 if (PyErr_Occurred()) SWIG_fail
;
29337 Py_INCREF(Py_None
); resultobj
= Py_None
;
29344 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29348 PyObject
* obj0
= 0 ;
29349 char *kwnames
[] = {
29350 (char *) "self", NULL
29353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
29354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29357 result
= (arg1
)->GetMinSize();
29359 wxPyEndAllowThreads(__tstate
);
29360 if (PyErr_Occurred()) SWIG_fail
;
29363 wxSize
* resultptr
;
29364 resultptr
= new wxSize((wxSize
&) result
);
29365 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29373 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29374 PyObject
*resultobj
;
29375 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29378 PyObject
* obj0
= 0 ;
29379 char *kwnames
[] = {
29380 (char *) "self",(char *) "x",(char *) "y", NULL
29383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29387 (arg1
)->SetInitSize(arg2
,arg3
);
29389 wxPyEndAllowThreads(__tstate
);
29390 if (PyErr_Occurred()) SWIG_fail
;
29392 Py_INCREF(Py_None
); resultobj
= Py_None
;
29399 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29400 PyObject
*resultobj
;
29401 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29404 PyObject
* obj0
= 0 ;
29405 char *kwnames
[] = {
29406 (char *) "self",(char *) "width",(char *) "height", NULL
29409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29413 (arg1
)->SetRatio(arg2
,arg3
);
29415 wxPyEndAllowThreads(__tstate
);
29416 if (PyErr_Occurred()) SWIG_fail
;
29418 Py_INCREF(Py_None
); resultobj
= Py_None
;
29425 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29426 PyObject
*resultobj
;
29427 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29430 PyObject
* obj0
= 0 ;
29431 PyObject
* obj1
= 0 ;
29432 char *kwnames
[] = {
29433 (char *) "self",(char *) "size", NULL
29436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29438 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29442 (arg1
)->SetRatio(arg2
);
29444 wxPyEndAllowThreads(__tstate
);
29445 if (PyErr_Occurred()) SWIG_fail
;
29447 Py_INCREF(Py_None
); resultobj
= Py_None
;
29454 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
;
29456 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29458 PyObject
* obj0
= 0 ;
29459 char *kwnames
[] = {
29460 (char *) "self",(char *) "ratio", NULL
29463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
29464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29467 (arg1
)->SetRatio(arg2
);
29469 wxPyEndAllowThreads(__tstate
);
29470 if (PyErr_Occurred()) SWIG_fail
;
29472 Py_INCREF(Py_None
); resultobj
= Py_None
;
29479 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29480 PyObject
*resultobj
;
29481 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29483 PyObject
* obj0
= 0 ;
29484 char *kwnames
[] = {
29485 (char *) "self", NULL
29488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
29489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29492 result
= (float)(arg1
)->GetRatio();
29494 wxPyEndAllowThreads(__tstate
);
29495 if (PyErr_Occurred()) SWIG_fail
;
29497 resultobj
= PyFloat_FromDouble(result
);
29504 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29505 PyObject
*resultobj
;
29506 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29508 PyObject
* obj0
= 0 ;
29509 char *kwnames
[] = {
29510 (char *) "self", NULL
29513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
29514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 result
= (bool)(arg1
)->IsWindow();
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= PyInt_FromLong((long)result
);
29529 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29530 PyObject
*resultobj
;
29531 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29533 PyObject
* obj0
= 0 ;
29534 char *kwnames
[] = {
29535 (char *) "self", NULL
29538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
29539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29542 result
= (bool)(arg1
)->IsSizer();
29544 wxPyEndAllowThreads(__tstate
);
29545 if (PyErr_Occurred()) SWIG_fail
;
29547 resultobj
= PyInt_FromLong((long)result
);
29554 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29555 PyObject
*resultobj
;
29556 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29558 PyObject
* obj0
= 0 ;
29559 char *kwnames
[] = {
29560 (char *) "self", NULL
29563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
29564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29567 result
= (bool)(arg1
)->IsSpacer();
29569 wxPyEndAllowThreads(__tstate
);
29570 if (PyErr_Occurred()) SWIG_fail
;
29572 resultobj
= PyInt_FromLong((long)result
);
29579 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29580 PyObject
*resultobj
;
29581 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29583 PyObject
* obj0
= 0 ;
29584 char *kwnames
[] = {
29585 (char *) "self",(char *) "proportion", NULL
29588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
29589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29592 (arg1
)->SetProportion(arg2
);
29594 wxPyEndAllowThreads(__tstate
);
29595 if (PyErr_Occurred()) SWIG_fail
;
29597 Py_INCREF(Py_None
); resultobj
= Py_None
;
29604 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29605 PyObject
*resultobj
;
29606 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29608 PyObject
* obj0
= 0 ;
29609 char *kwnames
[] = {
29610 (char *) "self", NULL
29613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
29614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29617 result
= (int)(arg1
)->GetProportion();
29619 wxPyEndAllowThreads(__tstate
);
29620 if (PyErr_Occurred()) SWIG_fail
;
29622 resultobj
= PyInt_FromLong((long)result
);
29629 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29630 PyObject
*resultobj
;
29631 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29633 PyObject
* obj0
= 0 ;
29634 char *kwnames
[] = {
29635 (char *) "self",(char *) "flag", NULL
29638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
29639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29642 (arg1
)->SetFlag(arg2
);
29644 wxPyEndAllowThreads(__tstate
);
29645 if (PyErr_Occurred()) SWIG_fail
;
29647 Py_INCREF(Py_None
); resultobj
= Py_None
;
29654 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29655 PyObject
*resultobj
;
29656 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29658 PyObject
* obj0
= 0 ;
29659 char *kwnames
[] = {
29660 (char *) "self", NULL
29663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
29664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 result
= (int)(arg1
)->GetFlag();
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 resultobj
= PyInt_FromLong((long)result
);
29679 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29683 PyObject
* obj0
= 0 ;
29684 char *kwnames
[] = {
29685 (char *) "self",(char *) "border", NULL
29688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
29689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 (arg1
)->SetBorder(arg2
);
29694 wxPyEndAllowThreads(__tstate
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29697 Py_INCREF(Py_None
); resultobj
= Py_None
;
29704 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
;
29706 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29708 PyObject
* obj0
= 0 ;
29709 char *kwnames
[] = {
29710 (char *) "self", NULL
29713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
29714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= (int)(arg1
)->GetBorder();
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= PyInt_FromLong((long)result
);
29729 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
;
29731 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 char *kwnames
[] = {
29735 (char *) "self", NULL
29738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
29739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= (wxWindow
*)(arg1
)->GetWindow();
29744 wxPyEndAllowThreads(__tstate
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29748 resultobj
= wxPyMake_wxObject(result
);
29756 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29757 PyObject
*resultobj
;
29758 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29759 wxWindow
*arg2
= (wxWindow
*) 0 ;
29760 PyObject
* obj0
= 0 ;
29761 PyObject
* obj1
= 0 ;
29762 char *kwnames
[] = {
29763 (char *) "self",(char *) "window", NULL
29766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 (arg1
)->SetWindow(arg2
);
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 Py_INCREF(Py_None
); resultobj
= Py_None
;
29783 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
;
29785 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29787 PyObject
* obj0
= 0 ;
29788 char *kwnames
[] = {
29789 (char *) "self", NULL
29792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
29793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= (wxSizer
*)(arg1
)->GetSizer();
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29802 resultobj
= wxPyMake_wxSizer(result
);
29810 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29811 PyObject
*resultobj
;
29812 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29813 wxSizer
*arg2
= (wxSizer
*) 0 ;
29814 PyObject
* obj0
= 0 ;
29815 PyObject
* obj1
= 0 ;
29816 char *kwnames
[] = {
29817 (char *) "self",(char *) "sizer", NULL
29820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
29821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29822 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29825 (arg1
)->SetSizer(arg2
);
29827 wxPyEndAllowThreads(__tstate
);
29828 if (PyErr_Occurred()) SWIG_fail
;
29830 Py_INCREF(Py_None
); resultobj
= Py_None
;
29837 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29838 PyObject
*resultobj
;
29839 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29841 PyObject
* obj0
= 0 ;
29842 char *kwnames
[] = {
29843 (char *) "self", NULL
29846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
29847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29851 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
29852 result
= (wxSize
*) &_result_ref
;
29855 wxPyEndAllowThreads(__tstate
);
29856 if (PyErr_Occurred()) SWIG_fail
;
29858 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
29865 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
;
29867 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29870 PyObject
* obj0
= 0 ;
29871 PyObject
* obj1
= 0 ;
29872 char *kwnames
[] = {
29873 (char *) "self",(char *) "size", NULL
29876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
29877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29880 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 Py_INCREF(Py_None
); resultobj
= Py_None
;
29896 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
;
29898 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29900 PyObject
* obj0
= 0 ;
29901 PyObject
* obj1
= 0 ;
29902 char *kwnames
[] = {
29903 (char *) "self",(char *) "show", NULL
29906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
29907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29908 arg2
= PyInt_AsLong(obj1
) ? true : false;
29909 if (PyErr_Occurred()) SWIG_fail
;
29911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29912 (arg1
)->Show(arg2
);
29914 wxPyEndAllowThreads(__tstate
);
29915 if (PyErr_Occurred()) SWIG_fail
;
29917 Py_INCREF(Py_None
); resultobj
= Py_None
;
29924 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29925 PyObject
*resultobj
;
29926 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29928 PyObject
* obj0
= 0 ;
29929 char *kwnames
[] = {
29930 (char *) "self", NULL
29933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
29934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29937 result
= (bool)(arg1
)->IsShown();
29939 wxPyEndAllowThreads(__tstate
);
29940 if (PyErr_Occurred()) SWIG_fail
;
29942 resultobj
= PyInt_FromLong((long)result
);
29949 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29950 PyObject
*resultobj
;
29951 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29953 PyObject
* obj0
= 0 ;
29954 char *kwnames
[] = {
29955 (char *) "self", NULL
29958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
29959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29962 result
= (arg1
)->GetPosition();
29964 wxPyEndAllowThreads(__tstate
);
29965 if (PyErr_Occurred()) SWIG_fail
;
29968 wxPoint
* resultptr
;
29969 resultptr
= new wxPoint((wxPoint
&) result
);
29970 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
29978 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
;
29980 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29982 PyObject
* obj0
= 0 ;
29983 char *kwnames
[] = {
29984 (char *) "self", NULL
29987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
29988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29991 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
29993 wxPyEndAllowThreads(__tstate
);
29994 if (PyErr_Occurred()) SWIG_fail
;
29996 resultobj
= result
;
30003 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30005 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30006 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30008 return Py_BuildValue((char *)"");
30010 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxSizer
*arg1
= (wxSizer
*) 0 ;
30013 PyObject
*arg2
= (PyObject
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char *kwnames
[] = {
30017 (char *) "self",(char *) "_self", NULL
30020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 wxSizer__setOORInfo(arg1
,arg2
);
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 Py_INCREF(Py_None
); resultobj
= Py_None
;
30037 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
;
30039 wxSizer
*arg1
= (wxSizer
*) 0 ;
30040 PyObject
*arg2
= (PyObject
*) 0 ;
30041 int arg3
= (int) 0 ;
30042 int arg4
= (int) 0 ;
30043 int arg5
= (int) 0 ;
30044 PyObject
*arg6
= (PyObject
*) NULL
;
30045 PyObject
* obj0
= 0 ;
30046 PyObject
* obj1
= 0 ;
30047 PyObject
* obj5
= 0 ;
30048 char *kwnames
[] = {
30049 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30060 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30062 wxPyEndAllowThreads(__tstate
);
30063 if (PyErr_Occurred()) SWIG_fail
;
30065 Py_INCREF(Py_None
); resultobj
= Py_None
;
30072 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30073 PyObject
*resultobj
;
30074 wxSizer
*arg1
= (wxSizer
*) 0 ;
30076 PyObject
*arg3
= (PyObject
*) 0 ;
30077 int arg4
= (int) 0 ;
30078 int arg5
= (int) 0 ;
30079 int arg6
= (int) 0 ;
30080 PyObject
*arg7
= (PyObject
*) NULL
;
30081 PyObject
* obj0
= 0 ;
30082 PyObject
* obj2
= 0 ;
30083 PyObject
* obj6
= 0 ;
30084 char *kwnames
[] = {
30085 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30101 Py_INCREF(Py_None
); resultobj
= Py_None
;
30108 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30109 PyObject
*resultobj
;
30110 wxSizer
*arg1
= (wxSizer
*) 0 ;
30111 PyObject
*arg2
= (PyObject
*) 0 ;
30112 int arg3
= (int) 0 ;
30113 int arg4
= (int) 0 ;
30114 int arg5
= (int) 0 ;
30115 PyObject
*arg6
= (PyObject
*) NULL
;
30116 PyObject
* obj0
= 0 ;
30117 PyObject
* obj1
= 0 ;
30118 PyObject
* obj5
= 0 ;
30119 char *kwnames
[] = {
30120 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30131 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30133 wxPyEndAllowThreads(__tstate
);
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 Py_INCREF(Py_None
); resultobj
= Py_None
;
30143 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30144 PyObject
*resultobj
;
30145 wxSizer
*arg1
= (wxSizer
*) 0 ;
30146 PyObject
*arg2
= (PyObject
*) 0 ;
30148 PyObject
* obj0
= 0 ;
30149 PyObject
* obj1
= 0 ;
30150 char *kwnames
[] = {
30151 (char *) "self",(char *) "item", NULL
30154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30159 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30161 wxPyEndAllowThreads(__tstate
);
30162 if (PyErr_Occurred()) SWIG_fail
;
30164 resultobj
= PyInt_FromLong((long)result
);
30171 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30172 PyObject
*resultobj
;
30173 wxSizer
*arg1
= (wxSizer
*) 0 ;
30174 PyObject
*arg2
= (PyObject
*) 0 ;
30177 PyObject
* obj0
= 0 ;
30178 PyObject
* obj1
= 0 ;
30179 PyObject
* obj2
= 0 ;
30180 char *kwnames
[] = {
30181 (char *) "self",(char *) "item",(char *) "size", NULL
30184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30187 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 wxSizer__SetItemMinSize(arg1
,arg2
,arg3
);
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 Py_INCREF(Py_None
); resultobj
= Py_None
;
30203 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
;
30205 wxSizer
*arg1
= (wxSizer
*) 0 ;
30206 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30207 PyObject
* obj0
= 0 ;
30208 PyObject
* obj1
= 0 ;
30209 char *kwnames
[] = {
30210 (char *) "self",(char *) "item", NULL
30213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30220 wxPyEndAllowThreads(__tstate
);
30221 if (PyErr_Occurred()) SWIG_fail
;
30223 Py_INCREF(Py_None
); resultobj
= Py_None
;
30230 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30231 PyObject
*resultobj
;
30232 wxSizer
*arg1
= (wxSizer
*) 0 ;
30234 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
30235 PyObject
* obj0
= 0 ;
30236 PyObject
* obj1
= 0 ;
30237 PyObject
* obj2
= 0 ;
30238 char *kwnames
[] = {
30239 (char *) "self",(char *) "index",(char *) "item", NULL
30242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30244 arg2
= (size_t) PyInt_AsLong(obj1
);
30245 if (PyErr_Occurred()) SWIG_fail
;
30246 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 (arg1
)->Insert(arg2
,arg3
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30254 Py_INCREF(Py_None
); resultobj
= Py_None
;
30261 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30262 PyObject
*resultobj
;
30263 wxSizer
*arg1
= (wxSizer
*) 0 ;
30264 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30265 PyObject
* obj0
= 0 ;
30266 PyObject
* obj1
= 0 ;
30267 char *kwnames
[] = {
30268 (char *) "self",(char *) "item", NULL
30271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30273 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30276 (arg1
)->Prepend(arg2
);
30278 wxPyEndAllowThreads(__tstate
);
30279 if (PyErr_Occurred()) SWIG_fail
;
30281 Py_INCREF(Py_None
); resultobj
= Py_None
;
30288 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30289 PyObject
*resultobj
;
30290 wxSizer
*arg1
= (wxSizer
*) 0 ;
30295 PyObject
* obj0
= 0 ;
30296 char *kwnames
[] = {
30297 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
30301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30304 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
30306 wxPyEndAllowThreads(__tstate
);
30307 if (PyErr_Occurred()) SWIG_fail
;
30309 Py_INCREF(Py_None
); resultobj
= Py_None
;
30316 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30317 PyObject
*resultobj
;
30318 wxSizer
*arg1
= (wxSizer
*) 0 ;
30321 PyObject
* obj0
= 0 ;
30322 PyObject
* obj1
= 0 ;
30323 char *kwnames
[] = {
30324 (char *) "self",(char *) "size", NULL
30327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30329 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30333 (arg1
)->SetMinSize(arg2
);
30335 wxPyEndAllowThreads(__tstate
);
30336 if (PyErr_Occurred()) SWIG_fail
;
30338 Py_INCREF(Py_None
); resultobj
= Py_None
;
30345 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30346 PyObject
*resultobj
;
30347 wxSizer
*arg1
= (wxSizer
*) 0 ;
30349 PyObject
* obj0
= 0 ;
30350 char *kwnames
[] = {
30351 (char *) "self", NULL
30354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
30355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30358 result
= (arg1
)->GetSize();
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30364 wxSize
* resultptr
;
30365 resultptr
= new wxSize((wxSize
&) result
);
30366 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30374 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30375 PyObject
*resultobj
;
30376 wxSizer
*arg1
= (wxSizer
*) 0 ;
30378 PyObject
* obj0
= 0 ;
30379 char *kwnames
[] = {
30380 (char *) "self", NULL
30383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
30384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30387 result
= (arg1
)->GetPosition();
30389 wxPyEndAllowThreads(__tstate
);
30390 if (PyErr_Occurred()) SWIG_fail
;
30393 wxPoint
* resultptr
;
30394 resultptr
= new wxPoint((wxPoint
&) result
);
30395 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30403 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30404 PyObject
*resultobj
;
30405 wxSizer
*arg1
= (wxSizer
*) 0 ;
30407 PyObject
* obj0
= 0 ;
30408 char *kwnames
[] = {
30409 (char *) "self", NULL
30412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
30413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30416 result
= (arg1
)->GetMinSize();
30418 wxPyEndAllowThreads(__tstate
);
30419 if (PyErr_Occurred()) SWIG_fail
;
30422 wxSize
* resultptr
;
30423 resultptr
= new wxSize((wxSize
&) result
);
30424 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30432 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30433 PyObject
*resultobj
;
30434 wxSizer
*arg1
= (wxSizer
*) 0 ;
30435 PyObject
* obj0
= 0 ;
30436 char *kwnames
[] = {
30437 (char *) "self", NULL
30440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30444 (arg1
)->RecalcSizes();
30446 wxPyEndAllowThreads(__tstate
);
30447 if (PyErr_Occurred()) SWIG_fail
;
30449 Py_INCREF(Py_None
); resultobj
= Py_None
;
30456 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30457 PyObject
*resultobj
;
30458 wxSizer
*arg1
= (wxSizer
*) 0 ;
30460 PyObject
* obj0
= 0 ;
30461 char *kwnames
[] = {
30462 (char *) "self", NULL
30465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30469 result
= (arg1
)->CalcMin();
30471 wxPyEndAllowThreads(__tstate
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30475 wxSize
* resultptr
;
30476 resultptr
= new wxSize((wxSize
&) result
);
30477 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30485 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
;
30487 wxSizer
*arg1
= (wxSizer
*) 0 ;
30488 PyObject
* obj0
= 0 ;
30489 char *kwnames
[] = {
30490 (char *) "self", NULL
30493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
30494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30499 wxPyEndAllowThreads(__tstate
);
30500 if (PyErr_Occurred()) SWIG_fail
;
30502 Py_INCREF(Py_None
); resultobj
= Py_None
;
30509 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30510 PyObject
*resultobj
;
30511 wxSizer
*arg1
= (wxSizer
*) 0 ;
30512 wxWindow
*arg2
= (wxWindow
*) 0 ;
30514 PyObject
* obj0
= 0 ;
30515 PyObject
* obj1
= 0 ;
30516 char *kwnames
[] = {
30517 (char *) "self",(char *) "window", NULL
30520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
30521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30525 result
= (arg1
)->Fit(arg2
);
30527 wxPyEndAllowThreads(__tstate
);
30528 if (PyErr_Occurred()) SWIG_fail
;
30531 wxSize
* resultptr
;
30532 resultptr
= new wxSize((wxSize
&) result
);
30533 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30541 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30542 PyObject
*resultobj
;
30543 wxSizer
*arg1
= (wxSizer
*) 0 ;
30544 wxWindow
*arg2
= (wxWindow
*) 0 ;
30545 PyObject
* obj0
= 0 ;
30546 PyObject
* obj1
= 0 ;
30547 char *kwnames
[] = {
30548 (char *) "self",(char *) "window", NULL
30551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
30552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30553 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30556 (arg1
)->FitInside(arg2
);
30558 wxPyEndAllowThreads(__tstate
);
30559 if (PyErr_Occurred()) SWIG_fail
;
30561 Py_INCREF(Py_None
); resultobj
= Py_None
;
30568 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30569 PyObject
*resultobj
;
30570 wxSizer
*arg1
= (wxSizer
*) 0 ;
30571 wxWindow
*arg2
= (wxWindow
*) 0 ;
30572 PyObject
* obj0
= 0 ;
30573 PyObject
* obj1
= 0 ;
30574 char *kwnames
[] = {
30575 (char *) "self",(char *) "window", NULL
30578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30583 (arg1
)->SetSizeHints(arg2
);
30585 wxPyEndAllowThreads(__tstate
);
30586 if (PyErr_Occurred()) SWIG_fail
;
30588 Py_INCREF(Py_None
); resultobj
= Py_None
;
30595 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30596 PyObject
*resultobj
;
30597 wxSizer
*arg1
= (wxSizer
*) 0 ;
30598 wxWindow
*arg2
= (wxWindow
*) 0 ;
30599 PyObject
* obj0
= 0 ;
30600 PyObject
* obj1
= 0 ;
30601 char *kwnames
[] = {
30602 (char *) "self",(char *) "window", NULL
30605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30607 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30610 (arg1
)->SetVirtualSizeHints(arg2
);
30612 wxPyEndAllowThreads(__tstate
);
30613 if (PyErr_Occurred()) SWIG_fail
;
30615 Py_INCREF(Py_None
); resultobj
= Py_None
;
30622 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30623 PyObject
*resultobj
;
30624 wxSizer
*arg1
= (wxSizer
*) 0 ;
30625 bool arg2
= (bool) FALSE
;
30626 PyObject
* obj0
= 0 ;
30627 PyObject
* obj1
= 0 ;
30628 char *kwnames
[] = {
30629 (char *) "self",(char *) "delete_windows", NULL
30632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30635 arg2
= PyInt_AsLong(obj1
) ? true : false;
30636 if (PyErr_Occurred()) SWIG_fail
;
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 (arg1
)->Clear(arg2
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 Py_INCREF(Py_None
); resultobj
= Py_None
;
30652 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
;
30654 wxSizer
*arg1
= (wxSizer
*) 0 ;
30655 PyObject
* obj0
= 0 ;
30656 char *kwnames
[] = {
30657 (char *) "self", NULL
30660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
30661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30664 (arg1
)->DeleteWindows();
30666 wxPyEndAllowThreads(__tstate
);
30667 if (PyErr_Occurred()) SWIG_fail
;
30669 Py_INCREF(Py_None
); resultobj
= Py_None
;
30676 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30677 PyObject
*resultobj
;
30678 wxSizer
*arg1
= (wxSizer
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 char *kwnames
[] = {
30682 (char *) "self", NULL
30685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
30686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 resultobj
= result
;
30701 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
;
30703 wxSizer
*arg1
= (wxSizer
*) 0 ;
30704 PyObject
*arg2
= (PyObject
*) 0 ;
30705 bool arg3
= (bool) TRUE
;
30706 PyObject
* obj0
= 0 ;
30707 PyObject
* obj1
= 0 ;
30708 PyObject
* obj2
= 0 ;
30709 char *kwnames
[] = {
30710 (char *) "self",(char *) "item",(char *) "show", NULL
30713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30717 arg3
= PyInt_AsLong(obj2
) ? true : false;
30718 if (PyErr_Occurred()) SWIG_fail
;
30721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30722 wxSizer_Show(arg1
,arg2
,arg3
);
30724 wxPyEndAllowThreads(__tstate
);
30725 if (PyErr_Occurred()) SWIG_fail
;
30727 Py_INCREF(Py_None
); resultobj
= Py_None
;
30734 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30735 PyObject
*resultobj
;
30736 wxSizer
*arg1
= (wxSizer
*) 0 ;
30737 PyObject
*arg2
= (PyObject
*) 0 ;
30738 PyObject
* obj0
= 0 ;
30739 PyObject
* obj1
= 0 ;
30740 char *kwnames
[] = {
30741 (char *) "self",(char *) "item", NULL
30744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
30745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30749 wxSizer_Hide(arg1
,arg2
);
30751 wxPyEndAllowThreads(__tstate
);
30752 if (PyErr_Occurred()) SWIG_fail
;
30754 Py_INCREF(Py_None
); resultobj
= Py_None
;
30761 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30762 PyObject
*resultobj
;
30763 wxSizer
*arg1
= (wxSizer
*) 0 ;
30764 PyObject
*arg2
= (PyObject
*) 0 ;
30766 PyObject
* obj0
= 0 ;
30767 PyObject
* obj1
= 0 ;
30768 char *kwnames
[] = {
30769 (char *) "self",(char *) "item", NULL
30772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
30773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30777 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
30779 wxPyEndAllowThreads(__tstate
);
30780 if (PyErr_Occurred()) SWIG_fail
;
30782 resultobj
= PyInt_FromLong((long)result
);
30789 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30790 PyObject
*resultobj
;
30791 wxSizer
*arg1
= (wxSizer
*) 0 ;
30793 PyObject
* obj0
= 0 ;
30794 PyObject
* obj1
= 0 ;
30795 char *kwnames
[] = {
30796 (char *) "self",(char *) "show", NULL
30799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
30800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30801 arg2
= PyInt_AsLong(obj1
) ? true : false;
30802 if (PyErr_Occurred()) SWIG_fail
;
30804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30805 (arg1
)->ShowItems(arg2
);
30807 wxPyEndAllowThreads(__tstate
);
30808 if (PyErr_Occurred()) SWIG_fail
;
30810 Py_INCREF(Py_None
); resultobj
= Py_None
;
30817 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
30819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30820 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
30822 return Py_BuildValue((char *)"");
30824 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30827 char *kwnames
[] = {
30831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
30833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30834 result
= (wxPySizer
*)new wxPySizer();
30836 wxPyEndAllowThreads(__tstate
);
30837 if (PyErr_Occurred()) SWIG_fail
;
30839 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
30846 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
30849 PyObject
*arg2
= (PyObject
*) 0 ;
30850 PyObject
*arg3
= (PyObject
*) 0 ;
30851 PyObject
* obj0
= 0 ;
30852 PyObject
* obj1
= 0 ;
30853 PyObject
* obj2
= 0 ;
30854 char *kwnames
[] = {
30855 (char *) "self",(char *) "self",(char *) "_class", NULL
30858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30864 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30866 wxPyEndAllowThreads(__tstate
);
30867 if (PyErr_Occurred()) SWIG_fail
;
30869 Py_INCREF(Py_None
); resultobj
= Py_None
;
30876 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
30878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30879 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
30881 return Py_BuildValue((char *)"");
30883 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30884 PyObject
*resultobj
;
30885 int arg1
= (int) wxHORIZONTAL
;
30886 wxBoxSizer
*result
;
30887 char *kwnames
[] = {
30888 (char *) "orient", NULL
30891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
30893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30894 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
30896 wxPyEndAllowThreads(__tstate
);
30897 if (PyErr_Occurred()) SWIG_fail
;
30899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
30906 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30907 PyObject
*resultobj
;
30908 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
30910 PyObject
* obj0
= 0 ;
30911 char *kwnames
[] = {
30912 (char *) "self", NULL
30915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
30916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30919 result
= (int)(arg1
)->GetOrientation();
30921 wxPyEndAllowThreads(__tstate
);
30922 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= PyInt_FromLong((long)result
);
30931 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30932 PyObject
*resultobj
;
30933 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self",(char *) "orient", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
30941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 (arg1
)->SetOrientation(arg2
);
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 Py_INCREF(Py_None
); resultobj
= Py_None
;
30956 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
30959 PyObject
* obj0
= 0 ;
30960 char *kwnames
[] = {
30961 (char *) "self", NULL
30964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 (arg1
)->RecalcSizes();
30970 wxPyEndAllowThreads(__tstate
);
30971 if (PyErr_Occurred()) SWIG_fail
;
30973 Py_INCREF(Py_None
); resultobj
= Py_None
;
30980 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30981 PyObject
*resultobj
;
30982 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
30984 PyObject
* obj0
= 0 ;
30985 char *kwnames
[] = {
30986 (char *) "self", NULL
30989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30993 result
= (arg1
)->CalcMin();
30995 wxPyEndAllowThreads(__tstate
);
30996 if (PyErr_Occurred()) SWIG_fail
;
30999 wxSize
* resultptr
;
31000 resultptr
= new wxSize((wxSize
&) result
);
31001 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31009 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31012 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31014 return Py_BuildValue((char *)"");
31016 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31017 PyObject
*resultobj
;
31018 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31019 int arg2
= (int) wxHORIZONTAL
;
31020 wxStaticBoxSizer
*result
;
31021 PyObject
* obj0
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "box",(char *) "orient", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31042 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
;
31044 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31045 wxStaticBox
*result
;
31046 PyObject
* obj0
= 0 ;
31047 char *kwnames
[] = {
31048 (char *) "self", NULL
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31061 resultobj
= wxPyMake_wxObject(result
);
31069 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31070 PyObject
*resultobj
;
31071 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31072 PyObject
* obj0
= 0 ;
31073 char *kwnames
[] = {
31074 (char *) "self", NULL
31077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31081 (arg1
)->RecalcSizes();
31083 wxPyEndAllowThreads(__tstate
);
31084 if (PyErr_Occurred()) SWIG_fail
;
31086 Py_INCREF(Py_None
); resultobj
= Py_None
;
31093 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
;
31095 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31097 PyObject
* obj0
= 0 ;
31098 char *kwnames
[] = {
31099 (char *) "self", NULL
31102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 result
= (arg1
)->CalcMin();
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31112 wxSize
* resultptr
;
31113 resultptr
= new wxSize((wxSize
&) result
);
31114 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31122 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31125 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31127 return Py_BuildValue((char *)"");
31129 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31130 PyObject
*resultobj
;
31131 int arg1
= (int) 1 ;
31132 int arg2
= (int) 0 ;
31133 int arg3
= (int) 0 ;
31134 int arg4
= (int) 0 ;
31135 wxGridSizer
*result
;
31136 char *kwnames
[] = {
31137 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31143 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31145 wxPyEndAllowThreads(__tstate
);
31146 if (PyErr_Occurred()) SWIG_fail
;
31148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31155 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31156 PyObject
*resultobj
;
31157 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31158 PyObject
* obj0
= 0 ;
31159 char *kwnames
[] = {
31160 (char *) "self", NULL
31163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31167 (arg1
)->RecalcSizes();
31169 wxPyEndAllowThreads(__tstate
);
31170 if (PyErr_Occurred()) SWIG_fail
;
31172 Py_INCREF(Py_None
); resultobj
= Py_None
;
31179 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31180 PyObject
*resultobj
;
31181 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31183 PyObject
* obj0
= 0 ;
31184 char *kwnames
[] = {
31185 (char *) "self", NULL
31188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31192 result
= (arg1
)->CalcMin();
31194 wxPyEndAllowThreads(__tstate
);
31195 if (PyErr_Occurred()) SWIG_fail
;
31198 wxSize
* resultptr
;
31199 resultptr
= new wxSize((wxSize
&) result
);
31200 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31208 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31209 PyObject
*resultobj
;
31210 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31212 PyObject
* obj0
= 0 ;
31213 char *kwnames
[] = {
31214 (char *) "self",(char *) "cols", NULL
31217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
31218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 (arg1
)->SetCols(arg2
);
31223 wxPyEndAllowThreads(__tstate
);
31224 if (PyErr_Occurred()) SWIG_fail
;
31226 Py_INCREF(Py_None
); resultobj
= Py_None
;
31233 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31234 PyObject
*resultobj
;
31235 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31237 PyObject
* obj0
= 0 ;
31238 char *kwnames
[] = {
31239 (char *) "self",(char *) "rows", NULL
31242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
31243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 (arg1
)->SetRows(arg2
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31251 Py_INCREF(Py_None
); resultobj
= Py_None
;
31258 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31259 PyObject
*resultobj
;
31260 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31262 PyObject
* obj0
= 0 ;
31263 char *kwnames
[] = {
31264 (char *) "self",(char *) "gap", NULL
31267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31271 (arg1
)->SetVGap(arg2
);
31273 wxPyEndAllowThreads(__tstate
);
31274 if (PyErr_Occurred()) SWIG_fail
;
31276 Py_INCREF(Py_None
); resultobj
= Py_None
;
31283 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31284 PyObject
*resultobj
;
31285 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31287 PyObject
* obj0
= 0 ;
31288 char *kwnames
[] = {
31289 (char *) "self",(char *) "gap", NULL
31292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31296 (arg1
)->SetHGap(arg2
);
31298 wxPyEndAllowThreads(__tstate
);
31299 if (PyErr_Occurred()) SWIG_fail
;
31301 Py_INCREF(Py_None
); resultobj
= Py_None
;
31308 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31309 PyObject
*resultobj
;
31310 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31312 PyObject
* obj0
= 0 ;
31313 char *kwnames
[] = {
31314 (char *) "self", NULL
31317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
31318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31321 result
= (int)(arg1
)->GetCols();
31323 wxPyEndAllowThreads(__tstate
);
31324 if (PyErr_Occurred()) SWIG_fail
;
31326 resultobj
= PyInt_FromLong((long)result
);
31333 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31334 PyObject
*resultobj
;
31335 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31337 PyObject
* obj0
= 0 ;
31338 char *kwnames
[] = {
31339 (char *) "self", NULL
31342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
31343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31346 result
= (int)(arg1
)->GetRows();
31348 wxPyEndAllowThreads(__tstate
);
31349 if (PyErr_Occurred()) SWIG_fail
;
31351 resultobj
= PyInt_FromLong((long)result
);
31358 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 char *kwnames
[] = {
31364 (char *) "self", NULL
31367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
31368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31371 result
= (int)(arg1
)->GetVGap();
31373 wxPyEndAllowThreads(__tstate
);
31374 if (PyErr_Occurred()) SWIG_fail
;
31376 resultobj
= PyInt_FromLong((long)result
);
31383 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31384 PyObject
*resultobj
;
31385 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31387 PyObject
* obj0
= 0 ;
31388 char *kwnames
[] = {
31389 (char *) "self", NULL
31392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
31393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 result
= (int)(arg1
)->GetHGap();
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31401 resultobj
= PyInt_FromLong((long)result
);
31408 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31410 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31411 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
31413 return Py_BuildValue((char *)"");
31415 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31416 PyObject
*resultobj
;
31417 int arg1
= (int) 1 ;
31418 int arg2
= (int) 0 ;
31419 int arg3
= (int) 0 ;
31420 int arg4
= (int) 0 ;
31421 wxFlexGridSizer
*result
;
31422 char *kwnames
[] = {
31423 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31429 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
31431 wxPyEndAllowThreads(__tstate
);
31432 if (PyErr_Occurred()) SWIG_fail
;
31434 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
31441 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31442 PyObject
*resultobj
;
31443 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31444 PyObject
* obj0
= 0 ;
31445 char *kwnames
[] = {
31446 (char *) "self", NULL
31449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31453 (arg1
)->RecalcSizes();
31455 wxPyEndAllowThreads(__tstate
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 Py_INCREF(Py_None
); resultobj
= Py_None
;
31465 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31466 PyObject
*resultobj
;
31467 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31469 PyObject
* obj0
= 0 ;
31470 char *kwnames
[] = {
31471 (char *) "self", NULL
31474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31478 result
= (arg1
)->CalcMin();
31480 wxPyEndAllowThreads(__tstate
);
31481 if (PyErr_Occurred()) SWIG_fail
;
31484 wxSize
* resultptr
;
31485 resultptr
= new wxSize((wxSize
&) result
);
31486 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31494 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31495 PyObject
*resultobj
;
31496 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31498 int arg3
= (int) 0 ;
31499 PyObject
* obj0
= 0 ;
31500 PyObject
* obj1
= 0 ;
31501 char *kwnames
[] = {
31502 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31507 arg2
= (size_t) PyInt_AsLong(obj1
);
31508 if (PyErr_Occurred()) SWIG_fail
;
31510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31511 (arg1
)->AddGrowableRow(arg2
,arg3
);
31513 wxPyEndAllowThreads(__tstate
);
31514 if (PyErr_Occurred()) SWIG_fail
;
31516 Py_INCREF(Py_None
); resultobj
= Py_None
;
31523 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31524 PyObject
*resultobj
;
31525 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31527 PyObject
* obj0
= 0 ;
31528 PyObject
* obj1
= 0 ;
31529 char *kwnames
[] = {
31530 (char *) "self",(char *) "idx", NULL
31533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
31534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31535 arg2
= (size_t) PyInt_AsLong(obj1
);
31536 if (PyErr_Occurred()) SWIG_fail
;
31538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31539 (arg1
)->RemoveGrowableRow(arg2
);
31541 wxPyEndAllowThreads(__tstate
);
31542 if (PyErr_Occurred()) SWIG_fail
;
31544 Py_INCREF(Py_None
); resultobj
= Py_None
;
31551 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31552 PyObject
*resultobj
;
31553 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31555 int arg3
= (int) 0 ;
31556 PyObject
* obj0
= 0 ;
31557 PyObject
* obj1
= 0 ;
31558 char *kwnames
[] = {
31559 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31564 arg2
= (size_t) PyInt_AsLong(obj1
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31568 (arg1
)->AddGrowableCol(arg2
,arg3
);
31570 wxPyEndAllowThreads(__tstate
);
31571 if (PyErr_Occurred()) SWIG_fail
;
31573 Py_INCREF(Py_None
); resultobj
= Py_None
;
31580 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31581 PyObject
*resultobj
;
31582 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31584 PyObject
* obj0
= 0 ;
31585 PyObject
* obj1
= 0 ;
31586 char *kwnames
[] = {
31587 (char *) "self",(char *) "idx", NULL
31590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
31591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31592 arg2
= (size_t) PyInt_AsLong(obj1
);
31593 if (PyErr_Occurred()) SWIG_fail
;
31595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31596 (arg1
)->RemoveGrowableCol(arg2
);
31598 wxPyEndAllowThreads(__tstate
);
31599 if (PyErr_Occurred()) SWIG_fail
;
31601 Py_INCREF(Py_None
); resultobj
= Py_None
;
31608 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31609 PyObject
*resultobj
;
31610 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31612 PyObject
* obj0
= 0 ;
31613 char *kwnames
[] = {
31614 (char *) "self",(char *) "direction", NULL
31617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
31618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31621 (arg1
)->SetFlexibleDirection(arg2
);
31623 wxPyEndAllowThreads(__tstate
);
31624 if (PyErr_Occurred()) SWIG_fail
;
31626 Py_INCREF(Py_None
); resultobj
= Py_None
;
31633 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31634 PyObject
*resultobj
;
31635 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31637 PyObject
* obj0
= 0 ;
31638 char *kwnames
[] = {
31639 (char *) "self", NULL
31642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
31643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31646 result
= (int)(arg1
)->GetFlexibleDirection();
31648 wxPyEndAllowThreads(__tstate
);
31649 if (PyErr_Occurred()) SWIG_fail
;
31651 resultobj
= PyInt_FromLong((long)result
);
31658 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31659 PyObject
*resultobj
;
31660 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31662 PyObject
* obj0
= 0 ;
31663 char *kwnames
[] = {
31664 (char *) "self",(char *) "mode", NULL
31667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
31668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31671 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
31673 wxPyEndAllowThreads(__tstate
);
31674 if (PyErr_Occurred()) SWIG_fail
;
31676 Py_INCREF(Py_None
); resultobj
= Py_None
;
31683 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31684 PyObject
*resultobj
;
31685 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31687 PyObject
* obj0
= 0 ;
31688 char *kwnames
[] = {
31689 (char *) "self", NULL
31692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
31693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31696 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
31698 wxPyEndAllowThreads(__tstate
);
31699 if (PyErr_Occurred()) SWIG_fail
;
31701 resultobj
= PyInt_FromLong((long)result
);
31708 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31710 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31711 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
31713 return Py_BuildValue((char *)"");
31715 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31716 PyObject
*resultobj
;
31717 int arg1
= (int) 0 ;
31718 int arg2
= (int) 0 ;
31719 wxGBPosition
*result
;
31720 char *kwnames
[] = {
31721 (char *) "row",(char *) "col", NULL
31724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
31726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31727 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31732 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
31739 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
;
31741 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31743 PyObject
* obj0
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "self", NULL
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
31749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= PyInt_FromLong((long)result
);
31764 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31765 PyObject
*resultobj
;
31766 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31768 PyObject
* obj0
= 0 ;
31769 char *kwnames
[] = {
31770 (char *) "self", NULL
31773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
31774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31777 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
31779 wxPyEndAllowThreads(__tstate
);
31780 if (PyErr_Occurred()) SWIG_fail
;
31782 resultobj
= PyInt_FromLong((long)result
);
31789 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31790 PyObject
*resultobj
;
31791 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31793 PyObject
* obj0
= 0 ;
31794 char *kwnames
[] = {
31795 (char *) "self",(char *) "row", NULL
31798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
31799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31802 (arg1
)->SetRow(arg2
);
31804 wxPyEndAllowThreads(__tstate
);
31805 if (PyErr_Occurred()) SWIG_fail
;
31807 Py_INCREF(Py_None
); resultobj
= Py_None
;
31814 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31815 PyObject
*resultobj
;
31816 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31818 PyObject
* obj0
= 0 ;
31819 char *kwnames
[] = {
31820 (char *) "self",(char *) "col", NULL
31823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
31824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31827 (arg1
)->SetCol(arg2
);
31829 wxPyEndAllowThreads(__tstate
);
31830 if (PyErr_Occurred()) SWIG_fail
;
31832 Py_INCREF(Py_None
); resultobj
= Py_None
;
31839 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31840 PyObject
*resultobj
;
31841 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31842 wxGBPosition
*arg2
= 0 ;
31844 wxGBPosition temp2
;
31845 PyObject
* obj0
= 0 ;
31846 PyObject
* obj1
= 0 ;
31847 char *kwnames
[] = {
31848 (char *) "self",(char *) "p", NULL
31851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31855 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
31858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31859 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
31861 wxPyEndAllowThreads(__tstate
);
31862 if (PyErr_Occurred()) SWIG_fail
;
31864 resultobj
= PyInt_FromLong((long)result
);
31871 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31872 PyObject
*resultobj
;
31873 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31874 wxGBPosition
*arg2
= 0 ;
31876 wxGBPosition temp2
;
31877 PyObject
* obj0
= 0 ;
31878 PyObject
* obj1
= 0 ;
31879 char *kwnames
[] = {
31880 (char *) "self",(char *) "p", NULL
31883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31887 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
31890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31891 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
31893 wxPyEndAllowThreads(__tstate
);
31894 if (PyErr_Occurred()) SWIG_fail
;
31896 resultobj
= PyInt_FromLong((long)result
);
31903 static PyObject
*_wrap_GBPosition_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31904 PyObject
*resultobj
;
31905 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31907 PyObject
* obj0
= 0 ;
31908 char *kwnames
[] = {
31909 (char *) "self", NULL
31912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_asTuple",kwnames
,&obj0
)) goto fail
;
31913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31916 result
= (PyObject
*)wxGBPosition_asTuple(arg1
);
31918 wxPyEndAllowThreads(__tstate
);
31919 if (PyErr_Occurred()) SWIG_fail
;
31921 resultobj
= result
;
31928 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
31930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31931 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
31933 return Py_BuildValue((char *)"");
31935 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31936 PyObject
*resultobj
;
31937 int arg1
= (int) 1 ;
31938 int arg2
= (int) 1 ;
31940 char *kwnames
[] = {
31941 (char *) "rowspan",(char *) "colspan", NULL
31944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
31946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31947 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
31949 wxPyEndAllowThreads(__tstate
);
31950 if (PyErr_Occurred()) SWIG_fail
;
31952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
31959 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31960 PyObject
*resultobj
;
31961 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
31963 PyObject
* obj0
= 0 ;
31964 char *kwnames
[] = {
31965 (char *) "self", NULL
31968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
31969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31972 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
31974 wxPyEndAllowThreads(__tstate
);
31975 if (PyErr_Occurred()) SWIG_fail
;
31977 resultobj
= PyInt_FromLong((long)result
);
31984 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31985 PyObject
*resultobj
;
31986 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
31988 PyObject
* obj0
= 0 ;
31989 char *kwnames
[] = {
31990 (char *) "self", NULL
31993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
31994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31997 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
31999 wxPyEndAllowThreads(__tstate
);
32000 if (PyErr_Occurred()) SWIG_fail
;
32002 resultobj
= PyInt_FromLong((long)result
);
32009 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32010 PyObject
*resultobj
;
32011 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32013 PyObject
* obj0
= 0 ;
32014 char *kwnames
[] = {
32015 (char *) "self",(char *) "rowspan", NULL
32018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32022 (arg1
)->SetRowspan(arg2
);
32024 wxPyEndAllowThreads(__tstate
);
32025 if (PyErr_Occurred()) SWIG_fail
;
32027 Py_INCREF(Py_None
); resultobj
= Py_None
;
32034 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32035 PyObject
*resultobj
;
32036 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32038 PyObject
* obj0
= 0 ;
32039 char *kwnames
[] = {
32040 (char *) "self",(char *) "colspan", NULL
32043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32047 (arg1
)->SetColspan(arg2
);
32049 wxPyEndAllowThreads(__tstate
);
32050 if (PyErr_Occurred()) SWIG_fail
;
32052 Py_INCREF(Py_None
); resultobj
= Py_None
;
32059 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32060 PyObject
*resultobj
;
32061 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32062 wxGBSpan
*arg2
= 0 ;
32065 PyObject
* obj0
= 0 ;
32066 PyObject
* obj1
= 0 ;
32067 char *kwnames
[] = {
32068 (char *) "self",(char *) "o", NULL
32071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32075 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32079 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
32081 wxPyEndAllowThreads(__tstate
);
32082 if (PyErr_Occurred()) SWIG_fail
;
32084 resultobj
= PyInt_FromLong((long)result
);
32091 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32092 PyObject
*resultobj
;
32093 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32094 wxGBSpan
*arg2
= 0 ;
32097 PyObject
* obj0
= 0 ;
32098 PyObject
* obj1
= 0 ;
32099 char *kwnames
[] = {
32100 (char *) "self",(char *) "o", NULL
32103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32107 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 resultobj
= PyInt_FromLong((long)result
);
32123 static PyObject
*_wrap_GBSpan_asTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
;
32125 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_asTuple",kwnames
,&obj0
)) goto fail
;
32133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 result
= (PyObject
*)wxGBSpan_asTuple(arg1
);
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32141 resultobj
= result
;
32148 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
32150 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32151 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
32153 return Py_BuildValue((char *)"");
32155 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
32156 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
32161 static PyObject
*_wrap_DefaultSpan_get() {
32164 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
32169 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
;
32171 wxGBSizerItem
*result
;
32172 char *kwnames
[] = {
32176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
32178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32179 result
= (wxGBSizerItem
*)new wxGBSizerItem();
32181 wxPyEndAllowThreads(__tstate
);
32182 if (PyErr_Occurred()) SWIG_fail
;
32184 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32191 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32192 PyObject
*resultobj
;
32193 wxWindow
*arg1
= (wxWindow
*) 0 ;
32194 wxGBPosition
*arg2
= 0 ;
32195 wxGBSpan
*arg3
= 0 ;
32198 wxObject
*arg6
= (wxObject
*) 0 ;
32199 wxGBSizerItem
*result
;
32200 wxGBPosition temp2
;
32202 PyObject
* obj0
= 0 ;
32203 PyObject
* obj1
= 0 ;
32204 PyObject
* obj2
= 0 ;
32205 PyObject
* obj5
= 0 ;
32206 char *kwnames
[] = {
32207 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32214 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32218 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32220 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32223 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32225 wxPyEndAllowThreads(__tstate
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32235 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32236 PyObject
*resultobj
;
32237 wxSizer
*arg1
= (wxSizer
*) 0 ;
32238 wxGBPosition
*arg2
= 0 ;
32239 wxGBSpan
*arg3
= 0 ;
32242 wxObject
*arg6
= (wxObject
*) 0 ;
32243 wxGBSizerItem
*result
;
32244 wxGBPosition temp2
;
32246 PyObject
* obj0
= 0 ;
32247 PyObject
* obj1
= 0 ;
32248 PyObject
* obj2
= 0 ;
32249 PyObject
* obj5
= 0 ;
32250 char *kwnames
[] = {
32251 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32258 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32262 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32264 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32267 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32269 wxPyEndAllowThreads(__tstate
);
32270 if (PyErr_Occurred()) SWIG_fail
;
32272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32279 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32280 PyObject
*resultobj
;
32283 wxGBPosition
*arg3
= 0 ;
32284 wxGBSpan
*arg4
= 0 ;
32287 wxObject
*arg7
= (wxObject
*) 0 ;
32288 wxGBSizerItem
*result
;
32289 wxGBPosition temp3
;
32291 PyObject
* obj2
= 0 ;
32292 PyObject
* obj3
= 0 ;
32293 PyObject
* obj6
= 0 ;
32294 char *kwnames
[] = {
32295 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32301 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32305 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32307 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32310 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32312 wxPyEndAllowThreads(__tstate
);
32313 if (PyErr_Occurred()) SWIG_fail
;
32315 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32322 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32323 PyObject
*resultobj
;
32324 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32325 wxGBPosition result
;
32326 PyObject
* obj0
= 0 ;
32327 char *kwnames
[] = {
32328 (char *) "self", NULL
32331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
32332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32335 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
32337 wxPyEndAllowThreads(__tstate
);
32338 if (PyErr_Occurred()) SWIG_fail
;
32341 wxGBPosition
* resultptr
;
32342 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32343 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32351 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32352 PyObject
*resultobj
;
32353 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32355 PyObject
* obj0
= 0 ;
32356 char *kwnames
[] = {
32357 (char *) "self", NULL
32360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
32361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32364 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
32366 wxPyEndAllowThreads(__tstate
);
32367 if (PyErr_Occurred()) SWIG_fail
;
32370 wxGBSpan
* resultptr
;
32371 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
32372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
32380 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32381 PyObject
*resultobj
;
32382 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32383 wxGBPosition
*arg2
= 0 ;
32385 wxGBPosition temp2
;
32386 PyObject
* obj0
= 0 ;
32387 PyObject
* obj1
= 0 ;
32388 char *kwnames
[] = {
32389 (char *) "self",(char *) "pos", NULL
32392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
32393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32396 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32400 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
32402 wxPyEndAllowThreads(__tstate
);
32403 if (PyErr_Occurred()) SWIG_fail
;
32405 resultobj
= PyInt_FromLong((long)result
);
32412 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32413 PyObject
*resultobj
;
32414 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32415 wxGBSpan
*arg2
= 0 ;
32418 PyObject
* obj0
= 0 ;
32419 PyObject
* obj1
= 0 ;
32420 char *kwnames
[] = {
32421 (char *) "self",(char *) "span", NULL
32424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
32425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32428 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32432 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
32434 wxPyEndAllowThreads(__tstate
);
32435 if (PyErr_Occurred()) SWIG_fail
;
32437 resultobj
= PyInt_FromLong((long)result
);
32444 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
32445 PyObject
*resultobj
;
32446 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32447 wxGBSizerItem
*arg2
= 0 ;
32449 PyObject
* obj0
= 0 ;
32450 PyObject
* obj1
= 0 ;
32452 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
32453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32455 if (arg2
== NULL
) {
32456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32460 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
32462 wxPyEndAllowThreads(__tstate
);
32463 if (PyErr_Occurred()) SWIG_fail
;
32465 resultobj
= PyInt_FromLong((long)result
);
32472 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
32473 PyObject
*resultobj
;
32474 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32475 wxGBPosition
*arg2
= 0 ;
32476 wxGBSpan
*arg3
= 0 ;
32478 wxGBPosition temp2
;
32480 PyObject
* obj0
= 0 ;
32481 PyObject
* obj1
= 0 ;
32482 PyObject
* obj2
= 0 ;
32484 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
32485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32488 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32492 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32496 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
32498 wxPyEndAllowThreads(__tstate
);
32499 if (PyErr_Occurred()) SWIG_fail
;
32501 resultobj
= PyInt_FromLong((long)result
);
32508 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
32513 argc
= PyObject_Length(args
);
32514 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
32515 argv
[ii
] = PyTuple_GetItem(args
,ii
);
32521 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32531 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32539 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
32547 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32556 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
32560 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
32563 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
32569 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
32574 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32575 PyObject
*resultobj
;
32576 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32579 PyObject
* obj0
= 0 ;
32580 PyObject
* obj1
= 0 ;
32581 PyObject
* obj2
= 0 ;
32582 char *kwnames
[] = {
32583 (char *) "self",(char *) "row",(char *) "col", NULL
32586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32589 if (arg2
== NULL
) {
32590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32592 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32593 if (arg3
== NULL
) {
32594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 (arg1
)->GetEndPos(*arg2
,*arg3
);
32600 wxPyEndAllowThreads(__tstate
);
32601 if (PyErr_Occurred()) SWIG_fail
;
32603 Py_INCREF(Py_None
); resultobj
= Py_None
;
32610 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32611 PyObject
*resultobj
;
32612 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32613 wxGridBagSizer
*result
;
32614 PyObject
* obj0
= 0 ;
32615 char *kwnames
[] = {
32616 (char *) "self", NULL
32619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
32620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32623 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
32625 wxPyEndAllowThreads(__tstate
);
32626 if (PyErr_Occurred()) SWIG_fail
;
32628 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
32635 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32636 PyObject
*resultobj
;
32637 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32638 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
32639 PyObject
* obj0
= 0 ;
32640 PyObject
* obj1
= 0 ;
32641 char *kwnames
[] = {
32642 (char *) "self",(char *) "sizer", NULL
32645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32650 (arg1
)->SetGBSizer(arg2
);
32652 wxPyEndAllowThreads(__tstate
);
32653 if (PyErr_Occurred()) SWIG_fail
;
32655 Py_INCREF(Py_None
); resultobj
= Py_None
;
32662 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
32664 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32665 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
32667 return Py_BuildValue((char *)"");
32669 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32670 PyObject
*resultobj
;
32671 int arg1
= (int) 0 ;
32672 int arg2
= (int) 0 ;
32673 wxGridBagSizer
*result
;
32674 char *kwnames
[] = {
32675 (char *) "vgap",(char *) "hgap", NULL
32678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
32680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32681 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
32683 wxPyEndAllowThreads(__tstate
);
32684 if (PyErr_Occurred()) SWIG_fail
;
32686 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
32693 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32694 PyObject
*resultobj
;
32695 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32696 PyObject
*arg2
= (PyObject
*) 0 ;
32697 wxGBPosition
*arg3
= 0 ;
32698 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
32699 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
32700 int arg5
= (int) 0 ;
32701 int arg6
= (int) 0 ;
32702 PyObject
*arg7
= (PyObject
*) NULL
;
32704 wxGBPosition temp3
;
32706 PyObject
* obj0
= 0 ;
32707 PyObject
* obj1
= 0 ;
32708 PyObject
* obj2
= 0 ;
32709 PyObject
* obj3
= 0 ;
32710 PyObject
* obj6
= 0 ;
32711 char *kwnames
[] = {
32712 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32720 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32725 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32733 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32735 wxPyEndAllowThreads(__tstate
);
32736 if (PyErr_Occurred()) SWIG_fail
;
32738 resultobj
= PyInt_FromLong((long)result
);
32745 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32746 PyObject
*resultobj
;
32747 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32748 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
32750 PyObject
* obj0
= 0 ;
32751 PyObject
* obj1
= 0 ;
32752 char *kwnames
[] = {
32753 (char *) "self",(char *) "item", NULL
32756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32761 result
= (bool)(arg1
)->Add(arg2
);
32763 wxPyEndAllowThreads(__tstate
);
32764 if (PyErr_Occurred()) SWIG_fail
;
32766 resultobj
= PyInt_FromLong((long)result
);
32773 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32774 PyObject
*resultobj
;
32775 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32777 PyObject
* obj0
= 0 ;
32778 char *kwnames
[] = {
32779 (char *) "self", NULL
32782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
32783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32786 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
32788 wxPyEndAllowThreads(__tstate
);
32789 if (PyErr_Occurred()) SWIG_fail
;
32792 wxSize
* resultptr
;
32793 resultptr
= new wxSize((wxSize
&) result
);
32794 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32802 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32803 PyObject
*resultobj
;
32804 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32807 PyObject
* obj0
= 0 ;
32808 PyObject
* obj1
= 0 ;
32809 char *kwnames
[] = {
32810 (char *) "self",(char *) "sz", NULL
32813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32817 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32821 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
32823 wxPyEndAllowThreads(__tstate
);
32824 if (PyErr_Occurred()) SWIG_fail
;
32826 Py_INCREF(Py_None
); resultobj
= Py_None
;
32833 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
32834 PyObject
*resultobj
;
32835 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32836 wxWindow
*arg2
= (wxWindow
*) 0 ;
32837 wxGBPosition result
;
32838 PyObject
* obj0
= 0 ;
32839 PyObject
* obj1
= 0 ;
32841 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
32842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32843 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32846 result
= (arg1
)->GetItemPosition(arg2
);
32848 wxPyEndAllowThreads(__tstate
);
32849 if (PyErr_Occurred()) SWIG_fail
;
32852 wxGBPosition
* resultptr
;
32853 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32854 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32862 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
32863 PyObject
*resultobj
;
32864 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32865 wxSizer
*arg2
= (wxSizer
*) 0 ;
32866 wxGBPosition result
;
32867 PyObject
* obj0
= 0 ;
32868 PyObject
* obj1
= 0 ;
32870 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
32871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32872 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32875 result
= (arg1
)->GetItemPosition(arg2
);
32877 wxPyEndAllowThreads(__tstate
);
32878 if (PyErr_Occurred()) SWIG_fail
;
32881 wxGBPosition
* resultptr
;
32882 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32883 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32891 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
32892 PyObject
*resultobj
;
32893 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32895 wxGBPosition result
;
32896 PyObject
* obj0
= 0 ;
32897 PyObject
* obj1
= 0 ;
32899 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
32900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32901 arg2
= (size_t) PyInt_AsLong(obj1
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32905 result
= (arg1
)->GetItemPosition(arg2
);
32907 wxPyEndAllowThreads(__tstate
);
32908 if (PyErr_Occurred()) SWIG_fail
;
32911 wxGBPosition
* resultptr
;
32912 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32913 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32921 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
32926 argc
= PyObject_Length(args
);
32927 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
32928 argv
[ii
] = PyTuple_GetItem(args
,ii
);
32934 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
32944 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
32952 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
32960 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
32970 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
32978 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
32986 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
32995 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
32998 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
33003 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33008 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33009 PyObject
*resultobj
;
33010 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33011 wxWindow
*arg2
= (wxWindow
*) 0 ;
33012 wxGBPosition
*arg3
= 0 ;
33014 wxGBPosition temp3
;
33015 PyObject
* obj0
= 0 ;
33016 PyObject
* obj1
= 0 ;
33017 PyObject
* obj2
= 0 ;
33019 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33024 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33028 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33030 wxPyEndAllowThreads(__tstate
);
33031 if (PyErr_Occurred()) SWIG_fail
;
33033 resultobj
= PyInt_FromLong((long)result
);
33040 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33041 PyObject
*resultobj
;
33042 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33043 wxSizer
*arg2
= (wxSizer
*) 0 ;
33044 wxGBPosition
*arg3
= 0 ;
33046 wxGBPosition temp3
;
33047 PyObject
* obj0
= 0 ;
33048 PyObject
* obj1
= 0 ;
33049 PyObject
* obj2
= 0 ;
33051 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33056 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33060 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33062 wxPyEndAllowThreads(__tstate
);
33063 if (PyErr_Occurred()) SWIG_fail
;
33065 resultobj
= PyInt_FromLong((long)result
);
33072 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33073 PyObject
*resultobj
;
33074 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33076 wxGBPosition
*arg3
= 0 ;
33078 wxGBPosition temp3
;
33079 PyObject
* obj0
= 0 ;
33080 PyObject
* obj1
= 0 ;
33081 PyObject
* obj2
= 0 ;
33083 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33085 arg2
= (size_t) PyInt_AsLong(obj1
);
33086 if (PyErr_Occurred()) SWIG_fail
;
33089 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33093 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33095 wxPyEndAllowThreads(__tstate
);
33096 if (PyErr_Occurred()) SWIG_fail
;
33098 resultobj
= PyInt_FromLong((long)result
);
33105 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
33110 argc
= PyObject_Length(args
);
33111 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33112 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33118 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33128 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33137 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33140 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
33149 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33159 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33168 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33171 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
33180 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33189 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33193 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33196 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
33202 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33207 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33208 PyObject
*resultobj
;
33209 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33210 wxWindow
*arg2
= (wxWindow
*) 0 ;
33212 PyObject
* obj0
= 0 ;
33213 PyObject
* obj1
= 0 ;
33215 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33217 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33220 result
= (arg1
)->GetItemSpan(arg2
);
33222 wxPyEndAllowThreads(__tstate
);
33223 if (PyErr_Occurred()) SWIG_fail
;
33226 wxGBSpan
* resultptr
;
33227 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33228 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33236 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33237 PyObject
*resultobj
;
33238 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33239 wxSizer
*arg2
= (wxSizer
*) 0 ;
33241 PyObject
* obj0
= 0 ;
33242 PyObject
* obj1
= 0 ;
33244 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33246 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33249 result
= (arg1
)->GetItemSpan(arg2
);
33251 wxPyEndAllowThreads(__tstate
);
33252 if (PyErr_Occurred()) SWIG_fail
;
33255 wxGBSpan
* resultptr
;
33256 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33257 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33265 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33266 PyObject
*resultobj
;
33267 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33270 PyObject
* obj0
= 0 ;
33271 PyObject
* obj1
= 0 ;
33273 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33275 arg2
= (size_t) PyInt_AsLong(obj1
);
33276 if (PyErr_Occurred()) SWIG_fail
;
33278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33279 result
= (arg1
)->GetItemSpan(arg2
);
33281 wxPyEndAllowThreads(__tstate
);
33282 if (PyErr_Occurred()) SWIG_fail
;
33285 wxGBSpan
* resultptr
;
33286 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33287 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33295 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
33300 argc
= PyObject_Length(args
);
33301 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33302 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33308 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33318 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33326 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
33334 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33344 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33352 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
33360 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33369 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33372 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
33377 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33382 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33383 PyObject
*resultobj
;
33384 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33385 wxWindow
*arg2
= (wxWindow
*) 0 ;
33386 wxGBSpan
*arg3
= 0 ;
33389 PyObject
* obj0
= 0 ;
33390 PyObject
* obj1
= 0 ;
33391 PyObject
* obj2
= 0 ;
33393 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33398 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33402 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33404 wxPyEndAllowThreads(__tstate
);
33405 if (PyErr_Occurred()) SWIG_fail
;
33407 resultobj
= PyInt_FromLong((long)result
);
33414 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33415 PyObject
*resultobj
;
33416 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33417 wxSizer
*arg2
= (wxSizer
*) 0 ;
33418 wxGBSpan
*arg3
= 0 ;
33421 PyObject
* obj0
= 0 ;
33422 PyObject
* obj1
= 0 ;
33423 PyObject
* obj2
= 0 ;
33425 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33427 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33430 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33434 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33436 wxPyEndAllowThreads(__tstate
);
33437 if (PyErr_Occurred()) SWIG_fail
;
33439 resultobj
= PyInt_FromLong((long)result
);
33446 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33447 PyObject
*resultobj
;
33448 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33450 wxGBSpan
*arg3
= 0 ;
33453 PyObject
* obj0
= 0 ;
33454 PyObject
* obj1
= 0 ;
33455 PyObject
* obj2
= 0 ;
33457 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33459 arg2
= (size_t) PyInt_AsLong(obj1
);
33460 if (PyErr_Occurred()) SWIG_fail
;
33463 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33467 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33469 wxPyEndAllowThreads(__tstate
);
33470 if (PyErr_Occurred()) SWIG_fail
;
33472 resultobj
= PyInt_FromLong((long)result
);
33479 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
33484 argc
= PyObject_Length(args
);
33485 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33486 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33492 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33502 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33511 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33514 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
33523 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33533 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33542 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33545 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
33554 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33563 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33567 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33570 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
33576 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33581 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
33582 PyObject
*resultobj
;
33583 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33584 wxWindow
*arg2
= (wxWindow
*) 0 ;
33585 wxGBSizerItem
*result
;
33586 PyObject
* obj0
= 0 ;
33587 PyObject
* obj1
= 0 ;
33589 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
33590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33594 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
33596 wxPyEndAllowThreads(__tstate
);
33597 if (PyErr_Occurred()) SWIG_fail
;
33599 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33606 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
33607 PyObject
*resultobj
;
33608 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33609 wxSizer
*arg2
= (wxSizer
*) 0 ;
33610 wxGBSizerItem
*result
;
33611 PyObject
* obj0
= 0 ;
33612 PyObject
* obj1
= 0 ;
33614 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
33615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33619 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
33621 wxPyEndAllowThreads(__tstate
);
33622 if (PyErr_Occurred()) SWIG_fail
;
33624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33631 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
33636 argc
= PyObject_Length(args
);
33637 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33638 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33644 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33654 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33662 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
33670 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33680 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33688 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
33693 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
33698 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33699 PyObject
*resultobj
;
33700 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33701 wxGBPosition
*arg2
= 0 ;
33702 wxGBSizerItem
*result
;
33703 wxGBPosition temp2
;
33704 PyObject
* obj0
= 0 ;
33705 PyObject
* obj1
= 0 ;
33706 char *kwnames
[] = {
33707 (char *) "self",(char *) "pos", NULL
33710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33714 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33718 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
33720 wxPyEndAllowThreads(__tstate
);
33721 if (PyErr_Occurred()) SWIG_fail
;
33723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33730 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33731 PyObject
*resultobj
;
33732 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33733 wxObject
*arg2
= (wxObject
*) 0 ;
33734 wxGBSizerItem
*result
;
33735 PyObject
* obj0
= 0 ;
33736 PyObject
* obj1
= 0 ;
33737 char *kwnames
[] = {
33738 (char *) "self",(char *) "userData", NULL
33741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
33742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33743 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33746 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
33748 wxPyEndAllowThreads(__tstate
);
33749 if (PyErr_Occurred()) SWIG_fail
;
33751 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33758 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33759 PyObject
*resultobj
;
33760 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33761 PyObject
* obj0
= 0 ;
33762 char *kwnames
[] = {
33763 (char *) "self", NULL
33766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33770 (arg1
)->RecalcSizes();
33772 wxPyEndAllowThreads(__tstate
);
33773 if (PyErr_Occurred()) SWIG_fail
;
33775 Py_INCREF(Py_None
); resultobj
= Py_None
;
33782 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33783 PyObject
*resultobj
;
33784 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33786 PyObject
* obj0
= 0 ;
33787 char *kwnames
[] = {
33788 (char *) "self", NULL
33791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33795 result
= (arg1
)->CalcMin();
33797 wxPyEndAllowThreads(__tstate
);
33798 if (PyErr_Occurred()) SWIG_fail
;
33801 wxSize
* resultptr
;
33802 resultptr
= new wxSize((wxSize
&) result
);
33803 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33811 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
33812 PyObject
*resultobj
;
33813 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33814 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33815 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
33817 PyObject
* obj0
= 0 ;
33818 PyObject
* obj1
= 0 ;
33819 PyObject
* obj2
= 0 ;
33821 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
33822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33825 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33829 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
33831 wxPyEndAllowThreads(__tstate
);
33832 if (PyErr_Occurred()) SWIG_fail
;
33834 resultobj
= PyInt_FromLong((long)result
);
33841 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
33842 PyObject
*resultobj
;
33843 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33844 wxGBPosition
*arg2
= 0 ;
33845 wxGBSpan
*arg3
= 0 ;
33846 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
33848 wxGBPosition temp2
;
33850 PyObject
* obj0
= 0 ;
33851 PyObject
* obj1
= 0 ;
33852 PyObject
* obj2
= 0 ;
33853 PyObject
* obj3
= 0 ;
33855 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33859 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33863 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33866 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33870 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
33872 wxPyEndAllowThreads(__tstate
);
33873 if (PyErr_Occurred()) SWIG_fail
;
33875 resultobj
= PyInt_FromLong((long)result
);
33882 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
33887 argc
= PyObject_Length(args
);
33888 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
33889 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33891 if ((argc
>= 2) && (argc
<= 3)) {
33895 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33905 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33914 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
33918 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33926 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
33931 if ((argc
>= 3) && (argc
<= 4)) {
33935 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33944 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
33948 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33952 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
33956 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33964 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
33971 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
33976 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
33978 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33979 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
33981 return Py_BuildValue((char *)"");
33983 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33984 PyObject
*resultobj
;
33985 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
33987 wxWindow
*arg3
= (wxWindow
*) 0 ;
33989 int arg5
= (int) 0 ;
33990 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
33991 PyObject
* obj0
= 0 ;
33992 PyObject
* obj2
= 0 ;
33993 char *kwnames
[] = {
33994 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
33997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
33998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33999 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34002 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
34004 wxPyEndAllowThreads(__tstate
);
34005 if (PyErr_Occurred()) SWIG_fail
;
34007 Py_INCREF(Py_None
); resultobj
= Py_None
;
34014 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34015 PyObject
*resultobj
;
34016 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34017 wxWindow
*arg2
= (wxWindow
*) 0 ;
34018 int arg3
= (int) 0 ;
34019 PyObject
* obj0
= 0 ;
34020 PyObject
* obj1
= 0 ;
34021 char *kwnames
[] = {
34022 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34030 (arg1
)->LeftOf(arg2
,arg3
);
34032 wxPyEndAllowThreads(__tstate
);
34033 if (PyErr_Occurred()) SWIG_fail
;
34035 Py_INCREF(Py_None
); resultobj
= Py_None
;
34042 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34043 PyObject
*resultobj
;
34044 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34045 wxWindow
*arg2
= (wxWindow
*) 0 ;
34046 int arg3
= (int) 0 ;
34047 PyObject
* obj0
= 0 ;
34048 PyObject
* obj1
= 0 ;
34049 char *kwnames
[] = {
34050 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34055 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34058 (arg1
)->RightOf(arg2
,arg3
);
34060 wxPyEndAllowThreads(__tstate
);
34061 if (PyErr_Occurred()) SWIG_fail
;
34063 Py_INCREF(Py_None
); resultobj
= Py_None
;
34070 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34071 PyObject
*resultobj
;
34072 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34073 wxWindow
*arg2
= (wxWindow
*) 0 ;
34074 int arg3
= (int) 0 ;
34075 PyObject
* obj0
= 0 ;
34076 PyObject
* obj1
= 0 ;
34077 char *kwnames
[] = {
34078 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34086 (arg1
)->Above(arg2
,arg3
);
34088 wxPyEndAllowThreads(__tstate
);
34089 if (PyErr_Occurred()) SWIG_fail
;
34091 Py_INCREF(Py_None
); resultobj
= Py_None
;
34098 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34099 PyObject
*resultobj
;
34100 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34101 wxWindow
*arg2
= (wxWindow
*) 0 ;
34102 int arg3
= (int) 0 ;
34103 PyObject
* obj0
= 0 ;
34104 PyObject
* obj1
= 0 ;
34105 char *kwnames
[] = {
34106 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34114 (arg1
)->Below(arg2
,arg3
);
34116 wxPyEndAllowThreads(__tstate
);
34117 if (PyErr_Occurred()) SWIG_fail
;
34119 Py_INCREF(Py_None
); resultobj
= Py_None
;
34126 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34127 PyObject
*resultobj
;
34128 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34129 wxWindow
*arg2
= (wxWindow
*) 0 ;
34131 int arg4
= (int) 0 ;
34132 PyObject
* obj0
= 0 ;
34133 PyObject
* obj1
= 0 ;
34134 char *kwnames
[] = {
34135 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34143 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
34145 wxPyEndAllowThreads(__tstate
);
34146 if (PyErr_Occurred()) SWIG_fail
;
34148 Py_INCREF(Py_None
); resultobj
= Py_None
;
34155 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34156 PyObject
*resultobj
;
34157 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34158 wxWindow
*arg2
= (wxWindow
*) 0 ;
34161 PyObject
* obj0
= 0 ;
34162 PyObject
* obj1
= 0 ;
34163 char *kwnames
[] = {
34164 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34169 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34172 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
34174 wxPyEndAllowThreads(__tstate
);
34175 if (PyErr_Occurred()) SWIG_fail
;
34177 Py_INCREF(Py_None
); resultobj
= Py_None
;
34184 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34185 PyObject
*resultobj
;
34186 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34188 PyObject
* obj0
= 0 ;
34189 char *kwnames
[] = {
34190 (char *) "self",(char *) "val", NULL
34193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
34194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34197 (arg1
)->Absolute(arg2
);
34199 wxPyEndAllowThreads(__tstate
);
34200 if (PyErr_Occurred()) SWIG_fail
;
34202 Py_INCREF(Py_None
); resultobj
= Py_None
;
34209 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34210 PyObject
*resultobj
;
34211 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34212 PyObject
* obj0
= 0 ;
34213 char *kwnames
[] = {
34214 (char *) "self", NULL
34217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
34218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34221 (arg1
)->Unconstrained();
34223 wxPyEndAllowThreads(__tstate
);
34224 if (PyErr_Occurred()) SWIG_fail
;
34226 Py_INCREF(Py_None
); resultobj
= Py_None
;
34233 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34234 PyObject
*resultobj
;
34235 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34236 PyObject
* obj0
= 0 ;
34237 char *kwnames
[] = {
34238 (char *) "self", NULL
34241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
34242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34247 wxPyEndAllowThreads(__tstate
);
34248 if (PyErr_Occurred()) SWIG_fail
;
34250 Py_INCREF(Py_None
); resultobj
= Py_None
;
34257 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34258 PyObject
*resultobj
;
34259 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34261 PyObject
* obj0
= 0 ;
34262 char *kwnames
[] = {
34263 (char *) "self", NULL
34266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
34267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34270 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
34272 wxPyEndAllowThreads(__tstate
);
34273 if (PyErr_Occurred()) SWIG_fail
;
34276 resultobj
= wxPyMake_wxObject(result
);
34284 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34285 PyObject
*resultobj
;
34286 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34288 PyObject
* obj0
= 0 ;
34289 char *kwnames
[] = {
34290 (char *) "self", NULL
34293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
34294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34297 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
34299 wxPyEndAllowThreads(__tstate
);
34300 if (PyErr_Occurred()) SWIG_fail
;
34302 resultobj
= PyInt_FromLong((long)result
);
34309 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34310 PyObject
*resultobj
;
34311 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34313 PyObject
* obj0
= 0 ;
34314 char *kwnames
[] = {
34315 (char *) "self",(char *) "which", NULL
34318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
34319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34322 (arg1
)->SetEdge((wxEdge
)arg2
);
34324 wxPyEndAllowThreads(__tstate
);
34325 if (PyErr_Occurred()) SWIG_fail
;
34327 Py_INCREF(Py_None
); resultobj
= Py_None
;
34334 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34335 PyObject
*resultobj
;
34336 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34338 PyObject
* obj0
= 0 ;
34339 char *kwnames
[] = {
34340 (char *) "self",(char *) "v", NULL
34343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
34344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34347 (arg1
)->SetValue(arg2
);
34349 wxPyEndAllowThreads(__tstate
);
34350 if (PyErr_Occurred()) SWIG_fail
;
34352 Py_INCREF(Py_None
); resultobj
= Py_None
;
34359 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34360 PyObject
*resultobj
;
34361 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34363 PyObject
* obj0
= 0 ;
34364 char *kwnames
[] = {
34365 (char *) "self", NULL
34368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
34369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34372 result
= (int)(arg1
)->GetMargin();
34374 wxPyEndAllowThreads(__tstate
);
34375 if (PyErr_Occurred()) SWIG_fail
;
34377 resultobj
= PyInt_FromLong((long)result
);
34384 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34385 PyObject
*resultobj
;
34386 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34388 PyObject
* obj0
= 0 ;
34389 char *kwnames
[] = {
34390 (char *) "self",(char *) "m", NULL
34393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
34394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34397 (arg1
)->SetMargin(arg2
);
34399 wxPyEndAllowThreads(__tstate
);
34400 if (PyErr_Occurred()) SWIG_fail
;
34402 Py_INCREF(Py_None
); resultobj
= Py_None
;
34409 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34410 PyObject
*resultobj
;
34411 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34413 PyObject
* obj0
= 0 ;
34414 char *kwnames
[] = {
34415 (char *) "self", NULL
34418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
34419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34422 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
34424 wxPyEndAllowThreads(__tstate
);
34425 if (PyErr_Occurred()) SWIG_fail
;
34427 resultobj
= PyInt_FromLong((long)result
);
34434 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34435 PyObject
*resultobj
;
34436 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34438 PyObject
* obj0
= 0 ;
34439 char *kwnames
[] = {
34440 (char *) "self", NULL
34443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
34444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34447 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
34449 wxPyEndAllowThreads(__tstate
);
34450 if (PyErr_Occurred()) SWIG_fail
;
34452 resultobj
= PyInt_FromLong((long)result
);
34459 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34460 PyObject
*resultobj
;
34461 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34463 PyObject
* obj0
= 0 ;
34464 char *kwnames
[] = {
34465 (char *) "self", NULL
34468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
34469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34477 resultobj
= PyInt_FromLong((long)result
);
34484 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34485 PyObject
*resultobj
;
34486 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34488 PyObject
* obj0
= 0 ;
34489 char *kwnames
[] = {
34490 (char *) "self", NULL
34493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
34494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34497 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
34499 wxPyEndAllowThreads(__tstate
);
34500 if (PyErr_Occurred()) SWIG_fail
;
34502 resultobj
= PyInt_FromLong((long)result
);
34509 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34510 PyObject
*resultobj
;
34511 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34513 PyObject
* obj0
= 0 ;
34514 PyObject
* obj1
= 0 ;
34515 char *kwnames
[] = {
34516 (char *) "self",(char *) "d", NULL
34519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
34520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34521 arg2
= PyInt_AsLong(obj1
) ? true : false;
34522 if (PyErr_Occurred()) SWIG_fail
;
34524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34525 (arg1
)->SetDone(arg2
);
34527 wxPyEndAllowThreads(__tstate
);
34528 if (PyErr_Occurred()) SWIG_fail
;
34530 Py_INCREF(Py_None
); resultobj
= Py_None
;
34537 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34538 PyObject
*resultobj
;
34539 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34541 PyObject
* obj0
= 0 ;
34542 char *kwnames
[] = {
34543 (char *) "self", NULL
34546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
34547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34550 result
= (int)(arg1
)->GetRelationship();
34552 wxPyEndAllowThreads(__tstate
);
34553 if (PyErr_Occurred()) SWIG_fail
;
34555 resultobj
= PyInt_FromLong((long)result
);
34562 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34563 PyObject
*resultobj
;
34564 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34566 PyObject
* obj0
= 0 ;
34567 char *kwnames
[] = {
34568 (char *) "self",(char *) "r", NULL
34571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
34572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34575 (arg1
)->SetRelationship((wxRelationship
)arg2
);
34577 wxPyEndAllowThreads(__tstate
);
34578 if (PyErr_Occurred()) SWIG_fail
;
34580 Py_INCREF(Py_None
); resultobj
= Py_None
;
34587 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34588 PyObject
*resultobj
;
34589 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34590 wxWindow
*arg2
= (wxWindow
*) 0 ;
34592 PyObject
* obj0
= 0 ;
34593 PyObject
* obj1
= 0 ;
34594 char *kwnames
[] = {
34595 (char *) "self",(char *) "otherW", NULL
34598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
34599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34603 result
= (bool)(arg1
)->ResetIfWin(arg2
);
34605 wxPyEndAllowThreads(__tstate
);
34606 if (PyErr_Occurred()) SWIG_fail
;
34608 resultobj
= PyInt_FromLong((long)result
);
34615 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34616 PyObject
*resultobj
;
34617 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34618 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
34619 wxWindow
*arg3
= (wxWindow
*) 0 ;
34621 PyObject
* obj0
= 0 ;
34622 PyObject
* obj1
= 0 ;
34623 PyObject
* obj2
= 0 ;
34624 char *kwnames
[] = {
34625 (char *) "self",(char *) "constraints",(char *) "win", NULL
34628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34631 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34634 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
34636 wxPyEndAllowThreads(__tstate
);
34637 if (PyErr_Occurred()) SWIG_fail
;
34639 resultobj
= PyInt_FromLong((long)result
);
34646 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34647 PyObject
*resultobj
;
34648 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34650 wxWindow
*arg3
= (wxWindow
*) 0 ;
34651 wxWindow
*arg4
= (wxWindow
*) 0 ;
34653 PyObject
* obj0
= 0 ;
34654 PyObject
* obj2
= 0 ;
34655 PyObject
* obj3
= 0 ;
34656 char *kwnames
[] = {
34657 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
34660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
34661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34662 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34663 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34666 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
34668 wxPyEndAllowThreads(__tstate
);
34669 if (PyErr_Occurred()) SWIG_fail
;
34671 resultobj
= PyInt_FromLong((long)result
);
34678 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
34680 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34681 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
34683 return Py_BuildValue((char *)"");
34685 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34686 PyObject
*resultobj
;
34687 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34688 wxIndividualLayoutConstraint
*result
;
34689 PyObject
* obj0
= 0 ;
34690 char *kwnames
[] = {
34691 (char *) "self", NULL
34694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
34695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34696 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
34698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34705 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34706 PyObject
*resultobj
;
34707 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34708 wxIndividualLayoutConstraint
*result
;
34709 PyObject
* obj0
= 0 ;
34710 char *kwnames
[] = {
34711 (char *) "self", NULL
34714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
34715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34716 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
34718 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34725 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34726 PyObject
*resultobj
;
34727 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34728 wxIndividualLayoutConstraint
*result
;
34729 PyObject
* obj0
= 0 ;
34730 char *kwnames
[] = {
34731 (char *) "self", NULL
34734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
34735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34736 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
34738 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34745 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
;
34747 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34748 wxIndividualLayoutConstraint
*result
;
34749 PyObject
* obj0
= 0 ;
34750 char *kwnames
[] = {
34751 (char *) "self", NULL
34754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
34755 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34756 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
34758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34765 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34766 PyObject
*resultobj
;
34767 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34768 wxIndividualLayoutConstraint
*result
;
34769 PyObject
* obj0
= 0 ;
34770 char *kwnames
[] = {
34771 (char *) "self", NULL
34774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
34775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34776 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
34778 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34785 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34786 PyObject
*resultobj
;
34787 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34788 wxIndividualLayoutConstraint
*result
;
34789 PyObject
* obj0
= 0 ;
34790 char *kwnames
[] = {
34791 (char *) "self", NULL
34794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
34795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34796 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
34798 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34805 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34806 PyObject
*resultobj
;
34807 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34808 wxIndividualLayoutConstraint
*result
;
34809 PyObject
* obj0
= 0 ;
34810 char *kwnames
[] = {
34811 (char *) "self", NULL
34814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
34815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34816 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
34818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34825 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34826 PyObject
*resultobj
;
34827 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34828 wxIndividualLayoutConstraint
*result
;
34829 PyObject
* obj0
= 0 ;
34830 char *kwnames
[] = {
34831 (char *) "self", NULL
34834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
34835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34836 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
34838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34845 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34846 PyObject
*resultobj
;
34847 wxLayoutConstraints
*result
;
34848 char *kwnames
[] = {
34852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
34854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34855 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
34857 wxPyEndAllowThreads(__tstate
);
34858 if (PyErr_Occurred()) SWIG_fail
;
34860 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
34867 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34868 PyObject
*resultobj
;
34869 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34870 wxWindow
*arg2
= (wxWindow
*) 0 ;
34871 int *arg3
= (int *) 0 ;
34874 PyObject
* obj0
= 0 ;
34875 PyObject
* obj1
= 0 ;
34876 char *kwnames
[] = {
34877 (char *) "self",(char *) "win", NULL
34881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
34882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= PyInt_FromLong((long)result
);
34893 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
34894 resultobj
= t_output_helper(resultobj
,o
);
34902 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34903 PyObject
*resultobj
;
34904 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34906 PyObject
* obj0
= 0 ;
34907 char *kwnames
[] = {
34908 (char *) "self", NULL
34911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
34912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34915 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
34917 wxPyEndAllowThreads(__tstate
);
34918 if (PyErr_Occurred()) SWIG_fail
;
34920 resultobj
= PyInt_FromLong((long)result
);
34927 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
34929 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34930 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
34932 return Py_BuildValue((char *)"");
34934 static PyMethodDef SwigMethods
[] = {
34935 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
34936 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
34937 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
34938 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
34939 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
34940 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
34941 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
34942 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
34943 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
34944 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
34945 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
34946 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
34947 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
34948 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
34949 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
34950 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
34951 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
34952 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
34953 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
34954 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
34955 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
34956 { (char *)"Size_GetX", (PyCFunction
) _wrap_Size_GetX
, METH_VARARGS
| METH_KEYWORDS
},
34957 { (char *)"Size_GetY", (PyCFunction
) _wrap_Size_GetY
, METH_VARARGS
| METH_KEYWORDS
},
34958 { (char *)"Size_asTuple", (PyCFunction
) _wrap_Size_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
34959 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
34960 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
34961 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
34962 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
34963 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
34964 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
34965 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
34966 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
34967 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
34968 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
34969 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
34970 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
34971 { (char *)"RealPoint_asTuple", (PyCFunction
) _wrap_RealPoint_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
34972 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
34973 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
34974 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
34975 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
34976 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
34977 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
34978 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
34979 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
34980 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
34981 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
34982 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
34983 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
34984 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
34985 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
34986 { (char *)"Point_asTuple", (PyCFunction
) _wrap_Point_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
34987 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
34988 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
34989 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
34990 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
34991 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
34992 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
34993 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
34994 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
34995 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
34996 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
34997 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
34998 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
34999 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35000 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35001 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35002 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35003 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35004 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35005 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
35006 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35007 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
35008 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35009 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
35010 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
35011 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35012 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
35013 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
35014 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
35015 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
35016 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
35017 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
35018 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35019 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35020 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35021 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
35022 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
35023 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
35024 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35025 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35026 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35027 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35028 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35029 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35030 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35031 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35032 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
35033 { (char *)"Rect_asTuple", (PyCFunction
) _wrap_Rect_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
35034 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
35035 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
35036 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
35037 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
35038 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
35039 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
35040 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
35041 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35042 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35043 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35044 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35045 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
35046 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
35047 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
35048 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
35049 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
35050 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35051 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35052 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
35053 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
35054 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35055 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35056 { (char *)"Point2D_m_x_set", (PyCFunction
) _wrap_Point2D_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35057 { (char *)"Point2D_m_x_get", (PyCFunction
) _wrap_Point2D_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35058 { (char *)"Point2D_m_y_set", (PyCFunction
) _wrap_Point2D_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35059 { (char *)"Point2D_m_y_get", (PyCFunction
) _wrap_Point2D_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35060 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35061 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35062 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35063 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35064 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
35065 { (char *)"Point2D_asTuple", (PyCFunction
) _wrap_Point2D_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
35066 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
35067 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
35068 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
35069 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
35070 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
35071 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
35072 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
35073 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
35074 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
35075 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
35076 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
35077 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
35078 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
35079 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35080 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
35081 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
35082 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
35083 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
35084 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
35085 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
35086 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
35087 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35088 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35089 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
35090 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35091 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
35092 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35093 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
35094 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
35095 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
35096 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
35097 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35098 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35099 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35100 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35101 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35102 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
35103 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
35104 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35105 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
35106 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
35107 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
35108 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35109 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35110 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
35111 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
35112 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35113 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35114 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35115 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35116 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35117 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
35118 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
35119 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
35120 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35121 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35122 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35123 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
35124 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35125 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35126 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35127 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35128 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35129 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
35130 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
35131 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35132 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
35133 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35134 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
35135 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35136 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35137 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35138 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35139 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
35140 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35141 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35142 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
35143 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35144 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35145 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35146 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35147 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
35148 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35149 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
35150 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35151 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
35152 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35153 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
35154 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
35155 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
35156 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
35157 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
35158 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
35159 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
35160 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35161 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
35162 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
35163 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35164 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
35165 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
35166 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
35167 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
35168 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
35169 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
35170 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
35171 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35172 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35173 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35174 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35175 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
35176 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35177 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
35178 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
35179 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35180 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
35181 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35182 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
35183 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
35184 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
35185 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
35186 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35187 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35188 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
35189 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
35190 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
35191 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
35192 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
35193 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35194 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35195 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35196 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35197 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35198 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35199 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
35200 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
35201 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
35202 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
35203 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
35204 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
35205 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
35206 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
35207 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
35208 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35209 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
35210 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
35211 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35212 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
35213 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35214 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
35215 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
35216 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35217 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35218 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
35219 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
35220 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
35221 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35222 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35223 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
35224 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35225 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
35226 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
35227 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
35228 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
35229 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
35230 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
35231 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
35232 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
35233 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35234 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
35235 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35236 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
35237 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
35238 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
35239 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35240 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
35241 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35242 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
35243 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35244 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
35245 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35246 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
35247 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
35248 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35249 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35250 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35251 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35252 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35253 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35254 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
35255 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
35256 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35257 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
35258 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
35259 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35260 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
35261 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
35262 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
35263 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35264 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35265 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35266 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35267 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35268 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35269 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35270 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35271 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35272 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
35273 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
35274 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
35275 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
35276 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
35277 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35278 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
35279 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35280 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35281 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
35282 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35283 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35284 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
35285 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35286 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35287 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35288 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35289 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35290 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
35291 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35292 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35293 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
35294 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
35295 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35296 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
35297 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35298 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35299 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
35300 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
35301 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
35302 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
35303 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35304 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35305 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35306 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35307 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
35308 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
35309 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35310 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35311 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35312 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35313 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
35314 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35315 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
35316 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
35317 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
35318 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
35319 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
35320 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35321 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
35322 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35323 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35324 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35325 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35326 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
35327 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
35328 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
35329 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
35330 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
35331 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
35332 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
35333 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
35334 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
35335 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35336 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35337 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35338 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
35339 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
35340 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
35341 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
35342 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35343 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35344 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
35345 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35346 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35347 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
35348 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
35349 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
35350 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
35351 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35352 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35353 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35354 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35355 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35356 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35357 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35358 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35359 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35360 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35361 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35362 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35363 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35364 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35365 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35366 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35367 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35368 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35369 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
35370 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
35371 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
35372 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
35373 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
35374 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
35375 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
35376 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
35377 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35378 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35379 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35380 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35381 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
35382 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
35383 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35384 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35385 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35386 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35387 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35388 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
35389 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35390 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
35391 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35392 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
35393 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35394 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35395 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35396 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35397 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35398 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35399 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35400 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35401 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35402 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35403 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35404 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35405 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35406 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35407 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35408 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35409 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35410 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35411 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35412 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35413 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35414 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35415 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
35416 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
35417 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
35418 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35419 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35420 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35421 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35422 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35423 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
35424 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
35425 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35426 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35427 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
35428 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
35429 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35430 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35431 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35432 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35433 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
35434 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
35435 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35436 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35437 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
35438 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35439 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
35440 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35441 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
35442 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35443 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
35444 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
35445 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35446 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35447 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35448 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
35449 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35450 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35451 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
35452 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35453 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
35454 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
35455 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
35456 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
35457 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35458 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
35459 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
35460 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35461 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
35462 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35463 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35464 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35465 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35466 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35467 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35468 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
35469 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
35470 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
35471 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
35472 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
35473 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
35474 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35475 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
35476 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
35477 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35478 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
35479 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35480 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
35481 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
35482 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
35483 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
35484 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35485 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35486 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
35487 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
35488 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35489 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35490 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
35491 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35492 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
35493 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35494 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35495 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
35496 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
35497 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35498 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35499 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
35500 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35501 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
35502 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35503 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35504 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
35505 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35506 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
35507 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35508 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35509 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35510 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
35511 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
35512 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35513 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35514 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
35515 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35516 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35517 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35518 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35519 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35520 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35521 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35522 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
35523 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35524 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35525 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
35526 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35527 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35528 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
35529 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35530 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35531 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35532 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
35533 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
35534 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
35535 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
35536 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35537 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35538 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
35539 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
35540 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35541 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35542 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35543 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35544 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
35545 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35546 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35547 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35548 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35549 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
35550 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
35551 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
35552 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35553 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
35554 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
35555 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35556 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35557 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
35558 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
35559 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
35560 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35561 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
35562 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
35563 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
35564 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
35565 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
35566 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
35567 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
35568 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
35569 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
35570 { (char *)"PyApp_OnIdle", (PyCFunction
) _wrap_PyApp_OnIdle
, METH_VARARGS
| METH_KEYWORDS
},
35571 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
35572 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
35573 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
35574 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
35575 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
35576 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
35577 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
35578 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
35579 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
35580 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
35581 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
35582 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
35583 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35584 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35585 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35586 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
35587 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
35588 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35589 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35590 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35591 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
35592 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
35593 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
35594 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
35595 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
35596 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
35597 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
35598 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
35599 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
35600 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
35601 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
35602 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
35603 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
35604 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
35605 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
35606 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
35607 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35608 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
35609 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
35610 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
35611 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
35612 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35613 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35614 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35615 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35616 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35617 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35618 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
35619 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
35620 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
35621 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35622 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
35623 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35624 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
35625 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
35626 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
35627 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
35628 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
35629 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
35630 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
35631 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
35632 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35633 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35634 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35635 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
35636 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35637 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
35638 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
35639 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
35640 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
35641 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
35642 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
35643 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
35644 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
35645 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
35646 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
35647 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
35648 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
35649 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
35650 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
35651 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
35652 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
35653 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
35654 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
35655 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
35656 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
35657 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
35658 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
35659 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
35660 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
35661 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
35662 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
35663 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35664 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
35665 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
35666 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35667 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
35668 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
35669 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
35670 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
35671 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
35672 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
35673 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
35674 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
35675 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
35676 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35677 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35678 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
35679 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
35680 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
35681 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
35682 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
35683 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
35684 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
35685 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
35686 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
35687 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
35688 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
35689 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
35690 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
35691 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
35692 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
35693 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
35694 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
35695 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
35696 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35697 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35698 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35699 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35700 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35701 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
35702 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
35703 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
35704 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
35705 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
35706 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
35707 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
35708 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
35709 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
35710 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
35711 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
35712 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
35713 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
35714 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
35715 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
35716 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
35717 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
35718 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
35719 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
35720 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
35721 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
35722 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
35723 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
35724 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
35725 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
35726 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
35727 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
35728 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
35729 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
35730 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
35731 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
35732 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
35733 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
35734 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35735 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35736 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
35737 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
35738 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
35739 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
35740 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
35741 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
35742 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
35743 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
35744 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
35745 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
35746 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
35747 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
35748 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
35749 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
35750 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
35751 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
35752 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
35753 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
35754 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
35755 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
35756 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
35757 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
35758 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
35759 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
35760 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
35761 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
35762 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
35763 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
35764 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
35765 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
35766 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
35767 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
35768 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
35769 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
35770 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
35771 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
35772 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
35773 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
35774 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
35775 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
35776 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
35777 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
35778 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
35779 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
35780 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
35781 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
35782 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
35783 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
35784 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
35785 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
35786 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
35787 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
35788 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
35789 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
35790 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
35791 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
35792 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
35793 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35794 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
35795 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
35796 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
35797 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35798 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35799 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
35800 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
35801 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
35802 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
35803 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35804 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
35805 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
35806 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
35807 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
35808 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
35809 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
35810 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
35811 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
35812 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
35813 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
35814 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
35815 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
35816 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
35817 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
35818 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
35819 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
35820 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
35821 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
35822 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
35823 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
35824 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
35825 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
35826 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
35827 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
35828 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
35829 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35830 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
35831 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
35832 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
35833 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
35834 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
35835 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
35836 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
35837 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35838 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35839 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
35840 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35841 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35842 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35843 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
35844 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
35845 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
35846 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
35847 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35848 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35849 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
35850 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
35851 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
35852 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
35853 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
35854 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
35855 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
35856 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
35857 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
35858 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
35859 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
35860 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
35861 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
35862 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
35863 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
35864 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35865 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35866 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
35867 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
35868 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
35869 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
35870 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
35871 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
35872 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
35873 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
35874 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35875 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
35876 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35877 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35878 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35879 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35880 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
35881 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
35882 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
35883 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
35884 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
35885 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
35886 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
35887 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
35888 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35889 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35890 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35891 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35892 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
35893 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
35894 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35895 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
35896 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
35897 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
35898 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
35899 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
35900 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
35901 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
35902 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
35903 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35904 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35905 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
35906 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35907 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
35908 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
35909 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
35910 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
35911 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
35912 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
35913 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35914 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35915 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
35916 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
35917 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
35918 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
35919 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
35920 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35921 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35922 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
35923 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
35924 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
35925 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
35926 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
35927 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
35928 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
35929 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
35930 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35931 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
35932 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
35934 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
35935 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35936 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
35937 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
35938 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
35940 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
35941 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
35944 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
35946 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35948 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
35951 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
35952 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
35953 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
35954 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
35955 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
35958 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
35959 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
35961 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
35963 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
35964 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35966 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35967 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
35968 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
35970 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
35971 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
35972 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
35973 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
35975 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
35976 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
35978 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
35980 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
35982 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
35983 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
35984 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
35985 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
35987 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35988 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35989 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
35990 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
35994 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
35995 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36003 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
36005 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
36006 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
36008 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36011 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
36014 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36017 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
36019 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
36031 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36033 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36035 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
36043 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"GBPosition_asTuple", (PyCFunction
) _wrap_GBPosition_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
36052 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36056 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"GBSpan_asTuple", (PyCFunction
) _wrap_GBSpan_asTuple
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
36061 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36067 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
36070 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36073 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
36074 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36077 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36079 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
36080 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
36081 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
36082 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
36083 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
36084 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
36089 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
36090 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
36101 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
36117 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
36133 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36135 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
36136 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
36138 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
36139 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
36141 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
36142 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36144 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
36145 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36147 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
36148 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36150 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36151 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36153 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36154 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36156 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
36157 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36159 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36160 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36162 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36163 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36165 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36166 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36168 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36169 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36171 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36172 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36174 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36175 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36177 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36178 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36180 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36181 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36183 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36184 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36186 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36189 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36190 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36192 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36195 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36196 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36198 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36199 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36201 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36202 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36204 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36205 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36207 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36208 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36210 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36211 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36213 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36214 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36216 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36217 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36219 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36220 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36222 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36223 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36225 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36226 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36228 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36229 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36231 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36232 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36234 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36235 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36237 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36238 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36240 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36241 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36243 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36244 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36246 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36247 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36249 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36250 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36252 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36253 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36255 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36256 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36258 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36259 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36261 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36262 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36264 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
36265 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36267 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
36268 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36270 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
36271 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36273 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36274 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36276 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36277 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36279 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36280 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36282 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36283 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36285 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36286 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36288 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36289 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36291 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36292 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36294 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36295 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36297 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36298 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36300 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36301 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36303 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
36304 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
36306 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
36307 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
36309 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
36310 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
36312 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
36313 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
36315 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
36316 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
36318 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
36319 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36321 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
36322 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
36324 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
36325 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
36327 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
36328 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36330 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
36331 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36333 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
36334 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
36336 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
36337 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
36339 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
36340 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
36342 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
36343 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
36345 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
36346 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
36348 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
36349 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
36351 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
36352 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
36354 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
36355 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
36357 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36358 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
36360 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36361 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
36363 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36364 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
36366 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36367 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36369 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36370 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36372 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36373 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36375 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36376 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36378 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36379 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36381 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36382 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36384 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36385 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36387 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36388 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36390 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36391 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36393 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36394 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36396 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36397 return (void *)((wxObject
*) ((wxSizer
*) x
));
36399 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36400 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36402 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36403 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36405 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36406 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36408 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36409 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36411 static void *_p_wxImageTo_p_wxObject(void *x
) {
36412 return (void *)((wxObject
*) ((wxImage
*) x
));
36414 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36415 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36417 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36418 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36420 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36421 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36423 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36424 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36426 static void *_p_wxControlTo_p_wxObject(void *x
) {
36427 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36429 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36430 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36432 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36433 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36435 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36436 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36438 static void *_p_wxEventTo_p_wxObject(void *x
) {
36439 return (void *)((wxObject
*) ((wxEvent
*) x
));
36441 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36442 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36444 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36445 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36447 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36448 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36450 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36451 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36453 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36454 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36456 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36457 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36459 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36460 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36462 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36463 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36465 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36466 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36468 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36469 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36471 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36472 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36474 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36475 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36477 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36478 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36480 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36481 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36483 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36484 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36486 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36487 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36489 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36490 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36492 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36493 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36495 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36496 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36498 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36499 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36501 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36502 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36504 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36505 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36507 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36508 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36510 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36511 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36513 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36514 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36516 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36517 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36519 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36520 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36522 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36523 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36525 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36526 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36528 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36529 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36531 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36532 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36534 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36535 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36537 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36538 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36540 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36541 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36543 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36544 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36546 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36547 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36549 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36550 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36552 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36553 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36555 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36556 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36558 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36559 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36561 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36562 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36564 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36565 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36567 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36568 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36570 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36571 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36573 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36574 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36576 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36577 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36579 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36580 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36582 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36583 return (void *)((wxWindow
*) ((wxControl
*) x
));
36585 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36586 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36588 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36589 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36591 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36592 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36594 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36595 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36597 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36598 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36600 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36601 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36603 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36604 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36606 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36607 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36609 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36610 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36612 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36613 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36615 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36616 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36618 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
36619 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
36620 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
36621 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
36622 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
36623 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
36624 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}};
36625 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
36626 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
36627 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
36628 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
36629 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
36630 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
36631 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}};
36632 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}};
36633 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
36634 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
36635 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
36636 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
36637 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
36638 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
36639 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
36640 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
36641 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
36642 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
36643 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
36644 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
36645 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
36646 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
36647 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
36648 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
36649 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
36650 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
36651 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
36652 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
36653 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
36654 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
36655 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
36656 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
36657 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
36658 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
36659 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
36660 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
36661 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
36662 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
36663 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
36664 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
36665 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
36666 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
36667 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
36668 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
36669 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
36670 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
36671 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
36672 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
36673 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
36674 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
36675 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
36676 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
36677 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
36678 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
36679 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
36680 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
36681 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}};
36682 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
36683 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}};
36684 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}};
36685 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}};
36686 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}};
36687 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
36688 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
36689 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
36690 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
36691 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
36692 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
36693 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
36694 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
36695 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
36696 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
36697 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
36698 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
36699 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36700 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
36701 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
36702 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}};
36703 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
36704 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
36705 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
36706 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
36707 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
36708 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
36709 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
36710 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}};
36711 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
36712 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
36713 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
36714 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
36715 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
36716 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
36717 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36718 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
36719 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
36720 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
36721 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
36722 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}};
36723 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
36724 static swig_type_info _swigt__p_wxDropTarget
[] = {{"_p_wxDropTarget", 0, "wxDropTarget *", 0},{"_p_wxDropTarget"},{0}};
36725 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
36726 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
36727 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
36728 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
36729 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
36730 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
36731 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
36733 static swig_type_info
*swig_types_initial
[] = {
36734 _swigt__p_wxLayoutConstraints
,
36735 _swigt__p_wxRealPoint
,
36736 _swigt__p_wxSizerItem
,
36737 _swigt__p_wxGBSizerItem
,
36738 _swigt__p_wxScrollEvent
,
36739 _swigt__p_wxIndividualLayoutConstraint
,
36741 _swigt__p_wxBoxSizer
,
36742 _swigt__p_wxStaticBoxSizer
,
36743 _swigt__p_wxGridBagSizer
,
36744 _swigt__p_wxAcceleratorEntry
,
36745 _swigt__p_wxUpdateUIEvent
,
36748 _swigt__p_wxGridSizer
,
36749 _swigt__p_wxFlexGridSizer
,
36750 _swigt__p_wxInitDialogEvent
,
36751 _swigt__p_wxItemContainer
,
36752 _swigt__p_wxNcPaintEvent
,
36753 _swigt__p_wxPaintEvent
,
36754 _swigt__p_wxSysColourChangedEvent
,
36755 _swigt__p_wxMouseCaptureChangedEvent
,
36756 _swigt__p_wxDisplayChangedEvent
,
36757 _swigt__p_wxPaletteChangedEvent
,
36758 _swigt__p_wxControl
,
36760 _swigt__p_wxMenuBarBase
,
36761 _swigt__p_wxSetCursorEvent
,
36762 _swigt__p_wxFSFile
,
36764 _swigt__p_wxRegion
,
36765 _swigt__p_wxPoint2D
,
36769 _swigt__p_wxPySizer
,
36770 _swigt__p_wxNotifyEvent
,
36771 _swigt__p_wxPyEvent
,
36772 _swigt__p_wxPropagationDisabler
,
36773 _swigt__p_wxAppTraits
,
36774 _swigt__p_wxArrayString
,
36775 _swigt__p_wxShowEvent
,
36776 _swigt__p_wxToolTip
,
36777 _swigt__p_wxMaximizeEvent
,
36778 _swigt__p_wxIconizeEvent
,
36779 _swigt__p_wxActivateEvent
,
36780 _swigt__p_wxMoveEvent
,
36781 _swigt__p_wxSizeEvent
,
36782 _swigt__p_wxQueryNewPaletteEvent
,
36783 _swigt__p_wxWindowCreateEvent
,
36784 _swigt__p_wxIdleEvent
,
36785 _swigt__p_wxMenuItem
,
36786 _swigt__p_wxStaticBox
,
36788 _swigt__p_wxTIFFHandler
,
36789 _swigt__p_wxXPMHandler
,
36790 _swigt__p_wxPNMHandler
,
36791 _swigt__p_wxJPEGHandler
,
36792 _swigt__p_wxPCXHandler
,
36793 _swigt__p_wxGIFHandler
,
36794 _swigt__p_wxPNGHandler
,
36795 _swigt__p_wxANIHandler
,
36796 _swigt__p_wxMemoryFSHandler
,
36797 _swigt__p_wxEvtHandler
,
36798 _swigt__p_wxCURHandler
,
36799 _swigt__p_wxICOHandler
,
36800 _swigt__p_wxBMPHandler
,
36801 _swigt__p_wxImageHandler
,
36802 _swigt__p_wxFileSystemHandler
,
36803 _swigt__p_wxPyFileSystemHandler
,
36804 _swigt__p_wxInternetFSHandler
,
36805 _swigt__p_wxZipFSHandler
,
36807 _swigt__p_wxGBSpan
,
36808 _swigt__p_wxPropagateOnce
,
36809 _swigt__p_wxAcceleratorTable
,
36810 _swigt__p_wxGBPosition
,
36813 _swigt__p_wxScrollWinEvent
,
36814 _swigt__p_wxImageHistogram
,
36817 _swigt__p_wxCursor
,
36818 _swigt__p_wxObject
,
36819 _swigt__p_wxPyInputStream
,
36820 _swigt__p_wxOutputStream
,
36821 _swigt__p_wxInputStream
,
36822 _swigt__p_wxDateTime
,
36823 _swigt__p_wxKeyEvent
,
36824 _swigt__p_wxNavigationKeyEvent
,
36825 _swigt__p_wxWindowDestroyEvent
,
36826 _swigt__p_wxWindow
,
36827 _swigt__p_wxMenuBar
,
36828 _swigt__p_wxString
,
36829 _swigt__p_wxFileSystem
,
36830 _swigt__p_wxBitmap
,
36831 _swigt__p_wxMenuEvent
,
36832 _swigt__p_wxContextMenuEvent
,
36833 _swigt__p_unsigned_char
,
36834 _swigt__p_wxCloseEvent
,
36835 _swigt__p_wxEraseEvent
,
36836 _swigt__p_wxMouseEvent
,
36838 _swigt__p_wxCommandEvent
,
36839 _swigt__p_wxPyCommandEvent
,
36840 _swigt__p_wxDropTarget
,
36841 _swigt__p_wxChildFocusEvent
,
36842 _swigt__p_wxFocusEvent
,
36843 _swigt__p_wxDropFilesEvent
,
36844 _swigt__p_wxControlWithItems
,
36845 _swigt__p_wxColour
,
36846 _swigt__p_wxValidator
,
36847 _swigt__p_wxPyValidator
,
36852 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36854 static swig_const_info swig_const_table
[] = {
36855 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
36856 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
36857 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
36858 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
36859 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
36860 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
36861 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
36862 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
36863 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
36864 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
36865 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
36866 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
36867 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
36868 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
36869 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
36870 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
36871 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
36872 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
36873 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
36874 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
36875 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
36876 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
36877 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
36878 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
36879 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
36880 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
36881 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
36882 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
36883 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
36884 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
36885 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
36886 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
36887 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
36888 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
36889 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
36890 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
36891 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
36892 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
36893 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
36894 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
36895 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
36896 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
36897 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
36898 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
36899 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
36900 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
36901 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
36902 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
36903 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
36904 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
36905 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
36906 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
36907 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
36908 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
36909 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
36910 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
36911 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
36912 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
36913 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
36914 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
36915 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
36916 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
36917 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
36918 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
36919 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
36920 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
36921 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
36922 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
36923 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
36924 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
36925 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
36926 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
36927 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
36928 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
36929 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
36930 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
36931 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
36932 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
36933 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
36934 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
36935 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
36936 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
36937 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
36938 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
36939 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
36940 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
36941 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
36942 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
36943 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
36944 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
36945 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
36946 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
36947 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
36948 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
36949 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
36950 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
36951 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
36952 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
36953 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
36954 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
36955 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
36956 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
36957 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
36958 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
36959 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
36960 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
36961 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
36962 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
36963 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
36964 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
36965 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
36966 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
36967 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
36968 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
36969 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
36970 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
36971 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
36972 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
36973 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
36974 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
36975 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
36976 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
36977 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
36978 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
36979 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
36980 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
36981 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
36982 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
36983 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
36984 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
36985 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
36986 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
36987 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
36988 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
36989 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
36990 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
36991 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
36992 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
36993 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
36994 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
36995 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
36996 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
36997 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
36998 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
36999 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
37000 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
37001 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
37002 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
37003 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
37004 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
37005 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
37006 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
37007 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
37008 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
37009 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
37010 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
37011 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
37012 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
37013 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
37014 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
37015 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
37016 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
37017 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
37018 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
37019 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
37020 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
37021 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
37022 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
37023 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
37024 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
37025 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
37026 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
37027 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
37028 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
37029 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
37030 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
37031 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
37032 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
37033 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
37034 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
37035 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
37036 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
37037 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
37038 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
37039 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
37040 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
37041 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
37042 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
37043 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
37044 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
37045 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
37046 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
37047 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
37048 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
37049 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
37050 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
37051 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
37052 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
37053 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
37054 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
37055 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
37056 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
37057 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
37058 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
37059 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
37060 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
37061 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
37062 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
37063 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
37064 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
37065 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
37066 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
37067 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
37068 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
37069 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
37070 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
37071 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
37072 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
37073 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
37074 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
37075 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37076 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
37077 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
37078 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
37079 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
37080 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
37081 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
37082 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
37083 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
37084 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
37085 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
37086 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
37087 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
37088 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
37089 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
37090 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
37091 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
37092 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
37093 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
37094 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
37095 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
37096 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
37097 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
37098 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
37099 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
37100 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
37101 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
37102 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
37103 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
37104 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
37105 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
37106 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
37107 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
37108 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
37109 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
37110 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
37111 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
37112 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
37113 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
37114 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
37115 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
37116 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
37117 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
37118 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
37119 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
37120 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
37121 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
37122 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
37123 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
37124 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
37125 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
37126 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
37127 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
37128 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
37129 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
37130 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
37131 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
37132 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
37133 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
37134 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
37135 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
37136 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
37137 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
37138 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
37139 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
37140 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
37141 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
37142 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
37143 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
37144 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
37145 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
37146 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
37147 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
37148 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
37149 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
37150 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
37151 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
37152 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
37153 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
37154 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
37155 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
37156 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
37157 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
37158 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
37159 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
37160 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
37161 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
37162 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
37163 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
37164 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
37165 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
37166 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
37167 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
37168 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
37169 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
37170 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
37171 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
37172 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
37173 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
37174 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
37175 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
37176 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
37177 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
37178 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
37179 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
37180 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
37181 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
37182 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
37183 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
37184 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
37185 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
37186 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
37187 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
37188 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
37189 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
37190 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
37191 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
37192 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
37193 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
37194 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
37195 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
37196 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
37197 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
37198 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
37199 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
37200 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
37201 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
37202 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
37203 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
37204 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
37205 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
37206 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
37207 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
37208 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
37209 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
37210 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
37211 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
37212 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
37213 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
37214 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
37215 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
37216 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
37217 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
37218 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
37219 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
37220 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
37221 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
37222 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
37223 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
37224 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
37225 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
37226 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
37227 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
37228 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
37229 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
37230 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
37231 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
37232 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
37233 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
37234 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
37235 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
37236 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
37237 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
37238 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
37239 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
37240 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
37241 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
37242 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
37243 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
37244 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
37245 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
37246 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
37247 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
37248 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
37249 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
37250 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
37251 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
37252 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
37253 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
37254 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
37255 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
37256 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
37257 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
37258 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
37259 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
37260 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
37261 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
37262 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
37263 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
37264 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
37265 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
37266 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
37267 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
37268 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
37269 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
37270 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
37271 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
37272 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
37273 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
37274 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
37275 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
37276 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
37277 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
37278 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
37279 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
37280 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
37281 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
37282 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
37283 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
37284 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
37285 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
37286 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
37287 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
37288 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
37289 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
37290 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
37291 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
37292 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
37293 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
37294 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
37295 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
37296 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
37297 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
37298 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
37299 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
37300 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
37301 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
37302 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
37303 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
37304 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
37305 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
37306 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
37307 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
37308 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
37309 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
37310 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
37311 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
37312 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
37313 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
37314 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
37315 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
37316 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
37317 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
37318 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
37319 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
37320 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
37321 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
37322 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
37323 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
37324 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
37325 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
37326 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
37327 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
37328 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
37329 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
37330 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
37331 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
37332 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
37333 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
37334 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
37335 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
37336 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
37337 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
37338 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
37339 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
37340 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
37341 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
37342 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
37343 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
37344 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
37345 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
37346 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
37347 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
37348 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
37349 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
37350 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
37351 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
37352 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
37353 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
37354 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
37355 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
37356 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
37357 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
37358 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
37359 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
37360 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
37361 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
37362 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
37363 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
37364 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
37365 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
37366 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
37367 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
37368 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
37369 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
37370 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
37371 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
37372 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
37373 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
37374 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
37375 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
37376 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
37377 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
37378 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
37379 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
37380 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
37381 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
37382 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
37383 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
37384 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
37385 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
37386 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
37387 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
37388 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
37389 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
37390 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
37391 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
37392 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
37393 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
37394 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
37395 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
37396 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
37397 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
37398 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
37399 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
37400 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
37401 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
37402 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
37403 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
37404 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
37405 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
37406 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
37407 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
37408 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
37409 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
37410 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
37411 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
37412 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
37413 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
37414 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
37415 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
37416 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
37417 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
37418 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
37419 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
37420 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
37421 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
37422 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
37423 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
37424 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
37425 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
37426 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
37427 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
37428 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
37429 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
37430 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
37431 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
37432 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
37433 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
37434 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
37435 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
37436 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
37437 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
37438 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
37439 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
37440 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
37441 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
37442 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
37443 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
37444 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
37445 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
37446 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
37447 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
37448 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
37449 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
37450 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
37451 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
37452 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
37453 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
37454 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
37455 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
37456 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
37457 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
37458 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
37459 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
37460 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
37461 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
37462 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
37463 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
37464 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
37465 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
37466 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
37467 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
37468 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
37469 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
37470 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
37471 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
37472 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
37473 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
37474 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
37475 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
37476 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
37477 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
37478 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
37479 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
37480 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
37481 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
37482 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
37483 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
37484 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
37485 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
37486 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
37487 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
37488 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
37489 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
37490 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
37491 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
37492 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
37493 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
37494 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
37495 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
37496 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
37497 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
37498 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
37499 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
37500 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
37501 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
37502 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
37503 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
37504 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
37505 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
37506 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
37507 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
37508 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
37509 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
37510 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
37511 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
37512 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
37513 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
37514 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
37515 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
37516 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
37517 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
37518 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
37519 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
37520 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
37521 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
37522 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
37523 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
37524 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
37525 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
37526 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
37527 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
37528 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
37529 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
37530 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
37531 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
37532 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
37533 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
37534 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
37535 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
37536 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
37537 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
37538 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
37539 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
37540 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
37541 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
37542 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
37543 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
37544 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
37545 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
37546 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
37547 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
37548 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
37549 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
37550 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
37551 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
37552 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
37553 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
37554 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
37555 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
37556 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
37557 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
37558 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
37559 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
37560 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
37561 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
37562 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
37563 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
37564 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
37565 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
37566 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
37567 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
37568 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
37569 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
37570 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
37571 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
37572 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
37573 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
37574 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
37575 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
37576 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
37577 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
37578 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
37579 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
37580 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
37581 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
37582 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
37583 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
37584 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
37585 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
37586 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
37587 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
37588 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
37589 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
37590 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
37591 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
37592 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
37593 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
37594 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
37595 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
37596 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
37597 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
37598 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
37599 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
37600 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
37601 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
37602 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
37603 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
37604 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
37605 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
37606 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
37607 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
37608 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
37609 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
37610 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
37611 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
37612 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
37613 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
37614 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
37615 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
37616 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
37617 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
37618 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
37619 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
37620 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
37621 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
37622 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
37632 SWIGEXPORT(void) SWIG_init(void) {
37633 static PyObject
*SWIG_globals
= 0;
37634 static int typeinit
= 0;
37637 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37638 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37639 d
= PyModule_GetDict(m
);
37642 for (i
= 0; swig_types_initial
[i
]; i
++) {
37643 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37647 SWIG_InstallConstants(d
,swig_const_table
);
37650 #ifndef wxPyUSE_EXPORT
37651 // Make our API structure a CObject so other modules can import it
37652 // from this module.
37653 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
37654 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
37658 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37659 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
37660 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
37662 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
37665 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
37667 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
37668 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
37669 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
37670 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
37671 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
37672 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
37673 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
37674 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
37675 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
37676 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
37677 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
37678 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
37679 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
37680 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
37681 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
37682 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
37683 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
37684 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
37685 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
37686 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
37687 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
37688 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
37689 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
37690 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
37691 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
37692 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
37693 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
37694 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
37695 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
37696 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
37697 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
37698 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
37699 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
37700 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
37701 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
37702 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
37703 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
37704 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
37705 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
37706 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
37707 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
37708 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
37709 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
37710 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
37711 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
37712 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
37713 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
37714 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
37715 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
37716 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
37717 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
37718 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
37719 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
37720 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
37721 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
37722 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
37723 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
37724 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
37725 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
37726 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
37727 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
37728 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
37729 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
37730 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
37731 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
37732 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
37733 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
37734 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
37735 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
37736 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
37737 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
37738 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
37739 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
37740 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
37741 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
37742 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
37743 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
37744 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
37745 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
37746 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
37747 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
37748 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
37749 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
37750 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
37751 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
37752 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
37753 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
37754 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
37755 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
37756 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
37757 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
37758 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
37759 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
37760 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
37761 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
37762 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
37763 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
37764 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
37765 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
37766 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
37767 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
37768 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
37769 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
37770 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
37771 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
37772 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
37773 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
37774 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
37775 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
37776 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
37777 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
37778 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
37779 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
37780 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
37781 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
37782 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
37783 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
37784 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
37785 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
37786 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
37787 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
37788 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
37790 // Initialize threading, some globals and such
37794 // Although these are defined in __version__ they need to be here too so
37795 // that an assert can be done to ensure that the wxPython and the wxWindows
37797 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
37798 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
37799 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));