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 *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
219 #define SWIGTYPE_p_wxRealPoint swig_types[1]
220 #define SWIGTYPE_p_wxSizerItem swig_types[2]
221 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
222 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
223 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
224 #define SWIGTYPE_p_wxSizer swig_types[6]
225 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
226 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
227 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
228 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
229 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
230 #define SWIGTYPE_p_wxMenu swig_types[12]
231 #define SWIGTYPE_p_wxEvent swig_types[13]
232 #define SWIGTYPE_p_wxGridSizer swig_types[14]
233 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
234 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
235 #define SWIGTYPE_p_wxItemContainer swig_types[17]
236 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
237 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
238 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
239 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
240 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
241 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
242 #define SWIGTYPE_p_wxControl swig_types[24]
243 #define SWIGTYPE_p_wxFont swig_types[25]
244 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
245 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
246 #define SWIGTYPE_p_wxFSFile swig_types[28]
247 #define SWIGTYPE_p_wxCaret swig_types[29]
248 #define SWIGTYPE_p_wxRegion swig_types[30]
249 #define SWIGTYPE_p_wxPoint2D swig_types[31]
250 #define SWIGTYPE_p_int swig_types[32]
251 #define SWIGTYPE_p_wxSize swig_types[33]
252 #define SWIGTYPE_p_wxDC swig_types[34]
253 #define SWIGTYPE_p_wxPySizer swig_types[35]
254 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
255 #define SWIGTYPE_p_wxPyEvent swig_types[37]
256 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
257 #define SWIGTYPE_p_wxAppTraits swig_types[39]
258 #define SWIGTYPE_p_wxArrayString swig_types[40]
259 #define SWIGTYPE_p_wxShowEvent swig_types[41]
260 #define SWIGTYPE_p_wxToolTip swig_types[42]
261 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
262 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
263 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
264 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
265 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
266 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
267 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
268 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
269 #define SWIGTYPE_p_wxMenuItem swig_types[51]
270 #define SWIGTYPE_p_wxStaticBox swig_types[52]
271 #define SWIGTYPE_p_long swig_types[53]
272 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
273 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
274 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
275 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
276 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
277 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
278 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
279 #define SWIGTYPE_p_wxANIHandler swig_types[61]
280 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
281 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
282 #define SWIGTYPE_p_wxCURHandler swig_types[64]
283 #define SWIGTYPE_p_wxICOHandler swig_types[65]
284 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
285 #define SWIGTYPE_p_wxImageHandler swig_types[67]
286 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
287 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
288 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
289 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
290 #define SWIGTYPE_p_wxRect swig_types[72]
291 #define SWIGTYPE_p_wxGBSpan swig_types[73]
292 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
293 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
294 #define SWIGTYPE_p_wxGBPosition swig_types[76]
295 #define SWIGTYPE_p_wxImage swig_types[77]
296 #define SWIGTYPE_p_wxFrame swig_types[78]
297 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
298 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
299 #define SWIGTYPE_p_byte swig_types[81]
300 #define SWIGTYPE_p_wxPoint swig_types[82]
301 #define SWIGTYPE_p_wxCursor swig_types[83]
302 #define SWIGTYPE_p_wxObject swig_types[84]
303 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
304 #define SWIGTYPE_p_wxOutputStream swig_types[86]
305 #define SWIGTYPE_p_wxInputStream swig_types[87]
306 #define SWIGTYPE_p_wxDateTime swig_types[88]
307 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
308 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
309 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
310 #define SWIGTYPE_p_wxWindow swig_types[92]
311 #define SWIGTYPE_p_wxMenuBar swig_types[93]
312 #define SWIGTYPE_p_wxString swig_types[94]
313 #define SWIGTYPE_p_wxFileSystem swig_types[95]
314 #define SWIGTYPE_p_wxBitmap swig_types[96]
315 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
316 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
317 #define SWIGTYPE_p_unsigned_char swig_types[99]
318 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
319 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
320 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
321 #define SWIGTYPE_p_wxPyApp swig_types[103]
322 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
323 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
324 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
325 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
326 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
327 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
328 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
329 #define SWIGTYPE_p_wxColour swig_types[111]
330 #define SWIGTYPE_p_wxValidator swig_types[112]
331 #define SWIGTYPE_p_wxPyValidator swig_types[113]
332 static swig_type_info
*swig_types
[115];
334 /* -------- TYPES TABLE (END) -------- */
337 /*-----------------------------------------------
339 ------------------------------------------------*/
340 #define SWIG_init init_core
342 #define SWIG_name "_core"
344 #include "wx/wxPython/wxPython_int.h"
345 #include "wx/wxPython/pyclasses.h"
348 #ifndef wxPyUSE_EXPORT
349 // Helper functions for dealing with SWIG objects and such. These are
350 // located here so they know about the SWIG types and functions declared
351 // in the wrapper code.
353 #include <wx/hashmap.h>
354 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
357 // Maintains a hashmap of className to swig_type_info pointers. Given the
358 // name of a class either looks up the type info in the cache, or scans the
359 // SWIG tables for it.
360 extern PyObject
* wxPyPtrTypeMap
;
362 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
364 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
366 if (typeInfoCache
== NULL
)
367 typeInfoCache
= new wxPyTypeInfoHashMap
;
369 wxString
name(className
);
370 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
373 // it wasn't in the cache, so look it up from SWIG
374 name
.Append(wxT(" *"));
375 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
377 // if it still wasn't found, try looking for a mapped name
382 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
383 (char*)(const char*)name
.mbc_str())) != NULL
) {
384 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
385 name
.Append(wxT(" *"));
386 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
390 // and add it to the map if found
391 (*typeInfoCache
)[className
] = swigType
;
398 // Check if a class name is a type known to SWIG
399 bool wxPyCheckSwigType(const wxChar
* className
) {
401 swig_type_info
* swigType
= wxPyFindSwigType(className
);
402 return swigType
!= NULL
;
406 // Given a pointer to a C++ object and a class name, construct a Python proxy
408 PyObject
* wxPyConstructObject(void* ptr
,
409 const wxChar
* className
,
412 swig_type_info
* swigType
= wxPyFindSwigType(className
);
413 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
415 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
419 // Extract a pointer to the wrapped C++ object from a Python proxy object.
420 // Ensures that the proxy object is of the specified (or derived) type. If
421 // not able to perform the conversion then a Python exception is set and the
422 // error should be handled properly in the caller. Returns True on success.
423 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
424 const wxChar
* className
) {
426 swig_type_info
* swigType
= wxPyFindSwigType(className
);
427 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
429 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
433 // Make a SWIGified pointer object suitable for a .this attribute
434 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
436 PyObject
* robj
= NULL
;
438 swig_type_info
* swigType
= wxPyFindSwigType(className
);
439 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
441 #ifdef SWIG_COBJECT_TYPES
442 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
448 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
449 strcpy(r
, swigType
->name
);
450 robj
= PyString_FromString(result
);
460 // Export a C API in a struct. Other modules will be able to load this from
461 // the wx.core module and will then have safe access to these functions, even if
462 // they are located in another shared library.
463 static wxPyCoreAPI API
= {
465 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
466 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
467 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
468 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
469 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
470 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
471 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
472 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
473 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
474 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
475 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
476 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
477 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
478 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
479 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
480 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
481 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
488 wxPyBeginAllowThreads
,
490 wxPyBeginBlockThreads
,
504 wxBitmap_LIST_helper
,
505 wxString_LIST_helper
,
506 wxAcceleratorEntry_LIST_helper
,
515 wxPySimple_typecheck
,
518 wxPyCBH_setCallbackInfo
,
519 wxPyCBH_findCallback
,
520 wxPyCBH_callCallback
,
521 wxPyCBH_callCallbackObj
,
529 wxArrayString2PyList_helper
,
530 wxArrayInt2PyList_helper
,
534 wxPyOORClientData_dtor
,
536 wxPyCBInputStream_create
,
539 wxPySwigInstance_Check
546 DECLARE_DEF_STRING(EmptyString
);
547 // DECLARE_DEF_STRING(PanelNameStr);
551 enum wxHotkeyModifier
559 #define wxEVT_HOTKEY 9999
562 wxString
wxObject_GetClassName(wxObject
*self
){
563 return self
->GetClassInfo()->GetClassName();
565 void wxObject_Destroy(wxObject
*self
){
570 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
573 PyObject
*wxSize_Get(wxSize
*self
){
574 wxPyBeginBlockThreads();
575 PyObject
* tup
= PyTuple_New(2);
576 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
577 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
578 wxPyEndBlockThreads();
581 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
585 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
586 wxPyBeginBlockThreads();
587 PyObject
* tup
= PyTuple_New(2);
588 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
589 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
590 wxPyEndBlockThreads();
593 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
597 PyObject
*wxPoint_Get(wxPoint
*self
){
598 wxPyBeginBlockThreads();
599 PyObject
* tup
= PyTuple_New(2);
600 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
601 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
602 wxPyEndBlockThreads();
605 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
609 self
->height
= height
;
611 PyObject
*wxRect_Get(wxRect
*self
){
612 wxPyBeginBlockThreads();
613 PyObject
* tup
= PyTuple_New(4);
614 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
615 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
616 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
617 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
618 wxPyEndBlockThreads();
622 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
625 wxRect
dest(0,0,0,0);
628 reg1
.Intersect(reg2
);
629 dest
= reg1
.GetBox();
631 if (dest
!= wxRect(0,0,0,0)) {
632 wxPyBeginBlockThreads();
633 wxRect
* newRect
= new wxRect(dest
);
634 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
635 wxPyEndBlockThreads();
643 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
649 } else if (target
== Py_None
) {
653 if (!PyTuple_Check(target
)) {
655 target
= PyTuple_New(1);
656 PyTuple_SetItem(target
, 0, o2
);
659 PyTuple_SetItem(o3
, 0, o
);
662 target
= PySequence_Concat(o2
, o3
);
669 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
673 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
674 wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
677 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
678 wxPyEndBlockThreads();
682 #include "wx/wxPython/pyistream.h"
684 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
685 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
687 return new wxPyInputStream(wxis
);
691 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
692 // We use only strings for the streams, not unicode
693 PyObject
* str
= PyObject_Str(obj
);
695 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
698 self
->Write(PyString_AS_STRING(str
),
699 PyString_GET_SIZE(str
));
703 #include "wx/wxPython/pyistream.h"
706 class wxPyFileSystemHandler
: public wxFileSystemHandler
709 wxPyFileSystemHandler() : wxFileSystemHandler() {}
711 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
712 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
713 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
714 DEC_PYCALLBACK_STRING__pure(FindNext
);
716 wxString
GetProtocol(const wxString
& location
) {
717 return wxFileSystemHandler::GetProtocol(location
);
720 wxString
GetLeftLocation(const wxString
& location
) {
721 return wxFileSystemHandler::GetLeftLocation(location
);
724 wxString
GetAnchor(const wxString
& location
) {
725 return wxFileSystemHandler::GetAnchor(location
);
728 wxString
GetRightLocation(const wxString
& location
) {
729 return wxFileSystemHandler::GetRightLocation(location
);
732 wxString
GetMimeTypeFromExt(const wxString
& location
) {
733 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
740 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
741 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
742 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
743 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
746 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
747 wxFileName fname
= wxFileSystem::URLToFileName(url
);
748 return fname
.GetFullPath();
752 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
755 wxMemoryFSHandler::AddFile(filename
, image
, type
);
758 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
759 const wxBitmap
& bitmap
,
761 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
764 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
766 wxMemoryFSHandler::AddFile(filename
,
767 // TODO: Verify data type
768 (void*)PyString_AsString(data
),
769 (size_t)PyString_Size(data
));
773 #include "wx/wxPython/pyistream.h"
775 wxImage
*new_wxImage(int width
,int height
,bool clear
){
776 if (width
> 0 && height
> 0)
777 return new wxImage(width
, height
, clear
);
781 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
782 return new wxImage(bitmap
.ConvertToImage());
784 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
785 // Copy the source data so the wxImage can clean it up later
786 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
791 memcpy(copy
, data
, width
*height
*3);
792 return new wxImage(width
, height
, copy
, False
);
794 PyObject
*wxImage_GetData(wxImage
*self
){
795 unsigned char* data
= self
->GetData();
796 int len
= self
->GetWidth() * self
->GetHeight() * 3;
798 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
801 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
802 unsigned char* dataPtr
;
804 if (! PyString_Check(data
)) {
805 PyErr_SetString(PyExc_TypeError
, "Expected string object");
809 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
810 dataPtr
= (unsigned char*) malloc(len
);
811 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
812 self
->SetData(dataPtr
);
813 // wxImage takes ownership of dataPtr...
815 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
816 unsigned char* data
= self
->GetData();
817 int len
= self
->GetWidth() * self
->GetHeight() * 3;
819 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
822 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
823 unsigned char* buffer
;
826 wxPyBeginBlockThreads();
827 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
830 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
831 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
834 self
->SetData(buffer
);
836 wxPyEndBlockThreads();
838 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
839 unsigned char* data
= self
->GetAlpha();
843 int len
= self
->GetWidth() * self
->GetHeight();
845 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
849 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
850 unsigned char* dataPtr
;
852 if (! PyString_Check(data
)) {
853 PyErr_SetString(PyExc_TypeError
, "Expected string object");
857 size_t len
= self
->GetWidth() * self
->GetHeight();
858 dataPtr
= (unsigned char*) malloc(len
);
859 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
860 self
->SetAlpha(dataPtr
);
861 // wxImage takes ownership of dataPtr...
863 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
864 unsigned char* data
= self
->GetAlpha();
865 int len
= self
->GetWidth() * self
->GetHeight();
867 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
870 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
871 unsigned char* buffer
;
874 wxPyBeginBlockThreads();
875 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
878 if (size
!= self
->GetWidth() * self
->GetHeight()) {
879 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
882 self
->SetAlpha(buffer
);
884 wxPyEndBlockThreads();
886 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
887 wxBitmap
bitmap(*self
);
890 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
891 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
892 wxBitmap
bitmap( mono
, 1 );
895 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
896 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
897 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
898 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
899 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
900 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
901 if (PyCallable_Check(func
)) {
902 self
->Connect(id
, lastId
, eventType
,
903 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
904 new wxPyCallback(func
));
906 else if (func
== Py_None
) {
907 self
->Disconnect(id
, lastId
, eventType
,
908 (wxObjectEventFunction
)
909 &wxPyCallback::EventThunker
);
912 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
915 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
916 return self
->Disconnect(id
, lastId
, eventType
,
917 (wxObjectEventFunction
)
918 &wxPyCallback::EventThunker
);
920 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
921 if (_self
&& _self
!= Py_None
) {
922 self
->SetClientObject(new wxPyOORClientData(_self
));
925 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
927 self
->SetClientObject(NULL
); // This will delete it too
931 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
933 return self
->m_uniChar
;
938 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
941 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
944 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
945 int count
= self
->GetNumberOfFiles();
946 wxString
* files
= self
->GetFiles();
947 PyObject
* list
= PyList_New(count
);
950 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
954 for (int i
=0; i
<count
; i
++) {
955 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
961 wxPyApp
*new_wxPyApp(){
962 wxPythonApp
= new wxPyApp();
965 int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError
); return 0; }
967 void wxApp_CleanUp() {
972 wxPyApp
* wxGetApp() {
973 return (wxPyApp
*)wxTheApp
;
978 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
979 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
980 wxWindowList
& list
= self
->GetChildren();
981 return wxPy_ConvertList(&list
);
983 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
990 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
997 long wxWindow_GetHandle(wxWindow
*self
){
998 return wxPyGetWinHandle(self
);
1001 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1002 return wxWindow::FindWindowById(id
, parent
);
1005 wxWindow
* wxFindWindowByName( const wxString
& name
,
1006 const wxWindow
*parent
= NULL
) {
1007 return wxWindow::FindWindowByName(name
, parent
);
1010 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1011 const wxWindow
*parent
= NULL
) {
1012 return wxWindow::FindWindowByLabel(label
, parent
);
1016 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1018 wxWindow
* win
= new wxWindow
;
1020 win
->SubclassWin(hWnd
);
1023 PyErr_SetNone(PyExc_NotImplementedError
);
1029 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1030 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1031 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1033 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1035 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1036 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1037 wxMenuItemList
& list
= self
->GetMenuItems();
1038 return wxPy_ConvertList(&list
);
1040 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1042 DECLARE_DEF_STRING(ControlNameStr
);
1044 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1046 wxPyClientData
* data
= new wxPyClientData(clientData
);
1047 return self
->Append(item
, data
);
1049 return self
->Append(item
);
1051 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1053 wxPyClientData
* data
= new wxPyClientData(clientData
);
1054 return self
->Insert(item
, pos
, data
);
1056 return self
->Insert(item
, pos
);
1058 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1059 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1061 Py_INCREF(data
->m_obj
);
1068 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1069 wxPyClientData
* data
= new wxPyClientData(clientData
);
1070 self
->SetClientObject(n
, data
);
1074 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1075 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1077 Py_INCREF(data
->m_obj
);
1085 // Figure out the type of the sizer item
1087 struct wxPySizerItemInfo
{
1089 : window(NULL
), sizer(NULL
), gotSize(False
),
1090 size(wxDefaultSize
), gotPos(False
), pos(-1)
1101 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1103 wxPySizerItemInfo info
;
1105 wxSize
* sizePtr
= &size
;
1107 // Find out what the type of the item is
1109 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1114 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1118 // try wxSize or (w,h)
1119 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1120 info
.size
= *sizePtr
;
1121 info
.gotSize
= True
;
1125 if (checkIdx
&& PyInt_Check(item
)) {
1126 info
.pos
= PyInt_AsLong(item
);
1132 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1133 // no expected type, figure out what kind of error message to generate
1134 if ( !checkSize
&& !checkIdx
)
1135 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1136 else if ( checkSize
&& !checkIdx
)
1137 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1138 else if ( !checkSize
&& checkIdx
)
1139 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1141 // can this one happen?
1142 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1148 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1149 self
->SetClientObject(new wxPyOORClientData(_self
));
1151 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1153 wxPyUserData
* data
= NULL
;
1154 wxPyBeginBlockThreads();
1155 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1156 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1157 data
= new wxPyUserData(userData
);
1158 wxPyEndBlockThreads();
1160 // Now call the real Add method if a valid item type was found
1162 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1163 else if ( info
.sizer
)
1164 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1165 else if (info
.gotSize
)
1166 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1167 proportion
, flag
, border
, data
);
1169 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1171 wxPyUserData
* data
= NULL
;
1172 wxPyBeginBlockThreads();
1173 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1174 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1175 data
= new wxPyUserData(userData
);
1176 wxPyEndBlockThreads();
1178 // Now call the real Insert method if a valid item type was found
1180 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1181 else if ( info
.sizer
)
1182 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1183 else if (info
.gotSize
)
1184 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1185 proportion
, flag
, border
, data
);
1187 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1189 wxPyUserData
* data
= NULL
;
1190 wxPyBeginBlockThreads();
1191 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1192 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1193 data
= new wxPyUserData(userData
);
1194 wxPyEndBlockThreads();
1196 // Now call the real Prepend method if a valid item type was found
1198 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1199 else if ( info
.sizer
)
1200 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1201 else if (info
.gotSize
)
1202 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1203 proportion
, flag
, border
, data
);
1205 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1206 wxPyBeginBlockThreads();
1207 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1208 wxPyEndBlockThreads();
1210 return self
->Remove(info
.window
);
1211 else if ( info
.sizer
)
1212 return self
->Remove(info
.sizer
);
1213 else if ( info
.gotPos
)
1214 return self
->Remove(info
.pos
);
1218 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1219 wxPyBeginBlockThreads();
1220 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1221 wxPyEndBlockThreads();
1223 self
->SetItemMinSize(info
.window
, size
);
1224 else if ( info
.sizer
)
1225 self
->SetItemMinSize(info
.sizer
, size
);
1226 else if ( info
.gotPos
)
1227 self
->SetItemMinSize(info
.pos
, size
);
1229 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1230 wxSizerItemList
& list
= self
->GetChildren();
1231 return wxPy_ConvertList(&list
);
1233 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1234 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1236 self
->Show(info
.window
, show
);
1237 else if ( info
.sizer
)
1238 self
->Show(info
.sizer
, show
);
1240 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1241 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1243 self
->Hide(info
.window
);
1244 else if ( info
.sizer
)
1245 self
->Hide(info
.sizer
);
1247 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1248 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1250 return self
->IsShown(info
.window
);
1251 else if ( info
.sizer
)
1252 return self
->IsShown(info
.sizer
);
1258 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1259 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1260 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1265 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1267 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1270 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1272 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1276 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1280 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1281 wxPyBeginBlockThreads();
1282 PyObject
* tup
= PyTuple_New(2);
1283 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1284 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1285 wxPyEndBlockThreads();
1288 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1289 self
->SetRowspan(rowspan
);
1290 self
->SetColspan(colspan
);
1292 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1293 wxPyBeginBlockThreads();
1294 PyObject
* tup
= PyTuple_New(2);
1295 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1296 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1297 wxPyEndBlockThreads();
1300 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1302 wxPyUserData
* data
= NULL
;
1303 wxPyBeginBlockThreads();
1304 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1305 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1306 data
= new wxPyUserData(userData
);
1307 wxPyEndBlockThreads();
1309 // Now call the real Add method if a valid item type was found
1311 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1312 else if ( info
.sizer
)
1313 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1314 else if (info
.gotSize
)
1315 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1316 pos
, span
, flag
, border
, data
);
1324 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxObject
*arg1
= (wxObject
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1330 (char *) "self", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 result
= wxObject_GetClassName(arg1
);
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) SWIG_fail
;
1344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1355 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
*resultobj
;
1357 wxObject
*arg1
= (wxObject
*) 0 ;
1358 PyObject
* obj0
= 0 ;
1360 (char *) "self", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 wxObject_Destroy(arg1
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) SWIG_fail
;
1372 Py_INCREF(Py_None
); resultobj
= Py_None
;
1379 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1382 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1384 return Py_BuildValue((char *)"");
1386 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxSize
*arg1
= (wxSize
*) 0 ;
1390 PyObject
* obj0
= 0 ;
1392 (char *) "self",(char *) "x", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1397 if (arg1
) (arg1
)->x
= arg2
;
1399 Py_INCREF(Py_None
); resultobj
= Py_None
;
1406 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxSize
*arg1
= (wxSize
*) 0 ;
1410 PyObject
* obj0
= 0 ;
1412 (char *) "self", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1417 result
= (int) ((arg1
)->x
);
1419 resultobj
= PyInt_FromLong((long)result
);
1426 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
*resultobj
;
1428 wxSize
*arg1
= (wxSize
*) 0 ;
1430 PyObject
* obj0
= 0 ;
1432 (char *) "self",(char *) "y", NULL
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1437 if (arg1
) (arg1
)->y
= arg2
;
1439 Py_INCREF(Py_None
); resultobj
= Py_None
;
1446 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1448 wxSize
*arg1
= (wxSize
*) 0 ;
1450 PyObject
* obj0
= 0 ;
1452 (char *) "self", NULL
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1457 result
= (int) ((arg1
)->y
);
1459 resultobj
= PyInt_FromLong((long)result
);
1466 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 int arg1
= (int) 0 ;
1469 int arg2
= (int) 0 ;
1472 (char *) "w",(char *) "h", NULL
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1490 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxSize
*arg1
= (wxSize
*) 0 ;
1493 PyObject
* obj0
= 0 ;
1495 (char *) "self", NULL
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 wxPyEndAllowThreads(__tstate
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1507 Py_INCREF(Py_None
); resultobj
= Py_None
;
1514 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
*resultobj
;
1516 wxSize
*arg1
= (wxSize
*) 0 ;
1520 PyObject
* obj0
= 0 ;
1521 PyObject
* obj1
= 0 ;
1523 (char *) "self",(char *) "sz", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) SWIG_fail
;
1539 resultobj
= PyInt_FromLong((long)result
);
1546 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxSize
*arg1
= (wxSize
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1553 PyObject
* obj1
= 0 ;
1555 (char *) "self",(char *) "sz", NULL
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1562 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 resultobj
= PyInt_FromLong((long)result
);
1578 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxSize
*arg1
= (wxSize
*) 0 ;
1584 PyObject
* obj0
= 0 ;
1585 PyObject
* obj1
= 0 ;
1587 (char *) "self",(char *) "sz", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1594 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1605 resultptr
= new wxSize((wxSize
&) result
);
1606 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1614 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
*resultobj
;
1616 wxSize
*arg1
= (wxSize
*) 0 ;
1620 PyObject
* obj0
= 0 ;
1621 PyObject
* obj1
= 0 ;
1623 (char *) "self",(char *) "sz", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1641 resultptr
= new wxSize((wxSize
&) result
);
1642 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1650 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxSize
*arg1
= (wxSize
*) 0 ;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1658 (char *) "self",(char *) "sz", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1665 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 (arg1
)->IncTo((wxSize
const &)*arg2
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 Py_INCREF(Py_None
); resultobj
= Py_None
;
1681 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1683 wxSize
*arg1
= (wxSize
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1687 PyObject
* obj1
= 0 ;
1689 (char *) "self",(char *) "sz", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1696 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 (arg1
)->DecTo((wxSize
const &)*arg2
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1705 Py_INCREF(Py_None
); resultobj
= Py_None
;
1712 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxSize
*arg1
= (wxSize
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1719 (char *) "self",(char *) "w",(char *) "h", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 (arg1
)->Set(arg2
,arg3
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 Py_INCREF(Py_None
); resultobj
= Py_None
;
1738 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxSize
*arg1
= (wxSize
*) 0 ;
1742 PyObject
* obj0
= 0 ;
1744 (char *) "self",(char *) "w", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 (arg1
)->SetWidth(arg2
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 Py_INCREF(Py_None
); resultobj
= Py_None
;
1763 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxSize
*arg1
= (wxSize
*) 0 ;
1767 PyObject
* obj0
= 0 ;
1769 (char *) "self",(char *) "h", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 (arg1
)->SetHeight(arg2
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 Py_INCREF(Py_None
); resultobj
= Py_None
;
1788 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
*resultobj
;
1790 wxSize
*arg1
= (wxSize
*) 0 ;
1792 PyObject
* obj0
= 0 ;
1794 (char *) "self", NULL
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 resultobj
= PyInt_FromLong((long)result
);
1813 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxSize
*arg1
= (wxSize
*) 0 ;
1817 PyObject
* obj0
= 0 ;
1819 (char *) "self", NULL
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 resultobj
= PyInt_FromLong((long)result
);
1838 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
;
1840 wxSize
*arg1
= (wxSize
*) 0 ;
1842 PyObject
* obj0
= 0 ;
1844 (char *) "self", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (PyObject
*)wxSize_Get(arg1
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1863 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1866 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1868 return Py_BuildValue((char *)"");
1870 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "self",(char *) "x", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1881 if (arg1
) (arg1
)->x
= arg2
;
1883 Py_INCREF(Py_None
); resultobj
= Py_None
;
1890 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1894 PyObject
* obj0
= 0 ;
1896 (char *) "self", NULL
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1901 result
= (double) ((arg1
)->x
);
1903 resultobj
= PyFloat_FromDouble(result
);
1910 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "self",(char *) "y", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1921 if (arg1
) (arg1
)->y
= arg2
;
1923 Py_INCREF(Py_None
); resultobj
= Py_None
;
1930 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
*resultobj
;
1932 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1934 PyObject
* obj0
= 0 ;
1936 (char *) "self", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1941 result
= (double) ((arg1
)->y
);
1943 resultobj
= PyFloat_FromDouble(result
);
1950 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 double arg1
= (double) 0.0 ;
1953 double arg2
= (double) 0.0 ;
1954 wxRealPoint
*result
;
1956 (char *) "x",(char *) "y", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
1974 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1977 PyObject
* obj0
= 0 ;
1979 (char *) "self", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1991 Py_INCREF(Py_None
); resultobj
= Py_None
;
1998 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2001 wxRealPoint
*arg2
= 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2007 (char *) "self",(char *) "pt", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2014 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 resultobj
= PyInt_FromLong((long)result
);
2030 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2032 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2033 wxRealPoint
*arg2
= 0 ;
2036 PyObject
* obj0
= 0 ;
2037 PyObject
* obj1
= 0 ;
2039 (char *) "self",(char *) "pt", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2046 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= PyInt_FromLong((long)result
);
2062 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2065 wxRealPoint
*arg2
= 0 ;
2068 PyObject
* obj0
= 0 ;
2069 PyObject
* obj1
= 0 ;
2071 (char *) "self",(char *) "pt", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2078 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2088 wxRealPoint
* resultptr
;
2089 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2090 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2098 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2101 wxRealPoint
*arg2
= 0 ;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "pt", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2114 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2124 wxRealPoint
* resultptr
;
2125 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2126 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2134 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2141 (char *) "self",(char *) "x",(char *) "y", NULL
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 wxRealPoint_Set(arg1
,arg2
,arg3
);
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2153 Py_INCREF(Py_None
); resultobj
= Py_None
;
2160 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
;
2162 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2164 PyObject
* obj0
= 0 ;
2166 (char *) "self", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2185 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2188 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2190 return Py_BuildValue((char *)"");
2192 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 wxPoint
*arg1
= (wxPoint
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2198 (char *) "self",(char *) "x", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2203 if (arg1
) (arg1
)->x
= arg2
;
2205 Py_INCREF(Py_None
); resultobj
= Py_None
;
2212 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxPoint
*arg1
= (wxPoint
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2218 (char *) "self", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2223 result
= (int) ((arg1
)->x
);
2225 resultobj
= PyInt_FromLong((long)result
);
2232 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxPoint
*arg1
= (wxPoint
*) 0 ;
2236 PyObject
* obj0
= 0 ;
2238 (char *) "self",(char *) "y", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 if (arg1
) (arg1
)->y
= arg2
;
2245 Py_INCREF(Py_None
); resultobj
= Py_None
;
2252 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxPoint
*arg1
= (wxPoint
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2258 (char *) "self", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2263 result
= (int) ((arg1
)->y
);
2265 resultobj
= PyInt_FromLong((long)result
);
2272 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 int arg1
= (int) 0 ;
2275 int arg2
= (int) 0 ;
2278 (char *) "x",(char *) "y", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2296 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 wxPoint
*arg1
= (wxPoint
*) 0 ;
2299 PyObject
* obj0
= 0 ;
2301 (char *) "self", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2313 Py_INCREF(Py_None
); resultobj
= Py_None
;
2320 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2322 wxPoint
*arg1
= (wxPoint
*) 0 ;
2326 PyObject
* obj0
= 0 ;
2327 PyObject
* obj1
= 0 ;
2329 (char *) "self",(char *) "pt", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 resultobj
= PyInt_FromLong((long)result
);
2352 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxPoint
*arg1
= (wxPoint
*) 0 ;
2358 PyObject
* obj0
= 0 ;
2359 PyObject
* obj1
= 0 ;
2361 (char *) "self",(char *) "pt", NULL
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2368 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 resultobj
= PyInt_FromLong((long)result
);
2384 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxPoint
*arg1
= (wxPoint
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2393 (char *) "self",(char *) "pt", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2410 wxPoint
* resultptr
;
2411 resultptr
= new wxPoint((wxPoint
&) result
);
2412 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2420 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxPoint
*arg1
= (wxPoint
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2427 PyObject
* obj1
= 0 ;
2429 (char *) "self",(char *) "pt", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2446 wxPoint
* resultptr
;
2447 resultptr
= new wxPoint((wxPoint
&) result
);
2448 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2456 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxPoint
*arg1
= (wxPoint
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "pt", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2478 result
= (wxPoint
*) &_result_ref
;
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2491 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxPoint
*arg1
= (wxPoint
*) 0 ;
2497 PyObject
* obj0
= 0 ;
2498 PyObject
* obj1
= 0 ;
2500 (char *) "self",(char *) "pt", NULL
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2513 result
= (wxPoint
*) &_result_ref
;
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2526 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxPoint
*arg1
= (wxPoint
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self",(char *) "x",(char *) "y", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 wxPoint_Set(arg1
,arg2
,arg3
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2554 wxPoint
*arg1
= (wxPoint
*) 0 ;
2556 PyObject
* obj0
= 0 ;
2558 (char *) "self", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 result
= (PyObject
*)wxPoint_Get(arg1
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2577 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2580 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2582 return Py_BuildValue((char *)"");
2584 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 int arg1
= (int) 0 ;
2587 int arg2
= (int) 0 ;
2588 int arg3
= (int) 0 ;
2589 int arg4
= (int) 0 ;
2592 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2610 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2617 PyObject
* obj0
= 0 ;
2618 PyObject
* obj1
= 0 ;
2620 (char *) "topLeft",(char *) "bottomRight", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2626 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2646 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2656 (char *) "pos",(char *) "size", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2662 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2666 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2682 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxRect
*arg1
= (wxRect
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 Py_INCREF(Py_None
); resultobj
= Py_None
;
2706 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2708 wxRect
*arg1
= (wxRect
*) 0 ;
2710 PyObject
* obj0
= 0 ;
2712 (char *) "self", NULL
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (int)((wxRect
const *)arg1
)->GetX();
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= PyInt_FromLong((long)result
);
2731 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxRect
*arg1
= (wxRect
*) 0 ;
2735 PyObject
* obj0
= 0 ;
2737 (char *) "self",(char *) "x", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 Py_INCREF(Py_None
); resultobj
= Py_None
;
2756 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxRect
*arg1
= (wxRect
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "self", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 result
= (int)(arg1
)->GetY();
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 resultobj
= PyInt_FromLong((long)result
);
2781 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxRect
*arg1
= (wxRect
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2787 (char *) "self",(char *) "y", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2799 Py_INCREF(Py_None
); resultobj
= Py_None
;
2806 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxRect
*arg1
= (wxRect
*) 0 ;
2810 PyObject
* obj0
= 0 ;
2812 (char *) "self", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 resultobj
= PyInt_FromLong((long)result
);
2831 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxRect
*arg1
= (wxRect
*) 0 ;
2835 PyObject
* obj0
= 0 ;
2837 (char *) "self",(char *) "w", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 (arg1
)->SetWidth(arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 Py_INCREF(Py_None
); resultobj
= Py_None
;
2856 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
*resultobj
;
2858 wxRect
*arg1
= (wxRect
*) 0 ;
2860 PyObject
* obj0
= 0 ;
2862 (char *) "self", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= PyInt_FromLong((long)result
);
2881 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxRect
*arg1
= (wxRect
*) 0 ;
2885 PyObject
* obj0
= 0 ;
2887 (char *) "self",(char *) "h", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 (arg1
)->SetHeight(arg2
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxRect
*arg1
= (wxRect
*) 0 ;
2910 PyObject
* obj0
= 0 ;
2912 (char *) "self", NULL
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= ((wxRect
const *)arg1
)->GetPosition();
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2925 wxPoint
* resultptr
;
2926 resultptr
= new wxPoint((wxPoint
&) result
);
2927 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2935 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxRect
*arg1
= (wxRect
*) 0 ;
2940 PyObject
* obj0
= 0 ;
2941 PyObject
* obj1
= 0 ;
2943 (char *) "self",(char *) "p", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2950 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxRect
*arg1
= (wxRect
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2972 (char *) "self", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= ((wxRect
const *)arg1
)->GetSize();
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2986 resultptr
= new wxSize((wxSize
&) result
);
2987 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
2995 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxRect
*arg1
= (wxRect
*) 0 ;
3000 PyObject
* obj0
= 0 ;
3001 PyObject
* obj1
= 0 ;
3003 (char *) "self",(char *) "s", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3010 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 (arg1
)->SetSize((wxSize
const &)*arg2
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3019 Py_INCREF(Py_None
); resultobj
= Py_None
;
3026 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxRect
*arg1
= (wxRect
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3032 (char *) "self", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= PyInt_FromLong((long)result
);
3051 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxRect
*arg1
= (wxRect
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3057 (char *) "self", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= (int)((wxRect
const *)arg1
)->GetTop();
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= PyInt_FromLong((long)result
);
3076 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxRect
*arg1
= (wxRect
*) 0 ;
3080 PyObject
* obj0
= 0 ;
3082 (char *) "self", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= PyInt_FromLong((long)result
);
3101 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
*resultobj
;
3103 wxRect
*arg1
= (wxRect
*) 0 ;
3105 PyObject
* obj0
= 0 ;
3107 (char *) "self", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (int)((wxRect
const *)arg1
)->GetRight();
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= PyInt_FromLong((long)result
);
3126 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxRect
*arg1
= (wxRect
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3132 (char *) "self",(char *) "left", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 (arg1
)->SetLeft(arg2
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 Py_INCREF(Py_None
); resultobj
= Py_None
;
3151 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxRect
*arg1
= (wxRect
*) 0 ;
3155 PyObject
* obj0
= 0 ;
3157 (char *) "self",(char *) "right", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 (arg1
)->SetRight(arg2
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3169 Py_INCREF(Py_None
); resultobj
= Py_None
;
3176 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
*resultobj
;
3178 wxRect
*arg1
= (wxRect
*) 0 ;
3180 PyObject
* obj0
= 0 ;
3182 (char *) "self",(char *) "top", NULL
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 (arg1
)->SetTop(arg2
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 Py_INCREF(Py_None
); resultobj
= Py_None
;
3201 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxRect
*arg1
= (wxRect
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3207 (char *) "self",(char *) "bottom", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 (arg1
)->SetBottom(arg2
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3219 Py_INCREF(Py_None
); resultobj
= Py_None
;
3226 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 wxRect
*arg1
= (wxRect
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self",(char *) "dx",(char *) "dy", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3243 result
= (wxRect
*) &_result_ref
;
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3256 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxRect
*arg1
= (wxRect
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3264 (char *) "self",(char *) "dx",(char *) "dy", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3273 result
= (wxRect
*) &_result_ref
;
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3286 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxRect
*arg1
= (wxRect
*) 0 ;
3291 PyObject
* obj0
= 0 ;
3293 (char *) "self",(char *) "dx",(char *) "dy", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 (arg1
)->Offset(arg2
,arg3
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxRect
*arg1
= (wxRect
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3320 (char *) "self",(char *) "pt", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 (arg1
)->Offset((wxPoint
const &)*arg2
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxRect
*arg1
= (wxRect
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3352 (char *) "self",(char *) "rect", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3365 result
= (wxRect
*) &_result_ref
;
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3378 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxRect
*arg1
= (wxRect
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3385 PyObject
* obj1
= 0 ;
3387 (char *) "self",(char *) "rect", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3394 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3405 resultptr
= new wxRect((wxRect
&) result
);
3406 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3414 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxRect
*arg1
= (wxRect
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj1
= 0 ;
3423 (char *) "self",(char *) "rect", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3430 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3436 result
= (wxRect
*) &_result_ref
;
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3449 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxRect
*arg1
= (wxRect
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3456 PyObject
* obj1
= 0 ;
3458 (char *) "self",(char *) "rect", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3465 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= PyInt_FromLong((long)result
);
3481 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxRect
*arg1
= (wxRect
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3490 (char *) "self",(char *) "rect", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3497 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= PyInt_FromLong((long)result
);
3513 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxRect
*arg1
= (wxRect
*) 0 ;
3519 PyObject
* obj0
= 0 ;
3521 (char *) "self",(char *) "x",(char *) "y", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= PyInt_FromLong((long)result
);
3540 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxRect
*arg1
= (wxRect
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3549 (char *) "self",(char *) "pt", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= PyInt_FromLong((long)result
);
3572 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxRect
*arg1
= (wxRect
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3581 (char *) "self",(char *) "rect", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3588 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 resultobj
= PyInt_FromLong((long)result
);
3604 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxRect
*arg1
= (wxRect
*) 0 ;
3608 PyObject
* obj0
= 0 ;
3610 (char *) "self",(char *) "x", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3615 if (arg1
) (arg1
)->x
= arg2
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxRect
*arg1
= (wxRect
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3630 (char *) "self", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3635 result
= (int) ((arg1
)->x
);
3637 resultobj
= PyInt_FromLong((long)result
);
3644 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxRect
*arg1
= (wxRect
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self",(char *) "y", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3655 if (arg1
) (arg1
)->y
= arg2
;
3657 Py_INCREF(Py_None
); resultobj
= Py_None
;
3664 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
;
3666 wxRect
*arg1
= (wxRect
*) 0 ;
3668 PyObject
* obj0
= 0 ;
3670 (char *) "self", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3675 result
= (int) ((arg1
)->y
);
3677 resultobj
= PyInt_FromLong((long)result
);
3684 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxRect
*arg1
= (wxRect
*) 0 ;
3688 PyObject
* obj0
= 0 ;
3690 (char *) "self",(char *) "width", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3695 if (arg1
) (arg1
)->width
= arg2
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxRect
*arg1
= (wxRect
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3710 (char *) "self", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3715 result
= (int) ((arg1
)->width
);
3717 resultobj
= PyInt_FromLong((long)result
);
3724 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxRect
*arg1
= (wxRect
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "self",(char *) "height", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3735 if (arg1
) (arg1
)->height
= arg2
;
3737 Py_INCREF(Py_None
); resultobj
= Py_None
;
3744 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxRect
*arg1
= (wxRect
*) 0 ;
3748 PyObject
* obj0
= 0 ;
3750 (char *) "self", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3755 result
= (int) ((arg1
)->height
);
3757 resultobj
= PyInt_FromLong((long)result
);
3764 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxRect
*arg1
= (wxRect
*) 0 ;
3767 int arg2
= (int) 0 ;
3768 int arg3
= (int) 0 ;
3769 int arg4
= (int) 0 ;
3770 int arg5
= (int) 0 ;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxRect
*arg1
= (wxRect
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (PyObject
*)wxRect_Get(arg1
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3817 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3820 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3822 return Py_BuildValue((char *)"");
3824 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxRect
*arg1
= (wxRect
*) 0 ;
3827 wxRect
*arg2
= (wxRect
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3832 (char *) "r1",(char *) "r2", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3852 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 double arg1
= (double) 0.0 ;
3855 double arg2
= (double) 0.0 ;
3858 (char *) "x",(char *) "y", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3876 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxPoint2D
*arg1
= 0 ;
3881 PyObject
* obj0
= 0 ;
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
3889 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3905 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
;
3910 PyObject
* obj0
= 0 ;
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
3918 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3934 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3937 int *arg2
= (int *) 0 ;
3938 int *arg3
= (int *) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 Py_INCREF(Py_None
); resultobj
= Py_None
;
3959 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3960 resultobj
= t_output_helper(resultobj
,o
);
3963 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3964 resultobj
= t_output_helper(resultobj
,o
);
3972 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3975 int *arg2
= (int *) 0 ;
3976 int *arg3
= (int *) 0 ;
3979 PyObject
* obj0
= 0 ;
3981 (char *) "self", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
3987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 Py_INCREF(Py_None
); resultobj
= Py_None
;
3997 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3998 resultobj
= t_output_helper(resultobj
,o
);
4001 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4002 resultobj
= t_output_helper(resultobj
,o
);
4010 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4016 (char *) "self", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= PyFloat_FromDouble(result
);
4035 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
;
4037 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4039 PyObject
* obj0
= 0 ;
4041 (char *) "self", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= PyFloat_FromDouble(result
);
4060 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4064 PyObject
* obj0
= 0 ;
4066 (char *) "self",(char *) "length", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 (arg1
)->SetVectorLength(arg2
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 Py_INCREF(Py_None
); resultobj
= Py_None
;
4085 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
;
4087 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4089 PyObject
* obj0
= 0 ;
4091 (char *) "self",(char *) "degrees", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 (arg1
)->SetVectorAngle(arg2
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4110 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4113 wxPoint2D
*arg2
= 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "pt", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4126 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= PyFloat_FromDouble(result
);
4142 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4145 wxPoint2D
*arg2
= 0 ;
4148 PyObject
* obj0
= 0 ;
4149 PyObject
* obj1
= 0 ;
4151 (char *) "self",(char *) "pt", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4158 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= PyFloat_FromDouble(result
);
4174 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4177 wxPoint2D
*arg2
= 0 ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4183 (char *) "self",(char *) "vec", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4190 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= PyFloat_FromDouble(result
);
4206 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4209 wxPoint2D
*arg2
= 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4215 (char *) "self",(char *) "vec", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4222 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= PyFloat_FromDouble(result
);
4238 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4244 (char *) "self", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (arg1
)->operator -();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 wxPoint2D
* resultptr
;
4258 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4259 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4267 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4270 wxPoint2D
*arg2
= 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4276 (char *) "self",(char *) "pt", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4283 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4289 result
= (wxPoint2D
*) &_result_ref
;
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4302 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4305 wxPoint2D
*arg2
= 0 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4311 (char *) "self",(char *) "pt", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4318 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4324 result
= (wxPoint2D
*) &_result_ref
;
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4337 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4340 wxPoint2D
*arg2
= 0 ;
4343 PyObject
* obj0
= 0 ;
4344 PyObject
* obj1
= 0 ;
4346 (char *) "self",(char *) "pt", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4353 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4359 result
= (wxPoint2D
*) &_result_ref
;
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4372 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4375 wxPoint2D
*arg2
= 0 ;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4381 (char *) "self",(char *) "pt", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4388 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4394 result
= (wxPoint2D
*) &_result_ref
;
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4407 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4409 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4410 wxPoint2D
*arg2
= 0 ;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4416 (char *) "self",(char *) "pt", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4423 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= PyInt_FromLong((long)result
);
4439 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4442 wxPoint2D
*arg2
= 0 ;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4448 (char *) "self",(char *) "pt", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4455 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= PyInt_FromLong((long)result
);
4471 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4475 PyObject
* obj0
= 0 ;
4477 (char *) "self",(char *) "m_x", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4482 if (arg1
) (arg1
)->m_x
= arg2
;
4484 Py_INCREF(Py_None
); resultobj
= Py_None
;
4491 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4497 (char *) "self", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4502 result
= (double) ((arg1
)->m_x
);
4504 resultobj
= PyFloat_FromDouble(result
);
4511 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4515 PyObject
* obj0
= 0 ;
4517 (char *) "self",(char *) "m_y", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4522 if (arg1
) (arg1
)->m_y
= arg2
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4537 (char *) "self", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4542 result
= (double) ((arg1
)->m_y
);
4544 resultobj
= PyFloat_FromDouble(result
);
4551 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4554 double arg2
= (double) 0 ;
4555 double arg3
= (double) 0 ;
4556 PyObject
* obj0
= 0 ;
4558 (char *) "self",(char *) "x",(char *) "y", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 wxPoint2D_Set(arg1
,arg2
,arg3
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 Py_INCREF(Py_None
); resultobj
= Py_None
;
4577 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4583 (char *) "self", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
4587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= (PyObject
*)wxPoint2D_Get(arg1
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4602 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4605 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4607 return Py_BuildValue((char *)"");
4609 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4610 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4615 static PyObject
*_wrap_DefaultPosition_get() {
4618 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4623 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4624 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4629 static PyObject
*_wrap_DefaultSize_get() {
4632 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4637 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 PyObject
*arg1
= (PyObject
*) 0 ;
4640 wxPyInputStream
*result
;
4641 PyObject
* obj0
= 0 ;
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4662 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4667 (char *) "self", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 Py_INCREF(Py_None
); resultobj
= Py_None
;
4686 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
*resultobj
;
4688 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4691 (char *) "self", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4710 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4716 (char *) "self", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (bool)(arg1
)->eof();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= PyInt_FromLong((long)result
);
4735 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4738 int arg2
= (int) -1 ;
4740 PyObject
* obj0
= 0 ;
4742 (char *) "self",(char *) "size", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (PyObject
*)(arg1
)->read(arg2
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4761 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4764 int arg2
= (int) -1 ;
4766 PyObject
* obj0
= 0 ;
4768 (char *) "self",(char *) "size", NULL
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (PyObject
*)(arg1
)->readline(arg2
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4787 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4790 int arg2
= (int) -1 ;
4792 PyObject
* obj0
= 0 ;
4794 (char *) "self",(char *) "sizehint", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4813 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4817 int arg3
= (int) 0 ;
4818 PyObject
* obj0
= 0 ;
4820 (char *) "self",(char *) "offset",(char *) "whence", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 (arg1
)->seek(arg2
,arg3
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4845 (char *) "self", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (int)(arg1
)->tell();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= PyInt_FromLong((long)result
);
4864 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4870 (char *) "self", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
4874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (char)(arg1
)->Peek();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= Py_BuildValue((char*)"c",result
);
4889 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4895 (char *) "self", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (char)(arg1
)->GetC();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= Py_BuildValue((char*)"c",result
);
4914 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (size_t)(arg1
)->LastRead();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= PyInt_FromLong((long)result
);
4939 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4945 (char *) "self", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (bool)(arg1
)->CanRead();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= PyInt_FromLong((long)result
);
4964 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (bool)(arg1
)->Eof();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= PyInt_FromLong((long)result
);
4989 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self",(char *) "c", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (bool)(arg1
)->Ungetch(arg2
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= PyInt_FromLong((long)result
);
5015 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5019 int arg3
= (int) wxFromStart
;
5021 PyObject
* obj0
= 0 ;
5023 (char *) "self",(char *) "pos",(char *) "mode", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= PyInt_FromLong((long)result
);
5042 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5048 (char *) "self", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 result
= (long)(arg1
)->TellI();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= PyInt_FromLong((long)result
);
5067 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5070 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5072 return Py_BuildValue((char *)"");
5074 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5077 PyObject
*arg2
= (PyObject
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5081 (char *) "self",(char *) "obj", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxOutputStream_write(arg1
,arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 Py_INCREF(Py_None
); resultobj
= Py_None
;
5101 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5104 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5106 return Py_BuildValue((char *)"");
5108 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5111 wxString
*arg2
= 0 ;
5112 wxString
*arg3
= 0 ;
5113 wxString
*arg4
= 0 ;
5116 wxPyInputStream
*temp1
;
5118 bool temp2
= False
;
5119 bool temp3
= False
;
5120 bool temp4
= False
;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5124 PyObject
* obj2
= 0 ;
5125 PyObject
* obj3
= 0 ;
5126 PyObject
* obj4
= 0 ;
5128 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5133 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5134 arg1
= temp1
->m_wxis
;
5137 PyErr_Clear(); // clear the failure of the wxPyConvert above
5138 arg1
= wxPyCBInputStream_create(obj0
, False
);
5140 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5147 arg2
= wxString_in_helper(obj1
);
5148 if (arg2
== NULL
) SWIG_fail
;
5152 arg3
= wxString_in_helper(obj2
);
5153 if (arg3
== NULL
) SWIG_fail
;
5157 arg4
= wxString_in_helper(obj3
);
5158 if (arg4
== NULL
) SWIG_fail
;
5161 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= wxPyMake_wxObject(result
);
5211 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5216 (char *) "self", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5238 wxInputStream
*result
;
5239 PyObject
* obj0
= 0 ;
5241 (char *) "self", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (wxInputStream
*)(arg1
)->GetStream();
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5254 wxPyInputStream
* _ptr
= NULL
;
5257 _ptr
= new wxPyInputStream(result
);
5259 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5267 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5273 (char *) "self", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5282 result
= (wxString
*) &_result_ref
;
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5295 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5301 (char *) "self", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 wxString
const &_result_ref
= (arg1
)->GetLocation();
5310 result
= (wxString
*) &_result_ref
;
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5323 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "self", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5338 result
= (wxString
*) &_result_ref
;
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5351 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5355 PyObject
* obj0
= 0 ;
5357 (char *) "self", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (arg1
)->GetModificationTime();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 wxDateTime
* resultptr
;
5371 resultptr
= new wxDateTime((wxDateTime
&) result
);
5372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5380 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5383 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5385 return Py_BuildValue((char *)"");
5387 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5390 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5392 return Py_BuildValue((char *)"");
5394 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxPyFileSystemHandler
*result
;
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5416 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5419 PyObject
*arg2
= (PyObject
*) 0 ;
5420 PyObject
*arg3
= (PyObject
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5422 PyObject
* obj1
= 0 ;
5423 PyObject
* obj2
= 0 ;
5425 (char *) "self",(char *) "self",(char *) "_class", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 Py_INCREF(Py_None
); resultobj
= Py_None
;
5446 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5449 wxString
*arg2
= 0 ;
5451 bool temp2
= False
;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5455 (char *) "self",(char *) "location", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 arg2
= wxString_in_helper(obj1
);
5462 if (arg2
== NULL
) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= PyInt_FromLong((long)result
);
5487 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5490 wxFileSystem
*arg2
= 0 ;
5491 wxString
*arg3
= 0 ;
5493 bool temp3
= False
;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5496 PyObject
* obj2
= 0 ;
5498 (char *) "self",(char *) "fs",(char *) "location", NULL
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5508 arg3
= wxString_in_helper(obj2
);
5509 if (arg3
== NULL
) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= wxPyMake_wxObject(result
);
5536 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
;
5538 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5539 wxString
*arg2
= 0 ;
5540 int arg3
= (int) 0 ;
5542 bool temp2
= False
;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5546 (char *) "self",(char *) "spec",(char *) "flags", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5552 arg2
= wxString_in_helper(obj1
);
5553 if (arg2
== NULL
) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5584 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5588 PyObject
* obj0
= 0 ;
5590 (char *) "self", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (arg1
)->FindNext();
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5615 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5618 wxString
*arg2
= 0 ;
5620 bool temp2
= False
;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5624 (char *) "self",(char *) "location", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5630 arg2
= wxString_in_helper(obj1
);
5631 if (arg2
== NULL
) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5662 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5665 wxString
*arg2
= 0 ;
5667 bool temp2
= False
;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5671 (char *) "self",(char *) "location", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5677 arg2
= wxString_in_helper(obj1
);
5678 if (arg2
== NULL
) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5709 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5712 wxString
*arg2
= 0 ;
5714 bool temp2
= False
;
5715 PyObject
* obj0
= 0 ;
5716 PyObject
* obj1
= 0 ;
5718 (char *) "self",(char *) "location", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5724 arg2
= wxString_in_helper(obj1
);
5725 if (arg2
== NULL
) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5756 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
;
5758 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5759 wxString
*arg2
= 0 ;
5761 bool temp2
= False
;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5765 (char *) "self",(char *) "location", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5771 arg2
= wxString_in_helper(obj1
);
5772 if (arg2
== NULL
) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5803 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5806 wxString
*arg2
= 0 ;
5808 bool temp2
= False
;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "location", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5818 arg2
= wxString_in_helper(obj1
);
5819 if (arg2
== NULL
) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5850 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5853 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5855 return Py_BuildValue((char *)"");
5857 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxFileSystem
*result
;
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (wxFileSystem
*)new wxFileSystem();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= wxPyMake_wxObject(result
);
5881 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5884 PyObject
* obj0
= 0 ;
5886 (char *) "self", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5908 wxString
*arg2
= 0 ;
5909 bool arg3
= (bool) False
;
5910 bool temp2
= False
;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5913 PyObject
* obj2
= 0 ;
5915 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 arg2
= wxString_in_helper(obj1
);
5922 if (arg2
== NULL
) SWIG_fail
;
5926 arg3
= PyInt_AsLong(obj2
) ? true : false;
5927 if (PyErr_Occurred()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (arg1
)->GetPath();
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5982 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5985 wxString
*arg2
= 0 ;
5987 bool temp2
= False
;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5991 (char *) "self",(char *) "location", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5997 arg2
= wxString_in_helper(obj1
);
5998 if (arg2
== NULL
) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= wxPyMake_wxObject(result
);
6025 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6028 wxString
*arg2
= 0 ;
6029 int arg3
= (int) 0 ;
6031 bool temp2
= False
;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6035 (char *) "self",(char *) "spec",(char *) "flags", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6041 arg2
= wxString_in_helper(obj1
);
6042 if (arg2
== NULL
) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6073 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6079 (char *) "self", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (arg1
)->FindNext();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6104 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "handler", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 wxFileSystem::AddHandler(arg1
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 Py_INCREF(Py_None
); resultobj
= Py_None
;
6128 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 wxFileSystem::CleanUpHandlers();
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 Py_INCREF(Py_None
); resultobj
= Py_None
;
6149 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxString
*arg1
= 0 ;
6153 bool temp1
= False
;
6154 PyObject
* obj0
= 0 ;
6156 (char *) "filename", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6161 arg1
= wxString_in_helper(obj0
);
6162 if (arg1
== NULL
) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6193 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6196 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6198 return Py_BuildValue((char *)"");
6200 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxString
*arg1
= 0 ;
6204 bool temp1
= False
;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "url", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6212 arg1
= wxString_in_helper(obj0
);
6213 if (arg1
== NULL
) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6244 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxInternetFSHandler
*result
;
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6266 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6269 wxString
*arg2
= 0 ;
6271 bool temp2
= False
;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "self",(char *) "location", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6281 arg2
= wxString_in_helper(obj1
);
6282 if (arg2
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= PyInt_FromLong((long)result
);
6307 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6310 wxFileSystem
*arg2
= 0 ;
6311 wxString
*arg3
= 0 ;
6313 bool temp3
= False
;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 PyObject
* obj2
= 0 ;
6318 (char *) "self",(char *) "fs",(char *) "location", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6328 arg3
= wxString_in_helper(obj2
);
6329 if (arg3
== NULL
) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= wxPyMake_wxObject(result
);
6356 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6359 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6361 return Py_BuildValue((char *)"");
6363 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxZipFSHandler
*result
;
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6385 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6388 wxString
*arg2
= 0 ;
6390 bool temp2
= False
;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6394 (char *) "self",(char *) "location", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6400 arg2
= wxString_in_helper(obj1
);
6401 if (arg2
== NULL
) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= PyInt_FromLong((long)result
);
6426 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6429 wxFileSystem
*arg2
= 0 ;
6430 wxString
*arg3
= 0 ;
6432 bool temp3
= False
;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6435 PyObject
* obj2
= 0 ;
6437 (char *) "self",(char *) "fs",(char *) "location", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6447 arg3
= wxString_in_helper(obj2
);
6448 if (arg3
== NULL
) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= wxPyMake_wxObject(result
);
6475 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6478 wxString
*arg2
= 0 ;
6479 int arg3
= (int) 0 ;
6481 bool temp2
= False
;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6485 (char *) "self",(char *) "spec",(char *) "flags", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6491 arg2
= wxString_in_helper(obj1
);
6492 if (arg2
== NULL
) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6523 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6529 (char *) "self", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (arg1
)->FindNext();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6554 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6557 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6559 return Py_BuildValue((char *)"");
6561 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxString
*arg1
= 0 ;
6566 bool temp1
= False
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6570 (char *) "filename",(char *) "image",(char *) "type", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6575 arg1
= wxString_in_helper(obj0
);
6576 if (arg1
== NULL
) SWIG_fail
;
6579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6605 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxString
*arg1
= 0 ;
6608 wxBitmap
*arg2
= 0 ;
6610 bool temp1
= False
;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6614 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6619 arg1
= wxString_in_helper(obj0
);
6620 if (arg1
== NULL
) SWIG_fail
;
6623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 Py_INCREF(Py_None
); resultobj
= Py_None
;
6649 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxString
*arg1
= 0 ;
6652 PyObject
*arg2
= (PyObject
*) 0 ;
6653 bool temp1
= False
;
6654 PyObject
* obj0
= 0 ;
6655 PyObject
* obj1
= 0 ;
6657 (char *) "filename",(char *) "data", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6662 arg1
= wxString_in_helper(obj0
);
6663 if (arg1
== NULL
) SWIG_fail
;
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 Py_INCREF(Py_None
); resultobj
= Py_None
;
6689 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxMemoryFSHandler
*result
;
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6711 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxString
*arg1
= 0 ;
6714 bool temp1
= False
;
6715 PyObject
* obj0
= 0 ;
6717 (char *) "filename", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6722 arg1
= wxString_in_helper(obj0
);
6723 if (arg1
== NULL
) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6748 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6751 wxString
*arg2
= 0 ;
6753 bool temp2
= False
;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "location", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 arg2
= wxString_in_helper(obj1
);
6764 if (arg2
== NULL
) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= PyInt_FromLong((long)result
);
6789 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6792 wxFileSystem
*arg2
= 0 ;
6793 wxString
*arg3
= 0 ;
6795 bool temp3
= False
;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 PyObject
* obj2
= 0 ;
6800 (char *) "self",(char *) "fs",(char *) "location", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6807 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6810 arg3
= wxString_in_helper(obj2
);
6811 if (arg3
== NULL
) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= wxPyMake_wxObject(result
);
6838 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6841 wxString
*arg2
= 0 ;
6842 int arg3
= (int) 0 ;
6844 bool temp2
= False
;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6848 (char *) "self",(char *) "spec",(char *) "flags", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6854 arg2
= wxString_in_helper(obj1
);
6855 if (arg2
== NULL
) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6886 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "self", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (arg1
)->FindNext();
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6917 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6920 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
6922 return Py_BuildValue((char *)"");
6924 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6930 (char *) "self", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (arg1
)->GetName();
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6955 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6959 PyObject
* obj0
= 0 ;
6961 (char *) "self", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
6965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (arg1
)->GetExtension();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6986 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (long)(arg1
)->GetType();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= PyInt_FromLong((long)result
);
7011 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (arg1
)->GetMimeType();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7042 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7045 wxString
*arg2
= 0 ;
7047 bool temp2
= False
;
7048 PyObject
* obj0
= 0 ;
7049 PyObject
* obj1
= 0 ;
7051 (char *) "self",(char *) "name", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7057 arg2
= wxString_in_helper(obj1
);
7058 if (arg2
== NULL
) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= PyInt_FromLong((long)result
);
7083 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7086 wxString
*arg2
= 0 ;
7087 bool temp2
= False
;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7091 (char *) "self",(char *) "name", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7097 arg2
= wxString_in_helper(obj1
);
7098 if (arg2
== NULL
) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 (arg1
)->SetName((wxString
const &)*arg2
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7126 wxString
*arg2
= 0 ;
7127 bool temp2
= False
;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "self",(char *) "extension", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7137 arg2
= wxString_in_helper(obj1
);
7138 if (arg2
== NULL
) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 (arg1
)->SetExtension((wxString
const &)*arg2
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7163 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7169 (char *) "self",(char *) "type", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetType(arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7191 wxString
*arg2
= 0 ;
7192 bool temp2
= False
;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7196 (char *) "self",(char *) "mimetype", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7202 arg2
= wxString_in_helper(obj1
);
7203 if (arg2
== NULL
) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7231 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7233 return Py_BuildValue((char *)"");
7235 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7237 wxImageHistogram
*result
;
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (wxImageHistogram
*)new wxImageHistogram();
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7257 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 unsigned char arg1
;
7260 unsigned char arg2
;
7261 unsigned char arg3
;
7262 unsigned long result
;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7265 PyObject
* obj2
= 0 ;
7267 (char *) "r",(char *) "g",(char *) "b", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7271 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7273 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7275 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= PyInt_FromLong((long)result
);
7291 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7294 unsigned char *arg2
= (unsigned char *) 0 ;
7295 unsigned char *arg3
= (unsigned char *) 0 ;
7296 unsigned char *arg4
= (unsigned char *) 0 ;
7297 unsigned char arg5
= (unsigned char) 1 ;
7298 unsigned char arg6
= (unsigned char) 0 ;
7299 unsigned char arg7
= (unsigned char) 0 ;
7301 unsigned char temp2
;
7302 unsigned char temp3
;
7303 unsigned char temp4
;
7304 PyObject
* obj0
= 0 ;
7305 PyObject
* obj1
= 0 ;
7306 PyObject
* obj2
= 0 ;
7307 PyObject
* obj3
= 0 ;
7309 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7318 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7322 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7326 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= PyInt_FromLong((long)result
);
7338 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7339 resultobj
= t_output_helper(resultobj
,o
);
7342 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7343 resultobj
= t_output_helper(resultobj
,o
);
7346 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7347 resultobj
= t_output_helper(resultobj
,o
);
7355 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7360 return Py_BuildValue((char *)"");
7362 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxString
*arg1
= 0 ;
7365 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7366 int arg3
= (int) -1 ;
7368 bool temp1
= False
;
7369 PyObject
* obj0
= 0 ;
7371 (char *) "name",(char *) "type",(char *) "index", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7376 arg1
= wxString_in_helper(obj0
);
7377 if (arg1
== NULL
) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7402 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxImage
*arg1
= (wxImage
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "self", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 Py_INCREF(Py_None
); resultobj
= Py_None
;
7426 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxString
*arg1
= 0 ;
7429 wxString
*arg2
= 0 ;
7430 int arg3
= (int) -1 ;
7432 bool temp1
= False
;
7433 bool temp2
= False
;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7437 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7442 arg1
= wxString_in_helper(obj0
);
7443 if (arg1
== NULL
) SWIG_fail
;
7447 arg2
= wxString_in_helper(obj1
);
7448 if (arg2
== NULL
) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7481 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxInputStream
*arg1
= 0 ;
7484 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7485 int arg3
= (int) -1 ;
7487 wxPyInputStream
*temp1
;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "stream",(char *) "type",(char *) "index", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7496 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7497 arg1
= temp1
->m_wxis
;
7500 PyErr_Clear(); // clear the failure of the wxPyConvert above
7501 arg1
= wxPyCBInputStream_create(obj0
, False
);
7503 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7531 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxInputStream
*arg1
= 0 ;
7534 wxString
*arg2
= 0 ;
7535 int arg3
= (int) -1 ;
7537 wxPyInputStream
*temp1
;
7539 bool temp2
= False
;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7543 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7548 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7549 arg1
= temp1
->m_wxis
;
7552 PyErr_Clear(); // clear the failure of the wxPyConvert above
7553 arg1
= wxPyCBInputStream_create(obj0
, False
);
7555 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7562 arg2
= wxString_in_helper(obj1
);
7563 if (arg2
== NULL
) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7596 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 int arg1
= (int) 0 ;
7599 int arg2
= (int) 0 ;
7600 bool arg3
= (bool) True
;
7602 PyObject
* obj2
= 0 ;
7604 (char *) "width",(char *) "height",(char *) "clear", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7609 arg3
= PyInt_AsLong(obj2
) ? true : false;
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7626 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxBitmap
*arg1
= 0 ;
7630 PyObject
* obj0
= 0 ;
7632 (char *) "bitmap", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7654 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7658 unsigned char *arg3
= (unsigned char *) 0 ;
7660 PyObject
* obj2
= 0 ;
7662 (char *) "width",(char *) "height",(char *) "data", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7681 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxImage
*arg1
= (wxImage
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7688 (char *) "self",(char *) "width",(char *) "height", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 (arg1
)->Create(arg2
,arg3
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 Py_INCREF(Py_None
); resultobj
= Py_None
;
7707 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxImage
*arg1
= (wxImage
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 Py_INCREF(Py_None
); resultobj
= Py_None
;
7731 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxImage
*arg1
= (wxImage
*) 0 ;
7736 SwigValueWrapper
< wxImage
> result
;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self",(char *) "width",(char *) "height", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (arg1
)->Scale(arg2
,arg3
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 wxImage
* resultptr
;
7753 resultptr
= new wxImage((wxImage
&) result
);
7754 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7762 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxImage
*arg1
= (wxImage
*) 0 ;
7767 SwigValueWrapper
< wxImage
> result
;
7768 PyObject
* obj0
= 0 ;
7770 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7783 wxImage
* resultptr
;
7784 resultptr
= new wxImage((wxImage
&) result
);
7785 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7793 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxImage
*arg1
= (wxImage
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7801 (char *) "self",(char *) "width",(char *) "height", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7810 result
= (wxImage
*) &_result_ref
;
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7823 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxImage
*arg1
= (wxImage
*) 0 ;
7828 unsigned char arg4
;
7829 unsigned char arg5
;
7830 unsigned char arg6
;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj3
= 0 ;
7833 PyObject
* obj4
= 0 ;
7834 PyObject
* obj5
= 0 ;
7836 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7841 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7843 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7845 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 Py_INCREF(Py_None
); resultobj
= Py_None
;
7861 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxImage
*arg1
= (wxImage
*) 0 ;
7866 unsigned char result
;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "self",(char *) "x",(char *) "y", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= PyInt_FromLong((long)result
);
7888 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxImage
*arg1
= (wxImage
*) 0 ;
7893 unsigned char result
;
7894 PyObject
* obj0
= 0 ;
7896 (char *) "self",(char *) "x",(char *) "y", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= PyInt_FromLong((long)result
);
7915 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxImage
*arg1
= (wxImage
*) 0 ;
7920 unsigned char result
;
7921 PyObject
* obj0
= 0 ;
7923 (char *) "self",(char *) "x",(char *) "y", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= PyInt_FromLong((long)result
);
7942 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxImage
*arg1
= (wxImage
*) 0 ;
7947 unsigned char arg4
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj3
= 0 ;
7951 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7956 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 Py_INCREF(Py_None
); resultobj
= Py_None
;
7972 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxImage
*arg1
= (wxImage
*) 0 ;
7977 unsigned char result
;
7978 PyObject
* obj0
= 0 ;
7980 (char *) "self",(char *) "x",(char *) "y", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= PyInt_FromLong((long)result
);
7999 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxImage
*arg1
= (wxImage
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8005 (char *) "self", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (bool)(arg1
)->HasAlpha();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= PyInt_FromLong((long)result
);
8024 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxImage
*arg1
= (wxImage
*) 0 ;
8027 byte
*arg2
= (byte
*) 0 ;
8028 byte
*arg3
= (byte
*) 0 ;
8029 byte
*arg4
= (byte
*) 0 ;
8030 byte arg5
= (byte
) 0 ;
8031 byte arg6
= (byte
) 0 ;
8032 byte arg7
= (byte
) 0 ;
8037 PyObject
* obj0
= 0 ;
8038 PyObject
* obj1
= 0 ;
8039 PyObject
* obj2
= 0 ;
8040 PyObject
* obj3
= 0 ;
8042 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8051 arg5
= (byte
) PyInt_AsLong(obj1
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 arg6
= (byte
) PyInt_AsLong(obj2
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8059 arg7
= (byte
) PyInt_AsLong(obj3
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= PyInt_FromLong((long)result
);
8071 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8072 resultobj
= t_output_helper(resultobj
,o
);
8075 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8076 resultobj
= t_output_helper(resultobj
,o
);
8079 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8080 resultobj
= t_output_helper(resultobj
,o
);
8088 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxImage
*arg1
= (wxImage
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8097 PyObject
* obj1
= 0 ;
8098 PyObject
* obj2
= 0 ;
8099 PyObject
* obj3
= 0 ;
8100 PyObject
* obj4
= 0 ;
8102 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8111 arg3
= (byte
) PyInt_AsLong(obj2
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8113 arg4
= (byte
) PyInt_AsLong(obj3
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8115 arg5
= (byte
) PyInt_AsLong(obj4
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyInt_FromLong((long)result
);
8131 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxString
*arg1
= 0 ;
8135 bool temp1
= False
;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "name", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8143 arg1
= wxString_in_helper(obj0
);
8144 if (arg1
== NULL
) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= PyInt_FromLong((long)result
);
8169 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxString
*arg1
= 0 ;
8172 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8174 bool temp1
= False
;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "name",(char *) "type", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8182 arg1
= wxString_in_helper(obj0
);
8183 if (arg1
== NULL
) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= PyInt_FromLong((long)result
);
8208 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxImage
*arg1
= (wxImage
*) 0 ;
8211 wxString
*arg2
= 0 ;
8212 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8213 int arg4
= (int) -1 ;
8215 bool temp2
= False
;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8219 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8225 arg2
= wxString_in_helper(obj1
);
8226 if (arg2
== NULL
) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= PyInt_FromLong((long)result
);
8251 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxImage
*arg1
= (wxImage
*) 0 ;
8254 wxString
*arg2
= 0 ;
8255 wxString
*arg3
= 0 ;
8256 int arg4
= (int) -1 ;
8258 bool temp2
= False
;
8259 bool temp3
= False
;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8264 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8270 arg2
= wxString_in_helper(obj1
);
8271 if (arg2
== NULL
) SWIG_fail
;
8275 arg3
= wxString_in_helper(obj2
);
8276 if (arg3
== NULL
) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= PyInt_FromLong((long)result
);
8309 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxImage
*arg1
= (wxImage
*) 0 ;
8312 wxString
*arg2
= 0 ;
8315 bool temp2
= False
;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "name",(char *) "type", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8325 arg2
= wxString_in_helper(obj1
);
8326 if (arg2
== NULL
) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= PyInt_FromLong((long)result
);
8351 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxImage
*arg1
= (wxImage
*) 0 ;
8354 wxString
*arg2
= 0 ;
8355 wxString
*arg3
= 0 ;
8357 bool temp2
= False
;
8358 bool temp3
= False
;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8361 PyObject
* obj2
= 0 ;
8363 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8369 arg2
= wxString_in_helper(obj1
);
8370 if (arg2
== NULL
) SWIG_fail
;
8374 arg3
= wxString_in_helper(obj2
);
8375 if (arg3
== NULL
) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= PyInt_FromLong((long)result
);
8408 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxInputStream
*arg1
= 0 ;
8412 wxPyInputStream
*temp1
;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "stream", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8421 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8422 arg1
= temp1
->m_wxis
;
8425 PyErr_Clear(); // clear the failure of the wxPyConvert above
8426 arg1
= wxPyCBInputStream_create(obj0
, False
);
8428 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (bool)wxImage::CanRead(*arg1
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= PyInt_FromLong((long)result
);
8456 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxImage
*arg1
= (wxImage
*) 0 ;
8459 wxInputStream
*arg2
= 0 ;
8460 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8461 int arg4
= (int) -1 ;
8463 wxPyInputStream
*temp2
;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8468 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8474 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8475 arg2
= temp2
->m_wxis
;
8478 PyErr_Clear(); // clear the failure of the wxPyConvert above
8479 arg2
= wxPyCBInputStream_create(obj1
, False
);
8481 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= PyInt_FromLong((long)result
);
8509 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxImage
*arg1
= (wxImage
*) 0 ;
8512 wxInputStream
*arg2
= 0 ;
8513 wxString
*arg3
= 0 ;
8514 int arg4
= (int) -1 ;
8516 wxPyInputStream
*temp2
;
8518 bool temp3
= False
;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8521 PyObject
* obj2
= 0 ;
8523 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8529 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8530 arg2
= temp2
->m_wxis
;
8533 PyErr_Clear(); // clear the failure of the wxPyConvert above
8534 arg2
= wxPyCBInputStream_create(obj1
, False
);
8536 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8543 arg3
= wxString_in_helper(obj2
);
8544 if (arg3
== NULL
) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= PyInt_FromLong((long)result
);
8577 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxImage
*arg1
= (wxImage
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8583 (char *) "self", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)(arg1
)->Ok();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= PyInt_FromLong((long)result
);
8602 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxImage
*arg1
= (wxImage
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (int)(arg1
)->GetWidth();
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= PyInt_FromLong((long)result
);
8627 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxImage
*arg1
= (wxImage
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (int)(arg1
)->GetHeight();
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= PyInt_FromLong((long)result
);
8652 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxImage
*arg1
= (wxImage
*) 0 ;
8656 SwigValueWrapper
< wxImage
> result
;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8661 (char *) "self",(char *) "rect", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8668 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8678 wxImage
* resultptr
;
8679 resultptr
= new wxImage((wxImage
&) result
);
8680 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8688 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxImage
*arg1
= (wxImage
*) 0 ;
8691 SwigValueWrapper
< wxImage
> result
;
8692 PyObject
* obj0
= 0 ;
8694 (char *) "self", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (arg1
)->Copy();
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 wxImage
* resultptr
;
8708 resultptr
= new wxImage((wxImage
&) result
);
8709 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8717 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxImage
*arg1
= (wxImage
*) 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8726 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxImage
*arg1
= (wxImage
*) 0 ;
8753 PyObject
* obj0
= 0 ;
8755 (char *) "self", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 result
= (PyObject
*)wxImage_GetData(arg1
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8774 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxImage
*arg1
= (wxImage
*) 0 ;
8777 PyObject
*arg2
= (PyObject
*) 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8781 (char *) "self",(char *) "data", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 wxImage_SetData(arg1
,arg2
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxImage
*arg1
= (wxImage
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "self", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8826 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxImage
*arg1
= (wxImage
*) 0 ;
8829 PyObject
*arg2
= (PyObject
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "self",(char *) "data", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 wxImage_SetDataBuffer(arg1
,arg2
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 Py_INCREF(Py_None
); resultobj
= Py_None
;
8853 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxImage
*arg1
= (wxImage
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8859 (char *) "self", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8878 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxImage
*arg1
= (wxImage
*) 0 ;
8881 PyObject
*arg2
= (PyObject
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8885 (char *) "self",(char *) "data", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 wxImage_SetAlphaData(arg1
,arg2
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxImage
*arg1
= (wxImage
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8911 (char *) "self", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8930 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxImage
*arg1
= (wxImage
*) 0 ;
8933 PyObject
*arg2
= (PyObject
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8937 (char *) "self",(char *) "data", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 wxImage_SetAlphaBuffer(arg1
,arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxImage
*arg1
= (wxImage
*) 0 ;
8960 unsigned char arg2
;
8961 unsigned char arg3
;
8962 unsigned char arg4
;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8966 PyObject
* obj3
= 0 ;
8968 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8973 arg2
= (unsigned char) PyInt_AsLong(obj1
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8975 arg3
= (unsigned char) PyInt_AsLong(obj2
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8977 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 Py_INCREF(Py_None
); resultobj
= Py_None
;
8993 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxImage
*arg1
= (wxImage
*) 0 ;
8996 unsigned char result
;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "self", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (unsigned char)(arg1
)->GetMaskRed();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= PyInt_FromLong((long)result
);
9018 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxImage
*arg1
= (wxImage
*) 0 ;
9021 unsigned char result
;
9022 PyObject
* obj0
= 0 ;
9024 (char *) "self", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (unsigned char)(arg1
)->GetMaskGreen();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= PyInt_FromLong((long)result
);
9043 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxImage
*arg1
= (wxImage
*) 0 ;
9046 unsigned char result
;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (unsigned char)(arg1
)->GetMaskBlue();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= PyInt_FromLong((long)result
);
9068 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxImage
*arg1
= (wxImage
*) 0 ;
9071 bool arg2
= (bool) True
;
9072 PyObject
* obj0
= 0 ;
9073 PyObject
* obj1
= 0 ;
9075 (char *) "self",(char *) "mask", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9081 arg2
= PyInt_AsLong(obj1
) ? true : false;
9082 if (PyErr_Occurred()) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->SetMask(arg2
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxImage
*arg1
= (wxImage
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (bool)(arg1
)->HasMask();
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= PyInt_FromLong((long)result
);
9123 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxImage
*arg1
= (wxImage
*) 0 ;
9128 bool arg4
= (bool) True
;
9129 wxPoint
*arg5
= (wxPoint
*) NULL
;
9130 SwigValueWrapper
< wxImage
> result
;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj2
= 0 ;
9134 PyObject
* obj3
= 0 ;
9135 PyObject
* obj4
= 0 ;
9137 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9147 arg4
= PyInt_AsLong(obj3
) ? true : false;
9148 if (PyErr_Occurred()) SWIG_fail
;
9151 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 wxImage
* resultptr
;
9162 resultptr
= new wxImage((wxImage
&) result
);
9163 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9171 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxImage
*arg1
= (wxImage
*) 0 ;
9174 bool arg2
= (bool) True
;
9175 SwigValueWrapper
< wxImage
> result
;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9179 (char *) "self",(char *) "clockwise", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9185 arg2
= PyInt_AsLong(obj1
) ? true : false;
9186 if (PyErr_Occurred()) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (arg1
)->Rotate90(arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 wxImage
* resultptr
;
9197 resultptr
= new wxImage((wxImage
&) result
);
9198 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9206 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxImage
*arg1
= (wxImage
*) 0 ;
9209 bool arg2
= (bool) True
;
9210 SwigValueWrapper
< wxImage
> result
;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9214 (char *) "self",(char *) "horizontally", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9220 arg2
= PyInt_AsLong(obj1
) ? true : false;
9221 if (PyErr_Occurred()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (arg1
)->Mirror(arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9231 wxImage
* resultptr
;
9232 resultptr
= new wxImage((wxImage
&) result
);
9233 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9241 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxImage
*arg1
= (wxImage
*) 0 ;
9244 unsigned char arg2
;
9245 unsigned char arg3
;
9246 unsigned char arg4
;
9247 unsigned char arg5
;
9248 unsigned char arg6
;
9249 unsigned char arg7
;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9252 PyObject
* obj2
= 0 ;
9253 PyObject
* obj3
= 0 ;
9254 PyObject
* obj4
= 0 ;
9255 PyObject
* obj5
= 0 ;
9256 PyObject
* obj6
= 0 ;
9258 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9263 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9265 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9267 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9269 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9271 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9273 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 Py_INCREF(Py_None
); resultobj
= Py_None
;
9289 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxImage
*arg1
= (wxImage
*) 0 ;
9292 unsigned char arg2
;
9293 unsigned char arg3
;
9294 unsigned char arg4
;
9295 SwigValueWrapper
< wxImage
> result
;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9299 PyObject
* obj3
= 0 ;
9301 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9306 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9308 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9310 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 wxImage
* resultptr
;
9321 resultptr
= new wxImage((wxImage
&) result
);
9322 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9330 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxImage
*arg1
= (wxImage
*) 0 ;
9333 wxString
*arg2
= 0 ;
9334 wxString
*arg3
= 0 ;
9335 bool temp2
= False
;
9336 bool temp3
= False
;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9339 PyObject
* obj2
= 0 ;
9341 (char *) "self",(char *) "name",(char *) "value", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9347 arg2
= wxString_in_helper(obj1
);
9348 if (arg2
== NULL
) SWIG_fail
;
9352 arg3
= wxString_in_helper(obj2
);
9353 if (arg3
== NULL
) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 Py_INCREF(Py_None
); resultobj
= Py_None
;
9386 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxImage
*arg1
= (wxImage
*) 0 ;
9389 wxString
*arg2
= 0 ;
9391 bool temp2
= False
;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9395 (char *) "self",(char *) "name",(char *) "value", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9401 arg2
= wxString_in_helper(obj1
);
9402 if (arg2
== NULL
) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 Py_INCREF(Py_None
); resultobj
= Py_None
;
9427 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxImage
*arg1
= (wxImage
*) 0 ;
9430 wxString
*arg2
= 0 ;
9432 bool temp2
= False
;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9436 (char *) "self",(char *) "name", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9442 arg2
= wxString_in_helper(obj1
);
9443 if (arg2
== NULL
) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9474 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxImage
*arg1
= (wxImage
*) 0 ;
9477 wxString
*arg2
= 0 ;
9479 bool temp2
= False
;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9483 (char *) "self",(char *) "name", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9489 arg2
= wxString_in_helper(obj1
);
9490 if (arg2
== NULL
) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= PyInt_FromLong((long)result
);
9515 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxImage
*arg1
= (wxImage
*) 0 ;
9518 wxString
*arg2
= 0 ;
9520 bool temp2
= False
;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9524 (char *) "self",(char *) "name", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9530 arg2
= wxString_in_helper(obj1
);
9531 if (arg2
== NULL
) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= PyInt_FromLong((long)result
);
9556 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxImage
*arg1
= (wxImage
*) 0 ;
9559 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9560 unsigned long result
;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9564 (char *) "self",(char *) "stopafter", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9570 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= PyInt_FromLong((long)result
);
9587 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxImage
*arg1
= (wxImage
*) 0 ;
9590 wxImageHistogram
*arg2
= 0 ;
9591 unsigned long result
;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9595 (char *) "self",(char *) "h", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9602 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= PyInt_FromLong((long)result
);
9618 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "handler", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 wxImage::AddHandler(arg1
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 Py_INCREF(Py_None
); resultobj
= Py_None
;
9642 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "handler", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 wxImage::InsertHandler(arg1
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 Py_INCREF(Py_None
); resultobj
= Py_None
;
9666 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxString
*arg1
= 0 ;
9670 bool temp1
= False
;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "name", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9678 arg1
= wxString_in_helper(obj0
);
9679 if (arg1
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= PyInt_FromLong((long)result
);
9704 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= wxImage::GetImageExtWildcard();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9732 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxImage
*arg1
= (wxImage
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= wxImage_ConvertToBitmap(arg1
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 wxBitmap
* resultptr
;
9752 resultptr
= new wxBitmap((wxBitmap
&) result
);
9753 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9761 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxImage
*arg1
= (wxImage
*) 0 ;
9764 unsigned char arg2
;
9765 unsigned char arg3
;
9766 unsigned char arg4
;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9771 PyObject
* obj3
= 0 ;
9773 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9778 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9780 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9782 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 wxBitmap
* resultptr
;
9793 resultptr
= new wxBitmap((wxBitmap
&) result
);
9794 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9802 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9805 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9807 return Py_BuildValue((char *)"");
9809 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 wxInitAllImageHandlers();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 Py_INCREF(Py_None
); resultobj
= Py_None
;
9830 static int _wrap_NullImage_set(PyObject
*_val
) {
9831 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9836 static PyObject
*_wrap_NullImage_get() {
9839 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9844 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9845 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9850 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9855 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9857 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9864 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9865 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9870 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9875 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9877 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9884 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
9885 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9890 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9895 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9897 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9904 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
9905 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9910 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
9915 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9917 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9924 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
9925 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9930 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9935 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9937 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9944 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxBMPHandler
*result
;
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (wxBMPHandler
*)new wxBMPHandler();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
9966 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
9971 return Py_BuildValue((char *)"");
9973 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxICOHandler
*result
;
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (wxICOHandler
*)new wxICOHandler();
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
9995 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9998 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10000 return Py_BuildValue((char *)"");
10002 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxCURHandler
*result
;
10005 char *kwnames
[] = {
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (wxCURHandler
*)new wxCURHandler();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10024 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10027 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10029 return Py_BuildValue((char *)"");
10031 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxANIHandler
*result
;
10034 char *kwnames
[] = {
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (wxANIHandler
*)new wxANIHandler();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10053 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10056 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10058 return Py_BuildValue((char *)"");
10060 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxPNGHandler
*result
;
10063 char *kwnames
[] = {
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (wxPNGHandler
*)new wxPNGHandler();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10082 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10085 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10087 return Py_BuildValue((char *)"");
10089 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxGIFHandler
*result
;
10092 char *kwnames
[] = {
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (wxGIFHandler
*)new wxGIFHandler();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10111 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10114 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10116 return Py_BuildValue((char *)"");
10118 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxPCXHandler
*result
;
10121 char *kwnames
[] = {
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (wxPCXHandler
*)new wxPCXHandler();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10140 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10145 return Py_BuildValue((char *)"");
10147 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxJPEGHandler
*result
;
10150 char *kwnames
[] = {
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10169 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10172 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10174 return Py_BuildValue((char *)"");
10176 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxPNMHandler
*result
;
10179 char *kwnames
[] = {
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (wxPNMHandler
*)new wxPNMHandler();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10198 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10201 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10203 return Py_BuildValue((char *)"");
10205 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxXPMHandler
*result
;
10208 char *kwnames
[] = {
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (wxXPMHandler
*)new wxXPMHandler();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10227 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10230 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10232 return Py_BuildValue((char *)"");
10234 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxTIFFHandler
*result
;
10237 char *kwnames
[] = {
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10256 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10259 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10261 return Py_BuildValue((char *)"");
10263 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxEvtHandler
*result
;
10266 char *kwnames
[] = {
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (wxEvtHandler
*)new wxEvtHandler();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= wxPyMake_wxObject(result
);
10287 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10290 wxEvtHandler
*result
;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= wxPyMake_wxObject(result
);
10314 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10317 wxEvtHandler
*result
;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= wxPyMake_wxObject(result
);
10341 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10344 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "handler", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 (arg1
)->SetNextHandler(arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 Py_INCREF(Py_None
); resultobj
= Py_None
;
10368 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10371 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self",(char *) "handler", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 (arg1
)->SetPreviousHandler(arg2
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 Py_INCREF(Py_None
); resultobj
= Py_None
;
10395 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= PyInt_FromLong((long)result
);
10420 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "enabled", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 arg2
= PyInt_AsLong(obj1
) ? true : false;
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 (arg1
)->SetEvtHandlerEnabled(arg2
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 Py_INCREF(Py_None
); resultobj
= Py_None
;
10448 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10451 wxEvent
*arg2
= 0 ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "event", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10462 if (arg2
== NULL
) {
10463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= PyInt_FromLong((long)result
);
10479 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10482 wxEvent
*arg2
= 0 ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self",(char *) "event", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10492 if (arg2
== NULL
) {
10493 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->AddPendingEvent(*arg2
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 Py_INCREF(Py_None
); resultobj
= Py_None
;
10509 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->ProcessPendingEvents();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10539 PyObject
*arg5
= (PyObject
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj4
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10567 int arg3
= (int) -1 ;
10568 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10570 PyObject
* obj0
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= PyInt_FromLong((long)result
);
10591 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10594 PyObject
*arg2
= (PyObject
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj1
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "self",(char *) "_self", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 wxEvtHandler__setOORInfo(arg1
,arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 Py_INCREF(Py_None
); resultobj
= Py_None
;
10618 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10621 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10623 return Py_BuildValue((char *)"");
10625 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxEventType result
;
10628 char *kwnames
[] = {
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (wxEventType
)wxNewEventType();
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= PyInt_FromLong((long)result
);
10647 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxEvent
*arg1
= (wxEvent
*) 0 ;
10650 PyObject
* obj0
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxEvent
*arg1
= (wxEvent
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "typ", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->SetEventType(arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10696 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxEvent
*arg1
= (wxEvent
*) 0 ;
10699 wxEventType result
;
10700 PyObject
* obj0
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= PyInt_FromLong((long)result
);
10721 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxEvent
*arg1
= (wxEvent
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= wxPyMake_wxObject(result
);
10748 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxEvent
*arg1
= (wxEvent
*) 0 ;
10751 wxObject
*arg2
= (wxObject
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self",(char *) "obj", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->SetEventObject(arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxEvent
*arg1
= (wxEvent
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= PyInt_FromLong((long)result
);
10800 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxEvent
*arg1
= (wxEvent
*) 0 ;
10803 long arg2
= (long) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "ts", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetTimestamp(arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxEvent
*arg1
= (wxEvent
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (int)((wxEvent
const *)arg1
)->GetId();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= PyInt_FromLong((long)result
);
10850 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxEvent
*arg1
= (wxEvent
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "Id", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->SetId(arg2
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxEvent
*arg1
= (wxEvent
*) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= PyInt_FromLong((long)result
);
10900 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxEvent
*arg1
= (wxEvent
*) 0 ;
10903 bool arg2
= (bool) True
;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "skip", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10913 arg2
= PyInt_AsLong(obj1
) ? true : false;
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->Skip(arg2
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxEvent
*arg1
= (wxEvent
*) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= PyInt_FromLong((long)result
);
10955 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxEvent
*arg1
= (wxEvent
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= PyInt_FromLong((long)result
);
10980 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxEvent
*arg1
= (wxEvent
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (int)(arg1
)->StopPropagation();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= PyInt_FromLong((long)result
);
11005 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxEvent
*arg1
= (wxEvent
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "propagationLevel", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 (arg1
)->ResumePropagation(arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11030 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxEvent
*arg1
= (wxEvent
*) 0 ;
11034 PyObject
* obj0
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (wxEvent
*)(arg1
)->Clone();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11055 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11058 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11060 return Py_BuildValue((char *)"");
11062 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxEvent
*arg1
= 0 ;
11065 wxPropagationDisabler
*result
;
11066 PyObject
* obj0
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "event", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11073 if (arg1
== NULL
) {
11074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11090 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 Py_INCREF(Py_None
); resultobj
= Py_None
;
11114 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11117 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11119 return Py_BuildValue((char *)"");
11121 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxEvent
*arg1
= 0 ;
11124 wxPropagateOnce
*result
;
11125 PyObject
* obj0
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "event", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11132 if (arg1
== NULL
) {
11133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11149 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11173 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11176 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11178 return Py_BuildValue((char *)"");
11180 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11183 int arg2
= (int) 0 ;
11184 wxCommandEvent
*result
;
11185 char *kwnames
[] = {
11186 (char *) "commandType",(char *) "winid", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11204 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= PyInt_FromLong((long)result
);
11229 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11232 wxString
*arg2
= 0 ;
11233 bool temp2
= False
;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self",(char *) "s", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11243 arg2
= wxString_in_helper(obj1
);
11244 if (arg2
== NULL
) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 (arg1
)->SetString((wxString
const &)*arg2
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11300 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= PyInt_FromLong((long)result
);
11325 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= PyInt_FromLong((long)result
);
11350 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self",(char *) "extraLong", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 (arg1
)->SetExtraLong(arg2
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11379 PyObject
* obj0
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= PyInt_FromLong((long)result
);
11400 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "i", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 (arg1
)->SetInt(arg2
);
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 Py_INCREF(Py_None
); resultobj
= Py_None
;
11425 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= PyInt_FromLong((long)result
);
11450 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11454 PyObject
* obj0
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11475 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11478 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11480 return Py_BuildValue((char *)"");
11482 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11485 int arg2
= (int) 0 ;
11486 wxNotifyEvent
*result
;
11487 char *kwnames
[] = {
11488 (char *) "commandType",(char *) "winid", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11506 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 Py_INCREF(Py_None
); resultobj
= Py_None
;
11554 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (bool)(arg1
)->IsAllowed();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= PyInt_FromLong((long)result
);
11579 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11582 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11584 return Py_BuildValue((char *)"");
11586 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11589 int arg2
= (int) 0 ;
11590 int arg3
= (int) 0 ;
11591 int arg4
= (int) 0 ;
11592 wxScrollEvent
*result
;
11593 char *kwnames
[] = {
11594 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11612 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
;
11614 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11616 PyObject
* obj0
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= PyInt_FromLong((long)result
);
11637 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= PyInt_FromLong((long)result
);
11662 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self",(char *) "orient", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 (arg1
)->SetOrientation(arg2
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 Py_INCREF(Py_None
); resultobj
= Py_None
;
11687 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "pos", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 (arg1
)->SetPosition(arg2
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 Py_INCREF(Py_None
); resultobj
= Py_None
;
11712 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11715 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11717 return Py_BuildValue((char *)"");
11719 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11722 int arg2
= (int) 0 ;
11723 int arg3
= (int) 0 ;
11724 wxScrollWinEvent
*result
;
11725 char *kwnames
[] = {
11726 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11744 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
;
11746 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= PyInt_FromLong((long)result
);
11769 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= PyInt_FromLong((long)result
);
11794 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "orient", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 (arg1
)->SetOrientation(arg2
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 Py_INCREF(Py_None
); resultobj
= Py_None
;
11819 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "pos", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 (arg1
)->SetPosition(arg2
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 Py_INCREF(Py_None
); resultobj
= Py_None
;
11844 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11847 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11849 return Py_BuildValue((char *)"");
11851 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11854 wxMouseEvent
*result
;
11855 char *kwnames
[] = {
11856 (char *) "mouseType", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= wxPyMake_wxObject(result
);
11876 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= PyInt_FromLong((long)result
);
11901 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
;
11903 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11904 int arg2
= (int) wxMOUSE_BTN_ANY
;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "but", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= PyInt_FromLong((long)result
);
11927 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11930 int arg2
= (int) wxMOUSE_BTN_ANY
;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self",(char *) "but", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= PyInt_FromLong((long)result
);
11953 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11956 int arg2
= (int) wxMOUSE_BTN_ANY
;
11958 PyObject
* obj0
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "but", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= PyInt_FromLong((long)result
);
11979 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self",(char *) "but", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= PyInt_FromLong((long)result
);
12005 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "but", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= PyInt_FromLong((long)result
);
12031 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= PyInt_FromLong((long)result
);
12056 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= PyInt_FromLong((long)result
);
12081 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= PyInt_FromLong((long)result
);
12106 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= PyInt_FromLong((long)result
);
12131 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= PyInt_FromLong((long)result
);
12156 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= PyInt_FromLong((long)result
);
12181 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= PyInt_FromLong((long)result
);
12206 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= PyInt_FromLong((long)result
);
12231 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= PyInt_FromLong((long)result
);
12256 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= PyInt_FromLong((long)result
);
12281 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= PyInt_FromLong((long)result
);
12306 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= PyInt_FromLong((long)result
);
12331 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= PyInt_FromLong((long)result
);
12356 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= PyInt_FromLong((long)result
);
12381 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (bool)(arg1
)->LeftIsDown();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= PyInt_FromLong((long)result
);
12406 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (bool)(arg1
)->MiddleIsDown();
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= PyInt_FromLong((long)result
);
12431 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (bool)(arg1
)->RightIsDown();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= PyInt_FromLong((long)result
);
12456 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= PyInt_FromLong((long)result
);
12481 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= PyInt_FromLong((long)result
);
12506 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= PyInt_FromLong((long)result
);
12531 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= PyInt_FromLong((long)result
);
12556 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (arg1
)->GetPosition();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 wxPoint
* resultptr
;
12576 resultptr
= new wxPoint((wxPoint
&) result
);
12577 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12585 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12588 long *arg2
= (long *) 0 ;
12589 long *arg3
= (long *) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 (arg1
)->GetPosition(arg2
,arg3
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12611 resultobj
= t_output_helper(resultobj
,o
);
12614 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12615 resultobj
= t_output_helper(resultobj
,o
);
12623 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 PyObject
* obj1
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self",(char *) "dc", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12637 if (arg2
== NULL
) {
12638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12648 wxPoint
* resultptr
;
12649 resultptr
= new wxPoint((wxPoint
&) result
);
12650 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12658 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= PyInt_FromLong((long)result
);
12683 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= PyInt_FromLong((long)result
);
12708 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= PyInt_FromLong((long)result
);
12733 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= PyInt_FromLong((long)result
);
12758 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= PyInt_FromLong((long)result
);
12783 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= PyInt_FromLong((long)result
);
12808 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self",(char *) "m_x", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12819 if (arg1
) (arg1
)->m_x
= arg2
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12839 result
= (int) ((arg1
)->m_x
);
12841 resultobj
= PyInt_FromLong((long)result
);
12848 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12852 PyObject
* obj0
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self",(char *) "m_y", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12859 if (arg1
) (arg1
)->m_y
= arg2
;
12861 Py_INCREF(Py_None
); resultobj
= Py_None
;
12868 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12879 result
= (int) ((arg1
)->m_y
);
12881 resultobj
= PyInt_FromLong((long)result
);
12888 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 PyObject
* obj1
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self",(char *) "m_leftDown", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12900 arg2
= PyInt_AsLong(obj1
) ? true : false;
12901 if (PyErr_Occurred()) SWIG_fail
;
12902 if (arg1
) (arg1
)->m_leftDown
= arg2
;
12904 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12922 result
= (bool) ((arg1
)->m_leftDown
);
12924 resultobj
= PyInt_FromLong((long)result
);
12931 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self",(char *) "m_middleDown", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12943 arg2
= PyInt_AsLong(obj1
) ? true : false;
12944 if (PyErr_Occurred()) SWIG_fail
;
12945 if (arg1
) (arg1
)->m_middleDown
= arg2
;
12947 Py_INCREF(Py_None
); resultobj
= Py_None
;
12954 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12965 result
= (bool) ((arg1
)->m_middleDown
);
12967 resultobj
= PyInt_FromLong((long)result
);
12974 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self",(char *) "m_rightDown", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12986 arg2
= PyInt_AsLong(obj1
) ? true : false;
12987 if (PyErr_Occurred()) SWIG_fail
;
12988 if (arg1
) (arg1
)->m_rightDown
= arg2
;
12990 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13008 result
= (bool) ((arg1
)->m_rightDown
);
13010 resultobj
= PyInt_FromLong((long)result
);
13017 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self",(char *) "m_controlDown", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 arg2
= PyInt_AsLong(obj1
) ? true : false;
13030 if (PyErr_Occurred()) SWIG_fail
;
13031 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13033 Py_INCREF(Py_None
); resultobj
= Py_None
;
13040 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13051 result
= (bool) ((arg1
)->m_controlDown
);
13053 resultobj
= PyInt_FromLong((long)result
);
13060 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "m_shiftDown", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13072 arg2
= PyInt_AsLong(obj1
) ? true : false;
13073 if (PyErr_Occurred()) SWIG_fail
;
13074 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13094 result
= (bool) ((arg1
)->m_shiftDown
);
13096 resultobj
= PyInt_FromLong((long)result
);
13103 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "m_altDown", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13115 arg2
= PyInt_AsLong(obj1
) ? true : false;
13116 if (PyErr_Occurred()) SWIG_fail
;
13117 if (arg1
) (arg1
)->m_altDown
= arg2
;
13119 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13137 result
= (bool) ((arg1
)->m_altDown
);
13139 resultobj
= PyInt_FromLong((long)result
);
13146 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self",(char *) "m_metaDown", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13158 arg2
= PyInt_AsLong(obj1
) ? true : false;
13159 if (PyErr_Occurred()) SWIG_fail
;
13160 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13162 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13180 result
= (bool) ((arg1
)->m_metaDown
);
13182 resultobj
= PyInt_FromLong((long)result
);
13189 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self",(char *) "m_wheelRotation", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13200 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13202 Py_INCREF(Py_None
); resultobj
= Py_None
;
13209 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13213 PyObject
* obj0
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13220 result
= (int) ((arg1
)->m_wheelRotation
);
13222 resultobj
= PyInt_FromLong((long)result
);
13229 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "m_wheelDelta", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13240 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13249 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13260 result
= (int) ((arg1
)->m_wheelDelta
);
13262 resultobj
= PyInt_FromLong((long)result
);
13269 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self",(char *) "m_linesPerAction", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13280 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13289 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13293 PyObject
* obj0
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13300 result
= (int) ((arg1
)->m_linesPerAction
);
13302 resultobj
= PyInt_FromLong((long)result
);
13309 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13312 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13314 return Py_BuildValue((char *)"");
13316 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 int arg1
= (int) 0 ;
13319 int arg2
= (int) 0 ;
13320 wxSetCursorEvent
*result
;
13321 char *kwnames
[] = {
13322 (char *) "x",(char *) "y", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13340 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
;
13342 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= PyInt_FromLong((long)result
);
13365 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13369 PyObject
* obj0
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= PyInt_FromLong((long)result
);
13390 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13393 wxCursor
*arg2
= 0 ;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "cursor", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13403 if (arg2
== NULL
) {
13404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13435 result
= (wxCursor
*) &_result_ref
;
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13448 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= PyInt_FromLong((long)result
);
13473 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13476 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13478 return Py_BuildValue((char *)"");
13480 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13483 wxKeyEvent
*result
;
13484 char *kwnames
[] = {
13485 (char *) "keyType", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13503 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= PyInt_FromLong((long)result
);
13528 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
;
13530 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13532 PyObject
* obj0
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= PyInt_FromLong((long)result
);
13553 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= PyInt_FromLong((long)result
);
13578 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= PyInt_FromLong((long)result
);
13603 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= PyInt_FromLong((long)result
);
13628 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "self", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= PyInt_FromLong((long)result
);
13653 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= PyInt_FromLong((long)result
);
13678 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13681 unsigned int result
;
13682 PyObject
* obj0
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= PyInt_FromLong((long)result
);
13703 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13706 unsigned int result
;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= PyInt_FromLong((long)result
);
13728 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= (arg1
)->GetPosition();
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 wxPoint
* resultptr
;
13748 resultptr
= new wxPoint((wxPoint
&) result
);
13749 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13757 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13760 long *arg2
= (long *) 0 ;
13761 long *arg3
= (long *) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 (arg1
)->GetPosition(arg2
,arg3
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 Py_INCREF(Py_None
); resultobj
= Py_None
;
13782 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13783 resultobj
= t_output_helper(resultobj
,o
);
13786 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13787 resultobj
= t_output_helper(resultobj
,o
);
13795 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= PyInt_FromLong((long)result
);
13820 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13824 PyObject
* obj0
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= PyInt_FromLong((long)result
);
13845 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self",(char *) "m_x", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 if (arg1
) (arg1
)->m_x
= arg2
;
13858 Py_INCREF(Py_None
); resultobj
= Py_None
;
13865 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13869 PyObject
* obj0
= 0 ;
13870 char *kwnames
[] = {
13871 (char *) "self", NULL
13874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
13875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13876 result
= (int) ((arg1
)->m_x
);
13878 resultobj
= PyInt_FromLong((long)result
);
13885 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self",(char *) "m_y", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13896 if (arg1
) (arg1
)->m_y
= arg2
;
13898 Py_INCREF(Py_None
); resultobj
= Py_None
;
13905 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13916 result
= (int) ((arg1
)->m_y
);
13918 resultobj
= PyInt_FromLong((long)result
);
13925 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self",(char *) "m_keyCode", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13936 if (arg1
) (arg1
)->m_keyCode
= arg2
;
13938 Py_INCREF(Py_None
); resultobj
= Py_None
;
13945 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13956 result
= (long) ((arg1
)->m_keyCode
);
13958 resultobj
= PyInt_FromLong((long)result
);
13965 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13969 PyObject
* obj0
= 0 ;
13970 PyObject
* obj1
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self",(char *) "m_controlDown", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13977 arg2
= PyInt_AsLong(obj1
) ? true : false;
13978 if (PyErr_Occurred()) SWIG_fail
;
13979 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13981 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13999 result
= (bool) ((arg1
)->m_controlDown
);
14001 resultobj
= PyInt_FromLong((long)result
);
14008 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 PyObject
* obj1
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self",(char *) "m_shiftDown", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14020 arg2
= PyInt_AsLong(obj1
) ? true : false;
14021 if (PyErr_Occurred()) SWIG_fail
;
14022 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14024 Py_INCREF(Py_None
); resultobj
= Py_None
;
14031 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14042 result
= (bool) ((arg1
)->m_shiftDown
);
14044 resultobj
= PyInt_FromLong((long)result
);
14051 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self",(char *) "m_altDown", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14063 arg2
= PyInt_AsLong(obj1
) ? true : false;
14064 if (PyErr_Occurred()) SWIG_fail
;
14065 if (arg1
) (arg1
)->m_altDown
= arg2
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14078 PyObject
* obj0
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14085 result
= (bool) ((arg1
)->m_altDown
);
14087 resultobj
= PyInt_FromLong((long)result
);
14094 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "m_metaDown", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14106 arg2
= PyInt_AsLong(obj1
) ? true : false;
14107 if (PyErr_Occurred()) SWIG_fail
;
14108 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14110 Py_INCREF(Py_None
); resultobj
= Py_None
;
14117 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14128 result
= (bool) ((arg1
)->m_metaDown
);
14130 resultobj
= PyInt_FromLong((long)result
);
14137 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "m_scanCode", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14149 arg2
= PyInt_AsLong(obj1
) ? true : false;
14150 if (PyErr_Occurred()) SWIG_fail
;
14151 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14160 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14171 result
= (bool) ((arg1
)->m_scanCode
);
14173 resultobj
= PyInt_FromLong((long)result
);
14180 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14183 unsigned int arg2
;
14184 PyObject
* obj0
= 0 ;
14185 PyObject
* obj1
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self",(char *) "m_rawCode", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14192 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14194 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14196 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14206 unsigned int result
;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14214 result
= (unsigned int) ((arg1
)->m_rawCode
);
14216 resultobj
= PyInt_FromLong((long)result
);
14223 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14226 unsigned int arg2
;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "m_rawFlags", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14235 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14237 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14246 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14249 unsigned int result
;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14257 result
= (unsigned int) ((arg1
)->m_rawFlags
);
14259 resultobj
= PyInt_FromLong((long)result
);
14266 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14269 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14271 return Py_BuildValue((char *)"");
14273 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14276 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14277 int arg2
= (int) 0 ;
14278 wxSizeEvent
*result
;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "sz",(char *) "winid", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14289 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14306 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 wxSize
* resultptr
;
14326 resultptr
= new wxSize((wxSize
&) result
);
14327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14335 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 wxRect
* resultptr
;
14355 resultptr
= new wxRect((wxRect
&) result
);
14356 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14364 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "rect", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14377 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 (arg1
)->SetRect(arg2
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 Py_INCREF(Py_None
); resultobj
= Py_None
;
14393 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self",(char *) "size", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14406 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 wxSizeEvent_SetSize(arg1
,arg2
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 Py_INCREF(Py_None
); resultobj
= Py_None
;
14422 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14425 wxSize
*arg2
= (wxSize
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self",(char *) "m_size", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14435 if (arg1
) (arg1
)->m_size
= *arg2
;
14437 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14455 result
= (wxSize
*)& ((arg1
)->m_size
);
14457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14464 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14467 wxRect
*arg2
= (wxRect
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "m_rect", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14477 if (arg1
) (arg1
)->m_rect
= *arg2
;
14479 Py_INCREF(Py_None
); resultobj
= Py_None
;
14486 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14497 result
= (wxRect
*)& ((arg1
)->m_rect
);
14499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14506 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14509 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14511 return Py_BuildValue((char *)"");
14513 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14516 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14517 int arg2
= (int) 0 ;
14518 wxMoveEvent
*result
;
14520 PyObject
* obj0
= 0 ;
14521 char *kwnames
[] = {
14522 (char *) "pos",(char *) "winid", NULL
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14529 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14546 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 wxPoint
* resultptr
;
14566 resultptr
= new wxPoint((wxPoint
&) result
);
14567 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14575 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 wxRect
* resultptr
;
14595 resultptr
= new wxRect((wxRect
&) result
);
14596 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14604 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "rect", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14617 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 (arg1
)->SetRect(arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 Py_INCREF(Py_None
); resultobj
= Py_None
;
14633 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self",(char *) "pos", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14646 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 wxMoveEvent_SetPosition(arg1
,arg2
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 Py_INCREF(Py_None
); resultobj
= Py_None
;
14662 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14665 wxPoint
*arg2
= (wxPoint
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self",(char *) "m_pos", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14675 if (arg1
) (arg1
)->m_pos
= *arg2
;
14677 Py_INCREF(Py_None
); resultobj
= Py_None
;
14684 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14688 PyObject
* obj0
= 0 ;
14689 char *kwnames
[] = {
14690 (char *) "self", NULL
14693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14695 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14704 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14707 wxRect
*arg2
= (wxRect
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self",(char *) "m_rect", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14717 if (arg1
) (arg1
)->m_rect
= *arg2
;
14719 Py_INCREF(Py_None
); resultobj
= Py_None
;
14726 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14737 result
= (wxRect
*)& ((arg1
)->m_rect
);
14739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14746 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14749 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14751 return Py_BuildValue((char *)"");
14753 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 int arg1
= (int) 0 ;
14756 wxPaintEvent
*result
;
14757 char *kwnames
[] = {
14758 (char *) "Id", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14776 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14779 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14781 return Py_BuildValue((char *)"");
14783 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 int arg1
= (int) 0 ;
14786 wxNcPaintEvent
*result
;
14787 char *kwnames
[] = {
14788 (char *) "winid", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14806 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14809 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14811 return Py_BuildValue((char *)"");
14813 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 int arg1
= (int) 0 ;
14816 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14817 wxEraseEvent
*result
;
14818 PyObject
* obj1
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "Id",(char *) "dc", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14841 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= wxPyMake_wxObject(result
);
14868 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
14873 return Py_BuildValue((char *)"");
14875 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14878 int arg2
= (int) 0 ;
14879 wxFocusEvent
*result
;
14880 char *kwnames
[] = {
14881 (char *) "type",(char *) "winid", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
14899 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= wxPyMake_wxObject(result
);
14926 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14929 wxWindow
*arg2
= (wxWindow
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self",(char *) "win", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 (arg1
)->SetWindow(arg2
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 Py_INCREF(Py_None
); resultobj
= Py_None
;
14953 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14956 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
14958 return Py_BuildValue((char *)"");
14960 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxWindow
*arg1
= (wxWindow
*) NULL
;
14963 wxChildFocusEvent
*result
;
14964 PyObject
* obj0
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "win", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
14987 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= wxPyMake_wxObject(result
);
15014 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15017 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15019 return Py_BuildValue((char *)"");
15021 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15024 bool arg2
= (bool) True
;
15025 int arg3
= (int) 0 ;
15026 wxActivateEvent
*result
;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "type",(char *) "active",(char *) "Id", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15034 arg2
= PyInt_AsLong(obj1
) ? true : false;
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15051 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= PyInt_FromLong((long)result
);
15076 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15079 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15081 return Py_BuildValue((char *)"");
15083 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 int arg1
= (int) 0 ;
15086 wxInitDialogEvent
*result
;
15087 char *kwnames
[] = {
15088 (char *) "Id", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15106 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15109 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15111 return Py_BuildValue((char *)"");
15113 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15116 int arg2
= (int) 0 ;
15117 wxMenu
*arg3
= (wxMenu
*) NULL
;
15118 wxMenuEvent
*result
;
15119 PyObject
* obj2
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "type",(char *) "winid",(char *) "menu", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15142 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= PyInt_FromLong((long)result
);
15167 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= PyInt_FromLong((long)result
);
15192 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= wxPyMake_wxObject(result
);
15219 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15222 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15224 return Py_BuildValue((char *)"");
15226 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15229 int arg2
= (int) 0 ;
15230 wxCloseEvent
*result
;
15231 char *kwnames
[] = {
15232 (char *) "type",(char *) "winid", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15250 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self",(char *) "logOff", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15262 arg2
= PyInt_AsLong(obj1
) ? true : false;
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 (arg1
)->SetLoggingOff(arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 Py_INCREF(Py_None
); resultobj
= Py_None
;
15278 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= PyInt_FromLong((long)result
);
15303 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15306 bool arg2
= (bool) True
;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "veto", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15316 arg2
= PyInt_AsLong(obj1
) ? true : false;
15317 if (PyErr_Occurred()) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 (arg1
)->Veto(arg2
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 Py_INCREF(Py_None
); resultobj
= Py_None
;
15333 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "canVeto", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15345 arg2
= PyInt_AsLong(obj1
) ? true : false;
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->SetCanVeto(arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= PyInt_FromLong((long)result
);
15386 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= PyInt_FromLong((long)result
);
15411 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15414 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15416 return Py_BuildValue((char *)"");
15418 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 int arg1
= (int) 0 ;
15421 bool arg2
= (bool) False
;
15422 wxShowEvent
*result
;
15423 PyObject
* obj1
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "winid",(char *) "show", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15430 arg2
= PyInt_AsLong(obj1
) ? true : false;
15431 if (PyErr_Occurred()) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15447 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "show", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15459 arg2
= PyInt_AsLong(obj1
) ? true : false;
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->SetShow(arg2
);
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 Py_INCREF(Py_None
); resultobj
= Py_None
;
15475 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= PyInt_FromLong((long)result
);
15500 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15503 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15505 return Py_BuildValue((char *)"");
15507 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 int arg1
= (int) 0 ;
15510 bool arg2
= (bool) True
;
15511 wxIconizeEvent
*result
;
15512 PyObject
* obj1
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "id",(char *) "iconized", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15519 arg2
= PyInt_AsLong(obj1
) ? true : false;
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15536 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)(arg1
)->Iconized();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= PyInt_FromLong((long)result
);
15561 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15564 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15566 return Py_BuildValue((char *)"");
15568 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 int arg1
= (int) 0 ;
15571 wxMaximizeEvent
*result
;
15572 char *kwnames
[] = {
15573 (char *) "id", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15591 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15594 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15596 return Py_BuildValue((char *)"");
15598 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (arg1
)->GetPosition();
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15617 wxPoint
* resultptr
;
15618 resultptr
= new wxPoint((wxPoint
&) result
);
15619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15627 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (int)(arg1
)->GetNumberOfFiles();
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= PyInt_FromLong((long)result
);
15652 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= result
;
15677 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15680 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15682 return Py_BuildValue((char *)"");
15684 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 int arg1
= (int) 0 ;
15687 wxUpdateUIEvent
*result
;
15688 char *kwnames
[] = {
15689 (char *) "commandId", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15707 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= PyInt_FromLong((long)result
);
15732 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15736 PyObject
* obj0
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= PyInt_FromLong((long)result
);
15757 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15788 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= PyInt_FromLong((long)result
);
15813 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= PyInt_FromLong((long)result
);
15838 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(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_GetSetEnabled",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
)->GetSetEnabled();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= PyInt_FromLong((long)result
);
15863 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self",(char *) "check", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15875 arg2
= PyInt_AsLong(obj1
) ? true : false;
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 (arg1
)->Check(arg2
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 Py_INCREF(Py_None
); resultobj
= Py_None
;
15891 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "enable", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15903 arg2
= PyInt_AsLong(obj1
) ? true : false;
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 (arg1
)->Enable(arg2
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 Py_INCREF(Py_None
); resultobj
= Py_None
;
15919 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15922 wxString
*arg2
= 0 ;
15923 bool temp2
= False
;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self",(char *) "text", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15933 arg2
= wxString_in_helper(obj1
);
15934 if (arg2
== NULL
) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 (arg1
)->SetText((wxString
const &)*arg2
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 Py_INCREF(Py_None
); resultobj
= Py_None
;
15959 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15962 char *kwnames
[] = {
15963 (char *) "updateInterval", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 wxUpdateUIEvent::SetUpdateInterval(arg1
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15984 char *kwnames
[] = {
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= PyInt_FromLong((long)result
);
16003 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxWindow
*arg1
= (wxWindow
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "win", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= PyInt_FromLong((long)result
);
16028 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 char *kwnames
[] = {
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 wxUpdateUIEvent::ResetUpdateTime();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 Py_INCREF(Py_None
); resultobj
= Py_None
;
16049 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16052 char *kwnames
[] = {
16053 (char *) "mode", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16064 Py_INCREF(Py_None
); resultobj
= Py_None
;
16071 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16074 char *kwnames
[] = {
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (int)wxUpdateUIEvent::GetMode();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= PyInt_FromLong((long)result
);
16093 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16096 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16098 return Py_BuildValue((char *)"");
16100 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxSysColourChangedEvent
*result
;
16103 char *kwnames
[] = {
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16122 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16125 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16127 return Py_BuildValue((char *)"");
16129 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 int arg1
= (int) 0 ;
16132 wxWindow
*arg2
= (wxWindow
*) NULL
;
16133 wxMouseCaptureChangedEvent
*result
;
16134 PyObject
* obj1
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "winid",(char *) "gainedCapture", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16157 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= wxPyMake_wxObject(result
);
16184 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16187 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16189 return Py_BuildValue((char *)"");
16191 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxDisplayChangedEvent
*result
;
16194 char *kwnames
[] = {
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16213 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16216 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16218 return Py_BuildValue((char *)"");
16220 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 int arg1
= (int) 0 ;
16223 wxPaletteChangedEvent
*result
;
16224 char *kwnames
[] = {
16225 (char *) "id", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16243 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16246 wxWindow
*arg2
= (wxWindow
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "win", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 (arg1
)->SetChangedWindow(arg2
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 Py_INCREF(Py_None
); resultobj
= Py_None
;
16270 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= wxPyMake_wxObject(result
);
16297 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16300 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16302 return Py_BuildValue((char *)"");
16304 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 int arg1
= (int) 0 ;
16307 wxQueryNewPaletteEvent
*result
;
16308 char *kwnames
[] = {
16309 (char *) "winid", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16327 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "realized", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16339 arg2
= PyInt_AsLong(obj1
) ? true : false;
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 (arg1
)->SetPaletteRealized(arg2
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 Py_INCREF(Py_None
); resultobj
= Py_None
;
16355 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= PyInt_FromLong((long)result
);
16380 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16383 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16385 return Py_BuildValue((char *)"");
16387 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxNavigationKeyEvent
*result
;
16390 char *kwnames
[] = {
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16409 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= PyInt_FromLong((long)result
);
16434 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self",(char *) "bForward", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16446 arg2
= PyInt_AsLong(obj1
) ? true : false;
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 (arg1
)->SetDirection(arg2
);
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= PyInt_FromLong((long)result
);
16487 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 PyObject
* obj1
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "bIs", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16499 arg2
= PyInt_AsLong(obj1
) ? true : false;
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->SetWindowChange(arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= wxPyMake_wxObject(result
);
16542 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16545 wxWindow
*arg2
= (wxWindow
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self",(char *) "win", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->SetCurrentFocus(arg2
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16572 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16574 return Py_BuildValue((char *)"");
16576 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxWindow
*arg1
= (wxWindow
*) NULL
;
16579 wxWindowCreateEvent
*result
;
16580 PyObject
* obj0
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "win", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16603 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= wxPyMake_wxObject(result
);
16630 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16635 return Py_BuildValue((char *)"");
16637 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxWindow
*arg1
= (wxWindow
*) NULL
;
16640 wxWindowDestroyEvent
*result
;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "win", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16664 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16668 PyObject
* obj0
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "self", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= wxPyMake_wxObject(result
);
16691 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16694 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16696 return Py_BuildValue((char *)"");
16698 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16701 int arg2
= (int) 0 ;
16702 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16703 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16704 wxContextMenuEvent
*result
;
16706 PyObject
* obj2
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "type",(char *) "winid",(char *) "pt", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16732 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16747 result
= (wxPoint
*) &_result_ref
;
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16760 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16763 wxPoint
*arg2
= 0 ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self",(char *) "pos", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 Py_INCREF(Py_None
); resultobj
= Py_None
;
16791 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16794 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16796 return Py_BuildValue((char *)"");
16798 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxIdleEvent
*result
;
16801 char *kwnames
[] = {
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (wxIdleEvent
*)new wxIdleEvent();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16820 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16823 bool arg2
= (bool) True
;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "self",(char *) "needMore", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16833 arg2
= PyInt_AsLong(obj1
) ? true : false;
16834 if (PyErr_Occurred()) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 (arg1
)->RequestMore(arg2
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 Py_INCREF(Py_None
); resultobj
= Py_None
;
16850 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= PyInt_FromLong((long)result
);
16875 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16878 char *kwnames
[] = {
16879 (char *) "mode", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 Py_INCREF(Py_None
); resultobj
= Py_None
;
16897 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16900 char *kwnames
[] = {
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= (int)wxIdleEvent::GetMode();
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= PyInt_FromLong((long)result
);
16919 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxWindow
*arg1
= (wxWindow
*) 0 ;
16923 PyObject
* obj0
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "win", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
16929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 result
= (bool)wxIdleEvent::CanSend(arg1
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= PyInt_FromLong((long)result
);
16944 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16947 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
16949 return Py_BuildValue((char *)"");
16951 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 int arg1
= (int) 0 ;
16954 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
16956 char *kwnames
[] = {
16957 (char *) "winid",(char *) "commandType", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
16975 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "self", NULL
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
16984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 Py_INCREF(Py_None
); resultobj
= Py_None
;
16999 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17002 PyObject
*arg2
= (PyObject
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 PyObject
* obj1
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "self",(char *) "self", NULL
17009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 (arg1
)->SetSelf(arg2
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (PyObject
*)(arg1
)->GetSelf();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= result
;
17051 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17054 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17056 return Py_BuildValue((char *)"");
17058 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17061 int arg2
= (int) 0 ;
17062 wxPyCommandEvent
*result
;
17063 char *kwnames
[] = {
17064 (char *) "commandType",(char *) "id", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17082 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 Py_INCREF(Py_None
); resultobj
= Py_None
;
17106 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17109 PyObject
*arg2
= (PyObject
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self",(char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 (arg1
)->SetSelf(arg2
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 Py_INCREF(Py_None
); resultobj
= Py_None
;
17133 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (PyObject
*)(arg1
)->GetSelf();
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= result
;
17158 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17161 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17163 return Py_BuildValue((char *)"");
17165 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17168 char *kwnames
[] = {
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxPyApp
*)new_wxPyApp();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= wxPyMake_wxObject(result
);
17189 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 Py_INCREF(Py_None
); resultobj
= Py_None
;
17213 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17216 PyObject
*arg2
= (PyObject
*) 0 ;
17217 PyObject
*arg3
= (PyObject
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 PyObject
* obj2
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "self",(char *) "self",(char *) "_class", NULL
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17243 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17274 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17277 wxString
*arg2
= 0 ;
17278 bool temp2
= False
;
17279 PyObject
* obj0
= 0 ;
17280 PyObject
* obj1
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self",(char *) "name", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17288 arg2
= wxString_in_helper(obj1
);
17289 if (arg2
== NULL
) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->SetAppName((wxString
const &)*arg2
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17314 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17345 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17348 wxString
*arg2
= 0 ;
17349 bool temp2
= False
;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "name", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17359 arg2
= wxString_in_helper(obj1
);
17360 if (arg2
== NULL
) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 (arg1
)->SetClassName((wxString
const &)*arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 Py_INCREF(Py_None
); resultobj
= Py_None
;
17385 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17400 result
= (wxString
*) &_result_ref
;
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17413 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17416 wxString
*arg2
= 0 ;
17417 bool temp2
= False
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "name", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17427 arg2
= wxString_in_helper(obj1
);
17428 if (arg2
== NULL
) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 Py_INCREF(Py_None
); resultobj
= Py_None
;
17453 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17456 wxAppTraits
*result
;
17457 PyObject
* obj0
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17478 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17481 PyObject
* obj0
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->ProcessPendingEvents();
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 Py_INCREF(Py_None
); resultobj
= Py_None
;
17502 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17505 bool arg2
= (bool) False
;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "onlyIfNeeded", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17516 arg2
= PyInt_AsLong(obj1
) ? true : false;
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= (bool)(arg1
)->Yield(arg2
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= PyInt_FromLong((long)result
);
17533 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17536 PyObject
* obj0
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 (arg1
)->WakeUpIdle();
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 Py_INCREF(Py_None
); resultobj
= Py_None
;
17557 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (int)(arg1
)->MainLoop();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= PyInt_FromLong((long)result
);
17582 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 Py_INCREF(Py_None
); resultobj
= Py_None
;
17606 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 (arg1
)->ExitMainLoop();
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 Py_INCREF(Py_None
); resultobj
= Py_None
;
17630 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (bool)(arg1
)->Pending();
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= PyInt_FromLong((long)result
);
17655 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 result
= (bool)(arg1
)->Dispatch();
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= PyInt_FromLong((long)result
);
17680 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17684 PyObject
* obj0
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (bool)(arg1
)->ProcessIdle();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= PyInt_FromLong((long)result
);
17705 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17708 wxWindow
*arg2
= (wxWindow
*) 0 ;
17709 wxIdleEvent
*arg3
= 0 ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 PyObject
* obj2
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self",(char *) "win",(char *) "event", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17721 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17722 if (arg3
== NULL
) {
17723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= PyInt_FromLong((long)result
);
17739 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= PyInt_FromLong((long)result
);
17764 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17767 wxWindow
*arg2
= (wxWindow
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "win", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetTopWindow(arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17791 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= wxPyMake_wxObject(result
);
17818 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "flag", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17830 arg2
= PyInt_AsLong(obj1
) ? true : false;
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 (arg1
)->SetExitOnFrameDelete(arg2
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= PyInt_FromLong((long)result
);
17871 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self",(char *) "flag", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17883 arg2
= PyInt_AsLong(obj1
) ? true : false;
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 (arg1
)->SetUseBestVisual(arg2
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 Py_INCREF(Py_None
); resultobj
= Py_None
;
17899 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= PyInt_FromLong((long)result
);
17924 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
;
17926 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self",(char *) "mode", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 (arg1
)->SetPrintMode(arg2
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 Py_INCREF(Py_None
); resultobj
= Py_None
;
17949 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= PyInt_FromLong((long)result
);
17974 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "mode", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 (arg1
)->SetAssertMode(arg2
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 Py_INCREF(Py_None
); resultobj
= Py_None
;
17999 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (int)(arg1
)->GetAssertMode();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= PyInt_FromLong((long)result
);
18024 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18027 char *kwnames
[] = {
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= PyInt_FromLong((long)result
);
18046 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18049 char *kwnames
[] = {
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= PyInt_FromLong((long)result
);
18068 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18071 char *kwnames
[] = {
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= PyInt_FromLong((long)result
);
18090 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18093 char *kwnames
[] = {
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (long)wxPyApp::GetMacExitMenuItemId();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= PyInt_FromLong((long)result
);
18112 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18115 char *kwnames
[] = {
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= wxPyApp::GetMacHelpMenuTitleName();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18140 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "val", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18149 arg1
= PyInt_AsLong(obj0
) ? true : false;
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 Py_INCREF(Py_None
); resultobj
= Py_None
;
18165 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18168 char *kwnames
[] = {
18169 (char *) "val", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 wxPyApp::SetMacAboutMenuItemId(arg1
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 Py_INCREF(Py_None
); resultobj
= Py_None
;
18187 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18190 char *kwnames
[] = {
18191 (char *) "val", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 Py_INCREF(Py_None
); resultobj
= Py_None
;
18209 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18212 char *kwnames
[] = {
18213 (char *) "val", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 wxPyApp::SetMacExitMenuItemId(arg1
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 Py_INCREF(Py_None
); resultobj
= Py_None
;
18231 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxString
*arg1
= 0 ;
18234 bool temp1
= False
;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "val", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18242 arg1
= wxString_in_helper(obj0
);
18243 if (arg1
== NULL
) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 Py_INCREF(Py_None
); resultobj
= Py_None
;
18268 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->_BootstrapApp();
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 Py_INCREF(Py_None
); resultobj
= Py_None
;
18292 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18295 char *kwnames
[] = {
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (int)PyApp_GetComCtl32Version();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= PyInt_FromLong((long)result
);
18314 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18317 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18319 return Py_BuildValue((char *)"");
18321 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 char *kwnames
[] = {
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 Py_INCREF(Py_None
); resultobj
= Py_None
;
18342 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18345 char *kwnames
[] = {
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (bool)wxYield();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= PyInt_FromLong((long)result
);
18364 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18367 char *kwnames
[] = {
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (bool)wxYieldIfNeeded();
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= PyInt_FromLong((long)result
);
18386 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxWindow
*arg1
= (wxWindow
*) NULL
;
18389 bool arg2
= (bool) False
;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "win",(char *) "onlyIfNeeded", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18402 arg2
= PyInt_AsLong(obj1
) ? true : false;
18403 if (PyErr_Occurred()) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (bool)wxSafeYield(arg1
,arg2
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= PyInt_FromLong((long)result
);
18419 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 char *kwnames
[] = {
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 Py_INCREF(Py_None
); resultobj
= Py_None
;
18440 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18442 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18443 wxEvent
*arg2
= 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 char *kwnames
[] = {
18447 (char *) "dest",(char *) "event", NULL
18450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18453 if (arg2
== NULL
) {
18454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 wxPostEvent(arg1
,*arg2
);
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 Py_INCREF(Py_None
); resultobj
= Py_None
;
18470 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 char *kwnames
[] = {
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 Py_INCREF(Py_None
); resultobj
= Py_None
;
18491 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18494 char *kwnames
[] = {
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (wxPyApp
*)wxGetApp();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= wxPyMake_wxObject(result
);
18515 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
18516 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
18521 static PyObject
*_wrap_PanelNameStr_get() {
18526 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18528 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18535 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18536 PyObject
*resultobj
;
18537 wxWindow
*arg1
= (wxWindow
*) 0 ;
18539 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18540 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18541 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18542 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18543 long arg5
= (long) 0 ;
18544 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18545 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18549 bool temp6
= False
;
18550 PyObject
* obj0
= 0 ;
18551 PyObject
* obj2
= 0 ;
18552 PyObject
* obj3
= 0 ;
18553 PyObject
* obj5
= 0 ;
18554 char *kwnames
[] = {
18555 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18563 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18569 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18574 arg6
= wxString_in_helper(obj5
);
18575 if (arg6
== NULL
) SWIG_fail
;
18580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18581 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18583 wxPyEndAllowThreads(__tstate
);
18584 if (PyErr_Occurred()) SWIG_fail
;
18587 resultobj
= wxPyMake_wxObject(result
);
18603 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18604 PyObject
*resultobj
;
18606 char *kwnames
[] = {
18610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (wxWindow
*)new wxWindow();
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= wxPyMake_wxObject(result
);
18627 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18629 wxWindow
*arg1
= (wxWindow
*) 0 ;
18630 wxWindow
*arg2
= (wxWindow
*) 0 ;
18632 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18633 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18634 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18635 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18636 long arg6
= (long) 0 ;
18637 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
18638 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18642 bool temp7
= False
;
18643 PyObject
* obj0
= 0 ;
18644 PyObject
* obj1
= 0 ;
18645 PyObject
* obj3
= 0 ;
18646 PyObject
* obj4
= 0 ;
18647 PyObject
* obj6
= 0 ;
18648 char *kwnames
[] = {
18649 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18658 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18664 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18669 arg7
= wxString_in_helper(obj6
);
18670 if (arg7
== NULL
) SWIG_fail
;
18675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18676 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18678 wxPyEndAllowThreads(__tstate
);
18679 if (PyErr_Occurred()) SWIG_fail
;
18681 resultobj
= PyInt_FromLong((long)result
);
18696 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18697 PyObject
*resultobj
;
18698 wxWindow
*arg1
= (wxWindow
*) 0 ;
18699 bool arg2
= (bool) False
;
18701 PyObject
* obj0
= 0 ;
18702 PyObject
* obj1
= 0 ;
18703 char *kwnames
[] = {
18704 (char *) "self",(char *) "force", NULL
18707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
18708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18710 arg2
= PyInt_AsLong(obj1
) ? true : false;
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18715 result
= (bool)(arg1
)->Close(arg2
);
18717 wxPyEndAllowThreads(__tstate
);
18718 if (PyErr_Occurred()) SWIG_fail
;
18720 resultobj
= PyInt_FromLong((long)result
);
18727 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18728 PyObject
*resultobj
;
18729 wxWindow
*arg1
= (wxWindow
*) 0 ;
18731 PyObject
* obj0
= 0 ;
18732 char *kwnames
[] = {
18733 (char *) "self", NULL
18736 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
18737 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18740 result
= (bool)(arg1
)->Destroy();
18742 wxPyEndAllowThreads(__tstate
);
18743 if (PyErr_Occurred()) SWIG_fail
;
18745 resultobj
= PyInt_FromLong((long)result
);
18752 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18753 PyObject
*resultobj
;
18754 wxWindow
*arg1
= (wxWindow
*) 0 ;
18756 PyObject
* obj0
= 0 ;
18757 char *kwnames
[] = {
18758 (char *) "self", NULL
18761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
18762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18765 result
= (bool)(arg1
)->DestroyChildren();
18767 wxPyEndAllowThreads(__tstate
);
18768 if (PyErr_Occurred()) SWIG_fail
;
18770 resultobj
= PyInt_FromLong((long)result
);
18777 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18778 PyObject
*resultobj
;
18779 wxWindow
*arg1
= (wxWindow
*) 0 ;
18781 PyObject
* obj0
= 0 ;
18782 char *kwnames
[] = {
18783 (char *) "self", NULL
18786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
18787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18790 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
18792 wxPyEndAllowThreads(__tstate
);
18793 if (PyErr_Occurred()) SWIG_fail
;
18795 resultobj
= PyInt_FromLong((long)result
);
18802 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18803 PyObject
*resultobj
;
18804 wxWindow
*arg1
= (wxWindow
*) 0 ;
18805 wxString
*arg2
= 0 ;
18806 bool temp2
= False
;
18807 PyObject
* obj0
= 0 ;
18808 PyObject
* obj1
= 0 ;
18809 char *kwnames
[] = {
18810 (char *) "self",(char *) "title", NULL
18813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
18814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18816 arg2
= wxString_in_helper(obj1
);
18817 if (arg2
== NULL
) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 (arg1
)->SetTitle((wxString
const &)*arg2
);
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 Py_INCREF(Py_None
); resultobj
= Py_None
;
18842 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18843 PyObject
*resultobj
;
18844 wxWindow
*arg1
= (wxWindow
*) 0 ;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "self", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
18852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18855 result
= ((wxWindow
const *)arg1
)->GetTitle();
18857 wxPyEndAllowThreads(__tstate
);
18858 if (PyErr_Occurred()) SWIG_fail
;
18862 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18864 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18873 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18875 wxWindow
*arg1
= (wxWindow
*) 0 ;
18876 wxString
*arg2
= 0 ;
18877 bool temp2
= False
;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 char *kwnames
[] = {
18881 (char *) "self",(char *) "label", NULL
18884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
18885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18887 arg2
= wxString_in_helper(obj1
);
18888 if (arg2
== NULL
) SWIG_fail
;
18892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18893 (arg1
)->SetLabel((wxString
const &)*arg2
);
18895 wxPyEndAllowThreads(__tstate
);
18896 if (PyErr_Occurred()) SWIG_fail
;
18898 Py_INCREF(Py_None
); resultobj
= Py_None
;
18913 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18914 PyObject
*resultobj
;
18915 wxWindow
*arg1
= (wxWindow
*) 0 ;
18917 PyObject
* obj0
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "self", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18926 result
= ((wxWindow
const *)arg1
)->GetLabel();
18928 wxPyEndAllowThreads(__tstate
);
18929 if (PyErr_Occurred()) SWIG_fail
;
18933 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18935 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18944 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18945 PyObject
*resultobj
;
18946 wxWindow
*arg1
= (wxWindow
*) 0 ;
18947 wxString
*arg2
= 0 ;
18948 bool temp2
= False
;
18949 PyObject
* obj0
= 0 ;
18950 PyObject
* obj1
= 0 ;
18951 char *kwnames
[] = {
18952 (char *) "self",(char *) "name", NULL
18955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
18956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18958 arg2
= wxString_in_helper(obj1
);
18959 if (arg2
== NULL
) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 (arg1
)->SetName((wxString
const &)*arg2
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18969 Py_INCREF(Py_None
); resultobj
= Py_None
;
18984 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18985 PyObject
*resultobj
;
18986 wxWindow
*arg1
= (wxWindow
*) 0 ;
18988 PyObject
* obj0
= 0 ;
18989 char *kwnames
[] = {
18990 (char *) "self", NULL
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
18994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= ((wxWindow
const *)arg1
)->GetName();
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19004 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19006 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19015 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19016 PyObject
*resultobj
;
19017 wxWindow
*arg1
= (wxWindow
*) 0 ;
19019 PyObject
* obj0
= 0 ;
19020 char *kwnames
[] = {
19021 (char *) "self",(char *) "winid", NULL
19024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19028 (arg1
)->SetId(arg2
);
19030 wxPyEndAllowThreads(__tstate
);
19031 if (PyErr_Occurred()) SWIG_fail
;
19033 Py_INCREF(Py_None
); resultobj
= Py_None
;
19040 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19041 PyObject
*resultobj
;
19042 wxWindow
*arg1
= (wxWindow
*) 0 ;
19044 PyObject
* obj0
= 0 ;
19045 char *kwnames
[] = {
19046 (char *) "self", NULL
19049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19053 result
= (int)((wxWindow
const *)arg1
)->GetId();
19055 wxPyEndAllowThreads(__tstate
);
19056 if (PyErr_Occurred()) SWIG_fail
;
19058 resultobj
= PyInt_FromLong((long)result
);
19065 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19066 PyObject
*resultobj
;
19068 char *kwnames
[] = {
19072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19075 result
= (int)wxWindow::NewControlId();
19077 wxPyEndAllowThreads(__tstate
);
19078 if (PyErr_Occurred()) SWIG_fail
;
19080 resultobj
= PyInt_FromLong((long)result
);
19087 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19088 PyObject
*resultobj
;
19091 char *kwnames
[] = {
19092 (char *) "winid", NULL
19095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 result
= (int)wxWindow::NextControlId(arg1
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= PyInt_FromLong((long)result
);
19110 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
;
19114 char *kwnames
[] = {
19115 (char *) "winid", NULL
19118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19121 result
= (int)wxWindow::PrevControlId(arg1
);
19123 wxPyEndAllowThreads(__tstate
);
19124 if (PyErr_Occurred()) SWIG_fail
;
19126 resultobj
= PyInt_FromLong((long)result
);
19133 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19134 PyObject
*resultobj
;
19135 wxWindow
*arg1
= (wxWindow
*) 0 ;
19138 PyObject
* obj0
= 0 ;
19139 PyObject
* obj1
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self",(char *) "size", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19148 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19152 (arg1
)->SetSize((wxSize
const &)*arg2
);
19154 wxPyEndAllowThreads(__tstate
);
19155 if (PyErr_Occurred()) SWIG_fail
;
19157 Py_INCREF(Py_None
); resultobj
= Py_None
;
19164 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19165 PyObject
*resultobj
;
19166 wxWindow
*arg1
= (wxWindow
*) 0 ;
19171 int arg6
= (int) wxSIZE_AUTO
;
19172 PyObject
* obj0
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19181 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19183 wxPyEndAllowThreads(__tstate
);
19184 if (PyErr_Occurred()) SWIG_fail
;
19186 Py_INCREF(Py_None
); resultobj
= Py_None
;
19193 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19194 PyObject
*resultobj
;
19195 wxWindow
*arg1
= (wxWindow
*) 0 ;
19197 int arg3
= (int) wxSIZE_AUTO
;
19199 PyObject
* obj0
= 0 ;
19200 PyObject
* obj1
= 0 ;
19201 char *kwnames
[] = {
19202 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19209 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 Py_INCREF(Py_None
); resultobj
= Py_None
;
19225 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxWindow
*arg1
= (wxWindow
*) 0 ;
19230 PyObject
* obj0
= 0 ;
19231 char *kwnames
[] = {
19232 (char *) "self",(char *) "width",(char *) "height", NULL
19235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19239 (arg1
)->SetSize(arg2
,arg3
);
19241 wxPyEndAllowThreads(__tstate
);
19242 if (PyErr_Occurred()) SWIG_fail
;
19244 Py_INCREF(Py_None
); resultobj
= Py_None
;
19251 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19252 PyObject
*resultobj
;
19253 wxWindow
*arg1
= (wxWindow
*) 0 ;
19254 wxPoint
*arg2
= 0 ;
19255 int arg3
= (int) wxSIZE_USE_EXISTING
;
19257 PyObject
* obj0
= 0 ;
19258 PyObject
* obj1
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self",(char *) "pt",(char *) "flags", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19267 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 Py_INCREF(Py_None
); resultobj
= Py_None
;
19283 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxWindow
*arg1
= (wxWindow
*) 0 ;
19288 int arg4
= (int) wxSIZE_USE_EXISTING
;
19289 PyObject
* obj0
= 0 ;
19290 char *kwnames
[] = {
19291 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19298 (arg1
)->Move(arg2
,arg3
,arg4
);
19300 wxPyEndAllowThreads(__tstate
);
19301 if (PyErr_Occurred()) SWIG_fail
;
19303 Py_INCREF(Py_None
); resultobj
= Py_None
;
19310 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxWindow
*arg1
= (wxWindow
*) 0 ;
19313 PyObject
* obj0
= 0 ;
19314 char *kwnames
[] = {
19315 (char *) "self", NULL
19318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 wxPyEndAllowThreads(__tstate
);
19325 if (PyErr_Occurred()) SWIG_fail
;
19327 Py_INCREF(Py_None
); resultobj
= Py_None
;
19334 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
;
19336 wxWindow
*arg1
= (wxWindow
*) 0 ;
19337 PyObject
* obj0
= 0 ;
19338 char *kwnames
[] = {
19339 (char *) "self", NULL
19342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19348 wxPyEndAllowThreads(__tstate
);
19349 if (PyErr_Occurred()) SWIG_fail
;
19351 Py_INCREF(Py_None
); resultobj
= Py_None
;
19358 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19359 PyObject
*resultobj
;
19360 wxWindow
*arg1
= (wxWindow
*) 0 ;
19363 PyObject
* obj0
= 0 ;
19364 PyObject
* obj1
= 0 ;
19365 char *kwnames
[] = {
19366 (char *) "self",(char *) "size", NULL
19369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19373 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19379 wxPyEndAllowThreads(__tstate
);
19380 if (PyErr_Occurred()) SWIG_fail
;
19382 Py_INCREF(Py_None
); resultobj
= Py_None
;
19389 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19390 PyObject
*resultobj
;
19391 wxWindow
*arg1
= (wxWindow
*) 0 ;
19394 PyObject
* obj0
= 0 ;
19395 char *kwnames
[] = {
19396 (char *) "self",(char *) "width",(char *) "height", NULL
19399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19403 (arg1
)->SetClientSize(arg2
,arg3
);
19405 wxPyEndAllowThreads(__tstate
);
19406 if (PyErr_Occurred()) SWIG_fail
;
19408 Py_INCREF(Py_None
); resultobj
= Py_None
;
19415 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxWindow
*arg1
= (wxWindow
*) 0 ;
19420 PyObject
* obj0
= 0 ;
19421 PyObject
* obj1
= 0 ;
19422 char *kwnames
[] = {
19423 (char *) "self",(char *) "rect", NULL
19426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19430 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19434 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19436 wxPyEndAllowThreads(__tstate
);
19437 if (PyErr_Occurred()) SWIG_fail
;
19439 Py_INCREF(Py_None
); resultobj
= Py_None
;
19446 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxWindow
*arg1
= (wxWindow
*) 0 ;
19450 PyObject
* obj0
= 0 ;
19451 char *kwnames
[] = {
19452 (char *) "self", NULL
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 result
= (arg1
)->GetPosition();
19461 wxPyEndAllowThreads(__tstate
);
19462 if (PyErr_Occurred()) SWIG_fail
;
19465 wxPoint
* resultptr
;
19466 resultptr
= new wxPoint((wxPoint
&) result
);
19467 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19475 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19476 PyObject
*resultobj
;
19477 wxWindow
*arg1
= (wxWindow
*) 0 ;
19478 int *arg2
= (int *) 0 ;
19479 int *arg3
= (int *) 0 ;
19482 PyObject
* obj0
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self", NULL
19489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19493 (arg1
)->GetPosition(arg2
,arg3
);
19495 wxPyEndAllowThreads(__tstate
);
19496 if (PyErr_Occurred()) SWIG_fail
;
19498 Py_INCREF(Py_None
); resultobj
= Py_None
;
19500 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19501 resultobj
= t_output_helper(resultobj
,o
);
19504 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19505 resultobj
= t_output_helper(resultobj
,o
);
19513 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19514 PyObject
*resultobj
;
19515 wxWindow
*arg1
= (wxWindow
*) 0 ;
19517 PyObject
* obj0
= 0 ;
19518 char *kwnames
[] = {
19519 (char *) "self", NULL
19522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
19523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19526 result
= ((wxWindow
const *)arg1
)->GetSize();
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19532 wxSize
* resultptr
;
19533 resultptr
= new wxSize((wxSize
&) result
);
19534 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19542 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxWindow
*arg1
= (wxWindow
*) 0 ;
19545 int *arg2
= (int *) 0 ;
19546 int *arg3
= (int *) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
19557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19560 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
19562 wxPyEndAllowThreads(__tstate
);
19563 if (PyErr_Occurred()) SWIG_fail
;
19565 Py_INCREF(Py_None
); resultobj
= Py_None
;
19567 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19568 resultobj
= t_output_helper(resultobj
,o
);
19571 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19572 resultobj
= t_output_helper(resultobj
,o
);
19580 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19581 PyObject
*resultobj
;
19582 wxWindow
*arg1
= (wxWindow
*) 0 ;
19584 PyObject
* obj0
= 0 ;
19585 char *kwnames
[] = {
19586 (char *) "self", NULL
19589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
19590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19593 result
= ((wxWindow
const *)arg1
)->GetRect();
19595 wxPyEndAllowThreads(__tstate
);
19596 if (PyErr_Occurred()) SWIG_fail
;
19599 wxRect
* resultptr
;
19600 resultptr
= new wxRect((wxRect
&) result
);
19601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19609 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19610 PyObject
*resultobj
;
19611 wxWindow
*arg1
= (wxWindow
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
19619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 result
= ((wxWindow
const *)arg1
)->GetClientSize();
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19628 wxSize
* resultptr
;
19629 resultptr
= new wxSize((wxSize
&) result
);
19630 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19638 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19639 PyObject
*resultobj
;
19640 wxWindow
*arg1
= (wxWindow
*) 0 ;
19641 int *arg2
= (int *) 0 ;
19642 int *arg3
= (int *) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
19653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19656 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 Py_INCREF(Py_None
); resultobj
= Py_None
;
19663 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19664 resultobj
= t_output_helper(resultobj
,o
);
19667 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19668 resultobj
= t_output_helper(resultobj
,o
);
19676 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxWindow
*arg1
= (wxWindow
*) 0 ;
19680 PyObject
* obj0
= 0 ;
19681 char *kwnames
[] = {
19682 (char *) "self", NULL
19685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
19686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19689 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
19691 wxPyEndAllowThreads(__tstate
);
19692 if (PyErr_Occurred()) SWIG_fail
;
19695 wxPoint
* resultptr
;
19696 resultptr
= new wxPoint((wxPoint
&) result
);
19697 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19705 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19706 PyObject
*resultobj
;
19707 wxWindow
*arg1
= (wxWindow
*) 0 ;
19709 PyObject
* obj0
= 0 ;
19710 char *kwnames
[] = {
19711 (char *) "self", NULL
19714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
19715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19718 result
= ((wxWindow
const *)arg1
)->GetClientRect();
19720 wxPyEndAllowThreads(__tstate
);
19721 if (PyErr_Occurred()) SWIG_fail
;
19724 wxRect
* resultptr
;
19725 resultptr
= new wxRect((wxRect
&) result
);
19726 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19734 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
;
19736 wxWindow
*arg1
= (wxWindow
*) 0 ;
19738 PyObject
* obj0
= 0 ;
19739 char *kwnames
[] = {
19740 (char *) "self", NULL
19743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
19744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19747 result
= ((wxWindow
const *)arg1
)->GetBestSize();
19749 wxPyEndAllowThreads(__tstate
);
19750 if (PyErr_Occurred()) SWIG_fail
;
19753 wxSize
* resultptr
;
19754 resultptr
= new wxSize((wxSize
&) result
);
19755 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19763 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19764 PyObject
*resultobj
;
19765 wxWindow
*arg1
= (wxWindow
*) 0 ;
19766 int *arg2
= (int *) 0 ;
19767 int *arg3
= (int *) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self", NULL
19777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
19778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19781 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
19783 wxPyEndAllowThreads(__tstate
);
19784 if (PyErr_Occurred()) SWIG_fail
;
19786 Py_INCREF(Py_None
); resultobj
= Py_None
;
19788 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19789 resultobj
= t_output_helper(resultobj
,o
);
19792 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19793 resultobj
= t_output_helper(resultobj
,o
);
19801 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19802 PyObject
*resultobj
;
19803 wxWindow
*arg1
= (wxWindow
*) 0 ;
19805 PyObject
* obj0
= 0 ;
19806 char *kwnames
[] = {
19807 (char *) "self", NULL
19810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
19811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19814 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
19816 wxPyEndAllowThreads(__tstate
);
19817 if (PyErr_Occurred()) SWIG_fail
;
19820 wxSize
* resultptr
;
19821 resultptr
= new wxSize((wxSize
&) result
);
19822 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19830 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19831 PyObject
*resultobj
;
19832 wxWindow
*arg1
= (wxWindow
*) 0 ;
19833 int arg2
= (int) wxBOTH
;
19834 PyObject
* obj0
= 0 ;
19835 char *kwnames
[] = {
19836 (char *) "self",(char *) "direction", NULL
19839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
19840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19843 (arg1
)->Center(arg2
);
19845 wxPyEndAllowThreads(__tstate
);
19846 if (PyErr_Occurred()) SWIG_fail
;
19848 Py_INCREF(Py_None
); resultobj
= Py_None
;
19855 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19856 PyObject
*resultobj
;
19857 wxWindow
*arg1
= (wxWindow
*) 0 ;
19858 int arg2
= (int) wxBOTH
;
19859 PyObject
* obj0
= 0 ;
19860 char *kwnames
[] = {
19861 (char *) "self",(char *) "dir", NULL
19864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
19865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19868 (arg1
)->CenterOnScreen(arg2
);
19870 wxPyEndAllowThreads(__tstate
);
19871 if (PyErr_Occurred()) SWIG_fail
;
19873 Py_INCREF(Py_None
); resultobj
= Py_None
;
19880 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19881 PyObject
*resultobj
;
19882 wxWindow
*arg1
= (wxWindow
*) 0 ;
19883 int arg2
= (int) wxBOTH
;
19884 PyObject
* obj0
= 0 ;
19885 char *kwnames
[] = {
19886 (char *) "self",(char *) "dir", NULL
19889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
19890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19893 (arg1
)->CenterOnParent(arg2
);
19895 wxPyEndAllowThreads(__tstate
);
19896 if (PyErr_Occurred()) SWIG_fail
;
19898 Py_INCREF(Py_None
); resultobj
= Py_None
;
19905 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19906 PyObject
*resultobj
;
19907 wxWindow
*arg1
= (wxWindow
*) 0 ;
19908 PyObject
* obj0
= 0 ;
19909 char *kwnames
[] = {
19910 (char *) "self", NULL
19913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
19914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19919 wxPyEndAllowThreads(__tstate
);
19920 if (PyErr_Occurred()) SWIG_fail
;
19922 Py_INCREF(Py_None
); resultobj
= Py_None
;
19929 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19930 PyObject
*resultobj
;
19931 wxWindow
*arg1
= (wxWindow
*) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self", NULL
19937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
19938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19941 (arg1
)->FitInside();
19943 wxPyEndAllowThreads(__tstate
);
19944 if (PyErr_Occurred()) SWIG_fail
;
19946 Py_INCREF(Py_None
); resultobj
= Py_None
;
19953 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19954 PyObject
*resultobj
;
19955 wxWindow
*arg1
= (wxWindow
*) 0 ;
19958 int arg4
= (int) -1 ;
19959 int arg5
= (int) -1 ;
19960 int arg6
= (int) -1 ;
19961 int arg7
= (int) -1 ;
19962 PyObject
* obj0
= 0 ;
19963 char *kwnames
[] = {
19964 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
19967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
19968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19971 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
19973 wxPyEndAllowThreads(__tstate
);
19974 if (PyErr_Occurred()) SWIG_fail
;
19976 Py_INCREF(Py_None
); resultobj
= Py_None
;
19983 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19984 PyObject
*resultobj
;
19985 wxWindow
*arg1
= (wxWindow
*) 0 ;
19988 int arg4
= (int) -1 ;
19989 int arg5
= (int) -1 ;
19990 PyObject
* obj0
= 0 ;
19991 char *kwnames
[] = {
19992 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
19995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
19996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19999 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 Py_INCREF(Py_None
); resultobj
= Py_None
;
20011 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
;
20013 wxWindow
*arg1
= (wxWindow
*) 0 ;
20015 PyObject
* obj0
= 0 ;
20016 char *kwnames
[] = {
20017 (char *) "self", NULL
20020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20024 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= PyInt_FromLong((long)result
);
20036 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20037 PyObject
*resultobj
;
20038 wxWindow
*arg1
= (wxWindow
*) 0 ;
20040 PyObject
* obj0
= 0 ;
20041 char *kwnames
[] = {
20042 (char *) "self", NULL
20045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20049 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20051 wxPyEndAllowThreads(__tstate
);
20052 if (PyErr_Occurred()) SWIG_fail
;
20054 resultobj
= PyInt_FromLong((long)result
);
20061 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20062 PyObject
*resultobj
;
20063 wxWindow
*arg1
= (wxWindow
*) 0 ;
20065 PyObject
* obj0
= 0 ;
20066 char *kwnames
[] = {
20067 (char *) "self", NULL
20070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20074 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= PyInt_FromLong((long)result
);
20086 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20087 PyObject
*resultobj
;
20088 wxWindow
*arg1
= (wxWindow
*) 0 ;
20090 PyObject
* obj0
= 0 ;
20091 char *kwnames
[] = {
20092 (char *) "self", NULL
20095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20099 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20101 wxPyEndAllowThreads(__tstate
);
20102 if (PyErr_Occurred()) SWIG_fail
;
20104 resultobj
= PyInt_FromLong((long)result
);
20111 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxWindow
*arg1
= (wxWindow
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20130 wxSize
* resultptr
;
20131 resultptr
= new wxSize((wxSize
&) result
);
20132 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20140 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxWindow
*arg1
= (wxWindow
*) 0 ;
20145 PyObject
* obj0
= 0 ;
20146 PyObject
* obj1
= 0 ;
20147 char *kwnames
[] = {
20148 (char *) "self",(char *) "size", NULL
20151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20155 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20159 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20161 wxPyEndAllowThreads(__tstate
);
20162 if (PyErr_Occurred()) SWIG_fail
;
20164 Py_INCREF(Py_None
); resultobj
= Py_None
;
20171 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20172 PyObject
*resultobj
;
20173 wxWindow
*arg1
= (wxWindow
*) 0 ;
20176 PyObject
* obj0
= 0 ;
20177 char *kwnames
[] = {
20178 (char *) "self",(char *) "w",(char *) "h", NULL
20181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20185 (arg1
)->SetVirtualSize(arg2
,arg3
);
20187 wxPyEndAllowThreads(__tstate
);
20188 if (PyErr_Occurred()) SWIG_fail
;
20190 Py_INCREF(Py_None
); resultobj
= Py_None
;
20197 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20198 PyObject
*resultobj
;
20199 wxWindow
*arg1
= (wxWindow
*) 0 ;
20201 PyObject
* obj0
= 0 ;
20202 char *kwnames
[] = {
20203 (char *) "self", NULL
20206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20210 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20212 wxPyEndAllowThreads(__tstate
);
20213 if (PyErr_Occurred()) SWIG_fail
;
20216 wxSize
* resultptr
;
20217 resultptr
= new wxSize((wxSize
&) result
);
20218 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20226 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20227 PyObject
*resultobj
;
20228 wxWindow
*arg1
= (wxWindow
*) 0 ;
20229 int *arg2
= (int *) 0 ;
20230 int *arg3
= (int *) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self", NULL
20240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20244 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20246 wxPyEndAllowThreads(__tstate
);
20247 if (PyErr_Occurred()) SWIG_fail
;
20249 Py_INCREF(Py_None
); resultobj
= Py_None
;
20251 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20252 resultobj
= t_output_helper(resultobj
,o
);
20255 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20256 resultobj
= t_output_helper(resultobj
,o
);
20264 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20265 PyObject
*resultobj
;
20266 wxWindow
*arg1
= (wxWindow
*) 0 ;
20268 PyObject
* obj0
= 0 ;
20269 char *kwnames
[] = {
20270 (char *) "self", NULL
20273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20277 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20279 wxPyEndAllowThreads(__tstate
);
20280 if (PyErr_Occurred()) SWIG_fail
;
20283 wxSize
* resultptr
;
20284 resultptr
= new wxSize((wxSize
&) result
);
20285 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20293 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxWindow
*arg1
= (wxWindow
*) 0 ;
20296 bool arg2
= (bool) True
;
20298 PyObject
* obj0
= 0 ;
20299 PyObject
* obj1
= 0 ;
20300 char *kwnames
[] = {
20301 (char *) "self",(char *) "show", NULL
20304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20307 arg2
= PyInt_AsLong(obj1
) ? true : false;
20308 if (PyErr_Occurred()) SWIG_fail
;
20311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20312 result
= (bool)(arg1
)->Show(arg2
);
20314 wxPyEndAllowThreads(__tstate
);
20315 if (PyErr_Occurred()) SWIG_fail
;
20317 resultobj
= PyInt_FromLong((long)result
);
20324 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20325 PyObject
*resultobj
;
20326 wxWindow
*arg1
= (wxWindow
*) 0 ;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 result
= (bool)(arg1
)->Hide();
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 resultobj
= PyInt_FromLong((long)result
);
20349 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxWindow
*arg1
= (wxWindow
*) 0 ;
20352 bool arg2
= (bool) True
;
20354 PyObject
* obj0
= 0 ;
20355 PyObject
* obj1
= 0 ;
20356 char *kwnames
[] = {
20357 (char *) "self",(char *) "enable", NULL
20360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20363 arg2
= PyInt_AsLong(obj1
) ? true : false;
20364 if (PyErr_Occurred()) SWIG_fail
;
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 result
= (bool)(arg1
)->Enable(arg2
);
20370 wxPyEndAllowThreads(__tstate
);
20371 if (PyErr_Occurred()) SWIG_fail
;
20373 resultobj
= PyInt_FromLong((long)result
);
20380 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20381 PyObject
*resultobj
;
20382 wxWindow
*arg1
= (wxWindow
*) 0 ;
20384 PyObject
* obj0
= 0 ;
20385 char *kwnames
[] = {
20386 (char *) "self", NULL
20389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20393 result
= (bool)(arg1
)->Disable();
20395 wxPyEndAllowThreads(__tstate
);
20396 if (PyErr_Occurred()) SWIG_fail
;
20398 resultobj
= PyInt_FromLong((long)result
);
20405 static PyObject
*_wrap_Window_IsShown(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_IsShown",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
= (bool)((wxWindow
const *)arg1
)->IsShown();
20420 wxPyEndAllowThreads(__tstate
);
20421 if (PyErr_Occurred()) SWIG_fail
;
20423 resultobj
= PyInt_FromLong((long)result
);
20430 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20431 PyObject
*resultobj
;
20432 wxWindow
*arg1
= (wxWindow
*) 0 ;
20434 PyObject
* obj0
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 resultobj
= PyInt_FromLong((long)result
);
20455 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxWindow
*arg1
= (wxWindow
*) 0 ;
20459 PyObject
* obj0
= 0 ;
20460 char *kwnames
[] = {
20461 (char *) "self",(char *) "style", NULL
20464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20468 (arg1
)->SetWindowStyleFlag(arg2
);
20470 wxPyEndAllowThreads(__tstate
);
20471 if (PyErr_Occurred()) SWIG_fail
;
20473 Py_INCREF(Py_None
); resultobj
= Py_None
;
20480 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20481 PyObject
*resultobj
;
20482 wxWindow
*arg1
= (wxWindow
*) 0 ;
20484 PyObject
* obj0
= 0 ;
20485 char *kwnames
[] = {
20486 (char *) "self", NULL
20489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20493 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20495 wxPyEndAllowThreads(__tstate
);
20496 if (PyErr_Occurred()) SWIG_fail
;
20498 resultobj
= PyInt_FromLong((long)result
);
20505 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20506 PyObject
*resultobj
;
20507 wxWindow
*arg1
= (wxWindow
*) 0 ;
20509 PyObject
* obj0
= 0 ;
20510 char *kwnames
[] = {
20511 (char *) "self",(char *) "style", NULL
20514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20518 (arg1
)->SetWindowStyle(arg2
);
20520 wxPyEndAllowThreads(__tstate
);
20521 if (PyErr_Occurred()) SWIG_fail
;
20523 Py_INCREF(Py_None
); resultobj
= Py_None
;
20530 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20531 PyObject
*resultobj
;
20532 wxWindow
*arg1
= (wxWindow
*) 0 ;
20534 PyObject
* obj0
= 0 ;
20535 char *kwnames
[] = {
20536 (char *) "self", NULL
20539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
20540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20543 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
20545 wxPyEndAllowThreads(__tstate
);
20546 if (PyErr_Occurred()) SWIG_fail
;
20548 resultobj
= PyInt_FromLong((long)result
);
20555 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20556 PyObject
*resultobj
;
20557 wxWindow
*arg1
= (wxWindow
*) 0 ;
20560 PyObject
* obj0
= 0 ;
20561 char *kwnames
[] = {
20562 (char *) "self",(char *) "flag", NULL
20565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20569 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
20571 wxPyEndAllowThreads(__tstate
);
20572 if (PyErr_Occurred()) SWIG_fail
;
20574 resultobj
= PyInt_FromLong((long)result
);
20581 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20582 PyObject
*resultobj
;
20583 wxWindow
*arg1
= (wxWindow
*) 0 ;
20585 PyObject
* obj0
= 0 ;
20586 char *kwnames
[] = {
20587 (char *) "self", NULL
20590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
20591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
20596 wxPyEndAllowThreads(__tstate
);
20597 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= PyInt_FromLong((long)result
);
20606 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20607 PyObject
*resultobj
;
20608 wxWindow
*arg1
= (wxWindow
*) 0 ;
20610 PyObject
* obj0
= 0 ;
20611 char *kwnames
[] = {
20612 (char *) "self",(char *) "exStyle", NULL
20615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20619 (arg1
)->SetExtraStyle(arg2
);
20621 wxPyEndAllowThreads(__tstate
);
20622 if (PyErr_Occurred()) SWIG_fail
;
20624 Py_INCREF(Py_None
); resultobj
= Py_None
;
20631 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20632 PyObject
*resultobj
;
20633 wxWindow
*arg1
= (wxWindow
*) 0 ;
20635 PyObject
* obj0
= 0 ;
20636 char *kwnames
[] = {
20637 (char *) "self", NULL
20640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
20641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20644 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
20646 wxPyEndAllowThreads(__tstate
);
20647 if (PyErr_Occurred()) SWIG_fail
;
20649 resultobj
= PyInt_FromLong((long)result
);
20656 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20657 PyObject
*resultobj
;
20658 wxWindow
*arg1
= (wxWindow
*) 0 ;
20659 bool arg2
= (bool) True
;
20660 PyObject
* obj0
= 0 ;
20661 PyObject
* obj1
= 0 ;
20662 char *kwnames
[] = {
20663 (char *) "self",(char *) "modal", NULL
20666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
20667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20669 arg2
= PyInt_AsLong(obj1
) ? true : false;
20670 if (PyErr_Occurred()) SWIG_fail
;
20673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20674 (arg1
)->MakeModal(arg2
);
20676 wxPyEndAllowThreads(__tstate
);
20677 if (PyErr_Occurred()) SWIG_fail
;
20679 Py_INCREF(Py_None
); resultobj
= Py_None
;
20686 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20687 PyObject
*resultobj
;
20688 wxWindow
*arg1
= (wxWindow
*) 0 ;
20690 PyObject
* obj0
= 0 ;
20691 PyObject
* obj1
= 0 ;
20692 char *kwnames
[] = {
20693 (char *) "self",(char *) "enableTheme", NULL
20696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20698 arg2
= PyInt_AsLong(obj1
) ? true : false;
20699 if (PyErr_Occurred()) SWIG_fail
;
20701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20702 (arg1
)->SetThemeEnabled(arg2
);
20704 wxPyEndAllowThreads(__tstate
);
20705 if (PyErr_Occurred()) SWIG_fail
;
20707 Py_INCREF(Py_None
); resultobj
= Py_None
;
20714 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20715 PyObject
*resultobj
;
20716 wxWindow
*arg1
= (wxWindow
*) 0 ;
20718 PyObject
* obj0
= 0 ;
20719 char *kwnames
[] = {
20720 (char *) "self", NULL
20723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
20724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20727 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
20729 wxPyEndAllowThreads(__tstate
);
20730 if (PyErr_Occurred()) SWIG_fail
;
20732 resultobj
= PyInt_FromLong((long)result
);
20739 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20740 PyObject
*resultobj
;
20741 wxWindow
*arg1
= (wxWindow
*) 0 ;
20743 PyObject
* obj0
= 0 ;
20744 char *kwnames
[] = {
20745 (char *) "self", NULL
20748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20752 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
20754 wxPyEndAllowThreads(__tstate
);
20755 if (PyErr_Occurred()) SWIG_fail
;
20757 resultobj
= PyInt_FromLong((long)result
);
20764 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20765 PyObject
*resultobj
;
20766 wxWindow
*arg1
= (wxWindow
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 (arg1
)->SetFocus();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 Py_INCREF(Py_None
); resultobj
= Py_None
;
20788 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxWindow
*arg1
= (wxWindow
*) 0 ;
20791 PyObject
* obj0
= 0 ;
20792 char *kwnames
[] = {
20793 (char *) "self", NULL
20796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
20797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20800 (arg1
)->SetFocusFromKbd();
20802 wxPyEndAllowThreads(__tstate
);
20803 if (PyErr_Occurred()) SWIG_fail
;
20805 Py_INCREF(Py_None
); resultobj
= Py_None
;
20812 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20813 PyObject
*resultobj
;
20815 char *kwnames
[] = {
20819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
20821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20822 result
= (wxWindow
*)wxWindow::FindFocus();
20824 wxPyEndAllowThreads(__tstate
);
20825 if (PyErr_Occurred()) SWIG_fail
;
20828 resultobj
= wxPyMake_wxObject(result
);
20836 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
;
20838 wxWindow
*arg1
= (wxWindow
*) 0 ;
20840 PyObject
* obj0
= 0 ;
20841 char *kwnames
[] = {
20842 (char *) "self", NULL
20845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20849 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
20851 wxPyEndAllowThreads(__tstate
);
20852 if (PyErr_Occurred()) SWIG_fail
;
20854 resultobj
= PyInt_FromLong((long)result
);
20861 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20862 PyObject
*resultobj
;
20863 wxWindow
*arg1
= (wxWindow
*) 0 ;
20865 PyObject
* obj0
= 0 ;
20866 char *kwnames
[] = {
20867 (char *) "self", NULL
20870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20874 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
20876 wxPyEndAllowThreads(__tstate
);
20877 if (PyErr_Occurred()) SWIG_fail
;
20879 resultobj
= PyInt_FromLong((long)result
);
20886 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20887 PyObject
*resultobj
;
20888 wxWindow
*arg1
= (wxWindow
*) 0 ;
20890 PyObject
* obj0
= 0 ;
20891 char *kwnames
[] = {
20892 (char *) "self", NULL
20895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
20896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20899 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
20901 wxPyEndAllowThreads(__tstate
);
20902 if (PyErr_Occurred()) SWIG_fail
;
20905 resultobj
= wxPyMake_wxObject(result
);
20913 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxWindow
*arg1
= (wxWindow
*) 0 ;
20916 wxWindow
*arg2
= (wxWindow
*) 0 ;
20918 PyObject
* obj0
= 0 ;
20919 PyObject
* obj1
= 0 ;
20920 char *kwnames
[] = {
20921 (char *) "self",(char *) "child", NULL
20924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20926 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20929 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
20931 wxPyEndAllowThreads(__tstate
);
20932 if (PyErr_Occurred()) SWIG_fail
;
20935 resultobj
= wxPyMake_wxObject(result
);
20943 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20944 PyObject
*resultobj
;
20945 wxWindow
*arg1
= (wxWindow
*) 0 ;
20946 wxWindow
*arg2
= (wxWindow
*) 0 ;
20947 PyObject
* obj0
= 0 ;
20948 PyObject
* obj1
= 0 ;
20949 char *kwnames
[] = {
20950 (char *) "self",(char *) "win", NULL
20953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 (arg1
)->SetTmpDefaultItem(arg2
);
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 Py_INCREF(Py_None
); resultobj
= Py_None
;
20970 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxWindow
*arg1
= (wxWindow
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
20980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 resultobj
= result
;
20995 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxWindow
*arg1
= (wxWindow
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 char *kwnames
[] = {
21001 (char *) "self", NULL
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21014 resultobj
= wxPyMake_wxObject(result
);
21022 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxWindow
*arg1
= (wxWindow
*) 0 ;
21026 PyObject
* obj0
= 0 ;
21027 char *kwnames
[] = {
21028 (char *) "self", NULL
21031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21035 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21037 wxPyEndAllowThreads(__tstate
);
21038 if (PyErr_Occurred()) SWIG_fail
;
21041 resultobj
= wxPyMake_wxObject(result
);
21049 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21050 PyObject
*resultobj
;
21051 wxWindow
*arg1
= (wxWindow
*) 0 ;
21053 PyObject
* obj0
= 0 ;
21054 char *kwnames
[] = {
21055 (char *) "self", NULL
21058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21062 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21064 wxPyEndAllowThreads(__tstate
);
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 resultobj
= PyInt_FromLong((long)result
);
21074 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21075 PyObject
*resultobj
;
21076 wxWindow
*arg1
= (wxWindow
*) 0 ;
21077 wxWindow
*arg2
= (wxWindow
*) 0 ;
21079 PyObject
* obj0
= 0 ;
21080 PyObject
* obj1
= 0 ;
21081 char *kwnames
[] = {
21082 (char *) "self",(char *) "newParent", NULL
21085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21090 result
= (bool)(arg1
)->Reparent(arg2
);
21092 wxPyEndAllowThreads(__tstate
);
21093 if (PyErr_Occurred()) SWIG_fail
;
21095 resultobj
= PyInt_FromLong((long)result
);
21102 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21103 PyObject
*resultobj
;
21104 wxWindow
*arg1
= (wxWindow
*) 0 ;
21105 wxWindow
*arg2
= (wxWindow
*) 0 ;
21106 PyObject
* obj0
= 0 ;
21107 PyObject
* obj1
= 0 ;
21108 char *kwnames
[] = {
21109 (char *) "self",(char *) "child", NULL
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21114 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21117 (arg1
)->AddChild(arg2
);
21119 wxPyEndAllowThreads(__tstate
);
21120 if (PyErr_Occurred()) SWIG_fail
;
21122 Py_INCREF(Py_None
); resultobj
= Py_None
;
21129 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21130 PyObject
*resultobj
;
21131 wxWindow
*arg1
= (wxWindow
*) 0 ;
21132 wxWindow
*arg2
= (wxWindow
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 PyObject
* obj1
= 0 ;
21135 char *kwnames
[] = {
21136 (char *) "self",(char *) "child", NULL
21139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21144 (arg1
)->RemoveChild(arg2
);
21146 wxPyEndAllowThreads(__tstate
);
21147 if (PyErr_Occurred()) SWIG_fail
;
21149 Py_INCREF(Py_None
); resultobj
= Py_None
;
21156 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21157 PyObject
*resultobj
;
21158 wxWindow
*arg1
= (wxWindow
*) 0 ;
21161 PyObject
* obj0
= 0 ;
21162 char *kwnames
[] = {
21163 (char *) "self",(char *) "winid", NULL
21166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21172 wxPyEndAllowThreads(__tstate
);
21173 if (PyErr_Occurred()) SWIG_fail
;
21176 resultobj
= wxPyMake_wxObject(result
);
21184 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21185 PyObject
*resultobj
;
21186 wxWindow
*arg1
= (wxWindow
*) 0 ;
21187 wxString
*arg2
= 0 ;
21189 bool temp2
= False
;
21190 PyObject
* obj0
= 0 ;
21191 PyObject
* obj1
= 0 ;
21192 char *kwnames
[] = {
21193 (char *) "self",(char *) "name", NULL
21196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21199 arg2
= wxString_in_helper(obj1
);
21200 if (arg2
== NULL
) SWIG_fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= wxPyMake_wxObject(result
);
21227 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxWindow
*arg1
= (wxWindow
*) 0 ;
21230 wxEvtHandler
*result
;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21246 resultobj
= wxPyMake_wxObject(result
);
21254 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21255 PyObject
*resultobj
;
21256 wxWindow
*arg1
= (wxWindow
*) 0 ;
21257 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21258 PyObject
* obj0
= 0 ;
21259 PyObject
* obj1
= 0 ;
21260 char *kwnames
[] = {
21261 (char *) "self",(char *) "handler", NULL
21264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21269 (arg1
)->SetEventHandler(arg2
);
21271 wxPyEndAllowThreads(__tstate
);
21272 if (PyErr_Occurred()) SWIG_fail
;
21274 Py_INCREF(Py_None
); resultobj
= Py_None
;
21281 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21282 PyObject
*resultobj
;
21283 wxWindow
*arg1
= (wxWindow
*) 0 ;
21284 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21285 PyObject
* obj0
= 0 ;
21286 PyObject
* obj1
= 0 ;
21287 char *kwnames
[] = {
21288 (char *) "self",(char *) "handler", NULL
21291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21293 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21296 (arg1
)->PushEventHandler(arg2
);
21298 wxPyEndAllowThreads(__tstate
);
21299 if (PyErr_Occurred()) SWIG_fail
;
21301 Py_INCREF(Py_None
); resultobj
= Py_None
;
21308 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21309 PyObject
*resultobj
;
21310 wxWindow
*arg1
= (wxWindow
*) 0 ;
21311 bool arg2
= (bool) False
;
21312 wxEvtHandler
*result
;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "deleteHandler", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21322 arg2
= PyInt_AsLong(obj1
) ? true : false;
21323 if (PyErr_Occurred()) SWIG_fail
;
21326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21327 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21329 wxPyEndAllowThreads(__tstate
);
21330 if (PyErr_Occurred()) SWIG_fail
;
21333 resultobj
= wxPyMake_wxObject(result
);
21341 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21342 PyObject
*resultobj
;
21343 wxWindow
*arg1
= (wxWindow
*) 0 ;
21344 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21346 PyObject
* obj0
= 0 ;
21347 PyObject
* obj1
= 0 ;
21348 char *kwnames
[] = {
21349 (char *) "self",(char *) "handler", NULL
21352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21354 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21357 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21359 wxPyEndAllowThreads(__tstate
);
21360 if (PyErr_Occurred()) SWIG_fail
;
21362 resultobj
= PyInt_FromLong((long)result
);
21369 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21370 PyObject
*resultobj
;
21371 wxWindow
*arg1
= (wxWindow
*) 0 ;
21372 wxValidator
*arg2
= 0 ;
21373 PyObject
* obj0
= 0 ;
21374 PyObject
* obj1
= 0 ;
21375 char *kwnames
[] = {
21376 (char *) "self",(char *) "validator", NULL
21379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21381 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21382 if (arg2
== NULL
) {
21383 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21387 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21389 wxPyEndAllowThreads(__tstate
);
21390 if (PyErr_Occurred()) SWIG_fail
;
21392 Py_INCREF(Py_None
); resultobj
= Py_None
;
21399 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21400 PyObject
*resultobj
;
21401 wxWindow
*arg1
= (wxWindow
*) 0 ;
21402 wxValidator
*result
;
21403 PyObject
* obj0
= 0 ;
21404 char *kwnames
[] = {
21405 (char *) "self", NULL
21408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21412 result
= (wxValidator
*)(arg1
)->GetValidator();
21414 wxPyEndAllowThreads(__tstate
);
21415 if (PyErr_Occurred()) SWIG_fail
;
21418 resultobj
= wxPyMake_wxObject(result
);
21426 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21427 PyObject
*resultobj
;
21428 wxWindow
*arg1
= (wxWindow
*) 0 ;
21429 wxAcceleratorTable
*arg2
= 0 ;
21430 PyObject
* obj0
= 0 ;
21431 PyObject
* obj1
= 0 ;
21432 char *kwnames
[] = {
21433 (char *) "self",(char *) "accel", NULL
21436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21438 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21439 if (arg2
== NULL
) {
21440 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21449 Py_INCREF(Py_None
); resultobj
= Py_None
;
21456 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21457 PyObject
*resultobj
;
21458 wxWindow
*arg1
= (wxWindow
*) 0 ;
21459 wxAcceleratorTable
*result
;
21460 PyObject
* obj0
= 0 ;
21461 char *kwnames
[] = {
21462 (char *) "self", NULL
21465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21469 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21471 wxPyEndAllowThreads(__tstate
);
21472 if (PyErr_Occurred()) SWIG_fail
;
21474 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21481 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21482 PyObject
*resultobj
;
21483 wxWindow
*arg1
= (wxWindow
*) 0 ;
21488 PyObject
* obj0
= 0 ;
21489 char *kwnames
[] = {
21490 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21497 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
21499 wxPyEndAllowThreads(__tstate
);
21500 if (PyErr_Occurred()) SWIG_fail
;
21502 resultobj
= PyInt_FromLong((long)result
);
21509 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21510 PyObject
*resultobj
;
21511 wxWindow
*arg1
= (wxWindow
*) 0 ;
21514 PyObject
* obj0
= 0 ;
21515 char *kwnames
[] = {
21516 (char *) "self",(char *) "hotkeyId", NULL
21519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
21520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21523 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
21525 wxPyEndAllowThreads(__tstate
);
21526 if (PyErr_Occurred()) SWIG_fail
;
21528 resultobj
= PyInt_FromLong((long)result
);
21535 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21536 PyObject
*resultobj
;
21537 wxWindow
*arg1
= (wxWindow
*) 0 ;
21538 wxPoint
*arg2
= 0 ;
21541 PyObject
* obj0
= 0 ;
21542 PyObject
* obj1
= 0 ;
21543 char *kwnames
[] = {
21544 (char *) "self",(char *) "pt", NULL
21547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21561 wxPoint
* resultptr
;
21562 resultptr
= new wxPoint((wxPoint
&) result
);
21563 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21571 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21572 PyObject
*resultobj
;
21573 wxWindow
*arg1
= (wxWindow
*) 0 ;
21577 PyObject
* obj0
= 0 ;
21578 PyObject
* obj1
= 0 ;
21579 char *kwnames
[] = {
21580 (char *) "self",(char *) "sz", NULL
21583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21591 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21593 wxPyEndAllowThreads(__tstate
);
21594 if (PyErr_Occurred()) SWIG_fail
;
21597 wxSize
* resultptr
;
21598 resultptr
= new wxSize((wxSize
&) result
);
21599 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21607 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21608 PyObject
*resultobj
;
21609 wxWindow
*arg1
= (wxWindow
*) 0 ;
21610 wxPoint
*arg2
= 0 ;
21613 PyObject
* obj0
= 0 ;
21614 PyObject
* obj1
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self",(char *) "pt", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21623 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21629 wxPyEndAllowThreads(__tstate
);
21630 if (PyErr_Occurred()) SWIG_fail
;
21633 wxPoint
* resultptr
;
21634 resultptr
= new wxPoint((wxPoint
&) result
);
21635 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21643 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21644 PyObject
*resultobj
;
21645 wxWindow
*arg1
= (wxWindow
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 PyObject
* obj1
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self",(char *) "sz", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21659 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21663 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21665 wxPyEndAllowThreads(__tstate
);
21666 if (PyErr_Occurred()) SWIG_fail
;
21669 wxSize
* resultptr
;
21670 resultptr
= new wxSize((wxSize
&) result
);
21671 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21679 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21680 PyObject
*resultobj
;
21681 wxWindow
*arg1
= (wxWindow
*) 0 ;
21682 wxPoint
*arg2
= 0 ;
21685 PyObject
* obj0
= 0 ;
21686 PyObject
* obj1
= 0 ;
21687 char *kwnames
[] = {
21688 (char *) "self",(char *) "pt", NULL
21691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21695 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21699 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
21701 wxPyEndAllowThreads(__tstate
);
21702 if (PyErr_Occurred()) SWIG_fail
;
21705 wxPoint
* resultptr
;
21706 resultptr
= new wxPoint((wxPoint
&) result
);
21707 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21715 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21716 PyObject
*resultobj
;
21717 wxWindow
*arg1
= (wxWindow
*) 0 ;
21721 PyObject
* obj0
= 0 ;
21722 PyObject
* obj1
= 0 ;
21723 char *kwnames
[] = {
21724 (char *) "self",(char *) "sz", NULL
21727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21731 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21735 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
21737 wxPyEndAllowThreads(__tstate
);
21738 if (PyErr_Occurred()) SWIG_fail
;
21741 wxSize
* resultptr
;
21742 resultptr
= new wxSize((wxSize
&) result
);
21743 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21751 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21752 PyObject
*resultobj
;
21753 wxWindow
*arg1
= (wxWindow
*) 0 ;
21756 PyObject
* obj0
= 0 ;
21757 char *kwnames
[] = {
21758 (char *) "self",(char *) "x",(char *) "y", NULL
21761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21765 (arg1
)->WarpPointer(arg2
,arg3
);
21767 wxPyEndAllowThreads(__tstate
);
21768 if (PyErr_Occurred()) SWIG_fail
;
21770 Py_INCREF(Py_None
); resultobj
= Py_None
;
21777 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21778 PyObject
*resultobj
;
21779 wxWindow
*arg1
= (wxWindow
*) 0 ;
21780 PyObject
* obj0
= 0 ;
21781 char *kwnames
[] = {
21782 (char *) "self", NULL
21785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
21786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21789 (arg1
)->CaptureMouse();
21791 wxPyEndAllowThreads(__tstate
);
21792 if (PyErr_Occurred()) SWIG_fail
;
21794 Py_INCREF(Py_None
); resultobj
= Py_None
;
21801 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21802 PyObject
*resultobj
;
21803 wxWindow
*arg1
= (wxWindow
*) 0 ;
21804 PyObject
* obj0
= 0 ;
21805 char *kwnames
[] = {
21806 (char *) "self", NULL
21809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
21810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21813 (arg1
)->ReleaseMouse();
21815 wxPyEndAllowThreads(__tstate
);
21816 if (PyErr_Occurred()) SWIG_fail
;
21818 Py_INCREF(Py_None
); resultobj
= Py_None
;
21825 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21826 PyObject
*resultobj
;
21828 char *kwnames
[] = {
21832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= (wxWindow
*)wxWindow::GetCapture();
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21841 resultobj
= wxPyMake_wxObject(result
);
21849 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21850 PyObject
*resultobj
;
21851 wxWindow
*arg1
= (wxWindow
*) 0 ;
21853 PyObject
* obj0
= 0 ;
21854 char *kwnames
[] = {
21855 (char *) "self", NULL
21858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
21859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21862 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
21864 wxPyEndAllowThreads(__tstate
);
21865 if (PyErr_Occurred()) SWIG_fail
;
21867 resultobj
= PyInt_FromLong((long)result
);
21874 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21875 PyObject
*resultobj
;
21876 wxWindow
*arg1
= (wxWindow
*) 0 ;
21877 bool arg2
= (bool) True
;
21878 wxRect
*arg3
= (wxRect
*) NULL
;
21879 PyObject
* obj0
= 0 ;
21880 PyObject
* obj1
= 0 ;
21881 PyObject
* obj2
= 0 ;
21882 char *kwnames
[] = {
21883 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
21886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21889 arg2
= PyInt_AsLong(obj1
) ? true : false;
21890 if (PyErr_Occurred()) SWIG_fail
;
21893 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21897 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
21899 wxPyEndAllowThreads(__tstate
);
21900 if (PyErr_Occurred()) SWIG_fail
;
21902 Py_INCREF(Py_None
); resultobj
= Py_None
;
21909 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21910 PyObject
*resultobj
;
21911 wxWindow
*arg1
= (wxWindow
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 char *kwnames
[] = {
21917 (char *) "self",(char *) "rect", NULL
21920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21924 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21928 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
21930 wxPyEndAllowThreads(__tstate
);
21931 if (PyErr_Occurred()) SWIG_fail
;
21933 Py_INCREF(Py_None
); resultobj
= Py_None
;
21940 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21941 PyObject
*resultobj
;
21942 wxWindow
*arg1
= (wxWindow
*) 0 ;
21943 PyObject
* obj0
= 0 ;
21944 char *kwnames
[] = {
21945 (char *) "self", NULL
21948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
21949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21954 wxPyEndAllowThreads(__tstate
);
21955 if (PyErr_Occurred()) SWIG_fail
;
21957 Py_INCREF(Py_None
); resultobj
= Py_None
;
21964 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21965 PyObject
*resultobj
;
21966 wxWindow
*arg1
= (wxWindow
*) 0 ;
21967 PyObject
* obj0
= 0 ;
21968 char *kwnames
[] = {
21969 (char *) "self", NULL
21972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
21973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21976 (arg1
)->ClearBackground();
21978 wxPyEndAllowThreads(__tstate
);
21979 if (PyErr_Occurred()) SWIG_fail
;
21981 Py_INCREF(Py_None
); resultobj
= Py_None
;
21988 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21989 PyObject
*resultobj
;
21990 wxWindow
*arg1
= (wxWindow
*) 0 ;
21991 PyObject
* obj0
= 0 ;
21992 char *kwnames
[] = {
21993 (char *) "self", NULL
21996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
21997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22002 wxPyEndAllowThreads(__tstate
);
22003 if (PyErr_Occurred()) SWIG_fail
;
22005 Py_INCREF(Py_None
); resultobj
= Py_None
;
22012 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22013 PyObject
*resultobj
;
22014 wxWindow
*arg1
= (wxWindow
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 char *kwnames
[] = {
22017 (char *) "self", NULL
22020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22026 wxPyEndAllowThreads(__tstate
);
22027 if (PyErr_Occurred()) SWIG_fail
;
22029 Py_INCREF(Py_None
); resultobj
= Py_None
;
22036 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22037 PyObject
*resultobj
;
22038 wxWindow
*arg1
= (wxWindow
*) 0 ;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 char *kwnames
[] = {
22043 (char *) "self",(char *) "dc", NULL
22046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22048 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22049 if (arg2
== NULL
) {
22050 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22054 (arg1
)->PrepareDC(*arg2
);
22056 wxPyEndAllowThreads(__tstate
);
22057 if (PyErr_Occurred()) SWIG_fail
;
22059 Py_INCREF(Py_None
); resultobj
= Py_None
;
22066 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22067 PyObject
*resultobj
;
22068 wxWindow
*arg1
= (wxWindow
*) 0 ;
22070 PyObject
* obj0
= 0 ;
22071 char *kwnames
[] = {
22072 (char *) "self", NULL
22075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22076 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22080 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22081 result
= (wxRegion
*) &_result_ref
;
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22087 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22094 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22095 PyObject
*resultobj
;
22096 wxWindow
*arg1
= (wxWindow
*) 0 ;
22098 PyObject
* obj0
= 0 ;
22099 char *kwnames
[] = {
22100 (char *) "self", NULL
22103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22107 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22109 wxPyEndAllowThreads(__tstate
);
22110 if (PyErr_Occurred()) SWIG_fail
;
22113 wxRect
* resultptr
;
22114 resultptr
= new wxRect((wxRect
&) result
);
22115 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22123 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22124 PyObject
*resultobj
;
22125 wxWindow
*arg1
= (wxWindow
*) 0 ;
22128 int arg4
= (int) 1 ;
22129 int arg5
= (int) 1 ;
22131 PyObject
* obj0
= 0 ;
22132 char *kwnames
[] = {
22133 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22140 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22142 wxPyEndAllowThreads(__tstate
);
22143 if (PyErr_Occurred()) SWIG_fail
;
22145 resultobj
= PyInt_FromLong((long)result
);
22152 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22153 PyObject
*resultobj
;
22154 wxWindow
*arg1
= (wxWindow
*) 0 ;
22155 wxPoint
*arg2
= 0 ;
22158 PyObject
* obj0
= 0 ;
22159 PyObject
* obj1
= 0 ;
22160 char *kwnames
[] = {
22161 (char *) "self",(char *) "pt", NULL
22164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22168 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= PyInt_FromLong((long)result
);
22184 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxWindow
*arg1
= (wxWindow
*) 0 ;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self",(char *) "rect", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22200 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= PyInt_FromLong((long)result
);
22216 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxWindow
*arg1
= (wxWindow
*) 0 ;
22219 wxColour
*arg2
= 0 ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "colour", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22232 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= PyInt_FromLong((long)result
);
22248 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22249 PyObject
*resultobj
;
22250 wxWindow
*arg1
= (wxWindow
*) 0 ;
22251 wxColour
*arg2
= 0 ;
22254 PyObject
* obj0
= 0 ;
22255 PyObject
* obj1
= 0 ;
22256 char *kwnames
[] = {
22257 (char *) "self",(char *) "colour", NULL
22260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22264 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22268 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= PyInt_FromLong((long)result
);
22280 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxWindow
*arg1
= (wxWindow
*) 0 ;
22284 PyObject
* obj0
= 0 ;
22285 char *kwnames
[] = {
22286 (char *) "self", NULL
22289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22293 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22295 wxPyEndAllowThreads(__tstate
);
22296 if (PyErr_Occurred()) SWIG_fail
;
22299 wxColour
* resultptr
;
22300 resultptr
= new wxColour((wxColour
&) result
);
22301 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22309 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22310 PyObject
*resultobj
;
22311 wxWindow
*arg1
= (wxWindow
*) 0 ;
22313 PyObject
* obj0
= 0 ;
22314 char *kwnames
[] = {
22315 (char *) "self", NULL
22318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
22319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22322 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22324 wxPyEndAllowThreads(__tstate
);
22325 if (PyErr_Occurred()) SWIG_fail
;
22328 wxColour
* resultptr
;
22329 resultptr
= new wxColour((wxColour
&) result
);
22330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22338 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22339 PyObject
*resultobj
;
22340 wxWindow
*arg1
= (wxWindow
*) 0 ;
22341 wxCursor
*arg2
= 0 ;
22343 PyObject
* obj0
= 0 ;
22344 PyObject
* obj1
= 0 ;
22345 char *kwnames
[] = {
22346 (char *) "self",(char *) "cursor", NULL
22349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22352 if (arg2
== NULL
) {
22353 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22357 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22359 wxPyEndAllowThreads(__tstate
);
22360 if (PyErr_Occurred()) SWIG_fail
;
22362 resultobj
= PyInt_FromLong((long)result
);
22369 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22370 PyObject
*resultobj
;
22371 wxWindow
*arg1
= (wxWindow
*) 0 ;
22373 PyObject
* obj0
= 0 ;
22374 char *kwnames
[] = {
22375 (char *) "self", NULL
22378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22383 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22384 result
= (wxCursor
*) &_result_ref
;
22387 wxPyEndAllowThreads(__tstate
);
22388 if (PyErr_Occurred()) SWIG_fail
;
22390 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22397 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22398 PyObject
*resultobj
;
22399 wxWindow
*arg1
= (wxWindow
*) 0 ;
22402 PyObject
* obj0
= 0 ;
22403 PyObject
* obj1
= 0 ;
22404 char *kwnames
[] = {
22405 (char *) "self",(char *) "font", NULL
22408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22410 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22411 if (arg2
== NULL
) {
22412 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22416 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22418 wxPyEndAllowThreads(__tstate
);
22419 if (PyErr_Occurred()) SWIG_fail
;
22421 resultobj
= PyInt_FromLong((long)result
);
22428 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22429 PyObject
*resultobj
;
22430 wxWindow
*arg1
= (wxWindow
*) 0 ;
22432 PyObject
* obj0
= 0 ;
22433 char *kwnames
[] = {
22434 (char *) "self", NULL
22437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22442 wxFont
&_result_ref
= (arg1
)->GetFont();
22443 result
= (wxFont
*) &_result_ref
;
22446 wxPyEndAllowThreads(__tstate
);
22447 if (PyErr_Occurred()) SWIG_fail
;
22449 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22456 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22457 PyObject
*resultobj
;
22458 wxWindow
*arg1
= (wxWindow
*) 0 ;
22459 wxCaret
*arg2
= (wxCaret
*) 0 ;
22460 PyObject
* obj0
= 0 ;
22461 PyObject
* obj1
= 0 ;
22462 char *kwnames
[] = {
22463 (char *) "self",(char *) "caret", NULL
22466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22468 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 (arg1
)->SetCaret(arg2
);
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22476 Py_INCREF(Py_None
); resultobj
= Py_None
;
22483 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22484 PyObject
*resultobj
;
22485 wxWindow
*arg1
= (wxWindow
*) 0 ;
22487 PyObject
* obj0
= 0 ;
22488 char *kwnames
[] = {
22489 (char *) "self", NULL
22492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22496 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
22498 wxPyEndAllowThreads(__tstate
);
22499 if (PyErr_Occurred()) SWIG_fail
;
22501 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
22508 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22509 PyObject
*resultobj
;
22510 wxWindow
*arg1
= (wxWindow
*) 0 ;
22512 PyObject
* obj0
= 0 ;
22513 char *kwnames
[] = {
22514 (char *) "self", NULL
22517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
22518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22521 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
22523 wxPyEndAllowThreads(__tstate
);
22524 if (PyErr_Occurred()) SWIG_fail
;
22526 resultobj
= PyInt_FromLong((long)result
);
22533 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22534 PyObject
*resultobj
;
22535 wxWindow
*arg1
= (wxWindow
*) 0 ;
22537 PyObject
* obj0
= 0 ;
22538 char *kwnames
[] = {
22539 (char *) "self", NULL
22542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
22543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22546 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
22548 wxPyEndAllowThreads(__tstate
);
22549 if (PyErr_Occurred()) SWIG_fail
;
22551 resultobj
= PyInt_FromLong((long)result
);
22558 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22559 PyObject
*resultobj
;
22560 wxWindow
*arg1
= (wxWindow
*) 0 ;
22561 wxString
*arg2
= 0 ;
22562 int *arg3
= (int *) 0 ;
22563 int *arg4
= (int *) 0 ;
22564 bool temp2
= False
;
22567 PyObject
* obj0
= 0 ;
22568 PyObject
* obj1
= 0 ;
22569 char *kwnames
[] = {
22570 (char *) "self",(char *) "string", NULL
22575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
22576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22578 arg2
= wxString_in_helper(obj1
);
22579 if (arg2
== NULL
) SWIG_fail
;
22583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22584 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 Py_INCREF(Py_None
); resultobj
= Py_None
;
22591 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22592 resultobj
= t_output_helper(resultobj
,o
);
22595 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22596 resultobj
= t_output_helper(resultobj
,o
);
22612 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxWindow
*arg1
= (wxWindow
*) 0 ;
22615 wxString
*arg2
= 0 ;
22616 int *arg3
= (int *) 0 ;
22617 int *arg4
= (int *) 0 ;
22618 int *arg5
= (int *) 0 ;
22619 int *arg6
= (int *) 0 ;
22620 wxFont
*arg7
= (wxFont
*) NULL
;
22621 bool temp2
= False
;
22626 PyObject
* obj0
= 0 ;
22627 PyObject
* obj1
= 0 ;
22628 PyObject
* obj2
= 0 ;
22629 char *kwnames
[] = {
22630 (char *) "self",(char *) "string",(char *) "font", NULL
22637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22640 arg2
= wxString_in_helper(obj1
);
22641 if (arg2
== NULL
) SWIG_fail
;
22645 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22649 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
22651 wxPyEndAllowThreads(__tstate
);
22652 if (PyErr_Occurred()) SWIG_fail
;
22654 Py_INCREF(Py_None
); resultobj
= Py_None
;
22656 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22657 resultobj
= t_output_helper(resultobj
,o
);
22660 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22661 resultobj
= t_output_helper(resultobj
,o
);
22664 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22665 resultobj
= t_output_helper(resultobj
,o
);
22668 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
22669 resultobj
= t_output_helper(resultobj
,o
);
22685 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22686 PyObject
*resultobj
;
22687 wxWindow
*arg1
= (wxWindow
*) 0 ;
22688 int *arg2
= (int *) 0 ;
22689 int *arg3
= (int *) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 PyObject
* obj2
= 0 ;
22695 char *kwnames
[] = {
22696 (char *) "self",(char *) "x",(char *) "y", NULL
22699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22702 temp2
= PyInt_AsLong(obj1
);
22703 if (PyErr_Occurred()) SWIG_fail
;
22707 temp3
= PyInt_AsLong(obj2
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22713 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
22715 wxPyEndAllowThreads(__tstate
);
22716 if (PyErr_Occurred()) SWIG_fail
;
22718 Py_INCREF(Py_None
); resultobj
= Py_None
;
22720 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22721 resultobj
= t_output_helper(resultobj
,o
);
22724 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22725 resultobj
= t_output_helper(resultobj
,o
);
22733 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxWindow
*arg1
= (wxWindow
*) 0 ;
22736 int *arg2
= (int *) 0 ;
22737 int *arg3
= (int *) 0 ;
22740 PyObject
* obj0
= 0 ;
22741 PyObject
* obj1
= 0 ;
22742 PyObject
* obj2
= 0 ;
22743 char *kwnames
[] = {
22744 (char *) "self",(char *) "x",(char *) "y", NULL
22747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22750 temp2
= PyInt_AsLong(obj1
);
22751 if (PyErr_Occurred()) SWIG_fail
;
22755 temp3
= PyInt_AsLong(obj2
);
22756 if (PyErr_Occurred()) SWIG_fail
;
22760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22761 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
22763 wxPyEndAllowThreads(__tstate
);
22764 if (PyErr_Occurred()) SWIG_fail
;
22766 Py_INCREF(Py_None
); resultobj
= Py_None
;
22768 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22769 resultobj
= t_output_helper(resultobj
,o
);
22772 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22773 resultobj
= t_output_helper(resultobj
,o
);
22781 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22782 PyObject
*resultobj
;
22783 wxWindow
*arg1
= (wxWindow
*) 0 ;
22784 wxPoint
*arg2
= 0 ;
22787 PyObject
* obj0
= 0 ;
22788 PyObject
* obj1
= 0 ;
22789 char *kwnames
[] = {
22790 (char *) "self",(char *) "pt", NULL
22793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22797 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22801 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22807 wxPoint
* resultptr
;
22808 resultptr
= new wxPoint((wxPoint
&) result
);
22809 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22817 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
;
22819 wxWindow
*arg1
= (wxWindow
*) 0 ;
22820 wxPoint
*arg2
= 0 ;
22823 PyObject
* obj0
= 0 ;
22824 PyObject
* obj1
= 0 ;
22825 char *kwnames
[] = {
22826 (char *) "self",(char *) "pt", NULL
22829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
22830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22833 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22843 wxPoint
* resultptr
;
22844 resultptr
= new wxPoint((wxPoint
&) result
);
22845 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22853 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22854 PyObject
*resultobj
;
22855 wxWindow
*arg1
= (wxWindow
*) 0 ;
22859 PyObject
* obj0
= 0 ;
22860 char *kwnames
[] = {
22861 (char *) "self",(char *) "x",(char *) "y", NULL
22864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
22870 wxPyEndAllowThreads(__tstate
);
22871 if (PyErr_Occurred()) SWIG_fail
;
22873 resultobj
= PyInt_FromLong((long)result
);
22880 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22881 PyObject
*resultobj
;
22882 wxWindow
*arg1
= (wxWindow
*) 0 ;
22883 wxPoint
*arg2
= 0 ;
22886 PyObject
* obj0
= 0 ;
22887 PyObject
* obj1
= 0 ;
22888 char *kwnames
[] = {
22889 (char *) "self",(char *) "pt", NULL
22892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22896 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= PyInt_FromLong((long)result
);
22912 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxWindow
*arg1
= (wxWindow
*) 0 ;
22917 PyObject
* obj0
= 0 ;
22918 char *kwnames
[] = {
22919 (char *) "self",(char *) "flags", NULL
22922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
22923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22926 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
22928 wxPyEndAllowThreads(__tstate
);
22929 if (PyErr_Occurred()) SWIG_fail
;
22931 resultobj
= PyInt_FromLong((long)result
);
22938 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
;
22940 wxWindow
*arg1
= (wxWindow
*) 0 ;
22942 PyObject
* obj0
= 0 ;
22943 char *kwnames
[] = {
22944 (char *) "self", NULL
22947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
22948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22951 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
22953 wxPyEndAllowThreads(__tstate
);
22954 if (PyErr_Occurred()) SWIG_fail
;
22956 resultobj
= PyInt_FromLong((long)result
);
22963 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22964 PyObject
*resultobj
;
22965 wxWindow
*arg1
= (wxWindow
*) 0 ;
22966 long arg2
= (long) wxUPDATE_UI_NONE
;
22967 PyObject
* obj0
= 0 ;
22968 char *kwnames
[] = {
22969 (char *) "self",(char *) "flags", NULL
22972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
22973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22976 (arg1
)->UpdateWindowUI(arg2
);
22978 wxPyEndAllowThreads(__tstate
);
22979 if (PyErr_Occurred()) SWIG_fail
;
22981 Py_INCREF(Py_None
); resultobj
= Py_None
;
22988 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22989 PyObject
*resultobj
;
22990 wxWindow
*arg1
= (wxWindow
*) 0 ;
22991 wxMenu
*arg2
= (wxMenu
*) 0 ;
22995 PyObject
* obj0
= 0 ;
22996 PyObject
* obj1
= 0 ;
22997 char *kwnames
[] = {
22998 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23003 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23006 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23008 wxPyEndAllowThreads(__tstate
);
23009 if (PyErr_Occurred()) SWIG_fail
;
23011 resultobj
= PyInt_FromLong((long)result
);
23018 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23019 PyObject
*resultobj
;
23020 wxWindow
*arg1
= (wxWindow
*) 0 ;
23021 wxMenu
*arg2
= (wxMenu
*) 0 ;
23022 wxPoint
*arg3
= 0 ;
23025 PyObject
* obj0
= 0 ;
23026 PyObject
* obj1
= 0 ;
23027 PyObject
* obj2
= 0 ;
23028 char *kwnames
[] = {
23029 (char *) "self",(char *) "menu",(char *) "pos", NULL
23032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23034 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23037 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23041 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23043 wxPyEndAllowThreads(__tstate
);
23044 if (PyErr_Occurred()) SWIG_fail
;
23046 resultobj
= PyInt_FromLong((long)result
);
23053 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23054 PyObject
*resultobj
;
23055 wxWindow
*arg1
= (wxWindow
*) 0 ;
23057 PyObject
* obj0
= 0 ;
23058 char *kwnames
[] = {
23059 (char *) "self", NULL
23062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23066 result
= (long)wxWindow_GetHandle(arg1
);
23068 wxPyEndAllowThreads(__tstate
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23071 resultobj
= PyInt_FromLong((long)result
);
23078 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23079 PyObject
*resultobj
;
23080 wxWindow
*arg1
= (wxWindow
*) 0 ;
23083 PyObject
* obj0
= 0 ;
23084 char *kwnames
[] = {
23085 (char *) "self",(char *) "orient", NULL
23088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) 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
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23094 wxPyEndAllowThreads(__tstate
);
23095 if (PyErr_Occurred()) SWIG_fail
;
23097 resultobj
= PyInt_FromLong((long)result
);
23104 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23105 PyObject
*resultobj
;
23106 wxWindow
*arg1
= (wxWindow
*) 0 ;
23111 bool arg6
= (bool) True
;
23112 PyObject
* obj0
= 0 ;
23113 PyObject
* obj5
= 0 ;
23114 char *kwnames
[] = {
23115 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23121 arg6
= PyInt_AsLong(obj5
) ? true : false;
23122 if (PyErr_Occurred()) SWIG_fail
;
23125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23126 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23128 wxPyEndAllowThreads(__tstate
);
23129 if (PyErr_Occurred()) SWIG_fail
;
23131 Py_INCREF(Py_None
); resultobj
= Py_None
;
23138 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23139 PyObject
*resultobj
;
23140 wxWindow
*arg1
= (wxWindow
*) 0 ;
23143 bool arg4
= (bool) True
;
23144 PyObject
* obj0
= 0 ;
23145 PyObject
* obj3
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23153 arg4
= PyInt_AsLong(obj3
) ? true : false;
23154 if (PyErr_Occurred()) SWIG_fail
;
23157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23158 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23160 wxPyEndAllowThreads(__tstate
);
23161 if (PyErr_Occurred()) SWIG_fail
;
23163 Py_INCREF(Py_None
); resultobj
= Py_None
;
23170 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23171 PyObject
*resultobj
;
23172 wxWindow
*arg1
= (wxWindow
*) 0 ;
23175 PyObject
* obj0
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self",(char *) "orient", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23189 resultobj
= PyInt_FromLong((long)result
);
23196 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23197 PyObject
*resultobj
;
23198 wxWindow
*arg1
= (wxWindow
*) 0 ;
23201 PyObject
* obj0
= 0 ;
23202 char *kwnames
[] = {
23203 (char *) "self",(char *) "orient", NULL
23206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23210 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23212 wxPyEndAllowThreads(__tstate
);
23213 if (PyErr_Occurred()) SWIG_fail
;
23215 resultobj
= PyInt_FromLong((long)result
);
23222 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23223 PyObject
*resultobj
;
23224 wxWindow
*arg1
= (wxWindow
*) 0 ;
23227 PyObject
* obj0
= 0 ;
23228 char *kwnames
[] = {
23229 (char *) "self",(char *) "orient", NULL
23232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23236 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23238 wxPyEndAllowThreads(__tstate
);
23239 if (PyErr_Occurred()) SWIG_fail
;
23241 resultobj
= PyInt_FromLong((long)result
);
23248 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23249 PyObject
*resultobj
;
23250 wxWindow
*arg1
= (wxWindow
*) 0 ;
23253 wxRect
*arg4
= (wxRect
*) NULL
;
23254 PyObject
* obj0
= 0 ;
23255 PyObject
* obj3
= 0 ;
23256 char *kwnames
[] = {
23257 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23263 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23267 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23269 wxPyEndAllowThreads(__tstate
);
23270 if (PyErr_Occurred()) SWIG_fail
;
23272 Py_INCREF(Py_None
); resultobj
= Py_None
;
23279 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23280 PyObject
*resultobj
;
23281 wxWindow
*arg1
= (wxWindow
*) 0 ;
23284 PyObject
* obj0
= 0 ;
23285 char *kwnames
[] = {
23286 (char *) "self",(char *) "lines", NULL
23289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23293 result
= (bool)(arg1
)->ScrollLines(arg2
);
23295 wxPyEndAllowThreads(__tstate
);
23296 if (PyErr_Occurred()) SWIG_fail
;
23298 resultobj
= PyInt_FromLong((long)result
);
23305 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23306 PyObject
*resultobj
;
23307 wxWindow
*arg1
= (wxWindow
*) 0 ;
23310 PyObject
* obj0
= 0 ;
23311 char *kwnames
[] = {
23312 (char *) "self",(char *) "pages", NULL
23315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23319 result
= (bool)(arg1
)->ScrollPages(arg2
);
23321 wxPyEndAllowThreads(__tstate
);
23322 if (PyErr_Occurred()) SWIG_fail
;
23324 resultobj
= PyInt_FromLong((long)result
);
23331 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23332 PyObject
*resultobj
;
23333 wxWindow
*arg1
= (wxWindow
*) 0 ;
23335 PyObject
* obj0
= 0 ;
23336 char *kwnames
[] = {
23337 (char *) "self", NULL
23340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
23341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23344 result
= (bool)(arg1
)->LineUp();
23346 wxPyEndAllowThreads(__tstate
);
23347 if (PyErr_Occurred()) SWIG_fail
;
23349 resultobj
= PyInt_FromLong((long)result
);
23356 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23357 PyObject
*resultobj
;
23358 wxWindow
*arg1
= (wxWindow
*) 0 ;
23360 PyObject
* obj0
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23369 result
= (bool)(arg1
)->LineDown();
23371 wxPyEndAllowThreads(__tstate
);
23372 if (PyErr_Occurred()) SWIG_fail
;
23374 resultobj
= PyInt_FromLong((long)result
);
23381 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23382 PyObject
*resultobj
;
23383 wxWindow
*arg1
= (wxWindow
*) 0 ;
23385 PyObject
* obj0
= 0 ;
23386 char *kwnames
[] = {
23387 (char *) "self", NULL
23390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23394 result
= (bool)(arg1
)->PageUp();
23396 wxPyEndAllowThreads(__tstate
);
23397 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= PyInt_FromLong((long)result
);
23406 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23407 PyObject
*resultobj
;
23408 wxWindow
*arg1
= (wxWindow
*) 0 ;
23410 PyObject
* obj0
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23419 result
= (bool)(arg1
)->PageDown();
23421 wxPyEndAllowThreads(__tstate
);
23422 if (PyErr_Occurred()) SWIG_fail
;
23424 resultobj
= PyInt_FromLong((long)result
);
23431 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23432 PyObject
*resultobj
;
23433 wxWindow
*arg1
= (wxWindow
*) 0 ;
23434 wxString
*arg2
= 0 ;
23435 bool temp2
= False
;
23436 PyObject
* obj0
= 0 ;
23437 PyObject
* obj1
= 0 ;
23438 char *kwnames
[] = {
23439 (char *) "self",(char *) "text", NULL
23442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23445 arg2
= wxString_in_helper(obj1
);
23446 if (arg2
== NULL
) SWIG_fail
;
23450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23451 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23453 wxPyEndAllowThreads(__tstate
);
23454 if (PyErr_Occurred()) SWIG_fail
;
23456 Py_INCREF(Py_None
); resultobj
= Py_None
;
23471 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23472 PyObject
*resultobj
;
23473 wxWindow
*arg1
= (wxWindow
*) 0 ;
23474 wxString
*arg2
= 0 ;
23475 bool temp2
= False
;
23476 PyObject
* obj0
= 0 ;
23477 PyObject
* obj1
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "text", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
23483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23485 arg2
= wxString_in_helper(obj1
);
23486 if (arg2
== NULL
) SWIG_fail
;
23490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23491 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
23493 wxPyEndAllowThreads(__tstate
);
23494 if (PyErr_Occurred()) SWIG_fail
;
23496 Py_INCREF(Py_None
); resultobj
= Py_None
;
23511 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23512 PyObject
*resultobj
;
23513 wxWindow
*arg1
= (wxWindow
*) 0 ;
23515 PyObject
* obj0
= 0 ;
23516 char *kwnames
[] = {
23517 (char *) "self", NULL
23520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
23521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 result
= ((wxWindow
const *)arg1
)->GetHelpText();
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23531 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23533 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23542 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23543 PyObject
*resultobj
;
23544 wxWindow
*arg1
= (wxWindow
*) 0 ;
23545 wxString
*arg2
= 0 ;
23546 bool temp2
= False
;
23547 PyObject
* obj0
= 0 ;
23548 PyObject
* obj1
= 0 ;
23549 char *kwnames
[] = {
23550 (char *) "self",(char *) "tip", NULL
23553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
23554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23556 arg2
= wxString_in_helper(obj1
);
23557 if (arg2
== NULL
) SWIG_fail
;
23561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23562 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23564 wxPyEndAllowThreads(__tstate
);
23565 if (PyErr_Occurred()) SWIG_fail
;
23567 Py_INCREF(Py_None
); resultobj
= Py_None
;
23582 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23583 PyObject
*resultobj
;
23584 wxWindow
*arg1
= (wxWindow
*) 0 ;
23585 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
23586 PyObject
* obj0
= 0 ;
23587 PyObject
* obj1
= 0 ;
23588 char *kwnames
[] = {
23589 (char *) "self",(char *) "tip", NULL
23592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23594 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23597 (arg1
)->SetToolTip(arg2
);
23599 wxPyEndAllowThreads(__tstate
);
23600 if (PyErr_Occurred()) SWIG_fail
;
23602 Py_INCREF(Py_None
); resultobj
= Py_None
;
23609 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23610 PyObject
*resultobj
;
23611 wxWindow
*arg1
= (wxWindow
*) 0 ;
23613 PyObject
* obj0
= 0 ;
23614 char *kwnames
[] = {
23615 (char *) "self", NULL
23618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
23619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23622 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23628 resultobj
= wxPyMake_wxObject(result
);
23636 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23638 wxWindow
*arg1
= (wxWindow
*) 0 ;
23639 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
23640 PyObject
* obj0
= 0 ;
23641 PyObject
* obj1
= 0 ;
23642 char *kwnames
[] = {
23643 (char *) "self",(char *) "dropTarget", NULL
23646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
23647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23648 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 (arg1
)->SetDropTarget(arg2
);
23653 wxPyEndAllowThreads(__tstate
);
23654 if (PyErr_Occurred()) SWIG_fail
;
23656 Py_INCREF(Py_None
); resultobj
= Py_None
;
23663 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23664 PyObject
*resultobj
;
23665 wxWindow
*arg1
= (wxWindow
*) 0 ;
23666 wxPyDropTarget
*result
;
23667 PyObject
* obj0
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
23673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
23688 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxWindow
*arg1
= (wxWindow
*) 0 ;
23691 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
23692 PyObject
* obj0
= 0 ;
23693 PyObject
* obj1
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "constraints", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23700 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23703 (arg1
)->SetConstraints(arg2
);
23705 wxPyEndAllowThreads(__tstate
);
23706 if (PyErr_Occurred()) SWIG_fail
;
23708 Py_INCREF(Py_None
); resultobj
= Py_None
;
23715 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23716 PyObject
*resultobj
;
23717 wxWindow
*arg1
= (wxWindow
*) 0 ;
23718 wxLayoutConstraints
*result
;
23719 PyObject
* obj0
= 0 ;
23720 char *kwnames
[] = {
23721 (char *) "self", NULL
23724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
23725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23728 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
23730 wxPyEndAllowThreads(__tstate
);
23731 if (PyErr_Occurred()) SWIG_fail
;
23733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
23740 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23741 PyObject
*resultobj
;
23742 wxWindow
*arg1
= (wxWindow
*) 0 ;
23744 PyObject
* obj0
= 0 ;
23745 PyObject
* obj1
= 0 ;
23746 char *kwnames
[] = {
23747 (char *) "self",(char *) "autoLayout", NULL
23750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
23751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23752 arg2
= PyInt_AsLong(obj1
) ? true : false;
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23756 (arg1
)->SetAutoLayout(arg2
);
23758 wxPyEndAllowThreads(__tstate
);
23759 if (PyErr_Occurred()) SWIG_fail
;
23761 Py_INCREF(Py_None
); resultobj
= Py_None
;
23768 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23769 PyObject
*resultobj
;
23770 wxWindow
*arg1
= (wxWindow
*) 0 ;
23772 PyObject
* obj0
= 0 ;
23773 char *kwnames
[] = {
23774 (char *) "self", NULL
23777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
23778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
23783 wxPyEndAllowThreads(__tstate
);
23784 if (PyErr_Occurred()) SWIG_fail
;
23786 resultobj
= PyInt_FromLong((long)result
);
23793 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23794 PyObject
*resultobj
;
23795 wxWindow
*arg1
= (wxWindow
*) 0 ;
23797 PyObject
* obj0
= 0 ;
23798 char *kwnames
[] = {
23799 (char *) "self", NULL
23802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
23803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23806 result
= (bool)(arg1
)->Layout();
23808 wxPyEndAllowThreads(__tstate
);
23809 if (PyErr_Occurred()) SWIG_fail
;
23811 resultobj
= PyInt_FromLong((long)result
);
23818 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23819 PyObject
*resultobj
;
23820 wxWindow
*arg1
= (wxWindow
*) 0 ;
23821 wxSizer
*arg2
= (wxSizer
*) 0 ;
23822 bool arg3
= (bool) True
;
23823 PyObject
* obj0
= 0 ;
23824 PyObject
* obj1
= 0 ;
23825 PyObject
* obj2
= 0 ;
23826 char *kwnames
[] = {
23827 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23832 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23834 arg3
= PyInt_AsLong(obj2
) ? true : false;
23835 if (PyErr_Occurred()) SWIG_fail
;
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 (arg1
)->SetSizer(arg2
,arg3
);
23841 wxPyEndAllowThreads(__tstate
);
23842 if (PyErr_Occurred()) SWIG_fail
;
23844 Py_INCREF(Py_None
); resultobj
= Py_None
;
23851 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23852 PyObject
*resultobj
;
23853 wxWindow
*arg1
= (wxWindow
*) 0 ;
23854 wxSizer
*arg2
= (wxSizer
*) 0 ;
23855 bool arg3
= (bool) True
;
23856 PyObject
* obj0
= 0 ;
23857 PyObject
* obj1
= 0 ;
23858 PyObject
* obj2
= 0 ;
23859 char *kwnames
[] = {
23860 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23867 arg3
= PyInt_AsLong(obj2
) ? true : false;
23868 if (PyErr_Occurred()) SWIG_fail
;
23871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23872 (arg1
)->SetSizerAndFit(arg2
,arg3
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 Py_INCREF(Py_None
); resultobj
= Py_None
;
23884 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
;
23886 wxWindow
*arg1
= (wxWindow
*) 0 ;
23888 PyObject
* obj0
= 0 ;
23889 char *kwnames
[] = {
23890 (char *) "self", NULL
23893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
23894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
23899 wxPyEndAllowThreads(__tstate
);
23900 if (PyErr_Occurred()) SWIG_fail
;
23903 resultobj
= wxPyMake_wxSizer(result
);
23911 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23912 PyObject
*resultobj
;
23913 wxWindow
*arg1
= (wxWindow
*) 0 ;
23914 wxSizer
*arg2
= (wxSizer
*) 0 ;
23915 PyObject
* obj0
= 0 ;
23916 PyObject
* obj1
= 0 ;
23917 char *kwnames
[] = {
23918 (char *) "self",(char *) "sizer", NULL
23921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
23922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23923 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 (arg1
)->SetContainingSizer(arg2
);
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 Py_INCREF(Py_None
); resultobj
= Py_None
;
23938 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxWindow
*arg1
= (wxWindow
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23957 resultobj
= wxPyMake_wxSizer(result
);
23965 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
23967 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
23968 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
23970 return Py_BuildValue((char *)"");
23972 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23973 PyObject
*resultobj
;
23975 wxWindow
*arg2
= (wxWindow
*) NULL
;
23977 PyObject
* obj1
= 0 ;
23978 char *kwnames
[] = {
23979 (char *) "id",(char *) "parent", NULL
23982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= wxPyMake_wxObject(result
);
24002 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
;
24004 wxString
*arg1
= 0 ;
24005 wxWindow
*arg2
= (wxWindow
*) NULL
;
24007 bool temp1
= False
;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "name",(char *) "parent", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24016 arg1
= wxString_in_helper(obj0
);
24017 if (arg1
== NULL
) SWIG_fail
;
24021 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24025 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24027 wxPyEndAllowThreads(__tstate
);
24028 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= wxPyMake_wxObject(result
);
24047 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
;
24049 wxString
*arg1
= 0 ;
24050 wxWindow
*arg2
= (wxWindow
*) NULL
;
24052 bool temp1
= False
;
24053 PyObject
* obj0
= 0 ;
24054 PyObject
* obj1
= 0 ;
24055 char *kwnames
[] = {
24056 (char *) "label",(char *) "parent", NULL
24059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24061 arg1
= wxString_in_helper(obj0
);
24062 if (arg1
== NULL
) SWIG_fail
;
24066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24076 resultobj
= wxPyMake_wxObject(result
);
24092 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 unsigned long arg1
;
24096 PyObject
* obj0
= 0 ;
24097 char *kwnames
[] = {
24098 (char *) "hWnd", NULL
24101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24102 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24103 if (PyErr_Occurred()) SWIG_fail
;
24105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24106 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24108 wxPyEndAllowThreads(__tstate
);
24109 if (PyErr_Occurred()) SWIG_fail
;
24112 resultobj
= wxPyMake_wxObject(result
);
24120 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24121 PyObject
*resultobj
;
24122 wxValidator
*result
;
24123 char *kwnames
[] = {
24127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= (wxValidator
*)new wxValidator();
24132 wxPyEndAllowThreads(__tstate
);
24133 if (PyErr_Occurred()) SWIG_fail
;
24136 resultobj
= wxPyMake_wxObject(result
);
24144 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24145 PyObject
*resultobj
;
24146 wxValidator
*arg1
= (wxValidator
*) 0 ;
24147 wxValidator
*result
;
24148 PyObject
* obj0
= 0 ;
24149 char *kwnames
[] = {
24150 (char *) "self", NULL
24153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24157 result
= (wxValidator
*)(arg1
)->Clone();
24159 wxPyEndAllowThreads(__tstate
);
24160 if (PyErr_Occurred()) SWIG_fail
;
24163 resultobj
= wxPyMake_wxObject(result
);
24171 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24172 PyObject
*resultobj
;
24173 wxValidator
*arg1
= (wxValidator
*) 0 ;
24174 wxWindow
*arg2
= (wxWindow
*) 0 ;
24176 PyObject
* obj0
= 0 ;
24177 PyObject
* obj1
= 0 ;
24178 char *kwnames
[] = {
24179 (char *) "self",(char *) "parent", NULL
24182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24184 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24187 result
= (bool)(arg1
)->Validate(arg2
);
24189 wxPyEndAllowThreads(__tstate
);
24190 if (PyErr_Occurred()) SWIG_fail
;
24192 resultobj
= PyInt_FromLong((long)result
);
24199 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24200 PyObject
*resultobj
;
24201 wxValidator
*arg1
= (wxValidator
*) 0 ;
24203 PyObject
* obj0
= 0 ;
24204 char *kwnames
[] = {
24205 (char *) "self", NULL
24208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24212 result
= (bool)(arg1
)->TransferToWindow();
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= PyInt_FromLong((long)result
);
24224 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24225 PyObject
*resultobj
;
24226 wxValidator
*arg1
= (wxValidator
*) 0 ;
24228 PyObject
* obj0
= 0 ;
24229 char *kwnames
[] = {
24230 (char *) "self", NULL
24233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24237 result
= (bool)(arg1
)->TransferFromWindow();
24239 wxPyEndAllowThreads(__tstate
);
24240 if (PyErr_Occurred()) SWIG_fail
;
24242 resultobj
= PyInt_FromLong((long)result
);
24249 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24250 PyObject
*resultobj
;
24251 wxValidator
*arg1
= (wxValidator
*) 0 ;
24253 PyObject
* obj0
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "self", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24262 result
= (wxWindow
*)(arg1
)->GetWindow();
24264 wxPyEndAllowThreads(__tstate
);
24265 if (PyErr_Occurred()) SWIG_fail
;
24268 resultobj
= wxPyMake_wxObject(result
);
24276 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24277 PyObject
*resultobj
;
24278 wxValidator
*arg1
= (wxValidator
*) 0 ;
24279 wxWindow
*arg2
= (wxWindow
*) 0 ;
24280 PyObject
* obj0
= 0 ;
24281 PyObject
* obj1
= 0 ;
24282 char *kwnames
[] = {
24283 (char *) "self",(char *) "window", NULL
24286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24288 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24291 (arg1
)->SetWindow(arg2
);
24293 wxPyEndAllowThreads(__tstate
);
24294 if (PyErr_Occurred()) SWIG_fail
;
24296 Py_INCREF(Py_None
); resultobj
= Py_None
;
24303 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24304 PyObject
*resultobj
;
24306 char *kwnames
[] = {
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24313 result
= (bool)wxValidator::IsSilent();
24315 wxPyEndAllowThreads(__tstate
);
24316 if (PyErr_Occurred()) SWIG_fail
;
24318 resultobj
= PyInt_FromLong((long)result
);
24325 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24326 PyObject
*resultobj
;
24327 int arg1
= (int) True
;
24328 char *kwnames
[] = {
24329 (char *) "doIt", NULL
24332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24335 wxValidator::SetBellOnError(arg1
);
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 Py_INCREF(Py_None
); resultobj
= Py_None
;
24347 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24349 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24350 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24352 return Py_BuildValue((char *)"");
24354 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24355 PyObject
*resultobj
;
24356 wxPyValidator
*result
;
24357 char *kwnames
[] = {
24361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= (wxPyValidator
*)new wxPyValidator();
24366 wxPyEndAllowThreads(__tstate
);
24367 if (PyErr_Occurred()) SWIG_fail
;
24369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24376 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24377 PyObject
*resultobj
;
24378 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24379 PyObject
*arg2
= (PyObject
*) 0 ;
24380 PyObject
*arg3
= (PyObject
*) 0 ;
24381 int arg4
= (int) True
;
24382 PyObject
* obj0
= 0 ;
24383 PyObject
* obj1
= 0 ;
24384 PyObject
* obj2
= 0 ;
24385 char *kwnames
[] = {
24386 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24395 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 Py_INCREF(Py_None
); resultobj
= Py_None
;
24407 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24409 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24410 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24412 return Py_BuildValue((char *)"");
24414 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24415 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24420 static PyObject
*_wrap_DefaultValidator_get() {
24423 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24428 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24429 PyObject
*resultobj
;
24430 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24431 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24432 long arg2
= (long) 0 ;
24434 bool temp1
= False
;
24435 PyObject
* obj0
= 0 ;
24436 char *kwnames
[] = {
24437 (char *) "title",(char *) "style", NULL
24440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
24443 arg1
= wxString_in_helper(obj0
);
24444 if (arg1
== NULL
) SWIG_fail
;
24449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24450 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
24452 wxPyEndAllowThreads(__tstate
);
24453 if (PyErr_Occurred()) SWIG_fail
;
24456 resultobj
= wxPyMake_wxObject(result
);
24472 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24473 PyObject
*resultobj
;
24474 wxMenu
*arg1
= (wxMenu
*) 0 ;
24476 wxString
*arg3
= 0 ;
24477 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24478 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24479 int arg5
= (int) wxITEM_NORMAL
;
24480 bool temp3
= False
;
24481 bool temp4
= False
;
24482 PyObject
* obj0
= 0 ;
24483 PyObject
* obj2
= 0 ;
24484 PyObject
* obj3
= 0 ;
24485 char *kwnames
[] = {
24486 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24492 arg3
= wxString_in_helper(obj2
);
24493 if (arg3
== NULL
) SWIG_fail
;
24498 arg4
= wxString_in_helper(obj3
);
24499 if (arg4
== NULL
) SWIG_fail
;
24504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24505 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
24507 wxPyEndAllowThreads(__tstate
);
24508 if (PyErr_Occurred()) SWIG_fail
;
24510 Py_INCREF(Py_None
); resultobj
= Py_None
;
24533 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24534 PyObject
*resultobj
;
24535 wxMenu
*arg1
= (wxMenu
*) 0 ;
24536 PyObject
* obj0
= 0 ;
24537 char *kwnames
[] = {
24538 (char *) "self", NULL
24541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
24542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24545 (arg1
)->AppendSeparator();
24547 wxPyEndAllowThreads(__tstate
);
24548 if (PyErr_Occurred()) SWIG_fail
;
24550 Py_INCREF(Py_None
); resultobj
= Py_None
;
24557 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24558 PyObject
*resultobj
;
24559 wxMenu
*arg1
= (wxMenu
*) 0 ;
24561 wxString
*arg3
= 0 ;
24562 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24563 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24564 bool temp3
= False
;
24565 bool temp4
= False
;
24566 PyObject
* obj0
= 0 ;
24567 PyObject
* obj2
= 0 ;
24568 PyObject
* obj3
= 0 ;
24569 char *kwnames
[] = {
24570 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24576 arg3
= wxString_in_helper(obj2
);
24577 if (arg3
== NULL
) SWIG_fail
;
24582 arg4
= wxString_in_helper(obj3
);
24583 if (arg4
== NULL
) SWIG_fail
;
24588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24589 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24591 wxPyEndAllowThreads(__tstate
);
24592 if (PyErr_Occurred()) SWIG_fail
;
24594 Py_INCREF(Py_None
); resultobj
= Py_None
;
24617 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24618 PyObject
*resultobj
;
24619 wxMenu
*arg1
= (wxMenu
*) 0 ;
24621 wxString
*arg3
= 0 ;
24622 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24623 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24624 bool temp3
= False
;
24625 bool temp4
= False
;
24626 PyObject
* obj0
= 0 ;
24627 PyObject
* obj2
= 0 ;
24628 PyObject
* obj3
= 0 ;
24629 char *kwnames
[] = {
24630 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24636 arg3
= wxString_in_helper(obj2
);
24637 if (arg3
== NULL
) SWIG_fail
;
24642 arg4
= wxString_in_helper(obj3
);
24643 if (arg4
== NULL
) SWIG_fail
;
24648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24649 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24651 wxPyEndAllowThreads(__tstate
);
24652 if (PyErr_Occurred()) SWIG_fail
;
24654 Py_INCREF(Py_None
); resultobj
= Py_None
;
24677 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24678 PyObject
*resultobj
;
24679 wxMenu
*arg1
= (wxMenu
*) 0 ;
24681 wxString
*arg3
= 0 ;
24682 wxMenu
*arg4
= (wxMenu
*) 0 ;
24683 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24684 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24685 bool temp3
= False
;
24686 bool temp5
= False
;
24687 PyObject
* obj0
= 0 ;
24688 PyObject
* obj2
= 0 ;
24689 PyObject
* obj3
= 0 ;
24690 PyObject
* obj4
= 0 ;
24691 char *kwnames
[] = {
24692 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
24696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24698 arg3
= wxString_in_helper(obj2
);
24699 if (arg3
== NULL
) SWIG_fail
;
24702 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24705 arg5
= wxString_in_helper(obj4
);
24706 if (arg5
== NULL
) SWIG_fail
;
24711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24712 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
24714 wxPyEndAllowThreads(__tstate
);
24715 if (PyErr_Occurred()) SWIG_fail
;
24717 Py_INCREF(Py_None
); resultobj
= Py_None
;
24740 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24741 PyObject
*resultobj
;
24742 wxMenu
*arg1
= (wxMenu
*) 0 ;
24743 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
24744 PyObject
* obj0
= 0 ;
24745 PyObject
* obj1
= 0 ;
24746 char *kwnames
[] = {
24747 (char *) "self",(char *) "item", NULL
24750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24752 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24755 (arg1
)->Append(arg2
);
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24760 Py_INCREF(Py_None
); resultobj
= Py_None
;
24767 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxMenu
*arg1
= (wxMenu
*) 0 ;
24770 PyObject
* obj0
= 0 ;
24771 char *kwnames
[] = {
24772 (char *) "self", NULL
24775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
24776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24781 wxPyEndAllowThreads(__tstate
);
24782 if (PyErr_Occurred()) SWIG_fail
;
24784 Py_INCREF(Py_None
); resultobj
= Py_None
;
24791 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24792 PyObject
*resultobj
;
24793 wxMenu
*arg1
= (wxMenu
*) 0 ;
24795 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
24797 PyObject
* obj0
= 0 ;
24798 PyObject
* obj1
= 0 ;
24799 PyObject
* obj2
= 0 ;
24800 char *kwnames
[] = {
24801 (char *) "self",(char *) "pos",(char *) "item", NULL
24804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24806 arg2
= (size_t) PyInt_AsLong(obj1
);
24807 if (PyErr_Occurred()) SWIG_fail
;
24808 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24811 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
24813 wxPyEndAllowThreads(__tstate
);
24814 if (PyErr_Occurred()) SWIG_fail
;
24816 resultobj
= PyInt_FromLong((long)result
);
24823 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24824 PyObject
*resultobj
;
24825 wxMenu
*arg1
= (wxMenu
*) 0 ;
24828 wxString
*arg4
= 0 ;
24829 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24830 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24831 int arg6
= (int) wxITEM_NORMAL
;
24832 bool temp4
= False
;
24833 bool temp5
= False
;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 PyObject
* obj3
= 0 ;
24837 PyObject
* obj4
= 0 ;
24838 char *kwnames
[] = {
24839 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24844 arg2
= (size_t) PyInt_AsLong(obj1
);
24845 if (PyErr_Occurred()) SWIG_fail
;
24847 arg4
= wxString_in_helper(obj3
);
24848 if (arg4
== NULL
) SWIG_fail
;
24853 arg5
= wxString_in_helper(obj4
);
24854 if (arg5
== NULL
) SWIG_fail
;
24859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24860 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 Py_INCREF(Py_None
); resultobj
= Py_None
;
24888 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24889 PyObject
*resultobj
;
24890 wxMenu
*arg1
= (wxMenu
*) 0 ;
24892 PyObject
* obj0
= 0 ;
24893 PyObject
* obj1
= 0 ;
24894 char *kwnames
[] = {
24895 (char *) "self",(char *) "pos", NULL
24898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
24899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24900 arg2
= (size_t) PyInt_AsLong(obj1
);
24901 if (PyErr_Occurred()) SWIG_fail
;
24903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 (arg1
)->InsertSeparator(arg2
);
24906 wxPyEndAllowThreads(__tstate
);
24907 if (PyErr_Occurred()) SWIG_fail
;
24909 Py_INCREF(Py_None
); resultobj
= Py_None
;
24916 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxMenu
*arg1
= (wxMenu
*) 0 ;
24921 wxString
*arg4
= 0 ;
24922 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24923 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24924 bool temp4
= False
;
24925 bool temp5
= False
;
24926 PyObject
* obj0
= 0 ;
24927 PyObject
* obj1
= 0 ;
24928 PyObject
* obj3
= 0 ;
24929 PyObject
* obj4
= 0 ;
24930 char *kwnames
[] = {
24931 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
24934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
24935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24936 arg2
= (size_t) PyInt_AsLong(obj1
);
24937 if (PyErr_Occurred()) SWIG_fail
;
24939 arg4
= wxString_in_helper(obj3
);
24940 if (arg4
== NULL
) SWIG_fail
;
24945 arg5
= wxString_in_helper(obj4
);
24946 if (arg5
== NULL
) SWIG_fail
;
24951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24952 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
24954 wxPyEndAllowThreads(__tstate
);
24955 if (PyErr_Occurred()) SWIG_fail
;
24957 Py_INCREF(Py_None
); resultobj
= Py_None
;
24980 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24981 PyObject
*resultobj
;
24982 wxMenu
*arg1
= (wxMenu
*) 0 ;
24985 wxString
*arg4
= 0 ;
24986 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24987 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24988 bool temp4
= False
;
24989 bool temp5
= False
;
24990 PyObject
* obj0
= 0 ;
24991 PyObject
* obj1
= 0 ;
24992 PyObject
* obj3
= 0 ;
24993 PyObject
* obj4
= 0 ;
24994 char *kwnames
[] = {
24995 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
24998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
24999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25000 arg2
= (size_t) PyInt_AsLong(obj1
);
25001 if (PyErr_Occurred()) SWIG_fail
;
25003 arg4
= wxString_in_helper(obj3
);
25004 if (arg4
== NULL
) SWIG_fail
;
25009 arg5
= wxString_in_helper(obj4
);
25010 if (arg5
== NULL
) SWIG_fail
;
25015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25016 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25018 wxPyEndAllowThreads(__tstate
);
25019 if (PyErr_Occurred()) SWIG_fail
;
25021 Py_INCREF(Py_None
); resultobj
= Py_None
;
25044 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25045 PyObject
*resultobj
;
25046 wxMenu
*arg1
= (wxMenu
*) 0 ;
25049 wxString
*arg4
= 0 ;
25050 wxMenu
*arg5
= (wxMenu
*) 0 ;
25051 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25052 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25053 bool temp4
= False
;
25054 bool temp6
= False
;
25055 PyObject
* obj0
= 0 ;
25056 PyObject
* obj1
= 0 ;
25057 PyObject
* obj3
= 0 ;
25058 PyObject
* obj4
= 0 ;
25059 PyObject
* obj5
= 0 ;
25060 char *kwnames
[] = {
25061 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25066 arg2
= (size_t) PyInt_AsLong(obj1
);
25067 if (PyErr_Occurred()) SWIG_fail
;
25069 arg4
= wxString_in_helper(obj3
);
25070 if (arg4
== NULL
) SWIG_fail
;
25073 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25076 arg6
= wxString_in_helper(obj5
);
25077 if (arg6
== NULL
) SWIG_fail
;
25082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25083 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 Py_INCREF(Py_None
); resultobj
= Py_None
;
25111 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
;
25113 wxMenu
*arg1
= (wxMenu
*) 0 ;
25114 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25115 PyObject
* obj0
= 0 ;
25116 PyObject
* obj1
= 0 ;
25117 char *kwnames
[] = {
25118 (char *) "self",(char *) "item", NULL
25121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25123 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25126 (arg1
)->Prepend(arg2
);
25128 wxPyEndAllowThreads(__tstate
);
25129 if (PyErr_Occurred()) SWIG_fail
;
25131 Py_INCREF(Py_None
); resultobj
= Py_None
;
25138 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25139 PyObject
*resultobj
;
25140 wxMenu
*arg1
= (wxMenu
*) 0 ;
25142 wxString
*arg3
= 0 ;
25143 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25144 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25145 int arg5
= (int) wxITEM_NORMAL
;
25146 bool temp3
= False
;
25147 bool temp4
= False
;
25148 PyObject
* obj0
= 0 ;
25149 PyObject
* obj2
= 0 ;
25150 PyObject
* obj3
= 0 ;
25151 char *kwnames
[] = {
25152 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25158 arg3
= wxString_in_helper(obj2
);
25159 if (arg3
== NULL
) SWIG_fail
;
25164 arg4
= wxString_in_helper(obj3
);
25165 if (arg4
== NULL
) SWIG_fail
;
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25173 wxPyEndAllowThreads(__tstate
);
25174 if (PyErr_Occurred()) SWIG_fail
;
25176 Py_INCREF(Py_None
); resultobj
= Py_None
;
25199 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25200 PyObject
*resultobj
;
25201 wxMenu
*arg1
= (wxMenu
*) 0 ;
25202 PyObject
* obj0
= 0 ;
25203 char *kwnames
[] = {
25204 (char *) "self", NULL
25207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25211 (arg1
)->PrependSeparator();
25213 wxPyEndAllowThreads(__tstate
);
25214 if (PyErr_Occurred()) SWIG_fail
;
25216 Py_INCREF(Py_None
); resultobj
= Py_None
;
25223 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25224 PyObject
*resultobj
;
25225 wxMenu
*arg1
= (wxMenu
*) 0 ;
25227 wxString
*arg3
= 0 ;
25228 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25229 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25230 bool temp3
= False
;
25231 bool temp4
= False
;
25232 PyObject
* obj0
= 0 ;
25233 PyObject
* obj2
= 0 ;
25234 PyObject
* obj3
= 0 ;
25235 char *kwnames
[] = {
25236 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25242 arg3
= wxString_in_helper(obj2
);
25243 if (arg3
== NULL
) SWIG_fail
;
25248 arg4
= wxString_in_helper(obj3
);
25249 if (arg4
== NULL
) SWIG_fail
;
25254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25255 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25260 Py_INCREF(Py_None
); resultobj
= Py_None
;
25283 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25284 PyObject
*resultobj
;
25285 wxMenu
*arg1
= (wxMenu
*) 0 ;
25287 wxString
*arg3
= 0 ;
25288 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25289 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25290 bool temp3
= False
;
25291 bool temp4
= False
;
25292 PyObject
* obj0
= 0 ;
25293 PyObject
* obj2
= 0 ;
25294 PyObject
* obj3
= 0 ;
25295 char *kwnames
[] = {
25296 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25302 arg3
= wxString_in_helper(obj2
);
25303 if (arg3
== NULL
) SWIG_fail
;
25308 arg4
= wxString_in_helper(obj3
);
25309 if (arg4
== NULL
) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 Py_INCREF(Py_None
); resultobj
= Py_None
;
25343 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25344 PyObject
*resultobj
;
25345 wxMenu
*arg1
= (wxMenu
*) 0 ;
25347 wxString
*arg3
= 0 ;
25348 wxMenu
*arg4
= (wxMenu
*) 0 ;
25349 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25350 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25351 bool temp3
= False
;
25352 bool temp5
= False
;
25353 PyObject
* obj0
= 0 ;
25354 PyObject
* obj2
= 0 ;
25355 PyObject
* obj3
= 0 ;
25356 PyObject
* obj4
= 0 ;
25357 char *kwnames
[] = {
25358 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25364 arg3
= wxString_in_helper(obj2
);
25365 if (arg3
== NULL
) SWIG_fail
;
25368 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25371 arg5
= wxString_in_helper(obj4
);
25372 if (arg5
== NULL
) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25380 wxPyEndAllowThreads(__tstate
);
25381 if (PyErr_Occurred()) SWIG_fail
;
25383 Py_INCREF(Py_None
); resultobj
= Py_None
;
25406 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25407 PyObject
*resultobj
;
25408 wxMenu
*arg1
= (wxMenu
*) 0 ;
25410 wxMenuItem
*result
;
25411 PyObject
* obj0
= 0 ;
25412 char *kwnames
[] = {
25413 (char *) "self",(char *) "itemid", NULL
25416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25426 resultobj
= wxPyMake_wxObject(result
);
25434 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25435 PyObject
*resultobj
;
25436 wxMenu
*arg1
= (wxMenu
*) 0 ;
25437 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25438 wxMenuItem
*result
;
25439 PyObject
* obj0
= 0 ;
25440 PyObject
* obj1
= 0 ;
25441 char *kwnames
[] = {
25442 (char *) "self",(char *) "item", NULL
25445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25450 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25452 wxPyEndAllowThreads(__tstate
);
25453 if (PyErr_Occurred()) SWIG_fail
;
25456 resultobj
= wxPyMake_wxObject(result
);
25464 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25465 PyObject
*resultobj
;
25466 wxMenu
*arg1
= (wxMenu
*) 0 ;
25469 PyObject
* obj0
= 0 ;
25470 char *kwnames
[] = {
25471 (char *) "self",(char *) "itemid", NULL
25474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
25475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25478 result
= (bool)(arg1
)->Delete(arg2
);
25480 wxPyEndAllowThreads(__tstate
);
25481 if (PyErr_Occurred()) SWIG_fail
;
25483 resultobj
= PyInt_FromLong((long)result
);
25490 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25491 PyObject
*resultobj
;
25492 wxMenu
*arg1
= (wxMenu
*) 0 ;
25493 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25495 PyObject
* obj0
= 0 ;
25496 PyObject
* obj1
= 0 ;
25497 char *kwnames
[] = {
25498 (char *) "self",(char *) "item", NULL
25501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25506 result
= (bool)(arg1
)->Delete(arg2
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= PyInt_FromLong((long)result
);
25518 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
;
25520 wxMenu
*arg1
= (wxMenu
*) 0 ;
25521 PyObject
* obj0
= 0 ;
25522 char *kwnames
[] = {
25523 (char *) "self", NULL
25526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
25527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25530 wxMenu_Destroy(arg1
);
25532 wxPyEndAllowThreads(__tstate
);
25533 if (PyErr_Occurred()) SWIG_fail
;
25535 Py_INCREF(Py_None
); resultobj
= Py_None
;
25542 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25543 PyObject
*resultobj
;
25544 wxMenu
*arg1
= (wxMenu
*) 0 ;
25547 PyObject
* obj0
= 0 ;
25548 char *kwnames
[] = {
25549 (char *) "self",(char *) "itemid", NULL
25552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
25553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25556 result
= (bool)(arg1
)->Destroy(arg2
);
25558 wxPyEndAllowThreads(__tstate
);
25559 if (PyErr_Occurred()) SWIG_fail
;
25561 resultobj
= PyInt_FromLong((long)result
);
25568 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25569 PyObject
*resultobj
;
25570 wxMenu
*arg1
= (wxMenu
*) 0 ;
25571 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25573 PyObject
* obj0
= 0 ;
25574 PyObject
* obj1
= 0 ;
25575 char *kwnames
[] = {
25576 (char *) "self",(char *) "item", NULL
25579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 result
= (bool)(arg1
)->Destroy(arg2
);
25586 wxPyEndAllowThreads(__tstate
);
25587 if (PyErr_Occurred()) SWIG_fail
;
25589 resultobj
= PyInt_FromLong((long)result
);
25596 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25597 PyObject
*resultobj
;
25598 wxMenu
*arg1
= (wxMenu
*) 0 ;
25600 PyObject
* obj0
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
25606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25609 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
25611 wxPyEndAllowThreads(__tstate
);
25612 if (PyErr_Occurred()) SWIG_fail
;
25614 resultobj
= PyInt_FromLong((long)result
);
25621 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxMenu
*arg1
= (wxMenu
*) 0 ;
25625 PyObject
* obj0
= 0 ;
25626 char *kwnames
[] = {
25627 (char *) "self", NULL
25630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
25631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25634 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
25636 wxPyEndAllowThreads(__tstate
);
25637 if (PyErr_Occurred()) SWIG_fail
;
25639 resultobj
= result
;
25646 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25647 PyObject
*resultobj
;
25648 wxMenu
*arg1
= (wxMenu
*) 0 ;
25649 wxString
*arg2
= 0 ;
25651 bool temp2
= False
;
25652 PyObject
* obj0
= 0 ;
25653 PyObject
* obj1
= 0 ;
25654 char *kwnames
[] = {
25655 (char *) "self",(char *) "item", NULL
25658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25661 arg2
= wxString_in_helper(obj1
);
25662 if (arg2
== NULL
) SWIG_fail
;
25666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25667 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
25669 wxPyEndAllowThreads(__tstate
);
25670 if (PyErr_Occurred()) SWIG_fail
;
25672 resultobj
= PyInt_FromLong((long)result
);
25687 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25688 PyObject
*resultobj
;
25689 wxMenu
*arg1
= (wxMenu
*) 0 ;
25691 wxMenuItem
*result
;
25692 PyObject
* obj0
= 0 ;
25693 char *kwnames
[] = {
25694 (char *) "self",(char *) "itemid", NULL
25697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
25698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25701 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
25703 wxPyEndAllowThreads(__tstate
);
25704 if (PyErr_Occurred()) SWIG_fail
;
25707 resultobj
= wxPyMake_wxObject(result
);
25715 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25716 PyObject
*resultobj
;
25717 wxMenu
*arg1
= (wxMenu
*) 0 ;
25719 wxMenuItem
*result
;
25720 PyObject
* obj0
= 0 ;
25721 PyObject
* obj1
= 0 ;
25722 char *kwnames
[] = {
25723 (char *) "self",(char *) "position", NULL
25726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25728 arg2
= (size_t) PyInt_AsLong(obj1
);
25729 if (PyErr_Occurred()) SWIG_fail
;
25731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25732 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
25734 wxPyEndAllowThreads(__tstate
);
25735 if (PyErr_Occurred()) SWIG_fail
;
25738 resultobj
= wxPyMake_wxObject(result
);
25746 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25747 PyObject
*resultobj
;
25748 wxMenu
*arg1
= (wxMenu
*) 0 ;
25751 PyObject
* obj0
= 0 ;
25752 PyObject
* obj2
= 0 ;
25753 char *kwnames
[] = {
25754 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25759 arg3
= PyInt_AsLong(obj2
) ? true : false;
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25763 (arg1
)->Enable(arg2
,arg3
);
25765 wxPyEndAllowThreads(__tstate
);
25766 if (PyErr_Occurred()) SWIG_fail
;
25768 Py_INCREF(Py_None
); resultobj
= Py_None
;
25775 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25776 PyObject
*resultobj
;
25777 wxMenu
*arg1
= (wxMenu
*) 0 ;
25780 PyObject
* obj0
= 0 ;
25781 char *kwnames
[] = {
25782 (char *) "self",(char *) "itemid", NULL
25785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
25786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25789 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
25791 wxPyEndAllowThreads(__tstate
);
25792 if (PyErr_Occurred()) SWIG_fail
;
25794 resultobj
= PyInt_FromLong((long)result
);
25801 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25802 PyObject
*resultobj
;
25803 wxMenu
*arg1
= (wxMenu
*) 0 ;
25806 PyObject
* obj0
= 0 ;
25807 PyObject
* obj2
= 0 ;
25808 char *kwnames
[] = {
25809 (char *) "self",(char *) "itemid",(char *) "check", NULL
25812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25814 arg3
= PyInt_AsLong(obj2
) ? true : false;
25815 if (PyErr_Occurred()) SWIG_fail
;
25817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25818 (arg1
)->Check(arg2
,arg3
);
25820 wxPyEndAllowThreads(__tstate
);
25821 if (PyErr_Occurred()) SWIG_fail
;
25823 Py_INCREF(Py_None
); resultobj
= Py_None
;
25830 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxMenu
*arg1
= (wxMenu
*) 0 ;
25835 PyObject
* obj0
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "itemid", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= PyInt_FromLong((long)result
);
25856 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxMenu
*arg1
= (wxMenu
*) 0 ;
25860 wxString
*arg3
= 0 ;
25861 bool temp3
= False
;
25862 PyObject
* obj0
= 0 ;
25863 PyObject
* obj2
= 0 ;
25864 char *kwnames
[] = {
25865 (char *) "self",(char *) "itemid",(char *) "label", NULL
25868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25871 arg3
= wxString_in_helper(obj2
);
25872 if (arg3
== NULL
) SWIG_fail
;
25876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25877 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
25879 wxPyEndAllowThreads(__tstate
);
25880 if (PyErr_Occurred()) SWIG_fail
;
25882 Py_INCREF(Py_None
); resultobj
= Py_None
;
25897 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25898 PyObject
*resultobj
;
25899 wxMenu
*arg1
= (wxMenu
*) 0 ;
25902 PyObject
* obj0
= 0 ;
25903 char *kwnames
[] = {
25904 (char *) "self",(char *) "itemid", NULL
25907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
25908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25918 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25920 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
25929 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25930 PyObject
*resultobj
;
25931 wxMenu
*arg1
= (wxMenu
*) 0 ;
25933 wxString
*arg3
= 0 ;
25934 bool temp3
= False
;
25935 PyObject
* obj0
= 0 ;
25936 PyObject
* obj2
= 0 ;
25937 char *kwnames
[] = {
25938 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
25941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25944 arg3
= wxString_in_helper(obj2
);
25945 if (arg3
== NULL
) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 Py_INCREF(Py_None
); resultobj
= Py_None
;
25970 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25971 PyObject
*resultobj
;
25972 wxMenu
*arg1
= (wxMenu
*) 0 ;
25975 PyObject
* obj0
= 0 ;
25976 char *kwnames
[] = {
25977 (char *) "self",(char *) "itemid", NULL
25980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
25981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25984 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
25986 wxPyEndAllowThreads(__tstate
);
25987 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
25993 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26002 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26003 PyObject
*resultobj
;
26004 wxMenu
*arg1
= (wxMenu
*) 0 ;
26005 wxString
*arg2
= 0 ;
26006 bool temp2
= False
;
26007 PyObject
* obj0
= 0 ;
26008 PyObject
* obj1
= 0 ;
26009 char *kwnames
[] = {
26010 (char *) "self",(char *) "title", NULL
26013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26016 arg2
= wxString_in_helper(obj1
);
26017 if (arg2
== NULL
) SWIG_fail
;
26021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26022 (arg1
)->SetTitle((wxString
const &)*arg2
);
26024 wxPyEndAllowThreads(__tstate
);
26025 if (PyErr_Occurred()) SWIG_fail
;
26027 Py_INCREF(Py_None
); resultobj
= Py_None
;
26042 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26043 PyObject
*resultobj
;
26044 wxMenu
*arg1
= (wxMenu
*) 0 ;
26046 PyObject
* obj0
= 0 ;
26047 char *kwnames
[] = {
26048 (char *) "self", NULL
26051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26055 result
= ((wxMenu
const *)arg1
)->GetTitle();
26057 wxPyEndAllowThreads(__tstate
);
26058 if (PyErr_Occurred()) SWIG_fail
;
26062 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26064 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26073 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26074 PyObject
*resultobj
;
26075 wxMenu
*arg1
= (wxMenu
*) 0 ;
26076 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26077 PyObject
* obj0
= 0 ;
26078 PyObject
* obj1
= 0 ;
26079 char *kwnames
[] = {
26080 (char *) "self",(char *) "handler", NULL
26083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26085 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26088 (arg1
)->SetEventHandler(arg2
);
26090 wxPyEndAllowThreads(__tstate
);
26091 if (PyErr_Occurred()) SWIG_fail
;
26093 Py_INCREF(Py_None
); resultobj
= Py_None
;
26100 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26101 PyObject
*resultobj
;
26102 wxMenu
*arg1
= (wxMenu
*) 0 ;
26103 wxEvtHandler
*result
;
26104 PyObject
* obj0
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26113 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26119 resultobj
= wxPyMake_wxObject(result
);
26127 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26128 PyObject
*resultobj
;
26129 wxMenu
*arg1
= (wxMenu
*) 0 ;
26130 wxWindow
*arg2
= (wxWindow
*) 0 ;
26131 PyObject
* obj0
= 0 ;
26132 PyObject
* obj1
= 0 ;
26133 char *kwnames
[] = {
26134 (char *) "self",(char *) "win", NULL
26137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26142 (arg1
)->SetInvokingWindow(arg2
);
26144 wxPyEndAllowThreads(__tstate
);
26145 if (PyErr_Occurred()) SWIG_fail
;
26147 Py_INCREF(Py_None
); resultobj
= Py_None
;
26154 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26155 PyObject
*resultobj
;
26156 wxMenu
*arg1
= (wxMenu
*) 0 ;
26158 PyObject
* obj0
= 0 ;
26159 char *kwnames
[] = {
26160 (char *) "self", NULL
26163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26167 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26169 wxPyEndAllowThreads(__tstate
);
26170 if (PyErr_Occurred()) SWIG_fail
;
26173 resultobj
= wxPyMake_wxObject(result
);
26181 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxMenu
*arg1
= (wxMenu
*) 0 ;
26185 PyObject
* obj0
= 0 ;
26186 char *kwnames
[] = {
26187 (char *) "self", NULL
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= PyInt_FromLong((long)result
);
26206 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26207 PyObject
*resultobj
;
26208 wxMenu
*arg1
= (wxMenu
*) 0 ;
26209 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26210 PyObject
* obj0
= 0 ;
26211 PyObject
* obj1
= 0 ;
26212 char *kwnames
[] = {
26213 (char *) "self",(char *) "source", NULL
26216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26219 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26223 (arg1
)->UpdateUI(arg2
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 Py_INCREF(Py_None
); resultobj
= Py_None
;
26235 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26236 PyObject
*resultobj
;
26237 wxMenu
*arg1
= (wxMenu
*) 0 ;
26239 PyObject
* obj0
= 0 ;
26240 char *kwnames
[] = {
26241 (char *) "self", NULL
26244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26248 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26250 wxPyEndAllowThreads(__tstate
);
26251 if (PyErr_Occurred()) SWIG_fail
;
26254 resultobj
= wxPyMake_wxObject(result
);
26262 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26263 PyObject
*resultobj
;
26264 wxMenu
*arg1
= (wxMenu
*) 0 ;
26265 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26266 PyObject
* obj0
= 0 ;
26267 PyObject
* obj1
= 0 ;
26268 char *kwnames
[] = {
26269 (char *) "self",(char *) "menubar", NULL
26272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 (arg1
)->Attach(arg2
);
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26282 Py_INCREF(Py_None
); resultobj
= Py_None
;
26289 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26290 PyObject
*resultobj
;
26291 wxMenu
*arg1
= (wxMenu
*) 0 ;
26292 PyObject
* obj0
= 0 ;
26293 char *kwnames
[] = {
26294 (char *) "self", NULL
26297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26303 wxPyEndAllowThreads(__tstate
);
26304 if (PyErr_Occurred()) SWIG_fail
;
26306 Py_INCREF(Py_None
); resultobj
= Py_None
;
26313 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26314 PyObject
*resultobj
;
26315 wxMenu
*arg1
= (wxMenu
*) 0 ;
26317 PyObject
* obj0
= 0 ;
26318 char *kwnames
[] = {
26319 (char *) "self", NULL
26322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26326 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26328 wxPyEndAllowThreads(__tstate
);
26329 if (PyErr_Occurred()) SWIG_fail
;
26331 resultobj
= PyInt_FromLong((long)result
);
26338 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26339 PyObject
*resultobj
;
26340 wxMenu
*arg1
= (wxMenu
*) 0 ;
26341 wxMenu
*arg2
= (wxMenu
*) 0 ;
26342 PyObject
* obj0
= 0 ;
26343 PyObject
* obj1
= 0 ;
26344 char *kwnames
[] = {
26345 (char *) "self",(char *) "parent", NULL
26348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26353 (arg1
)->SetParent(arg2
);
26355 wxPyEndAllowThreads(__tstate
);
26356 if (PyErr_Occurred()) SWIG_fail
;
26358 Py_INCREF(Py_None
); resultobj
= Py_None
;
26365 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26366 PyObject
*resultobj
;
26367 wxMenu
*arg1
= (wxMenu
*) 0 ;
26369 PyObject
* obj0
= 0 ;
26370 char *kwnames
[] = {
26371 (char *) "self", NULL
26374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= wxPyMake_wxObject(result
);
26392 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26394 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26395 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26397 return Py_BuildValue((char *)"");
26399 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26400 PyObject
*resultobj
;
26401 long arg1
= (long) 0 ;
26403 char *kwnames
[] = {
26404 (char *) "style", NULL
26407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26410 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26412 wxPyEndAllowThreads(__tstate
);
26413 if (PyErr_Occurred()) SWIG_fail
;
26416 resultobj
= wxPyMake_wxObject(result
);
26424 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26427 wxMenu
*arg2
= (wxMenu
*) 0 ;
26428 wxString
*arg3
= 0 ;
26430 bool temp3
= False
;
26431 PyObject
* obj0
= 0 ;
26432 PyObject
* obj1
= 0 ;
26433 PyObject
* obj2
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self",(char *) "menu",(char *) "title", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26442 arg3
= wxString_in_helper(obj2
);
26443 if (arg3
== NULL
) SWIG_fail
;
26447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26448 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
26450 wxPyEndAllowThreads(__tstate
);
26451 if (PyErr_Occurred()) SWIG_fail
;
26453 resultobj
= PyInt_FromLong((long)result
);
26468 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26469 PyObject
*resultobj
;
26470 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26472 wxMenu
*arg3
= (wxMenu
*) 0 ;
26473 wxString
*arg4
= 0 ;
26475 bool temp4
= False
;
26476 PyObject
* obj0
= 0 ;
26477 PyObject
* obj1
= 0 ;
26478 PyObject
* obj2
= 0 ;
26479 PyObject
* obj3
= 0 ;
26480 char *kwnames
[] = {
26481 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26486 arg2
= (size_t) PyInt_AsLong(obj1
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26488 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26490 arg4
= wxString_in_helper(obj3
);
26491 if (arg4
== NULL
) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26501 resultobj
= PyInt_FromLong((long)result
);
26516 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26517 PyObject
*resultobj
;
26518 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26520 PyObject
* obj0
= 0 ;
26521 char *kwnames
[] = {
26522 (char *) "self", NULL
26525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
26526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26529 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
26531 wxPyEndAllowThreads(__tstate
);
26532 if (PyErr_Occurred()) SWIG_fail
;
26534 resultobj
= PyInt_FromLong((long)result
);
26541 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26542 PyObject
*resultobj
;
26543 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26546 PyObject
* obj0
= 0 ;
26547 PyObject
* obj1
= 0 ;
26548 char *kwnames
[] = {
26549 (char *) "self",(char *) "pos", NULL
26552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26554 arg2
= (size_t) PyInt_AsLong(obj1
);
26555 if (PyErr_Occurred()) SWIG_fail
;
26557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26558 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
26560 wxPyEndAllowThreads(__tstate
);
26561 if (PyErr_Occurred()) SWIG_fail
;
26564 resultobj
= wxPyMake_wxObject(result
);
26572 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
;
26574 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26576 wxMenu
*arg3
= (wxMenu
*) 0 ;
26577 wxString
*arg4
= 0 ;
26579 bool temp4
= False
;
26580 PyObject
* obj0
= 0 ;
26581 PyObject
* obj1
= 0 ;
26582 PyObject
* obj2
= 0 ;
26583 PyObject
* obj3
= 0 ;
26584 char *kwnames
[] = {
26585 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26590 arg2
= (size_t) PyInt_AsLong(obj1
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26592 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26594 arg4
= wxString_in_helper(obj3
);
26595 if (arg4
== NULL
) SWIG_fail
;
26599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26600 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
26602 wxPyEndAllowThreads(__tstate
);
26603 if (PyErr_Occurred()) SWIG_fail
;
26606 resultobj
= wxPyMake_wxObject(result
);
26622 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26623 PyObject
*resultobj
;
26624 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26627 PyObject
* obj0
= 0 ;
26628 PyObject
* obj1
= 0 ;
26629 char *kwnames
[] = {
26630 (char *) "self",(char *) "pos", NULL
26633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
26634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26635 arg2
= (size_t) PyInt_AsLong(obj1
);
26636 if (PyErr_Occurred()) SWIG_fail
;
26638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26639 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26645 resultobj
= wxPyMake_wxObject(result
);
26653 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26654 PyObject
*resultobj
;
26655 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 PyObject
* obj1
= 0 ;
26660 PyObject
* obj2
= 0 ;
26661 char *kwnames
[] = {
26662 (char *) "self",(char *) "pos",(char *) "enable", NULL
26665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26667 arg2
= (size_t) PyInt_AsLong(obj1
);
26668 if (PyErr_Occurred()) SWIG_fail
;
26669 arg3
= PyInt_AsLong(obj2
) ? true : false;
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 (arg1
)->EnableTop(arg2
,arg3
);
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26678 Py_INCREF(Py_None
); resultobj
= Py_None
;
26685 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26686 PyObject
*resultobj
;
26687 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26690 PyObject
* obj0
= 0 ;
26691 PyObject
* obj1
= 0 ;
26692 char *kwnames
[] = {
26693 (char *) "self",(char *) "pos", NULL
26696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
26697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26698 arg2
= (size_t) PyInt_AsLong(obj1
);
26699 if (PyErr_Occurred()) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 resultobj
= PyInt_FromLong((long)result
);
26714 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
;
26716 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26718 wxString
*arg3
= 0 ;
26719 bool temp3
= False
;
26720 PyObject
* obj0
= 0 ;
26721 PyObject
* obj1
= 0 ;
26722 PyObject
* obj2
= 0 ;
26723 char *kwnames
[] = {
26724 (char *) "self",(char *) "pos",(char *) "label", NULL
26727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26729 arg2
= (size_t) PyInt_AsLong(obj1
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26732 arg3
= wxString_in_helper(obj2
);
26733 if (arg3
== NULL
) SWIG_fail
;
26737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26738 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
26740 wxPyEndAllowThreads(__tstate
);
26741 if (PyErr_Occurred()) SWIG_fail
;
26743 Py_INCREF(Py_None
); resultobj
= Py_None
;
26758 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26759 PyObject
*resultobj
;
26760 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26763 PyObject
* obj0
= 0 ;
26764 PyObject
* obj1
= 0 ;
26765 char *kwnames
[] = {
26766 (char *) "self",(char *) "pos", NULL
26769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
26770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26771 arg2
= (size_t) PyInt_AsLong(obj1
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26793 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26794 PyObject
*resultobj
;
26795 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26796 wxString
*arg2
= 0 ;
26797 wxString
*arg3
= 0 ;
26799 bool temp2
= False
;
26800 bool temp3
= False
;
26801 PyObject
* obj0
= 0 ;
26802 PyObject
* obj1
= 0 ;
26803 PyObject
* obj2
= 0 ;
26804 char *kwnames
[] = {
26805 (char *) "self",(char *) "menu",(char *) "item", NULL
26808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26811 arg2
= wxString_in_helper(obj1
);
26812 if (arg2
== NULL
) SWIG_fail
;
26816 arg3
= wxString_in_helper(obj2
);
26817 if (arg3
== NULL
) SWIG_fail
;
26821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26822 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
26824 wxPyEndAllowThreads(__tstate
);
26825 if (PyErr_Occurred()) SWIG_fail
;
26827 resultobj
= PyInt_FromLong((long)result
);
26850 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26851 PyObject
*resultobj
;
26852 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26854 wxMenuItem
*result
;
26855 PyObject
* obj0
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "itemid", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
26861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26864 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
26866 wxPyEndAllowThreads(__tstate
);
26867 if (PyErr_Occurred()) SWIG_fail
;
26870 resultobj
= wxPyMake_wxObject(result
);
26878 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26879 PyObject
*resultobj
;
26880 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26881 wxString
*arg2
= 0 ;
26883 bool temp2
= False
;
26884 PyObject
* obj0
= 0 ;
26885 PyObject
* obj1
= 0 ;
26886 char *kwnames
[] = {
26887 (char *) "self",(char *) "title", NULL
26890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26893 arg2
= wxString_in_helper(obj1
);
26894 if (arg2
== NULL
) SWIG_fail
;
26898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26899 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
26901 wxPyEndAllowThreads(__tstate
);
26902 if (PyErr_Occurred()) SWIG_fail
;
26904 resultobj
= PyInt_FromLong((long)result
);
26919 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26920 PyObject
*resultobj
;
26921 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26924 PyObject
* obj0
= 0 ;
26925 PyObject
* obj2
= 0 ;
26926 char *kwnames
[] = {
26927 (char *) "self",(char *) "itemid",(char *) "enable", NULL
26930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26932 arg3
= PyInt_AsLong(obj2
) ? true : false;
26933 if (PyErr_Occurred()) SWIG_fail
;
26935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26936 (arg1
)->Enable(arg2
,arg3
);
26938 wxPyEndAllowThreads(__tstate
);
26939 if (PyErr_Occurred()) SWIG_fail
;
26941 Py_INCREF(Py_None
); resultobj
= Py_None
;
26948 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26949 PyObject
*resultobj
;
26950 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26953 PyObject
* obj0
= 0 ;
26954 PyObject
* obj2
= 0 ;
26955 char *kwnames
[] = {
26956 (char *) "self",(char *) "itemid",(char *) "check", NULL
26959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26961 arg3
= PyInt_AsLong(obj2
) ? true : false;
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26965 (arg1
)->Check(arg2
,arg3
);
26967 wxPyEndAllowThreads(__tstate
);
26968 if (PyErr_Occurred()) SWIG_fail
;
26970 Py_INCREF(Py_None
); resultobj
= Py_None
;
26977 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26978 PyObject
*resultobj
;
26979 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26982 PyObject
* obj0
= 0 ;
26983 char *kwnames
[] = {
26984 (char *) "self",(char *) "itemid", NULL
26987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
26988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26991 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
26993 wxPyEndAllowThreads(__tstate
);
26994 if (PyErr_Occurred()) SWIG_fail
;
26996 resultobj
= PyInt_FromLong((long)result
);
27003 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27004 PyObject
*resultobj
;
27005 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27008 PyObject
* obj0
= 0 ;
27009 char *kwnames
[] = {
27010 (char *) "self",(char *) "itemid", NULL
27013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27017 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27019 wxPyEndAllowThreads(__tstate
);
27020 if (PyErr_Occurred()) SWIG_fail
;
27022 resultobj
= PyInt_FromLong((long)result
);
27029 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27030 PyObject
*resultobj
;
27031 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27033 wxString
*arg3
= 0 ;
27034 bool temp3
= False
;
27035 PyObject
* obj0
= 0 ;
27036 PyObject
* obj2
= 0 ;
27037 char *kwnames
[] = {
27038 (char *) "self",(char *) "itemid",(char *) "label", NULL
27041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27044 arg3
= wxString_in_helper(obj2
);
27045 if (arg3
== NULL
) SWIG_fail
;
27049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27050 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27052 wxPyEndAllowThreads(__tstate
);
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 Py_INCREF(Py_None
); resultobj
= Py_None
;
27070 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27071 PyObject
*resultobj
;
27072 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27075 PyObject
* obj0
= 0 ;
27076 char *kwnames
[] = {
27077 (char *) "self",(char *) "itemid", NULL
27080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27084 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27086 wxPyEndAllowThreads(__tstate
);
27087 if (PyErr_Occurred()) SWIG_fail
;
27091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27102 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27103 PyObject
*resultobj
;
27104 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27106 wxString
*arg3
= 0 ;
27107 bool temp3
= False
;
27108 PyObject
* obj0
= 0 ;
27109 PyObject
* obj2
= 0 ;
27110 char *kwnames
[] = {
27111 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27117 arg3
= wxString_in_helper(obj2
);
27118 if (arg3
== NULL
) SWIG_fail
;
27122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27123 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27128 Py_INCREF(Py_None
); resultobj
= Py_None
;
27143 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27144 PyObject
*resultobj
;
27145 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27148 PyObject
* obj0
= 0 ;
27149 char *kwnames
[] = {
27150 (char *) "self",(char *) "itemid", NULL
27153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27157 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27159 wxPyEndAllowThreads(__tstate
);
27160 if (PyErr_Occurred()) SWIG_fail
;
27164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27175 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27176 PyObject
*resultobj
;
27177 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27179 PyObject
* obj0
= 0 ;
27180 char *kwnames
[] = {
27181 (char *) "self", NULL
27184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27194 resultobj
= wxPyMake_wxObject(result
);
27202 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27203 PyObject
*resultobj
;
27204 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27206 PyObject
* obj0
= 0 ;
27207 char *kwnames
[] = {
27208 (char *) "self", NULL
27211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27217 wxPyEndAllowThreads(__tstate
);
27218 if (PyErr_Occurred()) SWIG_fail
;
27220 resultobj
= PyInt_FromLong((long)result
);
27227 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27228 PyObject
*resultobj
;
27229 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27230 wxFrame
*arg2
= (wxFrame
*) 0 ;
27231 PyObject
* obj0
= 0 ;
27232 PyObject
* obj1
= 0 ;
27233 char *kwnames
[] = {
27234 (char *) "self",(char *) "frame", NULL
27237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27239 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27242 (arg1
)->Attach(arg2
);
27244 wxPyEndAllowThreads(__tstate
);
27245 if (PyErr_Occurred()) SWIG_fail
;
27247 Py_INCREF(Py_None
); resultobj
= Py_None
;
27254 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27255 PyObject
*resultobj
;
27256 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27257 PyObject
* obj0
= 0 ;
27258 char *kwnames
[] = {
27259 (char *) "self", NULL
27262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27268 wxPyEndAllowThreads(__tstate
);
27269 if (PyErr_Occurred()) SWIG_fail
;
27271 Py_INCREF(Py_None
); resultobj
= Py_None
;
27278 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27280 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27281 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27283 return Py_BuildValue((char *)"");
27285 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxMenu
*arg1
= (wxMenu
*) NULL
;
27288 int arg2
= (int) wxID_SEPARATOR
;
27289 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27290 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27291 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27292 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27293 int arg5
= (int) wxITEM_NORMAL
;
27294 wxMenu
*arg6
= (wxMenu
*) NULL
;
27295 wxMenuItem
*result
;
27296 bool temp3
= False
;
27297 bool temp4
= False
;
27298 PyObject
* obj0
= 0 ;
27299 PyObject
* obj2
= 0 ;
27300 PyObject
* obj3
= 0 ;
27301 PyObject
* obj5
= 0 ;
27302 char *kwnames
[] = {
27303 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27312 arg3
= wxString_in_helper(obj2
);
27313 if (arg3
== NULL
) SWIG_fail
;
27319 arg4
= wxString_in_helper(obj3
);
27320 if (arg4
== NULL
) SWIG_fail
;
27325 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27329 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27331 wxPyEndAllowThreads(__tstate
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27335 resultobj
= wxPyMake_wxObject(result
);
27359 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
;
27361 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27363 PyObject
* obj0
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27372 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27374 wxPyEndAllowThreads(__tstate
);
27375 if (PyErr_Occurred()) SWIG_fail
;
27378 resultobj
= wxPyMake_wxObject(result
);
27386 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27389 wxMenu
*arg2
= (wxMenu
*) 0 ;
27390 PyObject
* obj0
= 0 ;
27391 PyObject
* obj1
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self",(char *) "menu", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27398 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27401 (arg1
)->SetMenu(arg2
);
27403 wxPyEndAllowThreads(__tstate
);
27404 if (PyErr_Occurred()) SWIG_fail
;
27406 Py_INCREF(Py_None
); resultobj
= Py_None
;
27413 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27414 PyObject
*resultobj
;
27415 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27417 PyObject
* obj0
= 0 ;
27418 char *kwnames
[] = {
27419 (char *) "self",(char *) "itemid", NULL
27422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27426 (arg1
)->SetId(arg2
);
27428 wxPyEndAllowThreads(__tstate
);
27429 if (PyErr_Occurred()) SWIG_fail
;
27431 Py_INCREF(Py_None
); resultobj
= Py_None
;
27438 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27442 PyObject
* obj0
= 0 ;
27443 char *kwnames
[] = {
27444 (char *) "self", NULL
27447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
27448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27451 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
27453 wxPyEndAllowThreads(__tstate
);
27454 if (PyErr_Occurred()) SWIG_fail
;
27456 resultobj
= PyInt_FromLong((long)result
);
27463 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27464 PyObject
*resultobj
;
27465 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27467 PyObject
* obj0
= 0 ;
27468 char *kwnames
[] = {
27469 (char *) "self", NULL
27472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
27473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27476 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
27478 wxPyEndAllowThreads(__tstate
);
27479 if (PyErr_Occurred()) SWIG_fail
;
27481 resultobj
= PyInt_FromLong((long)result
);
27488 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27489 PyObject
*resultobj
;
27490 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27491 wxString
*arg2
= 0 ;
27492 bool temp2
= False
;
27493 PyObject
* obj0
= 0 ;
27494 PyObject
* obj1
= 0 ;
27495 char *kwnames
[] = {
27496 (char *) "self",(char *) "str", NULL
27499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27502 arg2
= wxString_in_helper(obj1
);
27503 if (arg2
== NULL
) SWIG_fail
;
27507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27508 (arg1
)->SetText((wxString
const &)*arg2
);
27510 wxPyEndAllowThreads(__tstate
);
27511 if (PyErr_Occurred()) SWIG_fail
;
27513 Py_INCREF(Py_None
); resultobj
= Py_None
;
27528 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27529 PyObject
*resultobj
;
27530 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27532 PyObject
* obj0
= 0 ;
27533 char *kwnames
[] = {
27534 (char *) "self", NULL
27537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
27538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27541 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27548 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27550 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27559 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27560 PyObject
*resultobj
;
27561 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27563 PyObject
* obj0
= 0 ;
27564 char *kwnames
[] = {
27565 (char *) "self", NULL
27568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
27569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27573 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
27574 result
= (wxString
*) &_result_ref
;
27577 wxPyEndAllowThreads(__tstate
);
27578 if (PyErr_Occurred()) SWIG_fail
;
27580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
27587 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27588 PyObject
*resultobj
;
27589 wxString
*arg1
= 0 ;
27591 bool temp1
= False
;
27592 PyObject
* obj0
= 0 ;
27593 char *kwnames
[] = {
27594 (char *) "text", NULL
27597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
27599 arg1
= wxString_in_helper(obj0
);
27600 if (arg1
== NULL
) SWIG_fail
;
27604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27605 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
27607 wxPyEndAllowThreads(__tstate
);
27608 if (PyErr_Occurred()) SWIG_fail
;
27612 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27614 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27631 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27632 PyObject
*resultobj
;
27633 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
27641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27649 resultobj
= PyInt_FromLong((long)result
);
27656 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27657 PyObject
*resultobj
;
27658 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27660 PyObject
* obj0
= 0 ;
27661 PyObject
* obj1
= 0 ;
27662 char *kwnames
[] = {
27663 (char *) "self",(char *) "checkable", NULL
27666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
27667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27668 arg2
= PyInt_AsLong(obj1
) ? true : false;
27669 if (PyErr_Occurred()) SWIG_fail
;
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 (arg1
)->SetCheckable(arg2
);
27674 wxPyEndAllowThreads(__tstate
);
27675 if (PyErr_Occurred()) SWIG_fail
;
27677 Py_INCREF(Py_None
); resultobj
= Py_None
;
27684 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27685 PyObject
*resultobj
;
27686 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27688 PyObject
* obj0
= 0 ;
27689 char *kwnames
[] = {
27690 (char *) "self", NULL
27693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
27694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27697 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
27699 wxPyEndAllowThreads(__tstate
);
27700 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= PyInt_FromLong((long)result
);
27709 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27710 PyObject
*resultobj
;
27711 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27713 PyObject
* obj0
= 0 ;
27714 char *kwnames
[] = {
27715 (char *) "self", NULL
27718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
27719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27722 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
27724 wxPyEndAllowThreads(__tstate
);
27725 if (PyErr_Occurred()) SWIG_fail
;
27727 resultobj
= PyInt_FromLong((long)result
);
27734 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27735 PyObject
*resultobj
;
27736 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27737 wxMenu
*arg2
= (wxMenu
*) 0 ;
27738 PyObject
* obj0
= 0 ;
27739 PyObject
* obj1
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "self",(char *) "menu", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27746 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27749 (arg1
)->SetSubMenu(arg2
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 Py_INCREF(Py_None
); resultobj
= Py_None
;
27761 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27762 PyObject
*resultobj
;
27763 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27765 PyObject
* obj0
= 0 ;
27766 char *kwnames
[] = {
27767 (char *) "self", NULL
27770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
27771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27774 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
27776 wxPyEndAllowThreads(__tstate
);
27777 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= wxPyMake_wxObject(result
);
27788 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27789 PyObject
*resultobj
;
27790 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27791 bool arg2
= (bool) True
;
27792 PyObject
* obj0
= 0 ;
27793 PyObject
* obj1
= 0 ;
27794 char *kwnames
[] = {
27795 (char *) "self",(char *) "enable", NULL
27798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27801 arg2
= PyInt_AsLong(obj1
) ? true : false;
27802 if (PyErr_Occurred()) SWIG_fail
;
27805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27806 (arg1
)->Enable(arg2
);
27808 wxPyEndAllowThreads(__tstate
);
27809 if (PyErr_Occurred()) SWIG_fail
;
27811 Py_INCREF(Py_None
); resultobj
= Py_None
;
27818 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27819 PyObject
*resultobj
;
27820 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27822 PyObject
* obj0
= 0 ;
27823 char *kwnames
[] = {
27824 (char *) "self", NULL
27827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
27828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27831 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
27833 wxPyEndAllowThreads(__tstate
);
27834 if (PyErr_Occurred()) SWIG_fail
;
27836 resultobj
= PyInt_FromLong((long)result
);
27843 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27844 PyObject
*resultobj
;
27845 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27846 bool arg2
= (bool) True
;
27847 PyObject
* obj0
= 0 ;
27848 PyObject
* obj1
= 0 ;
27849 char *kwnames
[] = {
27850 (char *) "self",(char *) "check", NULL
27853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
27854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27856 arg2
= PyInt_AsLong(obj1
) ? true : false;
27857 if (PyErr_Occurred()) SWIG_fail
;
27860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27861 (arg1
)->Check(arg2
);
27863 wxPyEndAllowThreads(__tstate
);
27864 if (PyErr_Occurred()) SWIG_fail
;
27866 Py_INCREF(Py_None
); resultobj
= Py_None
;
27873 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27874 PyObject
*resultobj
;
27875 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27877 PyObject
* obj0
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27886 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
27888 wxPyEndAllowThreads(__tstate
);
27889 if (PyErr_Occurred()) SWIG_fail
;
27891 resultobj
= PyInt_FromLong((long)result
);
27898 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27899 PyObject
*resultobj
;
27900 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27901 PyObject
* obj0
= 0 ;
27902 char *kwnames
[] = {
27903 (char *) "self", NULL
27906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
27907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27912 wxPyEndAllowThreads(__tstate
);
27913 if (PyErr_Occurred()) SWIG_fail
;
27915 Py_INCREF(Py_None
); resultobj
= Py_None
;
27922 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27923 PyObject
*resultobj
;
27924 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27925 wxString
*arg2
= 0 ;
27926 bool temp2
= False
;
27927 PyObject
* obj0
= 0 ;
27928 PyObject
* obj1
= 0 ;
27929 char *kwnames
[] = {
27930 (char *) "self",(char *) "str", NULL
27933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
27934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27936 arg2
= wxString_in_helper(obj1
);
27937 if (arg2
== NULL
) SWIG_fail
;
27941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27942 (arg1
)->SetHelp((wxString
const &)*arg2
);
27944 wxPyEndAllowThreads(__tstate
);
27945 if (PyErr_Occurred()) SWIG_fail
;
27947 Py_INCREF(Py_None
); resultobj
= Py_None
;
27962 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27963 PyObject
*resultobj
;
27964 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27966 PyObject
* obj0
= 0 ;
27967 char *kwnames
[] = {
27968 (char *) "self", NULL
27971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
27972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
27977 result
= (wxString
*) &_result_ref
;
27980 wxPyEndAllowThreads(__tstate
);
27981 if (PyErr_Occurred()) SWIG_fail
;
27983 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
27990 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27991 PyObject
*resultobj
;
27992 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27993 wxAcceleratorEntry
*result
;
27994 PyObject
* obj0
= 0 ;
27995 char *kwnames
[] = {
27996 (char *) "self", NULL
27999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28003 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28005 wxPyEndAllowThreads(__tstate
);
28006 if (PyErr_Occurred()) SWIG_fail
;
28008 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28015 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28016 PyObject
*resultobj
;
28017 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28018 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28019 PyObject
* obj0
= 0 ;
28020 PyObject
* obj1
= 0 ;
28021 char *kwnames
[] = {
28022 (char *) "self",(char *) "accel", NULL
28025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28027 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28030 (arg1
)->SetAccel(arg2
);
28032 wxPyEndAllowThreads(__tstate
);
28033 if (PyErr_Occurred()) SWIG_fail
;
28035 Py_INCREF(Py_None
); resultobj
= Py_None
;
28042 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28043 PyObject
*resultobj
;
28045 char *kwnames
[] = {
28049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28052 result
= (int)MenuItem_GetDefaultMarginWidth();
28054 wxPyEndAllowThreads(__tstate
);
28055 if (PyErr_Occurred()) SWIG_fail
;
28057 resultobj
= PyInt_FromLong((long)result
);
28064 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28065 PyObject
*resultobj
;
28066 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28067 wxBitmap
*arg2
= 0 ;
28068 PyObject
* obj0
= 0 ;
28069 PyObject
* obj1
= 0 ;
28070 char *kwnames
[] = {
28071 (char *) "self",(char *) "bitmap", NULL
28074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28077 if (arg2
== NULL
) {
28078 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28082 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 Py_INCREF(Py_None
); resultobj
= Py_None
;
28094 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
;
28096 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28098 PyObject
* obj0
= 0 ;
28099 char *kwnames
[] = {
28100 (char *) "self", NULL
28103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
28104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28108 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
28109 result
= (wxBitmap
*) &_result_ref
;
28112 wxPyEndAllowThreads(__tstate
);
28113 if (PyErr_Occurred()) SWIG_fail
;
28115 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28122 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
28124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28125 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
28127 return Py_BuildValue((char *)"");
28129 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28130 PyObject
*resultobj
;
28131 wxWindow
*arg1
= (wxWindow
*) 0 ;
28133 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28134 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28135 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28136 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28137 long arg5
= (long) 0 ;
28138 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28139 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28140 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28141 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28145 bool temp7
= False
;
28146 PyObject
* obj0
= 0 ;
28147 PyObject
* obj2
= 0 ;
28148 PyObject
* obj3
= 0 ;
28149 PyObject
* obj5
= 0 ;
28150 PyObject
* obj6
= 0 ;
28151 char *kwnames
[] = {
28152 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
28156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28160 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28166 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28170 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28171 if (arg6
== NULL
) {
28172 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28177 arg7
= wxString_in_helper(obj6
);
28178 if (arg7
== NULL
) SWIG_fail
;
28183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28184 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28186 wxPyEndAllowThreads(__tstate
);
28187 if (PyErr_Occurred()) SWIG_fail
;
28190 resultobj
= wxPyMake_wxObject(result
);
28206 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28207 PyObject
*resultobj
;
28209 char *kwnames
[] = {
28213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
28215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28216 result
= (wxControl
*)new wxControl();
28218 wxPyEndAllowThreads(__tstate
);
28219 if (PyErr_Occurred()) SWIG_fail
;
28222 resultobj
= wxPyMake_wxObject(result
);
28230 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28231 PyObject
*resultobj
;
28232 wxControl
*arg1
= (wxControl
*) 0 ;
28233 wxWindow
*arg2
= (wxWindow
*) 0 ;
28235 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28236 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28237 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28238 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28239 long arg6
= (long) 0 ;
28240 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28241 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28242 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
28243 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28247 bool temp8
= False
;
28248 PyObject
* obj0
= 0 ;
28249 PyObject
* obj1
= 0 ;
28250 PyObject
* obj3
= 0 ;
28251 PyObject
* obj4
= 0 ;
28252 PyObject
* obj6
= 0 ;
28253 PyObject
* obj7
= 0 ;
28254 char *kwnames
[] = {
28255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
28259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28264 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28270 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28274 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28275 if (arg7
== NULL
) {
28276 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28281 arg8
= wxString_in_helper(obj7
);
28282 if (arg8
== NULL
) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= PyInt_FromLong((long)result
);
28308 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28309 PyObject
*resultobj
;
28310 wxControl
*arg1
= (wxControl
*) 0 ;
28311 wxCommandEvent
*arg2
= 0 ;
28312 PyObject
* obj0
= 0 ;
28313 PyObject
* obj1
= 0 ;
28314 char *kwnames
[] = {
28315 (char *) "self",(char *) "event", NULL
28318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
28319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28320 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28321 if (arg2
== NULL
) {
28322 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28326 (arg1
)->Command(*arg2
);
28328 wxPyEndAllowThreads(__tstate
);
28329 if (PyErr_Occurred()) SWIG_fail
;
28331 Py_INCREF(Py_None
); resultobj
= Py_None
;
28338 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28339 PyObject
*resultobj
;
28340 wxControl
*arg1
= (wxControl
*) 0 ;
28342 PyObject
* obj0
= 0 ;
28343 char *kwnames
[] = {
28344 (char *) "self", NULL
28347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
28348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28351 result
= (arg1
)->GetLabel();
28353 wxPyEndAllowThreads(__tstate
);
28354 if (PyErr_Occurred()) SWIG_fail
;
28358 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28360 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28369 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28370 PyObject
*resultobj
;
28371 wxControl
*arg1
= (wxControl
*) 0 ;
28372 wxString
*arg2
= 0 ;
28373 bool temp2
= False
;
28374 PyObject
* obj0
= 0 ;
28375 PyObject
* obj1
= 0 ;
28376 char *kwnames
[] = {
28377 (char *) "self",(char *) "label", NULL
28380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28383 arg2
= wxString_in_helper(obj1
);
28384 if (arg2
== NULL
) SWIG_fail
;
28388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28389 (arg1
)->SetLabel((wxString
const &)*arg2
);
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 Py_INCREF(Py_None
); resultobj
= Py_None
;
28409 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
28411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28412 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
28414 return Py_BuildValue((char *)"");
28416 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28417 PyObject
*resultobj
;
28418 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28419 wxString
*arg2
= 0 ;
28420 PyObject
*arg3
= (PyObject
*) NULL
;
28422 bool temp2
= False
;
28423 PyObject
* obj0
= 0 ;
28424 PyObject
* obj1
= 0 ;
28425 PyObject
* obj2
= 0 ;
28426 char *kwnames
[] = {
28427 (char *) "self",(char *) "item",(char *) "clientData", NULL
28430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28433 arg2
= wxString_in_helper(obj1
);
28434 if (arg2
== NULL
) SWIG_fail
;
28441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28442 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
28444 wxPyEndAllowThreads(__tstate
);
28445 if (PyErr_Occurred()) SWIG_fail
;
28447 resultobj
= PyInt_FromLong((long)result
);
28462 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28463 PyObject
*resultobj
;
28464 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28465 wxArrayString
*arg2
= 0 ;
28466 PyObject
* obj0
= 0 ;
28467 PyObject
* obj1
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self",(char *) "strings", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
28473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28475 if (! PySequence_Check(obj1
)) {
28476 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
28479 arg2
= new wxArrayString
;
28480 int i
, len
=PySequence_Length(obj1
);
28481 for (i
=0; i
<len
; i
++) {
28482 PyObject
* item
= PySequence_GetItem(obj1
, i
);
28484 PyObject
* str
= PyObject_Unicode(item
);
28486 PyObject
* str
= PyObject_Str(item
);
28488 arg2
->Add(Py2wxString(str
));
28494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28495 (arg1
)->Append((wxArrayString
const &)*arg2
);
28497 wxPyEndAllowThreads(__tstate
);
28498 if (PyErr_Occurred()) SWIG_fail
;
28500 Py_INCREF(Py_None
); resultobj
= Py_None
;
28502 if (arg2
) delete arg2
;
28507 if (arg2
) delete arg2
;
28513 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28514 PyObject
*resultobj
;
28515 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28516 wxString
*arg2
= 0 ;
28518 PyObject
*arg4
= (PyObject
*) NULL
;
28520 bool temp2
= False
;
28521 PyObject
* obj0
= 0 ;
28522 PyObject
* obj1
= 0 ;
28523 PyObject
* obj3
= 0 ;
28524 char *kwnames
[] = {
28525 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
28529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28531 arg2
= wxString_in_helper(obj1
);
28532 if (arg2
== NULL
) SWIG_fail
;
28539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28540 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
28542 wxPyEndAllowThreads(__tstate
);
28543 if (PyErr_Occurred()) SWIG_fail
;
28545 resultobj
= PyInt_FromLong((long)result
);
28560 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28561 PyObject
*resultobj
;
28562 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28563 PyObject
* obj0
= 0 ;
28564 char *kwnames
[] = {
28565 (char *) "self", NULL
28568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
28569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 wxPyEndAllowThreads(__tstate
);
28575 if (PyErr_Occurred()) SWIG_fail
;
28577 Py_INCREF(Py_None
); resultobj
= Py_None
;
28584 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28585 PyObject
*resultobj
;
28586 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28588 PyObject
* obj0
= 0 ;
28589 char *kwnames
[] = {
28590 (char *) "self",(char *) "n", NULL
28593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
28594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 (arg1
)->Delete(arg2
);
28599 wxPyEndAllowThreads(__tstate
);
28600 if (PyErr_Occurred()) SWIG_fail
;
28602 Py_INCREF(Py_None
); resultobj
= Py_None
;
28609 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28610 PyObject
*resultobj
;
28611 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28613 PyObject
* obj0
= 0 ;
28614 char *kwnames
[] = {
28615 (char *) "self", NULL
28618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
28619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28622 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
28624 wxPyEndAllowThreads(__tstate
);
28625 if (PyErr_Occurred()) SWIG_fail
;
28627 resultobj
= PyInt_FromLong((long)result
);
28634 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28635 PyObject
*resultobj
;
28636 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28638 PyObject
* obj0
= 0 ;
28639 char *kwnames
[] = {
28640 (char *) "self", NULL
28643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
28644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28647 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
28649 wxPyEndAllowThreads(__tstate
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28652 resultobj
= PyInt_FromLong((long)result
);
28659 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28660 PyObject
*resultobj
;
28661 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28664 PyObject
* obj0
= 0 ;
28665 char *kwnames
[] = {
28666 (char *) "self",(char *) "n", NULL
28669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
28670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28673 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
28675 wxPyEndAllowThreads(__tstate
);
28676 if (PyErr_Occurred()) SWIG_fail
;
28680 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28682 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28691 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28692 PyObject
*resultobj
;
28693 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28694 wxArrayString result
;
28695 PyObject
* obj0
= 0 ;
28696 char *kwnames
[] = {
28697 (char *) "self", NULL
28700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
28701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
28706 wxPyEndAllowThreads(__tstate
);
28707 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= wxArrayString2PyList_helper(result
);
28718 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28719 PyObject
*resultobj
;
28720 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28722 wxString
*arg3
= 0 ;
28723 bool temp3
= False
;
28724 PyObject
* obj0
= 0 ;
28725 PyObject
* obj2
= 0 ;
28726 char *kwnames
[] = {
28727 (char *) "self",(char *) "n",(char *) "s", NULL
28730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
28731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28733 arg3
= wxString_in_helper(obj2
);
28734 if (arg3
== NULL
) SWIG_fail
;
28738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28739 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
28741 wxPyEndAllowThreads(__tstate
);
28742 if (PyErr_Occurred()) SWIG_fail
;
28744 Py_INCREF(Py_None
); resultobj
= Py_None
;
28759 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28760 PyObject
*resultobj
;
28761 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28762 wxString
*arg2
= 0 ;
28764 bool temp2
= False
;
28765 PyObject
* obj0
= 0 ;
28766 PyObject
* obj1
= 0 ;
28767 char *kwnames
[] = {
28768 (char *) "self",(char *) "s", NULL
28771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
28772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28774 arg2
= wxString_in_helper(obj1
);
28775 if (arg2
== NULL
) SWIG_fail
;
28779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28780 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
28782 wxPyEndAllowThreads(__tstate
);
28783 if (PyErr_Occurred()) SWIG_fail
;
28785 resultobj
= PyInt_FromLong((long)result
);
28800 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28801 PyObject
*resultobj
;
28802 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28804 PyObject
* obj0
= 0 ;
28805 char *kwnames
[] = {
28806 (char *) "self",(char *) "n", NULL
28809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
28810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28813 (arg1
)->Select(arg2
);
28815 wxPyEndAllowThreads(__tstate
);
28816 if (PyErr_Occurred()) SWIG_fail
;
28818 Py_INCREF(Py_None
); resultobj
= Py_None
;
28825 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28826 PyObject
*resultobj
;
28827 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28829 PyObject
* obj0
= 0 ;
28830 char *kwnames
[] = {
28831 (char *) "self", NULL
28834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
28835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28838 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
28840 wxPyEndAllowThreads(__tstate
);
28841 if (PyErr_Occurred()) SWIG_fail
;
28843 resultobj
= PyInt_FromLong((long)result
);
28850 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28851 PyObject
*resultobj
;
28852 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28854 PyObject
* obj0
= 0 ;
28855 char *kwnames
[] = {
28856 (char *) "self", NULL
28859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
28860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
28865 wxPyEndAllowThreads(__tstate
);
28866 if (PyErr_Occurred()) SWIG_fail
;
28870 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28872 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28881 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28882 PyObject
*resultobj
;
28883 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28886 PyObject
* obj0
= 0 ;
28887 char *kwnames
[] = {
28888 (char *) "self",(char *) "n", NULL
28891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
28892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28895 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
28897 wxPyEndAllowThreads(__tstate
);
28898 if (PyErr_Occurred()) SWIG_fail
;
28900 resultobj
= result
;
28907 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28908 PyObject
*resultobj
;
28909 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28911 PyObject
*arg3
= (PyObject
*) 0 ;
28912 PyObject
* obj0
= 0 ;
28913 PyObject
* obj2
= 0 ;
28914 char *kwnames
[] = {
28915 (char *) "self",(char *) "n",(char *) "clientData", NULL
28918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
28919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28923 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
28925 wxPyEndAllowThreads(__tstate
);
28926 if (PyErr_Occurred()) SWIG_fail
;
28928 Py_INCREF(Py_None
); resultobj
= Py_None
;
28935 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
28937 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28938 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
28940 return Py_BuildValue((char *)"");
28942 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
28944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28945 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
28947 return Py_BuildValue((char *)"");
28949 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28950 PyObject
*resultobj
;
28951 wxSizerItem
*result
;
28952 char *kwnames
[] = {
28956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28959 result
= (wxSizerItem
*)new wxSizerItem();
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
28971 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
;
28978 wxObject
*arg6
= (wxObject
*) 0 ;
28979 wxSizerItem
*result
;
28980 PyObject
* obj5
= 0 ;
28981 char *kwnames
[] = {
28982 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
28985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
28986 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28989 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
28991 wxPyEndAllowThreads(__tstate
);
28992 if (PyErr_Occurred()) SWIG_fail
;
28994 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29001 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29002 PyObject
*resultobj
;
29003 wxWindow
*arg1
= (wxWindow
*) 0 ;
29007 wxObject
*arg5
= (wxObject
*) 0 ;
29008 wxSizerItem
*result
;
29009 PyObject
* obj0
= 0 ;
29010 PyObject
* obj4
= 0 ;
29011 char *kwnames
[] = {
29012 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29017 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29020 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29032 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29033 PyObject
*resultobj
;
29034 wxSizer
*arg1
= (wxSizer
*) 0 ;
29038 wxObject
*arg5
= (wxObject
*) 0 ;
29039 wxSizerItem
*result
;
29040 PyObject
* obj0
= 0 ;
29041 PyObject
* obj4
= 0 ;
29042 char *kwnames
[] = {
29043 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29048 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29051 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29053 wxPyEndAllowThreads(__tstate
);
29054 if (PyErr_Occurred()) SWIG_fail
;
29056 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29063 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29064 PyObject
*resultobj
;
29065 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29066 PyObject
* obj0
= 0 ;
29067 char *kwnames
[] = {
29068 (char *) "self", NULL
29071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
29072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29075 (arg1
)->DeleteWindows();
29077 wxPyEndAllowThreads(__tstate
);
29078 if (PyErr_Occurred()) SWIG_fail
;
29080 Py_INCREF(Py_None
); resultobj
= Py_None
;
29087 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29088 PyObject
*resultobj
;
29089 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29090 PyObject
* obj0
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
29096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 (arg1
)->DetachSizer();
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29104 Py_INCREF(Py_None
); resultobj
= Py_None
;
29111 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29112 PyObject
*resultobj
;
29113 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29115 PyObject
* obj0
= 0 ;
29116 char *kwnames
[] = {
29117 (char *) "self", NULL
29120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
29121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29124 result
= (arg1
)->GetSize();
29126 wxPyEndAllowThreads(__tstate
);
29127 if (PyErr_Occurred()) SWIG_fail
;
29130 wxSize
* resultptr
;
29131 resultptr
= new wxSize((wxSize
&) result
);
29132 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29140 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29141 PyObject
*resultobj
;
29142 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29144 PyObject
* obj0
= 0 ;
29145 char *kwnames
[] = {
29146 (char *) "self", NULL
29149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
29150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 result
= (arg1
)->CalcMin();
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29159 wxSize
* resultptr
;
29160 resultptr
= new wxSize((wxSize
&) result
);
29161 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29169 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29170 PyObject
*resultobj
;
29171 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29176 PyObject
* obj0
= 0 ;
29177 PyObject
* obj1
= 0 ;
29178 PyObject
* obj2
= 0 ;
29179 char *kwnames
[] = {
29180 (char *) "self",(char *) "pos",(char *) "size", NULL
29183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29185 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29187 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29191 (arg1
)->SetDimension(arg2
,arg3
);
29193 wxPyEndAllowThreads(__tstate
);
29194 if (PyErr_Occurred()) SWIG_fail
;
29196 Py_INCREF(Py_None
); resultobj
= Py_None
;
29203 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29204 PyObject
*resultobj
;
29205 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29207 PyObject
* obj0
= 0 ;
29208 char *kwnames
[] = {
29209 (char *) "self", NULL
29212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",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 result
= (arg1
)->GetMinSize();
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29222 wxSize
* resultptr
;
29223 resultptr
= new wxSize((wxSize
&) result
);
29224 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29232 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29233 PyObject
*resultobj
;
29234 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29237 PyObject
* obj0
= 0 ;
29238 char *kwnames
[] = {
29239 (char *) "self",(char *) "x",(char *) "y", NULL
29242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29246 (arg1
)->SetInitSize(arg2
,arg3
);
29248 wxPyEndAllowThreads(__tstate
);
29249 if (PyErr_Occurred()) SWIG_fail
;
29251 Py_INCREF(Py_None
); resultobj
= Py_None
;
29258 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29259 PyObject
*resultobj
;
29260 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29263 PyObject
* obj0
= 0 ;
29264 char *kwnames
[] = {
29265 (char *) "self",(char *) "width",(char *) "height", NULL
29268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29272 (arg1
)->SetRatio(arg2
,arg3
);
29274 wxPyEndAllowThreads(__tstate
);
29275 if (PyErr_Occurred()) SWIG_fail
;
29277 Py_INCREF(Py_None
); resultobj
= Py_None
;
29284 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29285 PyObject
*resultobj
;
29286 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29289 PyObject
* obj0
= 0 ;
29290 PyObject
* obj1
= 0 ;
29291 char *kwnames
[] = {
29292 (char *) "self",(char *) "size", NULL
29295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29297 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29301 (arg1
)->SetRatio(arg2
);
29303 wxPyEndAllowThreads(__tstate
);
29304 if (PyErr_Occurred()) SWIG_fail
;
29306 Py_INCREF(Py_None
); resultobj
= Py_None
;
29313 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
;
29315 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29317 PyObject
* obj0
= 0 ;
29318 char *kwnames
[] = {
29319 (char *) "self",(char *) "ratio", NULL
29322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
29323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29326 (arg1
)->SetRatio(arg2
);
29328 wxPyEndAllowThreads(__tstate
);
29329 if (PyErr_Occurred()) SWIG_fail
;
29331 Py_INCREF(Py_None
); resultobj
= Py_None
;
29338 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29339 PyObject
*resultobj
;
29340 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29342 PyObject
* obj0
= 0 ;
29343 char *kwnames
[] = {
29344 (char *) "self", NULL
29347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
29348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29351 result
= (float)(arg1
)->GetRatio();
29353 wxPyEndAllowThreads(__tstate
);
29354 if (PyErr_Occurred()) SWIG_fail
;
29356 resultobj
= PyFloat_FromDouble(result
);
29363 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29364 PyObject
*resultobj
;
29365 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29367 PyObject
* obj0
= 0 ;
29368 char *kwnames
[] = {
29369 (char *) "self", NULL
29372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
29373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29376 result
= (bool)(arg1
)->IsWindow();
29378 wxPyEndAllowThreads(__tstate
);
29379 if (PyErr_Occurred()) SWIG_fail
;
29381 resultobj
= PyInt_FromLong((long)result
);
29388 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29389 PyObject
*resultobj
;
29390 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29392 PyObject
* obj0
= 0 ;
29393 char *kwnames
[] = {
29394 (char *) "self", NULL
29397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
29398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29401 result
= (bool)(arg1
)->IsSizer();
29403 wxPyEndAllowThreads(__tstate
);
29404 if (PyErr_Occurred()) SWIG_fail
;
29406 resultobj
= PyInt_FromLong((long)result
);
29413 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29414 PyObject
*resultobj
;
29415 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29417 PyObject
* obj0
= 0 ;
29418 char *kwnames
[] = {
29419 (char *) "self", NULL
29422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
29423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29426 result
= (bool)(arg1
)->IsSpacer();
29428 wxPyEndAllowThreads(__tstate
);
29429 if (PyErr_Occurred()) SWIG_fail
;
29431 resultobj
= PyInt_FromLong((long)result
);
29438 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29439 PyObject
*resultobj
;
29440 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29442 PyObject
* obj0
= 0 ;
29443 char *kwnames
[] = {
29444 (char *) "self",(char *) "proportion", NULL
29447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
29448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29451 (arg1
)->SetProportion(arg2
);
29453 wxPyEndAllowThreads(__tstate
);
29454 if (PyErr_Occurred()) SWIG_fail
;
29456 Py_INCREF(Py_None
); resultobj
= Py_None
;
29463 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29464 PyObject
*resultobj
;
29465 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29467 PyObject
* obj0
= 0 ;
29468 char *kwnames
[] = {
29469 (char *) "self", NULL
29472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
29473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29476 result
= (int)(arg1
)->GetProportion();
29478 wxPyEndAllowThreads(__tstate
);
29479 if (PyErr_Occurred()) SWIG_fail
;
29481 resultobj
= PyInt_FromLong((long)result
);
29488 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29489 PyObject
*resultobj
;
29490 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29492 PyObject
* obj0
= 0 ;
29493 char *kwnames
[] = {
29494 (char *) "self",(char *) "flag", NULL
29497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
29498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29501 (arg1
)->SetFlag(arg2
);
29503 wxPyEndAllowThreads(__tstate
);
29504 if (PyErr_Occurred()) SWIG_fail
;
29506 Py_INCREF(Py_None
); resultobj
= Py_None
;
29513 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29514 PyObject
*resultobj
;
29515 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29517 PyObject
* obj0
= 0 ;
29518 char *kwnames
[] = {
29519 (char *) "self", NULL
29522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
29523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29526 result
= (int)(arg1
)->GetFlag();
29528 wxPyEndAllowThreads(__tstate
);
29529 if (PyErr_Occurred()) SWIG_fail
;
29531 resultobj
= PyInt_FromLong((long)result
);
29538 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29539 PyObject
*resultobj
;
29540 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29542 PyObject
* obj0
= 0 ;
29543 char *kwnames
[] = {
29544 (char *) "self",(char *) "border", NULL
29547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
29548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29551 (arg1
)->SetBorder(arg2
);
29553 wxPyEndAllowThreads(__tstate
);
29554 if (PyErr_Occurred()) SWIG_fail
;
29556 Py_INCREF(Py_None
); resultobj
= Py_None
;
29563 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29564 PyObject
*resultobj
;
29565 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29567 PyObject
* obj0
= 0 ;
29568 char *kwnames
[] = {
29569 (char *) "self", NULL
29572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
29573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29576 result
= (int)(arg1
)->GetBorder();
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29581 resultobj
= PyInt_FromLong((long)result
);
29588 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
;
29590 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29592 PyObject
* obj0
= 0 ;
29593 char *kwnames
[] = {
29594 (char *) "self", NULL
29597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
29598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29601 result
= (wxWindow
*)(arg1
)->GetWindow();
29603 wxPyEndAllowThreads(__tstate
);
29604 if (PyErr_Occurred()) SWIG_fail
;
29607 resultobj
= wxPyMake_wxObject(result
);
29615 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29616 PyObject
*resultobj
;
29617 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29618 wxWindow
*arg2
= (wxWindow
*) 0 ;
29619 PyObject
* obj0
= 0 ;
29620 PyObject
* obj1
= 0 ;
29621 char *kwnames
[] = {
29622 (char *) "self",(char *) "window", NULL
29625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29627 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29630 (arg1
)->SetWindow(arg2
);
29632 wxPyEndAllowThreads(__tstate
);
29633 if (PyErr_Occurred()) SWIG_fail
;
29635 Py_INCREF(Py_None
); resultobj
= Py_None
;
29642 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29643 PyObject
*resultobj
;
29644 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29646 PyObject
* obj0
= 0 ;
29647 char *kwnames
[] = {
29648 (char *) "self", NULL
29651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
29652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29655 result
= (wxSizer
*)(arg1
)->GetSizer();
29657 wxPyEndAllowThreads(__tstate
);
29658 if (PyErr_Occurred()) SWIG_fail
;
29661 resultobj
= wxPyMake_wxSizer(result
);
29669 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29670 PyObject
*resultobj
;
29671 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29672 wxSizer
*arg2
= (wxSizer
*) 0 ;
29673 PyObject
* obj0
= 0 ;
29674 PyObject
* obj1
= 0 ;
29675 char *kwnames
[] = {
29676 (char *) "self",(char *) "sizer", NULL
29679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
29680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29684 (arg1
)->SetSizer(arg2
);
29686 wxPyEndAllowThreads(__tstate
);
29687 if (PyErr_Occurred()) SWIG_fail
;
29689 Py_INCREF(Py_None
); resultobj
= Py_None
;
29696 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29697 PyObject
*resultobj
;
29698 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29700 PyObject
* obj0
= 0 ;
29701 char *kwnames
[] = {
29702 (char *) "self", NULL
29705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
29706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29710 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
29711 result
= (wxSize
*) &_result_ref
;
29714 wxPyEndAllowThreads(__tstate
);
29715 if (PyErr_Occurred()) SWIG_fail
;
29717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
29724 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29725 PyObject
*resultobj
;
29726 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29729 PyObject
* obj0
= 0 ;
29730 PyObject
* obj1
= 0 ;
29731 char *kwnames
[] = {
29732 (char *) "self",(char *) "size", NULL
29735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
29736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29739 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
29742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29743 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
29745 wxPyEndAllowThreads(__tstate
);
29746 if (PyErr_Occurred()) SWIG_fail
;
29748 Py_INCREF(Py_None
); resultobj
= Py_None
;
29755 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29756 PyObject
*resultobj
;
29757 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29759 PyObject
* obj0
= 0 ;
29760 PyObject
* obj1
= 0 ;
29761 char *kwnames
[] = {
29762 (char *) "self",(char *) "show", NULL
29765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
29766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29767 arg2
= PyInt_AsLong(obj1
) ? true : false;
29768 if (PyErr_Occurred()) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 (arg1
)->Show(arg2
);
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 Py_INCREF(Py_None
); resultobj
= Py_None
;
29783 static PyObject
*_wrap_SizerItem_IsShown(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_IsShown",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
= (bool)(arg1
)->IsShown();
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 resultobj
= PyInt_FromLong((long)result
);
29808 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
;
29810 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29812 PyObject
* obj0
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= (arg1
)->GetPosition();
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29827 wxPoint
* resultptr
;
29828 resultptr
= new wxPoint((wxPoint
&) result
);
29829 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
29837 static PyObject
*_wrap_SizerItem_GetUserData(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_GetUserData",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();
29850 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
29852 wxPyEndAllowThreads(__tstate
);
29853 if (PyErr_Occurred()) SWIG_fail
;
29855 resultobj
= result
;
29862 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
29864 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29865 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
29867 return Py_BuildValue((char *)"");
29869 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29870 PyObject
*resultobj
;
29871 wxSizer
*arg1
= (wxSizer
*) 0 ;
29872 PyObject
*arg2
= (PyObject
*) 0 ;
29873 PyObject
* obj0
= 0 ;
29874 PyObject
* obj1
= 0 ;
29875 char *kwnames
[] = {
29876 (char *) "self",(char *) "_self", NULL
29879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
29880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29884 wxSizer__setOORInfo(arg1
,arg2
);
29886 wxPyEndAllowThreads(__tstate
);
29887 if (PyErr_Occurred()) SWIG_fail
;
29889 Py_INCREF(Py_None
); resultobj
= Py_None
;
29896 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29897 PyObject
*resultobj
;
29898 wxSizer
*arg1
= (wxSizer
*) 0 ;
29899 PyObject
*arg2
= (PyObject
*) 0 ;
29900 int arg3
= (int) 0 ;
29901 int arg4
= (int) 0 ;
29902 int arg5
= (int) 0 ;
29903 PyObject
*arg6
= (PyObject
*) NULL
;
29904 PyObject
* obj0
= 0 ;
29905 PyObject
* obj1
= 0 ;
29906 PyObject
* obj5
= 0 ;
29907 char *kwnames
[] = {
29908 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29919 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29921 wxPyEndAllowThreads(__tstate
);
29922 if (PyErr_Occurred()) SWIG_fail
;
29924 Py_INCREF(Py_None
); resultobj
= Py_None
;
29931 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29932 PyObject
*resultobj
;
29933 wxSizer
*arg1
= (wxSizer
*) 0 ;
29935 PyObject
*arg3
= (PyObject
*) 0 ;
29936 int arg4
= (int) 0 ;
29937 int arg5
= (int) 0 ;
29938 int arg6
= (int) 0 ;
29939 PyObject
*arg7
= (PyObject
*) NULL
;
29940 PyObject
* obj0
= 0 ;
29941 PyObject
* obj2
= 0 ;
29942 PyObject
* obj6
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
29948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29955 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
29957 wxPyEndAllowThreads(__tstate
);
29958 if (PyErr_Occurred()) SWIG_fail
;
29960 Py_INCREF(Py_None
); resultobj
= Py_None
;
29967 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
;
29969 wxSizer
*arg1
= (wxSizer
*) 0 ;
29970 PyObject
*arg2
= (PyObject
*) 0 ;
29971 int arg3
= (int) 0 ;
29972 int arg4
= (int) 0 ;
29973 int arg5
= (int) 0 ;
29974 PyObject
*arg6
= (PyObject
*) NULL
;
29975 PyObject
* obj0
= 0 ;
29976 PyObject
* obj1
= 0 ;
29977 PyObject
* obj5
= 0 ;
29978 char *kwnames
[] = {
29979 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29992 wxPyEndAllowThreads(__tstate
);
29993 if (PyErr_Occurred()) SWIG_fail
;
29995 Py_INCREF(Py_None
); resultobj
= Py_None
;
30002 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30003 PyObject
*resultobj
;
30004 wxSizer
*arg1
= (wxSizer
*) 0 ;
30005 PyObject
*arg2
= (PyObject
*) 0 ;
30007 PyObject
* obj0
= 0 ;
30008 PyObject
* obj1
= 0 ;
30009 char *kwnames
[] = {
30010 (char *) "self",(char *) "item", NULL
30013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30018 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 resultobj
= PyInt_FromLong((long)result
);
30030 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
;
30032 wxSizer
*arg1
= (wxSizer
*) 0 ;
30033 PyObject
*arg2
= (PyObject
*) 0 ;
30036 PyObject
* obj0
= 0 ;
30037 PyObject
* obj1
= 0 ;
30038 PyObject
* obj2
= 0 ;
30039 char *kwnames
[] = {
30040 (char *) "self",(char *) "item",(char *) "size", NULL
30043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30044 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30048 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
30054 wxPyEndAllowThreads(__tstate
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30057 Py_INCREF(Py_None
); resultobj
= Py_None
;
30064 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30065 PyObject
*resultobj
;
30066 wxSizer
*arg1
= (wxSizer
*) 0 ;
30067 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 char *kwnames
[] = {
30071 (char *) "self",(char *) "item", NULL
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 Py_INCREF(Py_None
); resultobj
= Py_None
;
30091 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
;
30093 wxSizer
*arg1
= (wxSizer
*) 0 ;
30095 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
30096 PyObject
* obj0
= 0 ;
30097 PyObject
* obj1
= 0 ;
30098 PyObject
* obj2
= 0 ;
30099 char *kwnames
[] = {
30100 (char *) "self",(char *) "index",(char *) "item", NULL
30103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30105 arg2
= (size_t) PyInt_AsLong(obj1
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30107 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30110 (arg1
)->Insert(arg2
,arg3
);
30112 wxPyEndAllowThreads(__tstate
);
30113 if (PyErr_Occurred()) SWIG_fail
;
30115 Py_INCREF(Py_None
); resultobj
= Py_None
;
30122 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30123 PyObject
*resultobj
;
30124 wxSizer
*arg1
= (wxSizer
*) 0 ;
30125 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30126 PyObject
* obj0
= 0 ;
30127 PyObject
* obj1
= 0 ;
30128 char *kwnames
[] = {
30129 (char *) "self",(char *) "item", NULL
30132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30134 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 (arg1
)->Prepend(arg2
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 Py_INCREF(Py_None
); resultobj
= Py_None
;
30149 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
;
30151 wxSizer
*arg1
= (wxSizer
*) 0 ;
30156 PyObject
* obj0
= 0 ;
30157 char *kwnames
[] = {
30158 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
30162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30165 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
30167 wxPyEndAllowThreads(__tstate
);
30168 if (PyErr_Occurred()) SWIG_fail
;
30170 Py_INCREF(Py_None
); resultobj
= Py_None
;
30177 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30178 PyObject
*resultobj
;
30179 wxSizer
*arg1
= (wxSizer
*) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 PyObject
* obj1
= 0 ;
30184 char *kwnames
[] = {
30185 (char *) "self",(char *) "size", NULL
30188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30192 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30196 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
30198 wxPyEndAllowThreads(__tstate
);
30199 if (PyErr_Occurred()) SWIG_fail
;
30201 Py_INCREF(Py_None
); resultobj
= Py_None
;
30208 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30209 PyObject
*resultobj
;
30210 wxSizer
*arg1
= (wxSizer
*) 0 ;
30212 PyObject
* obj0
= 0 ;
30213 char *kwnames
[] = {
30214 (char *) "self", NULL
30217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
30218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30221 result
= (arg1
)->GetSize();
30223 wxPyEndAllowThreads(__tstate
);
30224 if (PyErr_Occurred()) SWIG_fail
;
30227 wxSize
* resultptr
;
30228 resultptr
= new wxSize((wxSize
&) result
);
30229 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30237 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30238 PyObject
*resultobj
;
30239 wxSizer
*arg1
= (wxSizer
*) 0 ;
30241 PyObject
* obj0
= 0 ;
30242 char *kwnames
[] = {
30243 (char *) "self", NULL
30246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
30247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 result
= (arg1
)->GetPosition();
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30256 wxPoint
* resultptr
;
30257 resultptr
= new wxPoint((wxPoint
&) result
);
30258 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30266 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30267 PyObject
*resultobj
;
30268 wxSizer
*arg1
= (wxSizer
*) 0 ;
30270 PyObject
* obj0
= 0 ;
30271 char *kwnames
[] = {
30272 (char *) "self", NULL
30275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
30276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30279 result
= (arg1
)->GetMinSize();
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30285 wxSize
* resultptr
;
30286 resultptr
= new wxSize((wxSize
&) result
);
30287 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30295 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30296 PyObject
*resultobj
;
30297 wxSizer
*arg1
= (wxSizer
*) 0 ;
30298 PyObject
* obj0
= 0 ;
30299 char *kwnames
[] = {
30300 (char *) "self", NULL
30303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 (arg1
)->RecalcSizes();
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30312 Py_INCREF(Py_None
); resultobj
= Py_None
;
30319 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
;
30321 wxSizer
*arg1
= (wxSizer
*) 0 ;
30323 PyObject
* obj0
= 0 ;
30324 char *kwnames
[] = {
30325 (char *) "self", NULL
30328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30332 result
= (arg1
)->CalcMin();
30334 wxPyEndAllowThreads(__tstate
);
30335 if (PyErr_Occurred()) SWIG_fail
;
30338 wxSize
* resultptr
;
30339 resultptr
= new wxSize((wxSize
&) result
);
30340 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30348 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30349 PyObject
*resultobj
;
30350 wxSizer
*arg1
= (wxSizer
*) 0 ;
30351 PyObject
* obj0
= 0 ;
30352 char *kwnames
[] = {
30353 (char *) "self", NULL
30356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
30357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30362 wxPyEndAllowThreads(__tstate
);
30363 if (PyErr_Occurred()) SWIG_fail
;
30365 Py_INCREF(Py_None
); resultobj
= Py_None
;
30372 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30373 PyObject
*resultobj
;
30374 wxSizer
*arg1
= (wxSizer
*) 0 ;
30375 wxWindow
*arg2
= (wxWindow
*) 0 ;
30377 PyObject
* obj0
= 0 ;
30378 PyObject
* obj1
= 0 ;
30379 char *kwnames
[] = {
30380 (char *) "self",(char *) "window", NULL
30383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
30384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30388 result
= (arg1
)->Fit(arg2
);
30390 wxPyEndAllowThreads(__tstate
);
30391 if (PyErr_Occurred()) SWIG_fail
;
30394 wxSize
* resultptr
;
30395 resultptr
= new wxSize((wxSize
&) result
);
30396 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30404 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30405 PyObject
*resultobj
;
30406 wxSizer
*arg1
= (wxSizer
*) 0 ;
30407 wxWindow
*arg2
= (wxWindow
*) 0 ;
30408 PyObject
* obj0
= 0 ;
30409 PyObject
* obj1
= 0 ;
30410 char *kwnames
[] = {
30411 (char *) "self",(char *) "window", NULL
30414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
30415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30416 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30419 (arg1
)->FitInside(arg2
);
30421 wxPyEndAllowThreads(__tstate
);
30422 if (PyErr_Occurred()) SWIG_fail
;
30424 Py_INCREF(Py_None
); resultobj
= Py_None
;
30431 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30432 PyObject
*resultobj
;
30433 wxSizer
*arg1
= (wxSizer
*) 0 ;
30434 wxWindow
*arg2
= (wxWindow
*) 0 ;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj1
= 0 ;
30437 char *kwnames
[] = {
30438 (char *) "self",(char *) "window", NULL
30441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->SetSizeHints(arg2
);
30448 wxPyEndAllowThreads(__tstate
);
30449 if (PyErr_Occurred()) SWIG_fail
;
30451 Py_INCREF(Py_None
); resultobj
= Py_None
;
30458 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30459 PyObject
*resultobj
;
30460 wxSizer
*arg1
= (wxSizer
*) 0 ;
30461 wxWindow
*arg2
= (wxWindow
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 char *kwnames
[] = {
30465 (char *) "self",(char *) "window", NULL
30468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30473 (arg1
)->SetVirtualSizeHints(arg2
);
30475 wxPyEndAllowThreads(__tstate
);
30476 if (PyErr_Occurred()) SWIG_fail
;
30478 Py_INCREF(Py_None
); resultobj
= Py_None
;
30485 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30486 PyObject
*resultobj
;
30487 wxSizer
*arg1
= (wxSizer
*) 0 ;
30488 bool arg2
= (bool) False
;
30489 PyObject
* obj0
= 0 ;
30490 PyObject
* obj1
= 0 ;
30491 char *kwnames
[] = {
30492 (char *) "self",(char *) "delete_windows", NULL
30495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30498 arg2
= PyInt_AsLong(obj1
) ? true : false;
30499 if (PyErr_Occurred()) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 (arg1
)->Clear(arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 Py_INCREF(Py_None
); resultobj
= Py_None
;
30515 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxSizer
*arg1
= (wxSizer
*) 0 ;
30518 PyObject
* obj0
= 0 ;
30519 char *kwnames
[] = {
30520 (char *) "self", NULL
30523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
30524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30527 (arg1
)->DeleteWindows();
30529 wxPyEndAllowThreads(__tstate
);
30530 if (PyErr_Occurred()) SWIG_fail
;
30532 Py_INCREF(Py_None
); resultobj
= Py_None
;
30539 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30540 PyObject
*resultobj
;
30541 wxSizer
*arg1
= (wxSizer
*) 0 ;
30543 PyObject
* obj0
= 0 ;
30544 char *kwnames
[] = {
30545 (char *) "self", NULL
30548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
30549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30552 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
30554 wxPyEndAllowThreads(__tstate
);
30555 if (PyErr_Occurred()) SWIG_fail
;
30557 resultobj
= result
;
30564 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30565 PyObject
*resultobj
;
30566 wxSizer
*arg1
= (wxSizer
*) 0 ;
30567 PyObject
*arg2
= (PyObject
*) 0 ;
30568 bool arg3
= (bool) True
;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 PyObject
* obj2
= 0 ;
30572 char *kwnames
[] = {
30573 (char *) "self",(char *) "item",(char *) "show", NULL
30576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30580 arg3
= PyInt_AsLong(obj2
) ? true : false;
30581 if (PyErr_Occurred()) SWIG_fail
;
30584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30585 wxSizer_Show(arg1
,arg2
,arg3
);
30587 wxPyEndAllowThreads(__tstate
);
30588 if (PyErr_Occurred()) SWIG_fail
;
30590 Py_INCREF(Py_None
); resultobj
= Py_None
;
30597 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30598 PyObject
*resultobj
;
30599 wxSizer
*arg1
= (wxSizer
*) 0 ;
30600 PyObject
*arg2
= (PyObject
*) 0 ;
30601 PyObject
* obj0
= 0 ;
30602 PyObject
* obj1
= 0 ;
30603 char *kwnames
[] = {
30604 (char *) "self",(char *) "item", NULL
30607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
30608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30612 wxSizer_Hide(arg1
,arg2
);
30614 wxPyEndAllowThreads(__tstate
);
30615 if (PyErr_Occurred()) SWIG_fail
;
30617 Py_INCREF(Py_None
); resultobj
= Py_None
;
30624 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30625 PyObject
*resultobj
;
30626 wxSizer
*arg1
= (wxSizer
*) 0 ;
30627 PyObject
*arg2
= (PyObject
*) 0 ;
30629 PyObject
* obj0
= 0 ;
30630 PyObject
* obj1
= 0 ;
30631 char *kwnames
[] = {
30632 (char *) "self",(char *) "item", NULL
30635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
30636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30640 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
30642 wxPyEndAllowThreads(__tstate
);
30643 if (PyErr_Occurred()) SWIG_fail
;
30645 resultobj
= PyInt_FromLong((long)result
);
30652 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30653 PyObject
*resultobj
;
30654 wxSizer
*arg1
= (wxSizer
*) 0 ;
30656 PyObject
* obj0
= 0 ;
30657 PyObject
* obj1
= 0 ;
30658 char *kwnames
[] = {
30659 (char *) "self",(char *) "show", NULL
30662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
30663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30664 arg2
= PyInt_AsLong(obj1
) ? true : false;
30665 if (PyErr_Occurred()) SWIG_fail
;
30667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30668 (arg1
)->ShowItems(arg2
);
30670 wxPyEndAllowThreads(__tstate
);
30671 if (PyErr_Occurred()) SWIG_fail
;
30673 Py_INCREF(Py_None
); resultobj
= Py_None
;
30680 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
30682 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30683 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
30685 return Py_BuildValue((char *)"");
30687 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30688 PyObject
*resultobj
;
30690 char *kwnames
[] = {
30694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
30696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30697 result
= (wxPySizer
*)new wxPySizer();
30699 wxPyEndAllowThreads(__tstate
);
30700 if (PyErr_Occurred()) SWIG_fail
;
30702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
30709 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30710 PyObject
*resultobj
;
30711 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
30712 PyObject
*arg2
= (PyObject
*) 0 ;
30713 PyObject
*arg3
= (PyObject
*) 0 ;
30714 PyObject
* obj0
= 0 ;
30715 PyObject
* obj1
= 0 ;
30716 PyObject
* obj2
= 0 ;
30717 char *kwnames
[] = {
30718 (char *) "self",(char *) "self",(char *) "_class", NULL
30721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30732 Py_INCREF(Py_None
); resultobj
= Py_None
;
30739 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
30741 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30742 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
30744 return Py_BuildValue((char *)"");
30746 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30747 PyObject
*resultobj
;
30748 int arg1
= (int) wxHORIZONTAL
;
30749 wxBoxSizer
*result
;
30750 char *kwnames
[] = {
30751 (char *) "orient", NULL
30754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
30756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30757 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
30759 wxPyEndAllowThreads(__tstate
);
30760 if (PyErr_Occurred()) SWIG_fail
;
30762 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
30769 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30770 PyObject
*resultobj
;
30771 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
30773 PyObject
* obj0
= 0 ;
30774 char *kwnames
[] = {
30775 (char *) "self", NULL
30778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
30779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 result
= (int)(arg1
)->GetOrientation();
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 resultobj
= PyInt_FromLong((long)result
);
30794 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30795 PyObject
*resultobj
;
30796 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
30798 PyObject
* obj0
= 0 ;
30799 char *kwnames
[] = {
30800 (char *) "self",(char *) "orient", NULL
30803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
30804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30807 (arg1
)->SetOrientation(arg2
);
30809 wxPyEndAllowThreads(__tstate
);
30810 if (PyErr_Occurred()) SWIG_fail
;
30812 Py_INCREF(Py_None
); resultobj
= Py_None
;
30819 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30820 PyObject
*resultobj
;
30821 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
30822 PyObject
* obj0
= 0 ;
30823 char *kwnames
[] = {
30824 (char *) "self", NULL
30827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30831 (arg1
)->RecalcSizes();
30833 wxPyEndAllowThreads(__tstate
);
30834 if (PyErr_Occurred()) SWIG_fail
;
30836 Py_INCREF(Py_None
); resultobj
= Py_None
;
30843 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30844 PyObject
*resultobj
;
30845 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
30847 PyObject
* obj0
= 0 ;
30848 char *kwnames
[] = {
30849 (char *) "self", NULL
30852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30856 result
= (arg1
)->CalcMin();
30858 wxPyEndAllowThreads(__tstate
);
30859 if (PyErr_Occurred()) SWIG_fail
;
30862 wxSize
* resultptr
;
30863 resultptr
= new wxSize((wxSize
&) result
);
30864 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30872 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
30874 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30875 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
30877 return Py_BuildValue((char *)"");
30879 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30880 PyObject
*resultobj
;
30881 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
30882 int arg2
= (int) wxHORIZONTAL
;
30883 wxStaticBoxSizer
*result
;
30884 PyObject
* obj0
= 0 ;
30885 char *kwnames
[] = {
30886 (char *) "box",(char *) "orient", NULL
30889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
30890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
30905 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
;
30907 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
30908 wxStaticBox
*result
;
30909 PyObject
* obj0
= 0 ;
30910 char *kwnames
[] = {
30911 (char *) "self", NULL
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
30915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30924 resultobj
= wxPyMake_wxObject(result
);
30932 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30933 PyObject
*resultobj
;
30934 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
30935 PyObject
* obj0
= 0 ;
30936 char *kwnames
[] = {
30937 (char *) "self", NULL
30940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30944 (arg1
)->RecalcSizes();
30946 wxPyEndAllowThreads(__tstate
);
30947 if (PyErr_Occurred()) SWIG_fail
;
30949 Py_INCREF(Py_None
); resultobj
= Py_None
;
30956 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30957 PyObject
*resultobj
;
30958 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
30960 PyObject
* obj0
= 0 ;
30961 char *kwnames
[] = {
30962 (char *) "self", NULL
30965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30969 result
= (arg1
)->CalcMin();
30971 wxPyEndAllowThreads(__tstate
);
30972 if (PyErr_Occurred()) SWIG_fail
;
30975 wxSize
* resultptr
;
30976 resultptr
= new wxSize((wxSize
&) result
);
30977 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30985 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
30987 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30988 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
30990 return Py_BuildValue((char *)"");
30992 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
;
30994 int arg1
= (int) 1 ;
30995 int arg2
= (int) 0 ;
30996 int arg3
= (int) 0 ;
30997 int arg4
= (int) 0 ;
30998 wxGridSizer
*result
;
30999 char *kwnames
[] = {
31000 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31018 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
;
31020 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31021 PyObject
* obj0
= 0 ;
31022 char *kwnames
[] = {
31023 (char *) "self", NULL
31026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31030 (arg1
)->RecalcSizes();
31032 wxPyEndAllowThreads(__tstate
);
31033 if (PyErr_Occurred()) SWIG_fail
;
31035 Py_INCREF(Py_None
); resultobj
= Py_None
;
31042 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31043 PyObject
*resultobj
;
31044 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31046 PyObject
* obj0
= 0 ;
31047 char *kwnames
[] = {
31048 (char *) "self", NULL
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31055 result
= (arg1
)->CalcMin();
31057 wxPyEndAllowThreads(__tstate
);
31058 if (PyErr_Occurred()) SWIG_fail
;
31061 wxSize
* resultptr
;
31062 resultptr
= new wxSize((wxSize
&) result
);
31063 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31071 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31072 PyObject
*resultobj
;
31073 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31075 PyObject
* obj0
= 0 ;
31076 char *kwnames
[] = {
31077 (char *) "self",(char *) "cols", NULL
31080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
31081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31084 (arg1
)->SetCols(arg2
);
31086 wxPyEndAllowThreads(__tstate
);
31087 if (PyErr_Occurred()) SWIG_fail
;
31089 Py_INCREF(Py_None
); resultobj
= Py_None
;
31096 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31097 PyObject
*resultobj
;
31098 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31100 PyObject
* obj0
= 0 ;
31101 char *kwnames
[] = {
31102 (char *) "self",(char *) "rows", NULL
31105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
31106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31109 (arg1
)->SetRows(arg2
);
31111 wxPyEndAllowThreads(__tstate
);
31112 if (PyErr_Occurred()) SWIG_fail
;
31114 Py_INCREF(Py_None
); resultobj
= Py_None
;
31121 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31122 PyObject
*resultobj
;
31123 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31125 PyObject
* obj0
= 0 ;
31126 char *kwnames
[] = {
31127 (char *) "self",(char *) "gap", NULL
31130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 (arg1
)->SetVGap(arg2
);
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 Py_INCREF(Py_None
); resultobj
= Py_None
;
31146 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31150 PyObject
* obj0
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "self",(char *) "gap", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 (arg1
)->SetHGap(arg2
);
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31164 Py_INCREF(Py_None
); resultobj
= Py_None
;
31171 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31172 PyObject
*resultobj
;
31173 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31175 PyObject
* obj0
= 0 ;
31176 char *kwnames
[] = {
31177 (char *) "self", NULL
31180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
31181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31184 result
= (int)(arg1
)->GetCols();
31186 wxPyEndAllowThreads(__tstate
);
31187 if (PyErr_Occurred()) SWIG_fail
;
31189 resultobj
= PyInt_FromLong((long)result
);
31196 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31197 PyObject
*resultobj
;
31198 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31200 PyObject
* obj0
= 0 ;
31201 char *kwnames
[] = {
31202 (char *) "self", NULL
31205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
31206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31209 result
= (int)(arg1
)->GetRows();
31211 wxPyEndAllowThreads(__tstate
);
31212 if (PyErr_Occurred()) SWIG_fail
;
31214 resultobj
= PyInt_FromLong((long)result
);
31221 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31222 PyObject
*resultobj
;
31223 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31225 PyObject
* obj0
= 0 ;
31226 char *kwnames
[] = {
31227 (char *) "self", NULL
31230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
31231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31234 result
= (int)(arg1
)->GetVGap();
31236 wxPyEndAllowThreads(__tstate
);
31237 if (PyErr_Occurred()) SWIG_fail
;
31239 resultobj
= PyInt_FromLong((long)result
);
31246 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31247 PyObject
*resultobj
;
31248 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31250 PyObject
* obj0
= 0 ;
31251 char *kwnames
[] = {
31252 (char *) "self", NULL
31255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
31256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (int)(arg1
)->GetHGap();
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= PyInt_FromLong((long)result
);
31271 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31273 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31274 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
31276 return Py_BuildValue((char *)"");
31278 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31279 PyObject
*resultobj
;
31280 int arg1
= (int) 1 ;
31281 int arg2
= (int) 0 ;
31282 int arg3
= (int) 0 ;
31283 int arg4
= (int) 0 ;
31284 wxFlexGridSizer
*result
;
31285 char *kwnames
[] = {
31286 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31292 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
31294 wxPyEndAllowThreads(__tstate
);
31295 if (PyErr_Occurred()) SWIG_fail
;
31297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
31304 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31305 PyObject
*resultobj
;
31306 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31307 PyObject
* obj0
= 0 ;
31308 char *kwnames
[] = {
31309 (char *) "self", NULL
31312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31316 (arg1
)->RecalcSizes();
31318 wxPyEndAllowThreads(__tstate
);
31319 if (PyErr_Occurred()) SWIG_fail
;
31321 Py_INCREF(Py_None
); resultobj
= Py_None
;
31328 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31329 PyObject
*resultobj
;
31330 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31332 PyObject
* obj0
= 0 ;
31333 char *kwnames
[] = {
31334 (char *) "self", NULL
31337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31341 result
= (arg1
)->CalcMin();
31343 wxPyEndAllowThreads(__tstate
);
31344 if (PyErr_Occurred()) SWIG_fail
;
31347 wxSize
* resultptr
;
31348 resultptr
= new wxSize((wxSize
&) result
);
31349 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31357 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31358 PyObject
*resultobj
;
31359 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31361 int arg3
= (int) 0 ;
31362 PyObject
* obj0
= 0 ;
31363 PyObject
* obj1
= 0 ;
31364 char *kwnames
[] = {
31365 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31370 arg2
= (size_t) PyInt_AsLong(obj1
);
31371 if (PyErr_Occurred()) SWIG_fail
;
31373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31374 (arg1
)->AddGrowableRow(arg2
,arg3
);
31376 wxPyEndAllowThreads(__tstate
);
31377 if (PyErr_Occurred()) SWIG_fail
;
31379 Py_INCREF(Py_None
); resultobj
= Py_None
;
31386 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31387 PyObject
*resultobj
;
31388 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31390 PyObject
* obj0
= 0 ;
31391 PyObject
* obj1
= 0 ;
31392 char *kwnames
[] = {
31393 (char *) "self",(char *) "idx", NULL
31396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
31397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31398 arg2
= (size_t) PyInt_AsLong(obj1
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31402 (arg1
)->RemoveGrowableRow(arg2
);
31404 wxPyEndAllowThreads(__tstate
);
31405 if (PyErr_Occurred()) SWIG_fail
;
31407 Py_INCREF(Py_None
); resultobj
= Py_None
;
31414 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31415 PyObject
*resultobj
;
31416 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31418 int arg3
= (int) 0 ;
31419 PyObject
* obj0
= 0 ;
31420 PyObject
* obj1
= 0 ;
31421 char *kwnames
[] = {
31422 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31427 arg2
= (size_t) PyInt_AsLong(obj1
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31431 (arg1
)->AddGrowableCol(arg2
,arg3
);
31433 wxPyEndAllowThreads(__tstate
);
31434 if (PyErr_Occurred()) SWIG_fail
;
31436 Py_INCREF(Py_None
); resultobj
= Py_None
;
31443 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31444 PyObject
*resultobj
;
31445 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31447 PyObject
* obj0
= 0 ;
31448 PyObject
* obj1
= 0 ;
31449 char *kwnames
[] = {
31450 (char *) "self",(char *) "idx", NULL
31453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
31454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31455 arg2
= (size_t) PyInt_AsLong(obj1
);
31456 if (PyErr_Occurred()) SWIG_fail
;
31458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31459 (arg1
)->RemoveGrowableCol(arg2
);
31461 wxPyEndAllowThreads(__tstate
);
31462 if (PyErr_Occurred()) SWIG_fail
;
31464 Py_INCREF(Py_None
); resultobj
= Py_None
;
31471 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31472 PyObject
*resultobj
;
31473 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31475 PyObject
* obj0
= 0 ;
31476 char *kwnames
[] = {
31477 (char *) "self",(char *) "direction", NULL
31480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
31481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31484 (arg1
)->SetFlexibleDirection(arg2
);
31486 wxPyEndAllowThreads(__tstate
);
31487 if (PyErr_Occurred()) SWIG_fail
;
31489 Py_INCREF(Py_None
); resultobj
= Py_None
;
31496 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31497 PyObject
*resultobj
;
31498 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31500 PyObject
* obj0
= 0 ;
31501 char *kwnames
[] = {
31502 (char *) "self", NULL
31505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
31506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31509 result
= (int)(arg1
)->GetFlexibleDirection();
31511 wxPyEndAllowThreads(__tstate
);
31512 if (PyErr_Occurred()) SWIG_fail
;
31514 resultobj
= PyInt_FromLong((long)result
);
31521 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31522 PyObject
*resultobj
;
31523 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31525 PyObject
* obj0
= 0 ;
31526 char *kwnames
[] = {
31527 (char *) "self",(char *) "mode", NULL
31530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
31531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31534 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
31536 wxPyEndAllowThreads(__tstate
);
31537 if (PyErr_Occurred()) SWIG_fail
;
31539 Py_INCREF(Py_None
); resultobj
= Py_None
;
31546 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31547 PyObject
*resultobj
;
31548 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31550 PyObject
* obj0
= 0 ;
31551 char *kwnames
[] = {
31552 (char *) "self", NULL
31555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
31556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31559 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
31561 wxPyEndAllowThreads(__tstate
);
31562 if (PyErr_Occurred()) SWIG_fail
;
31564 resultobj
= PyInt_FromLong((long)result
);
31571 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31572 PyObject
*resultobj
;
31573 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31574 wxArrayInt
*result
;
31575 PyObject
* obj0
= 0 ;
31576 char *kwnames
[] = {
31577 (char *) "self", NULL
31580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
31581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31585 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
31586 result
= (wxArrayInt
*) &_result_ref
;
31589 wxPyEndAllowThreads(__tstate
);
31590 if (PyErr_Occurred()) SWIG_fail
;
31593 resultobj
= PyList_New(0);
31595 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
31596 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
31597 PyList_Append(resultobj
, val
);
31607 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31608 PyObject
*resultobj
;
31609 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31610 wxArrayInt
*result
;
31611 PyObject
* obj0
= 0 ;
31612 char *kwnames
[] = {
31613 (char *) "self", NULL
31616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
31617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31621 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
31622 result
= (wxArrayInt
*) &_result_ref
;
31625 wxPyEndAllowThreads(__tstate
);
31626 if (PyErr_Occurred()) SWIG_fail
;
31629 resultobj
= PyList_New(0);
31631 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
31632 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
31633 PyList_Append(resultobj
, val
);
31643 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31645 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31646 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
31648 return Py_BuildValue((char *)"");
31650 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31651 PyObject
*resultobj
;
31652 int arg1
= (int) 0 ;
31653 int arg2
= (int) 0 ;
31654 wxGBPosition
*result
;
31655 char *kwnames
[] = {
31656 (char *) "row",(char *) "col", NULL
31659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
31661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31662 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
31664 wxPyEndAllowThreads(__tstate
);
31665 if (PyErr_Occurred()) SWIG_fail
;
31667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
31674 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31675 PyObject
*resultobj
;
31676 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31678 PyObject
* obj0
= 0 ;
31679 char *kwnames
[] = {
31680 (char *) "self", NULL
31683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
31684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31692 resultobj
= PyInt_FromLong((long)result
);
31699 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31701 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31703 PyObject
* obj0
= 0 ;
31704 char *kwnames
[] = {
31705 (char *) "self", NULL
31708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
31709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31712 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
31714 wxPyEndAllowThreads(__tstate
);
31715 if (PyErr_Occurred()) SWIG_fail
;
31717 resultobj
= PyInt_FromLong((long)result
);
31724 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31725 PyObject
*resultobj
;
31726 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31728 PyObject
* obj0
= 0 ;
31729 char *kwnames
[] = {
31730 (char *) "self",(char *) "row", NULL
31733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
31734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31737 (arg1
)->SetRow(arg2
);
31739 wxPyEndAllowThreads(__tstate
);
31740 if (PyErr_Occurred()) SWIG_fail
;
31742 Py_INCREF(Py_None
); resultobj
= Py_None
;
31749 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31750 PyObject
*resultobj
;
31751 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31753 PyObject
* obj0
= 0 ;
31754 char *kwnames
[] = {
31755 (char *) "self",(char *) "col", NULL
31758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
31759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31762 (arg1
)->SetCol(arg2
);
31764 wxPyEndAllowThreads(__tstate
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31767 Py_INCREF(Py_None
); resultobj
= Py_None
;
31774 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31775 PyObject
*resultobj
;
31776 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31777 wxGBPosition
*arg2
= 0 ;
31779 wxGBPosition temp2
;
31780 PyObject
* obj0
= 0 ;
31781 PyObject
* obj1
= 0 ;
31782 char *kwnames
[] = {
31783 (char *) "self",(char *) "p", NULL
31786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
31787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31790 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
31793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31794 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
31796 wxPyEndAllowThreads(__tstate
);
31797 if (PyErr_Occurred()) SWIG_fail
;
31799 resultobj
= PyInt_FromLong((long)result
);
31806 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31807 PyObject
*resultobj
;
31808 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31809 wxGBPosition
*arg2
= 0 ;
31811 wxGBPosition temp2
;
31812 PyObject
* obj0
= 0 ;
31813 PyObject
* obj1
= 0 ;
31814 char *kwnames
[] = {
31815 (char *) "self",(char *) "p", NULL
31818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
31819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31822 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 resultobj
= PyInt_FromLong((long)result
);
31838 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
;
31840 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31841 int arg2
= (int) 0 ;
31842 int arg3
= (int) 0 ;
31843 PyObject
* obj0
= 0 ;
31844 char *kwnames
[] = {
31845 (char *) "self",(char *) "row",(char *) "col", NULL
31848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBPosition_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
31849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31852 wxGBPosition_Set(arg1
,arg2
,arg3
);
31854 wxPyEndAllowThreads(__tstate
);
31855 if (PyErr_Occurred()) SWIG_fail
;
31857 Py_INCREF(Py_None
); resultobj
= Py_None
;
31864 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31865 PyObject
*resultobj
;
31866 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
31868 PyObject
* obj0
= 0 ;
31869 char *kwnames
[] = {
31870 (char *) "self", NULL
31873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
31874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31877 result
= (PyObject
*)wxGBPosition_Get(arg1
);
31879 wxPyEndAllowThreads(__tstate
);
31880 if (PyErr_Occurred()) SWIG_fail
;
31882 resultobj
= result
;
31889 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
31891 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31892 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
31894 return Py_BuildValue((char *)"");
31896 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31897 PyObject
*resultobj
;
31898 int arg1
= (int) 1 ;
31899 int arg2
= (int) 1 ;
31901 char *kwnames
[] = {
31902 (char *) "rowspan",(char *) "colspan", NULL
31905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
31907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31908 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
31910 wxPyEndAllowThreads(__tstate
);
31911 if (PyErr_Occurred()) SWIG_fail
;
31913 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
31920 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31921 PyObject
*resultobj
;
31922 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
31924 PyObject
* obj0
= 0 ;
31925 char *kwnames
[] = {
31926 (char *) "self", NULL
31929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
31930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31933 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
31935 wxPyEndAllowThreads(__tstate
);
31936 if (PyErr_Occurred()) SWIG_fail
;
31938 resultobj
= PyInt_FromLong((long)result
);
31945 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31946 PyObject
*resultobj
;
31947 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
31949 PyObject
* obj0
= 0 ;
31950 char *kwnames
[] = {
31951 (char *) "self", NULL
31954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
31955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31958 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
31960 wxPyEndAllowThreads(__tstate
);
31961 if (PyErr_Occurred()) SWIG_fail
;
31963 resultobj
= PyInt_FromLong((long)result
);
31970 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31971 PyObject
*resultobj
;
31972 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
31974 PyObject
* obj0
= 0 ;
31975 char *kwnames
[] = {
31976 (char *) "self",(char *) "rowspan", NULL
31979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
31980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 (arg1
)->SetRowspan(arg2
);
31985 wxPyEndAllowThreads(__tstate
);
31986 if (PyErr_Occurred()) SWIG_fail
;
31988 Py_INCREF(Py_None
); resultobj
= Py_None
;
31995 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31996 PyObject
*resultobj
;
31997 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
31999 PyObject
* obj0
= 0 ;
32000 char *kwnames
[] = {
32001 (char *) "self",(char *) "colspan", NULL
32004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32008 (arg1
)->SetColspan(arg2
);
32010 wxPyEndAllowThreads(__tstate
);
32011 if (PyErr_Occurred()) SWIG_fail
;
32013 Py_INCREF(Py_None
); resultobj
= Py_None
;
32020 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32021 PyObject
*resultobj
;
32022 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32023 wxGBSpan
*arg2
= 0 ;
32026 PyObject
* obj0
= 0 ;
32027 PyObject
* obj1
= 0 ;
32028 char *kwnames
[] = {
32029 (char *) "self",(char *) "o", NULL
32032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32036 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32040 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
32042 wxPyEndAllowThreads(__tstate
);
32043 if (PyErr_Occurred()) SWIG_fail
;
32045 resultobj
= PyInt_FromLong((long)result
);
32052 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32053 PyObject
*resultobj
;
32054 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32055 wxGBSpan
*arg2
= 0 ;
32058 PyObject
* obj0
= 0 ;
32059 PyObject
* obj1
= 0 ;
32060 char *kwnames
[] = {
32061 (char *) "self",(char *) "o", NULL
32064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32068 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32072 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
32074 wxPyEndAllowThreads(__tstate
);
32075 if (PyErr_Occurred()) SWIG_fail
;
32077 resultobj
= PyInt_FromLong((long)result
);
32084 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32085 PyObject
*resultobj
;
32086 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32087 int arg2
= (int) 1 ;
32088 int arg3
= (int) 1 ;
32089 PyObject
* obj0
= 0 ;
32090 char *kwnames
[] = {
32091 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBSpan_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32098 wxGBSpan_Set(arg1
,arg2
,arg3
);
32100 wxPyEndAllowThreads(__tstate
);
32101 if (PyErr_Occurred()) SWIG_fail
;
32103 Py_INCREF(Py_None
); resultobj
= Py_None
;
32110 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32111 PyObject
*resultobj
;
32112 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32114 PyObject
* obj0
= 0 ;
32115 char *kwnames
[] = {
32116 (char *) "self", NULL
32119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
32120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32123 result
= (PyObject
*)wxGBSpan_Get(arg1
);
32125 wxPyEndAllowThreads(__tstate
);
32126 if (PyErr_Occurred()) SWIG_fail
;
32128 resultobj
= result
;
32135 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
32137 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32138 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
32140 return Py_BuildValue((char *)"");
32142 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
32143 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
32148 static PyObject
*_wrap_DefaultSpan_get() {
32151 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
32156 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32157 PyObject
*resultobj
;
32158 wxGBSizerItem
*result
;
32159 char *kwnames
[] = {
32163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
32165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32166 result
= (wxGBSizerItem
*)new wxGBSizerItem();
32168 wxPyEndAllowThreads(__tstate
);
32169 if (PyErr_Occurred()) SWIG_fail
;
32171 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32178 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32179 PyObject
*resultobj
;
32180 wxWindow
*arg1
= (wxWindow
*) 0 ;
32181 wxGBPosition
*arg2
= 0 ;
32182 wxGBSpan
*arg3
= 0 ;
32185 wxObject
*arg6
= (wxObject
*) 0 ;
32186 wxGBSizerItem
*result
;
32187 wxGBPosition temp2
;
32189 PyObject
* obj0
= 0 ;
32190 PyObject
* obj1
= 0 ;
32191 PyObject
* obj2
= 0 ;
32192 PyObject
* obj5
= 0 ;
32193 char *kwnames
[] = {
32194 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32201 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32205 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32207 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32210 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32212 wxPyEndAllowThreads(__tstate
);
32213 if (PyErr_Occurred()) SWIG_fail
;
32215 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32222 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32223 PyObject
*resultobj
;
32224 wxSizer
*arg1
= (wxSizer
*) 0 ;
32225 wxGBPosition
*arg2
= 0 ;
32226 wxGBSpan
*arg3
= 0 ;
32229 wxObject
*arg6
= (wxObject
*) 0 ;
32230 wxGBSizerItem
*result
;
32231 wxGBPosition temp2
;
32233 PyObject
* obj0
= 0 ;
32234 PyObject
* obj1
= 0 ;
32235 PyObject
* obj2
= 0 ;
32236 PyObject
* obj5
= 0 ;
32237 char *kwnames
[] = {
32238 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32245 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32249 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32251 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32254 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32256 wxPyEndAllowThreads(__tstate
);
32257 if (PyErr_Occurred()) SWIG_fail
;
32259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32266 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32267 PyObject
*resultobj
;
32270 wxGBPosition
*arg3
= 0 ;
32271 wxGBSpan
*arg4
= 0 ;
32274 wxObject
*arg7
= (wxObject
*) 0 ;
32275 wxGBSizerItem
*result
;
32276 wxGBPosition temp3
;
32278 PyObject
* obj2
= 0 ;
32279 PyObject
* obj3
= 0 ;
32280 PyObject
* obj6
= 0 ;
32281 char *kwnames
[] = {
32282 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32288 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32292 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32294 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32297 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32299 wxPyEndAllowThreads(__tstate
);
32300 if (PyErr_Occurred()) SWIG_fail
;
32302 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32309 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32310 PyObject
*resultobj
;
32311 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32312 wxGBPosition result
;
32313 PyObject
* obj0
= 0 ;
32314 char *kwnames
[] = {
32315 (char *) "self", NULL
32318 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
32319 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32322 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
32324 wxPyEndAllowThreads(__tstate
);
32325 if (PyErr_Occurred()) SWIG_fail
;
32328 wxGBPosition
* resultptr
;
32329 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32330 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32338 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32339 PyObject
*resultobj
;
32340 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32342 PyObject
* obj0
= 0 ;
32343 char *kwnames
[] = {
32344 (char *) "self", NULL
32347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
32348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32351 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
32353 wxPyEndAllowThreads(__tstate
);
32354 if (PyErr_Occurred()) SWIG_fail
;
32357 wxGBSpan
* resultptr
;
32358 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
32359 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
32367 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32368 PyObject
*resultobj
;
32369 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32370 wxGBPosition
*arg2
= 0 ;
32372 wxGBPosition temp2
;
32373 PyObject
* obj0
= 0 ;
32374 PyObject
* obj1
= 0 ;
32375 char *kwnames
[] = {
32376 (char *) "self",(char *) "pos", NULL
32379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
32380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32383 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32387 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
32389 wxPyEndAllowThreads(__tstate
);
32390 if (PyErr_Occurred()) SWIG_fail
;
32392 resultobj
= PyInt_FromLong((long)result
);
32399 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32400 PyObject
*resultobj
;
32401 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32402 wxGBSpan
*arg2
= 0 ;
32405 PyObject
* obj0
= 0 ;
32406 PyObject
* obj1
= 0 ;
32407 char *kwnames
[] = {
32408 (char *) "self",(char *) "span", NULL
32411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
32412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32415 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32419 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
32421 wxPyEndAllowThreads(__tstate
);
32422 if (PyErr_Occurred()) SWIG_fail
;
32424 resultobj
= PyInt_FromLong((long)result
);
32431 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
32432 PyObject
*resultobj
;
32433 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32434 wxGBSizerItem
*arg2
= 0 ;
32436 PyObject
* obj0
= 0 ;
32437 PyObject
* obj1
= 0 ;
32439 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
32440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32442 if (arg2
== NULL
) {
32443 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32447 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
32449 wxPyEndAllowThreads(__tstate
);
32450 if (PyErr_Occurred()) SWIG_fail
;
32452 resultobj
= PyInt_FromLong((long)result
);
32459 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
32460 PyObject
*resultobj
;
32461 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32462 wxGBPosition
*arg2
= 0 ;
32463 wxGBSpan
*arg3
= 0 ;
32465 wxGBPosition temp2
;
32467 PyObject
* obj0
= 0 ;
32468 PyObject
* obj1
= 0 ;
32469 PyObject
* obj2
= 0 ;
32471 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
32472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32475 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32479 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32483 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
32485 wxPyEndAllowThreads(__tstate
);
32486 if (PyErr_Occurred()) SWIG_fail
;
32488 resultobj
= PyInt_FromLong((long)result
);
32495 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
32500 argc
= PyObject_Length(args
);
32501 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
32502 argv
[ii
] = PyTuple_GetItem(args
,ii
);
32508 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32518 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32526 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
32534 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32543 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
32547 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
32550 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
32556 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
32561 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32562 PyObject
*resultobj
;
32563 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32566 PyObject
* obj0
= 0 ;
32567 PyObject
* obj1
= 0 ;
32568 PyObject
* obj2
= 0 ;
32569 char *kwnames
[] = {
32570 (char *) "self",(char *) "row",(char *) "col", NULL
32573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32575 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32576 if (arg2
== NULL
) {
32577 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32579 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32580 if (arg3
== NULL
) {
32581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32585 (arg1
)->GetEndPos(*arg2
,*arg3
);
32587 wxPyEndAllowThreads(__tstate
);
32588 if (PyErr_Occurred()) SWIG_fail
;
32590 Py_INCREF(Py_None
); resultobj
= Py_None
;
32597 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32598 PyObject
*resultobj
;
32599 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32600 wxGridBagSizer
*result
;
32601 PyObject
* obj0
= 0 ;
32602 char *kwnames
[] = {
32603 (char *) "self", NULL
32606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
32607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32610 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
32612 wxPyEndAllowThreads(__tstate
);
32613 if (PyErr_Occurred()) SWIG_fail
;
32615 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
32622 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32623 PyObject
*resultobj
;
32624 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32625 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
32626 PyObject
* obj0
= 0 ;
32627 PyObject
* obj1
= 0 ;
32628 char *kwnames
[] = {
32629 (char *) "self",(char *) "sizer", NULL
32632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32637 (arg1
)->SetGBSizer(arg2
);
32639 wxPyEndAllowThreads(__tstate
);
32640 if (PyErr_Occurred()) SWIG_fail
;
32642 Py_INCREF(Py_None
); resultobj
= Py_None
;
32649 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
32651 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32652 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
32654 return Py_BuildValue((char *)"");
32656 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32657 PyObject
*resultobj
;
32658 int arg1
= (int) 0 ;
32659 int arg2
= (int) 0 ;
32660 wxGridBagSizer
*result
;
32661 char *kwnames
[] = {
32662 (char *) "vgap",(char *) "hgap", NULL
32665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
32667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32668 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
32670 wxPyEndAllowThreads(__tstate
);
32671 if (PyErr_Occurred()) SWIG_fail
;
32673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
32680 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32681 PyObject
*resultobj
;
32682 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32683 PyObject
*arg2
= (PyObject
*) 0 ;
32684 wxGBPosition
*arg3
= 0 ;
32685 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
32686 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
32687 int arg5
= (int) 0 ;
32688 int arg6
= (int) 0 ;
32689 PyObject
*arg7
= (PyObject
*) NULL
;
32691 wxGBPosition temp3
;
32693 PyObject
* obj0
= 0 ;
32694 PyObject
* obj1
= 0 ;
32695 PyObject
* obj2
= 0 ;
32696 PyObject
* obj3
= 0 ;
32697 PyObject
* obj6
= 0 ;
32698 char *kwnames
[] = {
32699 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32707 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32712 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32720 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32722 wxPyEndAllowThreads(__tstate
);
32723 if (PyErr_Occurred()) SWIG_fail
;
32725 resultobj
= PyInt_FromLong((long)result
);
32732 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32733 PyObject
*resultobj
;
32734 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32735 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 PyObject
* obj1
= 0 ;
32739 char *kwnames
[] = {
32740 (char *) "self",(char *) "item", NULL
32743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
32744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32748 result
= (bool)(arg1
)->Add(arg2
);
32750 wxPyEndAllowThreads(__tstate
);
32751 if (PyErr_Occurred()) SWIG_fail
;
32753 resultobj
= PyInt_FromLong((long)result
);
32760 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32761 PyObject
*resultobj
;
32762 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32764 PyObject
* obj0
= 0 ;
32765 char *kwnames
[] = {
32766 (char *) "self", NULL
32769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
32770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32773 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
32775 wxPyEndAllowThreads(__tstate
);
32776 if (PyErr_Occurred()) SWIG_fail
;
32779 wxSize
* resultptr
;
32780 resultptr
= new wxSize((wxSize
&) result
);
32781 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32789 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32790 PyObject
*resultobj
;
32791 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32794 PyObject
* obj0
= 0 ;
32795 PyObject
* obj1
= 0 ;
32796 char *kwnames
[] = {
32797 (char *) "self",(char *) "sz", NULL
32800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
32801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32804 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
32807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32808 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
32810 wxPyEndAllowThreads(__tstate
);
32811 if (PyErr_Occurred()) SWIG_fail
;
32813 Py_INCREF(Py_None
); resultobj
= Py_None
;
32820 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
32821 PyObject
*resultobj
;
32822 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32823 wxWindow
*arg2
= (wxWindow
*) 0 ;
32824 wxGBPosition result
;
32825 PyObject
* obj0
= 0 ;
32826 PyObject
* obj1
= 0 ;
32828 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
32829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32830 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32833 result
= (arg1
)->GetItemPosition(arg2
);
32835 wxPyEndAllowThreads(__tstate
);
32836 if (PyErr_Occurred()) SWIG_fail
;
32839 wxGBPosition
* resultptr
;
32840 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32841 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32849 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
32850 PyObject
*resultobj
;
32851 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32852 wxSizer
*arg2
= (wxSizer
*) 0 ;
32853 wxGBPosition result
;
32854 PyObject
* obj0
= 0 ;
32855 PyObject
* obj1
= 0 ;
32857 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
32858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32859 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32862 result
= (arg1
)->GetItemPosition(arg2
);
32864 wxPyEndAllowThreads(__tstate
);
32865 if (PyErr_Occurred()) SWIG_fail
;
32868 wxGBPosition
* resultptr
;
32869 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32870 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32878 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
32879 PyObject
*resultobj
;
32880 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32882 wxGBPosition result
;
32883 PyObject
* obj0
= 0 ;
32884 PyObject
* obj1
= 0 ;
32886 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
32887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32888 arg2
= (size_t) PyInt_AsLong(obj1
);
32889 if (PyErr_Occurred()) SWIG_fail
;
32891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32892 result
= (arg1
)->GetItemPosition(arg2
);
32894 wxPyEndAllowThreads(__tstate
);
32895 if (PyErr_Occurred()) SWIG_fail
;
32898 wxGBPosition
* resultptr
;
32899 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32900 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32908 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
32913 argc
= PyObject_Length(args
);
32914 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
32915 argv
[ii
] = PyTuple_GetItem(args
,ii
);
32921 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
32931 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
32939 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
32947 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
32957 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
32965 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
32973 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
32982 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
32985 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
32990 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
32995 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
32996 PyObject
*resultobj
;
32997 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
32998 wxWindow
*arg2
= (wxWindow
*) 0 ;
32999 wxGBPosition
*arg3
= 0 ;
33001 wxGBPosition temp3
;
33002 PyObject
* obj0
= 0 ;
33003 PyObject
* obj1
= 0 ;
33004 PyObject
* obj2
= 0 ;
33006 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33008 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33011 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33015 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33017 wxPyEndAllowThreads(__tstate
);
33018 if (PyErr_Occurred()) SWIG_fail
;
33020 resultobj
= PyInt_FromLong((long)result
);
33027 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33028 PyObject
*resultobj
;
33029 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33030 wxSizer
*arg2
= (wxSizer
*) 0 ;
33031 wxGBPosition
*arg3
= 0 ;
33033 wxGBPosition temp3
;
33034 PyObject
* obj0
= 0 ;
33035 PyObject
* obj1
= 0 ;
33036 PyObject
* obj2
= 0 ;
33038 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33040 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33043 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33047 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33049 wxPyEndAllowThreads(__tstate
);
33050 if (PyErr_Occurred()) SWIG_fail
;
33052 resultobj
= PyInt_FromLong((long)result
);
33059 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33060 PyObject
*resultobj
;
33061 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33063 wxGBPosition
*arg3
= 0 ;
33065 wxGBPosition temp3
;
33066 PyObject
* obj0
= 0 ;
33067 PyObject
* obj1
= 0 ;
33068 PyObject
* obj2
= 0 ;
33070 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33072 arg2
= (size_t) PyInt_AsLong(obj1
);
33073 if (PyErr_Occurred()) SWIG_fail
;
33076 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33080 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33082 wxPyEndAllowThreads(__tstate
);
33083 if (PyErr_Occurred()) SWIG_fail
;
33085 resultobj
= PyInt_FromLong((long)result
);
33092 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
33097 argc
= PyObject_Length(args
);
33098 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33099 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33105 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33115 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33124 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33127 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
33136 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33146 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33155 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33158 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
33167 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33176 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33180 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33183 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
33189 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33194 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33195 PyObject
*resultobj
;
33196 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33197 wxWindow
*arg2
= (wxWindow
*) 0 ;
33199 PyObject
* obj0
= 0 ;
33200 PyObject
* obj1
= 0 ;
33202 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33204 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33207 result
= (arg1
)->GetItemSpan(arg2
);
33209 wxPyEndAllowThreads(__tstate
);
33210 if (PyErr_Occurred()) SWIG_fail
;
33213 wxGBSpan
* resultptr
;
33214 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33215 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33223 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33224 PyObject
*resultobj
;
33225 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33226 wxSizer
*arg2
= (wxSizer
*) 0 ;
33228 PyObject
* obj0
= 0 ;
33229 PyObject
* obj1
= 0 ;
33231 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33233 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33236 result
= (arg1
)->GetItemSpan(arg2
);
33238 wxPyEndAllowThreads(__tstate
);
33239 if (PyErr_Occurred()) SWIG_fail
;
33242 wxGBSpan
* resultptr
;
33243 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33244 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33252 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33253 PyObject
*resultobj
;
33254 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33257 PyObject
* obj0
= 0 ;
33258 PyObject
* obj1
= 0 ;
33260 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33262 arg2
= (size_t) PyInt_AsLong(obj1
);
33263 if (PyErr_Occurred()) SWIG_fail
;
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= (arg1
)->GetItemSpan(arg2
);
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33272 wxGBSpan
* resultptr
;
33273 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33274 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33282 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
33287 argc
= PyObject_Length(args
);
33288 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33289 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33295 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33305 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33313 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
33321 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33331 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33339 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
33347 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33356 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33359 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
33364 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33369 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33370 PyObject
*resultobj
;
33371 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33372 wxWindow
*arg2
= (wxWindow
*) 0 ;
33373 wxGBSpan
*arg3
= 0 ;
33376 PyObject
* obj0
= 0 ;
33377 PyObject
* obj1
= 0 ;
33378 PyObject
* obj2
= 0 ;
33380 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33382 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33385 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33389 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33391 wxPyEndAllowThreads(__tstate
);
33392 if (PyErr_Occurred()) SWIG_fail
;
33394 resultobj
= PyInt_FromLong((long)result
);
33401 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33402 PyObject
*resultobj
;
33403 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33404 wxSizer
*arg2
= (wxSizer
*) 0 ;
33405 wxGBSpan
*arg3
= 0 ;
33408 PyObject
* obj0
= 0 ;
33409 PyObject
* obj1
= 0 ;
33410 PyObject
* obj2
= 0 ;
33412 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33417 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33421 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33423 wxPyEndAllowThreads(__tstate
);
33424 if (PyErr_Occurred()) SWIG_fail
;
33426 resultobj
= PyInt_FromLong((long)result
);
33433 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33434 PyObject
*resultobj
;
33435 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33437 wxGBSpan
*arg3
= 0 ;
33440 PyObject
* obj0
= 0 ;
33441 PyObject
* obj1
= 0 ;
33442 PyObject
* obj2
= 0 ;
33444 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33446 arg2
= (size_t) PyInt_AsLong(obj1
);
33447 if (PyErr_Occurred()) SWIG_fail
;
33450 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33454 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33456 wxPyEndAllowThreads(__tstate
);
33457 if (PyErr_Occurred()) SWIG_fail
;
33459 resultobj
= PyInt_FromLong((long)result
);
33466 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
33471 argc
= PyObject_Length(args
);
33472 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33473 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33479 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33489 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33498 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33501 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
33510 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33520 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33529 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33532 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
33541 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33550 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33554 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33557 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
33563 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33568 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
33569 PyObject
*resultobj
;
33570 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33571 wxWindow
*arg2
= (wxWindow
*) 0 ;
33572 wxGBSizerItem
*result
;
33573 PyObject
* obj0
= 0 ;
33574 PyObject
* obj1
= 0 ;
33576 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
33577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33578 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33581 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
33583 wxPyEndAllowThreads(__tstate
);
33584 if (PyErr_Occurred()) SWIG_fail
;
33586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33593 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
33594 PyObject
*resultobj
;
33595 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33596 wxSizer
*arg2
= (wxSizer
*) 0 ;
33597 wxGBSizerItem
*result
;
33598 PyObject
* obj0
= 0 ;
33599 PyObject
* obj1
= 0 ;
33601 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
33602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33603 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33606 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
33608 wxPyEndAllowThreads(__tstate
);
33609 if (PyErr_Occurred()) SWIG_fail
;
33611 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33618 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
33623 argc
= PyObject_Length(args
);
33624 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33625 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33631 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33641 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33649 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
33657 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33667 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33675 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
33680 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
33685 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33686 PyObject
*resultobj
;
33687 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33688 wxGBPosition
*arg2
= 0 ;
33689 wxGBSizerItem
*result
;
33690 wxGBPosition temp2
;
33691 PyObject
* obj0
= 0 ;
33692 PyObject
* obj1
= 0 ;
33693 char *kwnames
[] = {
33694 (char *) "self",(char *) "pos", NULL
33697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
33698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33701 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33705 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
33707 wxPyEndAllowThreads(__tstate
);
33708 if (PyErr_Occurred()) SWIG_fail
;
33710 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33717 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33718 PyObject
*resultobj
;
33719 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33720 wxPoint
*arg2
= 0 ;
33721 wxGBSizerItem
*result
;
33723 PyObject
* obj0
= 0 ;
33724 PyObject
* obj1
= 0 ;
33725 char *kwnames
[] = {
33726 (char *) "self",(char *) "pt", NULL
33729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
33730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33733 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
33736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33737 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
33739 wxPyEndAllowThreads(__tstate
);
33740 if (PyErr_Occurred()) SWIG_fail
;
33742 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33749 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33750 PyObject
*resultobj
;
33751 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33752 wxObject
*arg2
= (wxObject
*) 0 ;
33753 wxGBSizerItem
*result
;
33754 PyObject
* obj0
= 0 ;
33755 PyObject
* obj1
= 0 ;
33756 char *kwnames
[] = {
33757 (char *) "self",(char *) "userData", NULL
33760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
33761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33765 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
33767 wxPyEndAllowThreads(__tstate
);
33768 if (PyErr_Occurred()) SWIG_fail
;
33770 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33777 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33778 PyObject
*resultobj
;
33779 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33780 PyObject
* obj0
= 0 ;
33781 char *kwnames
[] = {
33782 (char *) "self", NULL
33785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
33786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33789 (arg1
)->RecalcSizes();
33791 wxPyEndAllowThreads(__tstate
);
33792 if (PyErr_Occurred()) SWIG_fail
;
33794 Py_INCREF(Py_None
); resultobj
= Py_None
;
33801 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33802 PyObject
*resultobj
;
33803 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33805 PyObject
* obj0
= 0 ;
33806 char *kwnames
[] = {
33807 (char *) "self", NULL
33810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
33811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33814 result
= (arg1
)->CalcMin();
33816 wxPyEndAllowThreads(__tstate
);
33817 if (PyErr_Occurred()) SWIG_fail
;
33820 wxSize
* resultptr
;
33821 resultptr
= new wxSize((wxSize
&) result
);
33822 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33830 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
33831 PyObject
*resultobj
;
33832 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33833 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33834 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
33836 PyObject
* obj0
= 0 ;
33837 PyObject
* obj1
= 0 ;
33838 PyObject
* obj2
= 0 ;
33840 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
33841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33844 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33848 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
33850 wxPyEndAllowThreads(__tstate
);
33851 if (PyErr_Occurred()) SWIG_fail
;
33853 resultobj
= PyInt_FromLong((long)result
);
33860 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
33861 PyObject
*resultobj
;
33862 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33863 wxGBPosition
*arg2
= 0 ;
33864 wxGBSpan
*arg3
= 0 ;
33865 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
33867 wxGBPosition temp2
;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 PyObject
* obj2
= 0 ;
33872 PyObject
* obj3
= 0 ;
33874 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
33875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33878 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33882 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33885 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33889 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
33891 wxPyEndAllowThreads(__tstate
);
33892 if (PyErr_Occurred()) SWIG_fail
;
33894 resultobj
= PyInt_FromLong((long)result
);
33901 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
33906 argc
= PyObject_Length(args
);
33907 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
33908 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33910 if ((argc
>= 2) && (argc
<= 3)) {
33914 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33924 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33933 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
33937 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33945 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
33950 if ((argc
>= 3) && (argc
<= 4)) {
33954 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33963 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
33967 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33971 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
33975 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33983 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
33990 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
33995 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
33997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33998 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
34000 return Py_BuildValue((char *)"");
34002 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34003 PyObject
*resultobj
;
34004 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34006 wxWindow
*arg3
= (wxWindow
*) 0 ;
34008 int arg5
= (int) 0 ;
34009 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
34010 PyObject
* obj0
= 0 ;
34011 PyObject
* obj2
= 0 ;
34012 char *kwnames
[] = {
34013 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
34017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34018 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34021 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
34023 wxPyEndAllowThreads(__tstate
);
34024 if (PyErr_Occurred()) SWIG_fail
;
34026 Py_INCREF(Py_None
); resultobj
= Py_None
;
34033 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34034 PyObject
*resultobj
;
34035 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34036 wxWindow
*arg2
= (wxWindow
*) 0 ;
34037 int arg3
= (int) 0 ;
34038 PyObject
* obj0
= 0 ;
34039 PyObject
* obj1
= 0 ;
34040 char *kwnames
[] = {
34041 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34046 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34049 (arg1
)->LeftOf(arg2
,arg3
);
34051 wxPyEndAllowThreads(__tstate
);
34052 if (PyErr_Occurred()) SWIG_fail
;
34054 Py_INCREF(Py_None
); resultobj
= Py_None
;
34061 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34062 PyObject
*resultobj
;
34063 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34064 wxWindow
*arg2
= (wxWindow
*) 0 ;
34065 int arg3
= (int) 0 ;
34066 PyObject
* obj0
= 0 ;
34067 PyObject
* obj1
= 0 ;
34068 char *kwnames
[] = {
34069 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34077 (arg1
)->RightOf(arg2
,arg3
);
34079 wxPyEndAllowThreads(__tstate
);
34080 if (PyErr_Occurred()) SWIG_fail
;
34082 Py_INCREF(Py_None
); resultobj
= Py_None
;
34089 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34090 PyObject
*resultobj
;
34091 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34092 wxWindow
*arg2
= (wxWindow
*) 0 ;
34093 int arg3
= (int) 0 ;
34094 PyObject
* obj0
= 0 ;
34095 PyObject
* obj1
= 0 ;
34096 char *kwnames
[] = {
34097 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34102 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34105 (arg1
)->Above(arg2
,arg3
);
34107 wxPyEndAllowThreads(__tstate
);
34108 if (PyErr_Occurred()) SWIG_fail
;
34110 Py_INCREF(Py_None
); resultobj
= Py_None
;
34117 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34118 PyObject
*resultobj
;
34119 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34120 wxWindow
*arg2
= (wxWindow
*) 0 ;
34121 int arg3
= (int) 0 ;
34122 PyObject
* obj0
= 0 ;
34123 PyObject
* obj1
= 0 ;
34124 char *kwnames
[] = {
34125 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34130 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34133 (arg1
)->Below(arg2
,arg3
);
34135 wxPyEndAllowThreads(__tstate
);
34136 if (PyErr_Occurred()) SWIG_fail
;
34138 Py_INCREF(Py_None
); resultobj
= Py_None
;
34145 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34146 PyObject
*resultobj
;
34147 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34148 wxWindow
*arg2
= (wxWindow
*) 0 ;
34150 int arg4
= (int) 0 ;
34151 PyObject
* obj0
= 0 ;
34152 PyObject
* obj1
= 0 ;
34153 char *kwnames
[] = {
34154 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34159 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34162 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
34164 wxPyEndAllowThreads(__tstate
);
34165 if (PyErr_Occurred()) SWIG_fail
;
34167 Py_INCREF(Py_None
); resultobj
= Py_None
;
34174 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34175 PyObject
*resultobj
;
34176 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34177 wxWindow
*arg2
= (wxWindow
*) 0 ;
34180 PyObject
* obj0
= 0 ;
34181 PyObject
* obj1
= 0 ;
34182 char *kwnames
[] = {
34183 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34188 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34191 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
34193 wxPyEndAllowThreads(__tstate
);
34194 if (PyErr_Occurred()) SWIG_fail
;
34196 Py_INCREF(Py_None
); resultobj
= Py_None
;
34203 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34204 PyObject
*resultobj
;
34205 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34207 PyObject
* obj0
= 0 ;
34208 char *kwnames
[] = {
34209 (char *) "self",(char *) "val", NULL
34212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
34213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34216 (arg1
)->Absolute(arg2
);
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34221 Py_INCREF(Py_None
); resultobj
= Py_None
;
34228 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34229 PyObject
*resultobj
;
34230 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34231 PyObject
* obj0
= 0 ;
34232 char *kwnames
[] = {
34233 (char *) "self", NULL
34236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
34237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34240 (arg1
)->Unconstrained();
34242 wxPyEndAllowThreads(__tstate
);
34243 if (PyErr_Occurred()) SWIG_fail
;
34245 Py_INCREF(Py_None
); resultobj
= Py_None
;
34252 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34253 PyObject
*resultobj
;
34254 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34255 PyObject
* obj0
= 0 ;
34256 char *kwnames
[] = {
34257 (char *) "self", NULL
34260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
34261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34266 wxPyEndAllowThreads(__tstate
);
34267 if (PyErr_Occurred()) SWIG_fail
;
34269 Py_INCREF(Py_None
); resultobj
= Py_None
;
34276 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34277 PyObject
*resultobj
;
34278 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34280 PyObject
* obj0
= 0 ;
34281 char *kwnames
[] = {
34282 (char *) "self", NULL
34285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
34286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34289 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
34291 wxPyEndAllowThreads(__tstate
);
34292 if (PyErr_Occurred()) SWIG_fail
;
34295 resultobj
= wxPyMake_wxObject(result
);
34303 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34304 PyObject
*resultobj
;
34305 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34307 PyObject
* obj0
= 0 ;
34308 char *kwnames
[] = {
34309 (char *) "self", NULL
34312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
34313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34316 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
34318 wxPyEndAllowThreads(__tstate
);
34319 if (PyErr_Occurred()) SWIG_fail
;
34321 resultobj
= PyInt_FromLong((long)result
);
34328 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34329 PyObject
*resultobj
;
34330 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34332 PyObject
* obj0
= 0 ;
34333 char *kwnames
[] = {
34334 (char *) "self",(char *) "which", NULL
34337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
34338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 (arg1
)->SetEdge((wxEdge
)arg2
);
34343 wxPyEndAllowThreads(__tstate
);
34344 if (PyErr_Occurred()) SWIG_fail
;
34346 Py_INCREF(Py_None
); resultobj
= Py_None
;
34353 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34354 PyObject
*resultobj
;
34355 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34357 PyObject
* obj0
= 0 ;
34358 char *kwnames
[] = {
34359 (char *) "self",(char *) "v", NULL
34362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
34363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 (arg1
)->SetValue(arg2
);
34368 wxPyEndAllowThreads(__tstate
);
34369 if (PyErr_Occurred()) SWIG_fail
;
34371 Py_INCREF(Py_None
); resultobj
= Py_None
;
34378 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34379 PyObject
*resultobj
;
34380 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34382 PyObject
* obj0
= 0 ;
34383 char *kwnames
[] = {
34384 (char *) "self", NULL
34387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
34388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34391 result
= (int)(arg1
)->GetMargin();
34393 wxPyEndAllowThreads(__tstate
);
34394 if (PyErr_Occurred()) SWIG_fail
;
34396 resultobj
= PyInt_FromLong((long)result
);
34403 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34404 PyObject
*resultobj
;
34405 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34407 PyObject
* obj0
= 0 ;
34408 char *kwnames
[] = {
34409 (char *) "self",(char *) "m", NULL
34412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
34413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 (arg1
)->SetMargin(arg2
);
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 Py_INCREF(Py_None
); resultobj
= Py_None
;
34428 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34429 PyObject
*resultobj
;
34430 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34432 PyObject
* obj0
= 0 ;
34433 char *kwnames
[] = {
34434 (char *) "self", NULL
34437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
34438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34441 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
34443 wxPyEndAllowThreads(__tstate
);
34444 if (PyErr_Occurred()) SWIG_fail
;
34446 resultobj
= PyInt_FromLong((long)result
);
34453 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34454 PyObject
*resultobj
;
34455 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34457 PyObject
* obj0
= 0 ;
34458 char *kwnames
[] = {
34459 (char *) "self", NULL
34462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
34463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34466 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
34468 wxPyEndAllowThreads(__tstate
);
34469 if (PyErr_Occurred()) SWIG_fail
;
34471 resultobj
= PyInt_FromLong((long)result
);
34478 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34479 PyObject
*resultobj
;
34480 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34482 PyObject
* obj0
= 0 ;
34483 char *kwnames
[] = {
34484 (char *) "self", NULL
34487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
34488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34491 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
34493 wxPyEndAllowThreads(__tstate
);
34494 if (PyErr_Occurred()) SWIG_fail
;
34496 resultobj
= PyInt_FromLong((long)result
);
34503 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34504 PyObject
*resultobj
;
34505 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34507 PyObject
* obj0
= 0 ;
34508 char *kwnames
[] = {
34509 (char *) "self", NULL
34512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
34513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34516 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
34518 wxPyEndAllowThreads(__tstate
);
34519 if (PyErr_Occurred()) SWIG_fail
;
34521 resultobj
= PyInt_FromLong((long)result
);
34528 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34529 PyObject
*resultobj
;
34530 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34532 PyObject
* obj0
= 0 ;
34533 PyObject
* obj1
= 0 ;
34534 char *kwnames
[] = {
34535 (char *) "self",(char *) "d", NULL
34538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
34539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34540 arg2
= PyInt_AsLong(obj1
) ? true : false;
34541 if (PyErr_Occurred()) SWIG_fail
;
34543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34544 (arg1
)->SetDone(arg2
);
34546 wxPyEndAllowThreads(__tstate
);
34547 if (PyErr_Occurred()) SWIG_fail
;
34549 Py_INCREF(Py_None
); resultobj
= Py_None
;
34556 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34557 PyObject
*resultobj
;
34558 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34560 PyObject
* obj0
= 0 ;
34561 char *kwnames
[] = {
34562 (char *) "self", NULL
34565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
34566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34569 result
= (int)(arg1
)->GetRelationship();
34571 wxPyEndAllowThreads(__tstate
);
34572 if (PyErr_Occurred()) SWIG_fail
;
34574 resultobj
= PyInt_FromLong((long)result
);
34581 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34582 PyObject
*resultobj
;
34583 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34585 PyObject
* obj0
= 0 ;
34586 char *kwnames
[] = {
34587 (char *) "self",(char *) "r", NULL
34590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
34591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34594 (arg1
)->SetRelationship((wxRelationship
)arg2
);
34596 wxPyEndAllowThreads(__tstate
);
34597 if (PyErr_Occurred()) SWIG_fail
;
34599 Py_INCREF(Py_None
); resultobj
= Py_None
;
34606 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34607 PyObject
*resultobj
;
34608 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34609 wxWindow
*arg2
= (wxWindow
*) 0 ;
34611 PyObject
* obj0
= 0 ;
34612 PyObject
* obj1
= 0 ;
34613 char *kwnames
[] = {
34614 (char *) "self",(char *) "otherW", NULL
34617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
34618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34619 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34622 result
= (bool)(arg1
)->ResetIfWin(arg2
);
34624 wxPyEndAllowThreads(__tstate
);
34625 if (PyErr_Occurred()) SWIG_fail
;
34627 resultobj
= PyInt_FromLong((long)result
);
34634 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34635 PyObject
*resultobj
;
34636 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34637 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
34638 wxWindow
*arg3
= (wxWindow
*) 0 ;
34640 PyObject
* obj0
= 0 ;
34641 PyObject
* obj1
= 0 ;
34642 PyObject
* obj2
= 0 ;
34643 char *kwnames
[] = {
34644 (char *) "self",(char *) "constraints",(char *) "win", NULL
34647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
34648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34650 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34653 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
34655 wxPyEndAllowThreads(__tstate
);
34656 if (PyErr_Occurred()) SWIG_fail
;
34658 resultobj
= PyInt_FromLong((long)result
);
34665 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34666 PyObject
*resultobj
;
34667 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34669 wxWindow
*arg3
= (wxWindow
*) 0 ;
34670 wxWindow
*arg4
= (wxWindow
*) 0 ;
34672 PyObject
* obj0
= 0 ;
34673 PyObject
* obj2
= 0 ;
34674 PyObject
* obj3
= 0 ;
34675 char *kwnames
[] = {
34676 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
34679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
34680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34681 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34682 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34685 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
34687 wxPyEndAllowThreads(__tstate
);
34688 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= PyInt_FromLong((long)result
);
34697 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
34699 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34700 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
34702 return Py_BuildValue((char *)"");
34704 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34705 PyObject
*resultobj
;
34706 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34707 wxIndividualLayoutConstraint
*result
;
34708 PyObject
* obj0
= 0 ;
34709 char *kwnames
[] = {
34710 (char *) "self", NULL
34713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
34714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34715 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
34717 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34724 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34725 PyObject
*resultobj
;
34726 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34727 wxIndividualLayoutConstraint
*result
;
34728 PyObject
* obj0
= 0 ;
34729 char *kwnames
[] = {
34730 (char *) "self", NULL
34733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
34734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34735 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
34737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34744 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34747 wxIndividualLayoutConstraint
*result
;
34748 PyObject
* obj0
= 0 ;
34749 char *kwnames
[] = {
34750 (char *) "self", NULL
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
34754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34755 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
34757 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34764 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34765 PyObject
*resultobj
;
34766 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34767 wxIndividualLayoutConstraint
*result
;
34768 PyObject
* obj0
= 0 ;
34769 char *kwnames
[] = {
34770 (char *) "self", NULL
34773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
34774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34775 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
34777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34784 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34785 PyObject
*resultobj
;
34786 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34787 wxIndividualLayoutConstraint
*result
;
34788 PyObject
* obj0
= 0 ;
34789 char *kwnames
[] = {
34790 (char *) "self", NULL
34793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
34794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34795 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
34797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34804 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34805 PyObject
*resultobj
;
34806 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34807 wxIndividualLayoutConstraint
*result
;
34808 PyObject
* obj0
= 0 ;
34809 char *kwnames
[] = {
34810 (char *) "self", NULL
34813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
34814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34815 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
34817 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34824 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34825 PyObject
*resultobj
;
34826 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34827 wxIndividualLayoutConstraint
*result
;
34828 PyObject
* obj0
= 0 ;
34829 char *kwnames
[] = {
34830 (char *) "self", NULL
34833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
34834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34835 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
34837 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34844 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
;
34846 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34847 wxIndividualLayoutConstraint
*result
;
34848 PyObject
* obj0
= 0 ;
34849 char *kwnames
[] = {
34850 (char *) "self", NULL
34853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
34854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34855 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
34857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
34864 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34865 PyObject
*resultobj
;
34866 wxLayoutConstraints
*result
;
34867 char *kwnames
[] = {
34871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
34873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34874 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
34876 wxPyEndAllowThreads(__tstate
);
34877 if (PyErr_Occurred()) SWIG_fail
;
34879 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
34886 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34887 PyObject
*resultobj
;
34888 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34889 wxWindow
*arg2
= (wxWindow
*) 0 ;
34890 int *arg3
= (int *) 0 ;
34893 PyObject
* obj0
= 0 ;
34894 PyObject
* obj1
= 0 ;
34895 char *kwnames
[] = {
34896 (char *) "self",(char *) "win", NULL
34900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
34901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34902 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34905 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
34907 wxPyEndAllowThreads(__tstate
);
34908 if (PyErr_Occurred()) SWIG_fail
;
34910 resultobj
= PyInt_FromLong((long)result
);
34912 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
34913 resultobj
= t_output_helper(resultobj
,o
);
34921 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
;
34923 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
34925 PyObject
* obj0
= 0 ;
34926 char *kwnames
[] = {
34927 (char *) "self", NULL
34930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
34931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34939 resultobj
= PyInt_FromLong((long)result
);
34946 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
34948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34949 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
34951 return Py_BuildValue((char *)"");
34953 static PyMethodDef SwigMethods
[] = {
34954 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
34955 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
34956 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
34957 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
34958 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
34959 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
34960 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
34961 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
34962 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
34963 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
34964 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
34965 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
34966 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
34967 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
34968 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
34969 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
34970 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
34971 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
34972 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
34973 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
34974 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
34975 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
34976 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
34977 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
34978 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
34979 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
34980 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
34981 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
34982 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
34983 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
34984 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
34985 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
34986 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
34987 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
34988 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
34989 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
34990 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
34991 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
34992 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
34993 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
34994 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
34995 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
34996 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
34997 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
34998 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
34999 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35000 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35001 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35002 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
35003 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
35004 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
35005 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35006 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
35007 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
35008 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35009 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35010 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
35011 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35012 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
35013 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35014 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35015 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35016 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35017 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35018 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35019 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35020 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35021 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35022 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
35023 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35024 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
35025 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35026 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
35027 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
35028 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35029 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
35030 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
35031 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
35032 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
35033 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
35034 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
35035 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35036 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35037 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35038 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
35039 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
35040 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
35041 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35042 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35043 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35044 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35045 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35046 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35047 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35048 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35049 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
35050 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
35051 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
35052 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
35053 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
35054 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
35055 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
35056 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
35057 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
35058 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35059 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35060 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35061 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35062 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
35063 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
35064 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
35065 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
35066 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
35067 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35068 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35069 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
35070 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
35071 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35072 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35073 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35074 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35075 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35076 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35077 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
35078 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
35079 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
35080 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
35081 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
35082 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
35083 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
35084 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
35085 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
35086 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
35087 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
35088 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
35089 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
35090 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
35091 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
35092 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35093 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
35094 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
35095 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
35096 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
35097 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
35098 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
35099 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
35100 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35101 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35102 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
35103 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35104 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
35105 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35106 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
35107 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
35108 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
35109 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
35110 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35111 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35112 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35113 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35114 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35115 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
35116 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
35117 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35118 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
35119 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
35120 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
35121 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35122 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35123 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
35124 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
35125 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35126 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35127 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35128 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35129 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35130 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
35131 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
35132 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
35133 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35134 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35135 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35136 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
35137 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35138 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35139 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35140 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35141 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35142 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
35143 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
35144 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35145 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
35146 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35147 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
35148 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35149 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35150 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35151 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35152 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
35153 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35154 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35155 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
35156 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35157 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35158 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35159 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35160 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
35161 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35162 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
35163 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35164 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
35165 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35166 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
35167 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
35168 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
35169 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
35170 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
35171 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
35172 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
35173 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35174 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
35175 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
35176 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35177 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
35178 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
35179 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
35180 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
35181 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
35182 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
35183 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
35184 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35185 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35186 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35187 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35188 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
35189 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35190 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
35191 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
35192 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35193 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
35194 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35195 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
35196 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
35197 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
35198 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
35199 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35200 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35201 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
35202 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
35203 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
35204 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
35205 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
35206 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35207 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35208 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35209 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35210 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35211 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35212 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
35213 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
35214 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
35215 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
35216 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
35217 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
35218 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
35219 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
35220 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
35221 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35222 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
35223 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
35224 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35225 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
35226 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35227 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
35228 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
35229 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35230 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35231 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
35232 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
35233 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
35234 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35235 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35236 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
35237 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35238 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
35239 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
35240 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
35241 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
35242 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
35243 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
35244 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
35245 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
35246 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35247 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
35248 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35249 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
35250 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
35251 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
35252 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35253 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
35254 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35255 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
35256 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35257 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
35258 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35259 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
35260 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
35261 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35262 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35263 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35264 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35265 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35266 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35267 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
35268 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
35269 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35270 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
35271 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
35272 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35273 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
35274 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
35275 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
35276 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35277 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35278 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35279 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35280 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35281 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35282 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35283 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35284 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35285 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
35286 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
35287 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
35288 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
35289 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
35290 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35291 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
35292 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35293 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35294 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
35295 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35296 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35297 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
35298 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35299 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35300 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35301 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35302 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35303 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
35304 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35305 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35306 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
35307 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
35308 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35309 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
35310 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35311 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35312 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
35313 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
35314 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
35315 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
35316 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35317 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35318 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35319 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35320 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
35321 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
35322 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35323 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35324 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35325 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35326 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
35327 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35328 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
35329 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
35330 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
35331 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
35332 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
35333 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35334 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
35335 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35336 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35337 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35338 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35339 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
35340 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
35341 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
35342 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
35343 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
35344 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
35345 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
35346 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
35347 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
35348 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35349 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35350 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35351 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
35352 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
35353 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
35354 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
35355 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35356 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35357 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
35358 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35359 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35360 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
35361 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
35362 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
35363 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
35364 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35365 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35366 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35367 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35368 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35369 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35370 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35371 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35372 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35373 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35374 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35375 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35376 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35377 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35378 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35379 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35380 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35381 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35382 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
35383 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
35384 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
35385 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
35386 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
35387 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
35388 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
35389 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
35390 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35391 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35392 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35393 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35394 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
35395 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
35396 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35397 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35398 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35399 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35400 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35401 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
35402 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35403 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
35404 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35405 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
35406 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35407 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35408 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35409 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35410 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35411 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35412 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35413 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35414 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35415 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35416 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35417 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35418 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35419 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35420 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35421 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35422 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35423 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35424 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35425 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35426 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35427 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35428 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
35429 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
35430 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
35431 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35432 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35433 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35434 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35435 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35436 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
35437 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
35438 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35439 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35440 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
35441 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
35442 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35443 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35444 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35445 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35446 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
35447 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
35448 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35449 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35450 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
35451 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35452 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
35453 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35454 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
35455 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35456 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
35457 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
35458 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35459 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35460 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35461 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
35462 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35463 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35464 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
35465 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35466 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
35467 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
35468 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
35469 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
35470 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35471 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
35472 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
35473 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35474 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
35475 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35476 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35477 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35478 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35479 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35480 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35481 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
35482 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
35483 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
35484 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
35485 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
35486 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
35487 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35488 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
35489 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
35490 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35491 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
35492 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35493 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
35494 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
35495 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
35496 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
35497 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35498 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35499 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
35500 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
35501 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35502 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35503 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
35504 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35505 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
35506 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35507 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35508 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
35509 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
35510 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35511 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35512 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
35513 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35514 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
35515 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35516 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35517 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
35518 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35519 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
35520 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35521 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35522 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35523 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
35524 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
35525 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35526 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35527 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
35528 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35529 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35530 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35531 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35532 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35533 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35534 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35535 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
35536 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35537 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35538 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
35539 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35540 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35541 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
35542 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35543 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35544 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35545 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
35546 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
35547 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
35548 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
35549 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35550 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35551 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
35552 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
35553 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35554 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35555 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35556 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35557 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
35558 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35559 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35560 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35561 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35562 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
35563 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
35564 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
35565 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35566 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
35567 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
35568 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35569 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35570 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
35571 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
35572 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
35573 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35574 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
35575 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
35576 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
35577 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
35578 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
35579 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
35580 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
35581 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
35582 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
35583 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
35584 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
35585 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
35586 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
35587 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
35588 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
35589 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
35590 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
35591 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
35592 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
35593 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
35594 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
35595 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35596 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35597 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35598 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
35599 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
35600 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35601 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35602 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35603 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
35604 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
35605 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
35606 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
35607 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
35608 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
35609 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
35610 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
35611 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
35612 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
35613 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
35614 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
35615 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
35616 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
35617 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
35618 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
35619 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35620 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
35621 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
35622 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
35623 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
35624 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35625 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35626 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35627 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35628 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35629 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35630 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
35631 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
35632 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
35633 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35634 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
35635 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35636 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
35637 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
35638 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
35639 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
35640 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
35641 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
35642 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
35643 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
35644 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35645 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35646 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35647 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
35648 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35649 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
35650 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
35651 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
35652 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
35653 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
35654 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
35655 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
35656 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
35657 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
35658 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
35659 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
35660 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
35661 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
35662 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
35663 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
35664 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
35665 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
35666 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
35667 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
35668 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
35669 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
35670 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
35671 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
35672 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
35673 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
35674 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
35675 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35676 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
35677 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
35678 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35679 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
35680 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
35681 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
35682 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
35683 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
35684 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
35685 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
35686 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
35687 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
35688 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35689 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35690 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
35691 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
35692 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
35693 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
35694 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
35695 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
35696 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
35697 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
35698 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
35699 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
35700 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
35701 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
35702 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
35703 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
35704 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
35705 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
35706 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
35707 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
35708 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35709 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35710 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35711 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35712 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35713 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
35714 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
35715 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
35716 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
35717 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
35718 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
35719 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
35720 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
35721 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
35722 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
35723 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
35724 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
35725 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
35726 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
35727 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
35728 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
35729 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
35730 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
35731 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
35732 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
35733 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
35734 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
35735 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
35736 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
35737 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
35738 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
35739 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
35740 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
35741 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
35742 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
35743 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
35744 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
35745 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
35746 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35747 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35748 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
35749 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
35750 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
35751 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
35752 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
35753 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
35754 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
35755 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
35756 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
35757 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
35758 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
35759 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
35760 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
35761 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
35762 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
35763 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
35764 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
35765 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
35766 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
35767 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
35768 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
35769 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
35770 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
35771 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
35772 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
35773 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
35774 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
35775 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
35776 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
35777 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
35778 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
35779 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
35780 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
35781 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
35782 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
35783 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
35784 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
35785 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
35786 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
35787 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
35788 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
35789 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
35790 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
35791 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
35792 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
35793 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
35794 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
35795 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
35796 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
35797 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
35798 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
35799 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
35800 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
35801 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
35802 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
35803 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
35804 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
35805 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35806 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
35807 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
35808 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
35809 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35810 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35811 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
35812 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
35813 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
35814 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
35815 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35816 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
35817 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
35818 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
35819 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
35820 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
35821 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
35822 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
35823 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
35824 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
35825 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
35826 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
35827 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
35828 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
35829 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
35830 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
35831 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
35832 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
35833 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
35834 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
35835 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
35836 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
35837 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
35838 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
35839 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
35840 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
35841 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35842 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
35843 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
35844 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
35845 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
35846 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
35847 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
35848 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
35849 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35850 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35851 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
35852 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35853 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35854 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35855 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
35856 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
35857 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
35858 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
35859 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35860 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
35861 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
35862 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
35863 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
35864 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
35865 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
35866 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
35867 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
35868 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
35869 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
35870 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
35871 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
35872 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
35873 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
35874 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
35875 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
35876 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35877 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35878 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
35879 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
35880 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
35881 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
35882 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
35883 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
35884 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
35885 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
35886 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35887 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
35888 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35889 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35890 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35891 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35892 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
35893 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
35894 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
35895 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
35896 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
35897 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
35898 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
35899 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
35900 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35901 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35902 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35903 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35904 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
35905 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
35906 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35907 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
35908 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
35909 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
35910 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
35911 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
35912 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
35913 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
35914 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
35915 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35916 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35917 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
35918 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35919 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
35920 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
35921 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
35922 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
35923 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
35924 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
35925 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35926 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35927 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
35928 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
35929 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
35930 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
35931 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
35932 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
35934 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
35935 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
35936 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
35937 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
35938 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
35940 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
35941 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
35944 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
35946 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35948 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
35951 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
35952 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
35953 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
35954 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
35955 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
35958 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
35959 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
35961 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
35963 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
35964 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
35966 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
35967 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
35968 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
35970 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
35971 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
35972 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
35973 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
35975 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
35976 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35978 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
35980 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
35982 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
35983 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
35984 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
35985 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
35987 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
35988 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35989 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
35990 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
35994 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
35995 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36003 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36006 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36008 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36011 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
36017 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36019 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
36020 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
36026 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
36031 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36033 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
36035 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
36043 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
36056 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
36057 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
36061 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
36067 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36073 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
36077 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36079 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36081 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36083 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
36086 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36089 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
36090 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
36096 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
36097 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
36098 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
36099 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
36100 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
36101 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
36106 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
36107 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36129 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
36134 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
36137 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
36142 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36144 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
36150 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36152 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
36153 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
36155 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
36156 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
36158 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
36159 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36161 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
36162 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36164 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
36165 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36167 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36168 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36170 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36171 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36173 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
36174 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36176 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36177 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36179 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36180 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36182 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36183 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36185 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36186 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36188 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36189 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36191 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36192 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36194 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36195 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36197 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36198 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36200 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36201 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36203 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36204 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36206 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36207 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36209 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36210 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36212 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36213 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36215 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36216 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36218 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36219 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36221 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36222 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36224 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36225 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36227 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36228 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36230 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36231 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36233 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36234 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36236 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36237 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36239 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36240 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36242 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36243 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36245 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36246 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36248 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36249 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36251 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36252 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36254 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36255 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36257 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36258 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36260 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36261 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36263 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36264 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36266 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36267 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36269 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36270 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36272 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36273 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36275 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36276 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36278 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36279 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36281 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
36282 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36284 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
36285 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36287 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
36288 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36290 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36291 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36293 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36294 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36296 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36297 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36299 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36300 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36302 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36303 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36305 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36306 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36308 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36309 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36311 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36312 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36314 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36315 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36317 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36318 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36320 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
36321 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
36323 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
36324 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
36326 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
36327 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
36329 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
36330 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
36332 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
36333 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
36335 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
36336 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36338 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
36339 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
36341 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
36342 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
36344 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
36345 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36347 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
36348 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36350 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
36351 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
36353 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
36354 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
36356 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
36357 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
36359 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
36360 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
36362 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
36363 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
36365 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
36366 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
36368 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
36369 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
36371 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
36372 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
36374 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36375 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
36377 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36378 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
36380 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36381 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
36383 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36384 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36386 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36387 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36389 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36390 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36392 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36393 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36395 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36396 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36398 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36399 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36401 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36402 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36404 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36405 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36407 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36408 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36410 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36411 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36413 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36414 return (void *)((wxObject
*) ((wxSizer
*) x
));
36416 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36417 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36419 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36420 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36422 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36423 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36425 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36426 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36428 static void *_p_wxImageTo_p_wxObject(void *x
) {
36429 return (void *)((wxObject
*) ((wxImage
*) x
));
36431 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36432 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36434 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36435 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36437 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36438 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36440 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36441 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36443 static void *_p_wxControlTo_p_wxObject(void *x
) {
36444 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36446 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36447 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36449 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36450 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36452 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36453 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36455 static void *_p_wxEventTo_p_wxObject(void *x
) {
36456 return (void *)((wxObject
*) ((wxEvent
*) x
));
36458 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36459 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36461 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36462 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36464 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36465 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36467 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36468 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36470 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36471 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36473 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36474 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36476 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36477 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36479 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36480 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36482 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36483 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36485 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36486 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36488 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36489 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36491 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36492 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36494 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36495 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36497 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36498 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36500 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36501 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36503 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36504 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36506 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36507 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36509 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36510 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36512 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36513 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36515 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36516 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36518 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36519 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36521 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36522 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36524 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36525 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36527 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36528 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36530 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36531 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36533 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36534 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36536 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36537 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36539 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36540 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36542 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36543 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36545 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36546 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36548 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36549 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36551 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36552 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36554 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36555 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36557 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36558 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36560 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36561 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36563 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36564 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36566 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36567 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36569 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36570 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36572 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36573 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36575 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36576 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36578 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36579 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36581 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36582 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36584 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36585 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36587 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36588 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36590 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36591 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36593 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36594 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36596 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36597 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36599 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36600 return (void *)((wxWindow
*) ((wxControl
*) x
));
36602 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36603 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36605 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36606 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36608 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36609 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36611 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36612 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36614 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36615 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36617 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
36618 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36620 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
36621 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36623 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
36624 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36626 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
36627 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36629 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
36630 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36632 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
36633 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
36635 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
36636 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
36637 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
36638 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
36639 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
36640 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
36641 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}};
36642 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
36643 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
36644 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
36645 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
36646 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
36647 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
36648 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}};
36649 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}};
36650 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
36651 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
36652 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
36653 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
36654 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
36655 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
36656 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
36657 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
36658 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
36659 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
36660 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
36661 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
36662 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
36663 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
36664 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
36665 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
36666 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
36667 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
36668 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
36669 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
36670 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
36671 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
36672 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
36673 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
36674 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
36675 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
36676 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
36677 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
36678 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
36679 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
36680 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
36681 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
36682 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
36683 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
36684 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
36685 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
36686 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
36687 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
36688 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
36689 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
36690 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
36691 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
36692 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
36693 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
36694 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
36695 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
36696 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
36697 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
36698 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}};
36699 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
36700 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}};
36701 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}};
36702 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}};
36703 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}};
36704 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
36705 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
36706 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
36707 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
36708 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
36709 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
36710 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
36711 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
36712 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
36713 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
36714 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
36715 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
36716 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36717 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
36718 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
36719 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}};
36720 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
36721 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
36722 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
36723 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
36724 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
36725 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
36726 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
36727 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}};
36728 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
36729 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
36730 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
36731 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
36732 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
36733 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
36734 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
36735 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
36736 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
36737 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
36738 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
36739 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}};
36740 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
36741 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
36742 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
36743 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
36744 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
36745 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
36746 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
36747 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
36748 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
36750 static swig_type_info
*swig_types_initial
[] = {
36751 _swigt__p_wxLayoutConstraints
,
36752 _swigt__p_wxRealPoint
,
36753 _swigt__p_wxSizerItem
,
36754 _swigt__p_wxGBSizerItem
,
36755 _swigt__p_wxScrollEvent
,
36756 _swigt__p_wxIndividualLayoutConstraint
,
36758 _swigt__p_wxBoxSizer
,
36759 _swigt__p_wxStaticBoxSizer
,
36760 _swigt__p_wxGridBagSizer
,
36761 _swigt__p_wxAcceleratorEntry
,
36762 _swigt__p_wxUpdateUIEvent
,
36765 _swigt__p_wxGridSizer
,
36766 _swigt__p_wxFlexGridSizer
,
36767 _swigt__p_wxInitDialogEvent
,
36768 _swigt__p_wxItemContainer
,
36769 _swigt__p_wxNcPaintEvent
,
36770 _swigt__p_wxPaintEvent
,
36771 _swigt__p_wxSysColourChangedEvent
,
36772 _swigt__p_wxMouseCaptureChangedEvent
,
36773 _swigt__p_wxDisplayChangedEvent
,
36774 _swigt__p_wxPaletteChangedEvent
,
36775 _swigt__p_wxControl
,
36777 _swigt__p_wxMenuBarBase
,
36778 _swigt__p_wxSetCursorEvent
,
36779 _swigt__p_wxFSFile
,
36781 _swigt__p_wxRegion
,
36782 _swigt__p_wxPoint2D
,
36786 _swigt__p_wxPySizer
,
36787 _swigt__p_wxNotifyEvent
,
36788 _swigt__p_wxPyEvent
,
36789 _swigt__p_wxPropagationDisabler
,
36790 _swigt__p_wxAppTraits
,
36791 _swigt__p_wxArrayString
,
36792 _swigt__p_wxShowEvent
,
36793 _swigt__p_wxToolTip
,
36794 _swigt__p_wxMaximizeEvent
,
36795 _swigt__p_wxIconizeEvent
,
36796 _swigt__p_wxActivateEvent
,
36797 _swigt__p_wxMoveEvent
,
36798 _swigt__p_wxSizeEvent
,
36799 _swigt__p_wxQueryNewPaletteEvent
,
36800 _swigt__p_wxWindowCreateEvent
,
36801 _swigt__p_wxIdleEvent
,
36802 _swigt__p_wxMenuItem
,
36803 _swigt__p_wxStaticBox
,
36805 _swigt__p_wxTIFFHandler
,
36806 _swigt__p_wxXPMHandler
,
36807 _swigt__p_wxPNMHandler
,
36808 _swigt__p_wxJPEGHandler
,
36809 _swigt__p_wxPCXHandler
,
36810 _swigt__p_wxGIFHandler
,
36811 _swigt__p_wxPNGHandler
,
36812 _swigt__p_wxANIHandler
,
36813 _swigt__p_wxMemoryFSHandler
,
36814 _swigt__p_wxEvtHandler
,
36815 _swigt__p_wxCURHandler
,
36816 _swigt__p_wxICOHandler
,
36817 _swigt__p_wxBMPHandler
,
36818 _swigt__p_wxImageHandler
,
36819 _swigt__p_wxFileSystemHandler
,
36820 _swigt__p_wxPyFileSystemHandler
,
36821 _swigt__p_wxInternetFSHandler
,
36822 _swigt__p_wxZipFSHandler
,
36824 _swigt__p_wxGBSpan
,
36825 _swigt__p_wxPropagateOnce
,
36826 _swigt__p_wxAcceleratorTable
,
36827 _swigt__p_wxGBPosition
,
36830 _swigt__p_wxScrollWinEvent
,
36831 _swigt__p_wxImageHistogram
,
36834 _swigt__p_wxCursor
,
36835 _swigt__p_wxObject
,
36836 _swigt__p_wxPyInputStream
,
36837 _swigt__p_wxOutputStream
,
36838 _swigt__p_wxInputStream
,
36839 _swigt__p_wxDateTime
,
36840 _swigt__p_wxKeyEvent
,
36841 _swigt__p_wxNavigationKeyEvent
,
36842 _swigt__p_wxWindowDestroyEvent
,
36843 _swigt__p_wxWindow
,
36844 _swigt__p_wxMenuBar
,
36845 _swigt__p_wxString
,
36846 _swigt__p_wxFileSystem
,
36847 _swigt__p_wxBitmap
,
36848 _swigt__p_wxMenuEvent
,
36849 _swigt__p_wxContextMenuEvent
,
36850 _swigt__p_unsigned_char
,
36851 _swigt__p_wxCloseEvent
,
36852 _swigt__p_wxEraseEvent
,
36853 _swigt__p_wxMouseEvent
,
36855 _swigt__p_wxCommandEvent
,
36856 _swigt__p_wxPyCommandEvent
,
36857 _swigt__p_wxPyDropTarget
,
36858 _swigt__p_wxChildFocusEvent
,
36859 _swigt__p_wxFocusEvent
,
36860 _swigt__p_wxDropFilesEvent
,
36861 _swigt__p_wxControlWithItems
,
36862 _swigt__p_wxColour
,
36863 _swigt__p_wxValidator
,
36864 _swigt__p_wxPyValidator
,
36869 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
36871 static swig_const_info swig_const_table
[] = {
36872 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
36873 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
36874 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
36875 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
36876 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
36877 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
36878 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
36879 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
36880 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
36881 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
36882 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
36883 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
36884 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
36885 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
36886 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
36887 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
36888 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
36889 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
36890 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
36891 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
36892 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
36893 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
36894 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
36895 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
36896 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
36897 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
36898 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
36899 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
36900 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
36901 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
36902 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
36903 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
36904 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
36905 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
36906 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
36907 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
36908 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
36909 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
36910 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
36911 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
36912 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
36913 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
36914 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
36915 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
36916 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
36917 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
36918 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
36919 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
36920 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
36921 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
36922 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
36923 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
36924 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
36925 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
36926 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
36927 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
36928 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
36929 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
36930 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
36931 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
36932 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
36933 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
36934 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
36935 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
36936 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
36937 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
36938 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
36939 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
36940 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
36941 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
36942 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
36943 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
36944 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
36945 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
36946 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
36947 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
36948 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
36949 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
36950 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
36951 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
36952 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
36953 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
36954 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
36955 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
36956 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
36957 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
36958 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
36959 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
36960 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
36961 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
36962 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
36963 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
36964 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
36965 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
36966 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
36967 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
36968 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
36969 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
36970 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
36971 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
36972 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
36973 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
36974 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
36975 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
36976 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
36977 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
36978 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
36979 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
36980 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
36981 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
36982 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
36983 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
36984 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
36985 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
36986 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
36987 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
36988 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
36989 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
36990 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
36991 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
36992 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
36993 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
36994 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
36995 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
36996 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
36997 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
36998 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
36999 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
37000 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
37001 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
37002 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
37003 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
37004 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
37005 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
37006 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
37007 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
37008 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
37009 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
37010 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
37011 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
37012 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
37013 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
37014 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
37015 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
37016 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
37017 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
37018 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
37019 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
37020 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
37021 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
37022 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
37023 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
37024 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
37025 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
37026 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
37027 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
37028 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
37029 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
37030 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
37031 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
37032 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
37033 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
37034 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
37035 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
37036 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
37037 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
37038 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
37039 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
37040 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
37041 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
37042 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
37043 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
37044 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
37045 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
37046 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
37047 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
37048 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
37049 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
37050 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
37051 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
37052 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
37053 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
37054 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
37055 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
37056 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
37057 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
37058 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
37059 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
37060 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
37061 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
37062 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
37063 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
37064 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
37065 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
37066 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
37067 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
37068 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
37069 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
37070 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
37071 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
37072 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
37073 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
37074 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
37075 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
37076 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
37077 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
37078 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
37079 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
37080 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
37081 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
37082 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
37083 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
37084 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
37085 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
37086 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
37087 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
37088 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
37089 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
37090 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
37091 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
37092 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37093 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
37094 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
37095 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
37096 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
37097 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
37098 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
37099 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
37100 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
37101 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
37102 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
37103 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
37104 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
37105 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
37106 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
37107 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
37108 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
37109 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
37110 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
37111 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
37112 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
37113 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
37114 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
37115 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
37116 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
37117 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
37118 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
37119 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
37120 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
37121 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
37122 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
37123 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
37124 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
37125 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
37126 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
37127 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
37128 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
37129 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
37130 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
37131 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
37132 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
37133 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
37134 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
37135 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
37136 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
37137 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
37138 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
37139 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
37140 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
37141 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
37142 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
37143 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
37144 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
37145 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
37146 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
37147 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
37148 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
37149 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
37150 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
37151 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
37152 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
37153 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
37154 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
37155 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
37156 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
37157 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
37158 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
37159 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
37160 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
37161 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
37162 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
37163 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
37164 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
37165 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
37166 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
37167 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
37168 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
37169 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
37170 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
37171 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
37172 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
37173 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
37174 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
37175 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
37176 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
37177 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
37178 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
37179 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
37180 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
37181 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
37182 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
37183 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
37184 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
37185 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
37186 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
37187 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
37188 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
37189 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
37190 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
37191 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
37192 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
37193 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
37194 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
37195 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
37196 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
37197 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
37198 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
37199 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
37200 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
37201 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
37202 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
37203 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
37204 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
37205 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
37206 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
37207 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
37208 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
37209 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
37210 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
37211 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
37212 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
37213 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
37214 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
37215 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
37216 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
37217 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
37218 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
37219 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
37220 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
37221 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
37222 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
37223 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
37224 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
37225 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
37226 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
37227 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
37228 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
37229 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
37230 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
37231 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
37232 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
37233 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
37234 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
37235 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
37236 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
37237 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
37238 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
37239 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
37240 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
37241 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
37242 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
37243 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
37244 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
37245 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
37246 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
37247 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
37248 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
37249 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
37250 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
37251 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
37252 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
37253 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
37254 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
37255 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
37256 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
37257 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
37258 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
37259 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
37260 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
37261 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
37262 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
37263 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
37264 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
37265 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
37266 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
37267 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
37268 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
37269 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
37270 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
37271 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
37272 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
37273 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
37274 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
37275 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
37276 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
37277 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
37278 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
37279 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
37280 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
37281 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
37282 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
37283 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
37284 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
37285 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
37286 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
37287 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
37288 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
37289 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
37290 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
37291 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
37292 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
37293 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
37294 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
37295 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
37296 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
37297 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
37298 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
37299 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
37300 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
37301 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
37302 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
37303 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
37304 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
37305 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
37306 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
37307 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
37308 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
37309 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
37310 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
37311 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
37312 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
37313 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
37314 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
37315 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
37316 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
37317 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
37318 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
37319 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
37320 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
37321 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
37322 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
37323 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
37324 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
37325 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
37326 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
37327 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
37328 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
37329 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
37330 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
37331 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
37332 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
37333 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
37334 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
37335 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
37336 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
37337 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
37338 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
37339 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
37340 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
37341 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
37342 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
37343 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
37344 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
37345 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
37346 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
37347 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
37348 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
37349 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
37350 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
37351 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
37352 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
37353 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
37354 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
37355 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
37356 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
37357 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
37358 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
37359 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
37360 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
37361 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
37362 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
37363 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
37364 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
37365 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
37366 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
37367 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
37368 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
37369 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
37370 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
37371 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
37372 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
37373 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
37374 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
37375 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
37376 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
37377 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
37378 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
37379 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
37380 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
37381 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
37382 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
37383 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
37384 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
37385 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
37386 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
37387 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
37388 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
37389 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
37390 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
37391 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
37392 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
37393 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
37394 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
37395 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
37396 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
37397 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
37398 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
37399 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
37400 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
37401 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
37402 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
37403 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
37404 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
37405 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
37406 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
37407 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
37408 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
37409 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
37410 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
37411 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
37412 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
37413 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
37414 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
37415 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
37416 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
37417 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
37418 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
37419 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
37420 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
37421 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
37422 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
37423 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
37424 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
37425 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
37426 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
37427 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
37428 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
37429 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
37430 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
37431 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
37432 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
37433 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
37434 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
37435 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
37436 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
37437 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
37438 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
37439 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
37440 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
37441 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
37442 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
37443 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
37444 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
37445 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
37446 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
37447 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
37448 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
37449 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
37450 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
37451 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
37452 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
37453 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
37454 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
37455 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
37456 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
37457 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
37458 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
37459 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
37460 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
37461 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
37462 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
37463 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
37464 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
37465 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
37466 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
37467 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
37468 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
37469 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
37470 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
37471 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
37472 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
37473 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
37474 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
37475 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
37476 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
37477 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
37478 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
37479 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
37480 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
37481 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
37482 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
37483 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
37484 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
37485 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
37486 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
37487 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
37488 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
37489 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
37490 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
37491 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
37492 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
37493 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
37494 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
37495 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
37496 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
37497 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
37498 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
37499 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
37500 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
37501 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
37502 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
37503 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
37504 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
37505 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
37506 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
37507 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
37508 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
37509 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
37510 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
37511 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
37512 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
37513 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
37514 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
37515 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
37516 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
37517 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
37518 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
37519 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
37520 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
37521 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
37522 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
37523 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
37524 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
37525 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
37526 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
37527 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
37528 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
37529 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
37530 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
37531 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
37532 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
37533 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
37534 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
37535 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
37536 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
37537 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
37538 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
37539 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
37540 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
37541 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
37542 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
37543 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
37544 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
37545 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
37546 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
37547 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
37548 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
37549 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
37550 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
37551 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
37552 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
37553 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
37554 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
37555 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
37556 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
37557 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
37558 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
37559 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
37560 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
37561 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
37562 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
37563 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
37564 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
37565 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
37566 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
37567 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
37568 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
37569 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
37570 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
37571 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
37572 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
37573 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
37574 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
37575 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
37576 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
37577 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
37578 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
37579 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
37580 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
37581 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
37582 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
37583 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
37584 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
37585 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
37586 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
37587 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
37588 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
37589 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
37590 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
37591 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
37592 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
37593 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
37594 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
37595 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
37596 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
37597 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
37598 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
37599 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
37600 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
37601 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
37602 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
37603 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
37604 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
37605 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
37606 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
37607 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
37608 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
37609 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
37610 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
37611 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
37612 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
37613 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
37614 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
37615 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
37616 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
37617 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
37618 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
37619 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
37620 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
37621 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
37622 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
37623 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
37624 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
37625 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
37626 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
37627 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
37628 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
37629 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
37630 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
37631 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
37632 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
37633 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
37634 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
37635 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
37636 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
37637 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
37638 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
37639 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
37649 SWIGEXPORT(void) SWIG_init(void) {
37650 static PyObject
*SWIG_globals
= 0;
37651 static int typeinit
= 0;
37654 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
37655 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
37656 d
= PyModule_GetDict(m
);
37659 for (i
= 0; swig_types_initial
[i
]; i
++) {
37660 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
37664 SWIG_InstallConstants(d
,swig_const_table
);
37667 #ifndef wxPyUSE_EXPORT
37668 // Make our API structure a CObject so other modules can import it
37669 // from this module.
37670 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
37671 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
37675 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
37676 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
37677 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
37679 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
37682 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
37684 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
37685 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
37686 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
37687 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
37688 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
37689 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
37690 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
37691 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
37692 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
37693 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
37694 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
37695 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
37696 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
37697 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
37698 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
37699 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
37700 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
37701 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
37702 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
37703 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
37704 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
37705 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
37706 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
37707 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
37708 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
37709 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
37710 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
37711 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
37712 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
37713 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
37714 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
37715 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
37716 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
37717 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
37718 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
37719 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
37720 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
37721 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
37722 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
37723 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
37724 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
37725 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
37726 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
37727 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
37728 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
37729 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
37730 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
37731 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
37732 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
37733 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
37734 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
37735 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
37736 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
37737 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
37738 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
37739 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
37740 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
37741 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
37742 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
37743 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
37744 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
37745 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
37746 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
37747 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
37748 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
37749 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
37750 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
37751 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
37752 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
37753 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
37754 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
37755 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
37756 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
37757 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
37758 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
37759 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
37760 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
37761 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
37762 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
37763 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
37764 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
37765 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
37766 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
37767 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
37768 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
37769 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
37770 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
37771 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
37772 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
37773 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
37774 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
37775 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
37776 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
37777 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
37778 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
37779 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
37780 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
37781 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
37782 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
37783 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
37784 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
37785 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
37786 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
37787 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
37788 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
37789 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
37790 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
37791 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
37792 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
37793 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
37794 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
37795 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
37796 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
37797 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
37798 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
37799 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
37800 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
37801 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
37802 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
37803 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
37804 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
37805 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
37806 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
37808 // Initialize threading, some globals and such
37812 // Although these are defined in __version__ they need to be here too so
37813 // that an assert can be done to ensure that the wxPython and the wxWindows
37815 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
37816 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
37817 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));