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_wxDropTarget 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
){
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
++) {
958 PyList_SetItem(list
, i
, PyString_FromString((const char*)files
[i
]));
965 wxPyApp
*new_wxPyApp(){
966 wxPythonApp
= new wxPyApp();
970 void wxApp_CleanUp() {
975 wxPyApp
* wxGetApp() {
976 return (wxPyApp
*)wxTheApp
;
981 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
982 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
983 wxWindowList
& list
= self
->GetChildren();
984 return wxPy_ConvertList(&list
);
986 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
993 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
1000 long wxWindow_GetHandle(wxWindow
*self
){
1001 return wxPyGetWinHandle(self
);
1004 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1005 return wxWindow::FindWindowById(id
, parent
);
1008 wxWindow
* wxFindWindowByName( const wxString
& name
,
1009 const wxWindow
*parent
= NULL
) {
1010 return wxWindow::FindWindowByName(name
, parent
);
1013 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1014 const wxWindow
*parent
= NULL
) {
1015 return wxWindow::FindWindowByLabel(label
, parent
);
1019 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1021 wxWindow
* win
= new wxWindow
;
1023 win
->SubclassWin(hWnd
);
1026 PyErr_SetNone(PyExc_NotImplementedError
);
1032 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1033 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1034 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1036 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1038 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1039 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1040 wxMenuItemList
& list
= self
->GetMenuItems();
1041 return wxPy_ConvertList(&list
);
1044 DECLARE_DEF_STRING(ControlNameStr
);
1046 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1048 wxPyClientData
* data
= new wxPyClientData(clientData
);
1049 return self
->Append(item
, data
);
1051 return self
->Append(item
);
1053 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1055 wxPyClientData
* data
= new wxPyClientData(clientData
);
1056 return self
->Insert(item
, pos
, data
);
1058 return self
->Insert(item
, pos
);
1060 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1061 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1063 Py_INCREF(data
->m_obj
);
1070 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1071 wxPyClientData
* data
= new wxPyClientData(clientData
);
1072 self
->SetClientObject(n
, data
);
1076 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1077 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1079 Py_INCREF(data
->m_obj
);
1087 // Figure out the type of the sizer item
1089 struct wxPySizerItemInfo
{
1091 : window(NULL
), sizer(NULL
), gotSize(False
),
1092 size(wxDefaultSize
), gotPos(False
), pos(-1)
1103 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1105 wxPySizerItemInfo info
;
1107 wxSize
* sizePtr
= &size
;
1109 // Find out what the type of the item is
1111 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1116 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1120 // try wxSize or (w,h)
1121 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1122 info
.size
= *sizePtr
;
1123 info
.gotSize
= True
;
1127 if (checkIdx
&& PyInt_Check(item
)) {
1128 info
.pos
= PyInt_AsLong(item
);
1134 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1135 // no expected type, figure out what kind of error message to generate
1136 if ( !checkSize
&& !checkIdx
)
1137 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1138 else if ( checkSize
&& !checkIdx
)
1139 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1140 else if ( !checkSize
&& checkIdx
)
1141 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1143 // can this one happen?
1144 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1150 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1151 self
->SetClientObject(new wxPyOORClientData(_self
));
1153 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1155 wxPyUserData
* data
= NULL
;
1156 wxPyBeginBlockThreads();
1157 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1158 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1159 data
= new wxPyUserData(userData
);
1160 wxPyEndBlockThreads();
1162 // Now call the real Add method if a valid item type was found
1164 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1165 else if ( info
.sizer
)
1166 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1167 else if (info
.gotSize
)
1168 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1169 proportion
, flag
, border
, data
);
1171 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1173 wxPyUserData
* data
= NULL
;
1174 wxPyBeginBlockThreads();
1175 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1176 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1177 data
= new wxPyUserData(userData
);
1178 wxPyEndBlockThreads();
1180 // Now call the real Insert method if a valid item type was found
1182 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1183 else if ( info
.sizer
)
1184 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1185 else if (info
.gotSize
)
1186 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1187 proportion
, flag
, border
, data
);
1189 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1191 wxPyUserData
* data
= NULL
;
1192 wxPyBeginBlockThreads();
1193 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1194 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1195 data
= new wxPyUserData(userData
);
1196 wxPyEndBlockThreads();
1198 // Now call the real Prepend method if a valid item type was found
1200 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1201 else if ( info
.sizer
)
1202 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1203 else if (info
.gotSize
)
1204 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1205 proportion
, flag
, border
, data
);
1207 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1208 wxPyBeginBlockThreads();
1209 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1210 wxPyEndBlockThreads();
1212 return self
->Remove(info
.window
);
1213 else if ( info
.sizer
)
1214 return self
->Remove(info
.sizer
);
1215 else if ( info
.gotPos
)
1216 return self
->Remove(info
.pos
);
1220 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1221 wxPyBeginBlockThreads();
1222 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1223 wxPyEndBlockThreads();
1225 self
->SetItemMinSize(info
.window
, size
);
1226 else if ( info
.sizer
)
1227 self
->SetItemMinSize(info
.sizer
, size
);
1228 else if ( info
.gotPos
)
1229 self
->SetItemMinSize(info
.pos
, size
);
1231 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1232 wxSizerItemList
& list
= self
->GetChildren();
1233 return wxPy_ConvertList(&list
);
1235 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1236 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1238 self
->Show(info
.window
, show
);
1239 else if ( info
.sizer
)
1240 self
->Show(info
.sizer
, show
);
1242 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1243 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1245 self
->Hide(info
.window
);
1246 else if ( info
.sizer
)
1247 self
->Hide(info
.sizer
);
1249 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1250 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1252 return self
->IsShown(info
.window
);
1253 else if ( info
.sizer
)
1254 return self
->IsShown(info
.sizer
);
1260 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1261 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1262 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1267 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1269 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1272 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1274 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1278 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1282 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1283 wxPyBeginBlockThreads();
1284 PyObject
* tup
= PyTuple_New(2);
1285 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1286 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1287 wxPyEndBlockThreads();
1290 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1291 self
->SetRowspan(rowspan
);
1292 self
->SetColspan(colspan
);
1294 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1295 wxPyBeginBlockThreads();
1296 PyObject
* tup
= PyTuple_New(2);
1297 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1298 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1299 wxPyEndBlockThreads();
1302 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1304 wxPyUserData
* data
= NULL
;
1305 wxPyBeginBlockThreads();
1306 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1307 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1308 data
= new wxPyUserData(userData
);
1309 wxPyEndBlockThreads();
1311 // Now call the real Add method if a valid item type was found
1313 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1314 else if ( info
.sizer
)
1315 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1316 else if (info
.gotSize
)
1317 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1318 pos
, span
, flag
, border
, data
);
1326 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1327 PyObject
*resultobj
;
1328 wxObject
*arg1
= (wxObject
*) 0 ;
1330 PyObject
* obj0
= 0 ;
1332 (char *) "self", NULL
1335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1339 result
= wxObject_GetClassName(arg1
);
1341 wxPyEndAllowThreads(__tstate
);
1342 if (PyErr_Occurred()) SWIG_fail
;
1346 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1348 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1357 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1358 PyObject
*resultobj
;
1359 wxObject
*arg1
= (wxObject
*) 0 ;
1360 PyObject
* obj0
= 0 ;
1362 (char *) "self", NULL
1365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1369 wxObject_Destroy(arg1
);
1371 wxPyEndAllowThreads(__tstate
);
1372 if (PyErr_Occurred()) SWIG_fail
;
1374 Py_INCREF(Py_None
); resultobj
= Py_None
;
1381 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1383 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1384 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1386 return Py_BuildValue((char *)"");
1388 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1389 PyObject
*resultobj
;
1390 wxSize
*arg1
= (wxSize
*) 0 ;
1392 PyObject
* obj0
= 0 ;
1394 (char *) "self",(char *) "x", NULL
1397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1399 if (arg1
) (arg1
)->x
= arg2
;
1401 Py_INCREF(Py_None
); resultobj
= Py_None
;
1408 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1409 PyObject
*resultobj
;
1410 wxSize
*arg1
= (wxSize
*) 0 ;
1412 PyObject
* obj0
= 0 ;
1414 (char *) "self", NULL
1417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1419 result
= (int) ((arg1
)->x
);
1421 resultobj
= PyInt_FromLong((long)result
);
1428 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1429 PyObject
*resultobj
;
1430 wxSize
*arg1
= (wxSize
*) 0 ;
1432 PyObject
* obj0
= 0 ;
1434 (char *) "self",(char *) "y", NULL
1437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1439 if (arg1
) (arg1
)->y
= arg2
;
1441 Py_INCREF(Py_None
); resultobj
= Py_None
;
1448 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1449 PyObject
*resultobj
;
1450 wxSize
*arg1
= (wxSize
*) 0 ;
1452 PyObject
* obj0
= 0 ;
1454 (char *) "self", NULL
1457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1459 result
= (int) ((arg1
)->y
);
1461 resultobj
= PyInt_FromLong((long)result
);
1468 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1469 PyObject
*resultobj
;
1470 int arg1
= (int) 0 ;
1471 int arg2
= (int) 0 ;
1474 (char *) "w",(char *) "h", NULL
1477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1480 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1482 wxPyEndAllowThreads(__tstate
);
1483 if (PyErr_Occurred()) SWIG_fail
;
1485 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1492 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1493 PyObject
*resultobj
;
1494 wxSize
*arg1
= (wxSize
*) 0 ;
1495 PyObject
* obj0
= 0 ;
1497 (char *) "self", NULL
1500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1506 wxPyEndAllowThreads(__tstate
);
1507 if (PyErr_Occurred()) SWIG_fail
;
1509 Py_INCREF(Py_None
); resultobj
= Py_None
;
1516 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1517 PyObject
*resultobj
;
1518 wxSize
*arg1
= (wxSize
*) 0 ;
1522 PyObject
* obj0
= 0 ;
1523 PyObject
* obj1
= 0 ;
1525 (char *) "self",(char *) "sz", NULL
1528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1532 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1536 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1538 wxPyEndAllowThreads(__tstate
);
1539 if (PyErr_Occurred()) SWIG_fail
;
1541 resultobj
= PyInt_FromLong((long)result
);
1548 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1549 PyObject
*resultobj
;
1550 wxSize
*arg1
= (wxSize
*) 0 ;
1554 PyObject
* obj0
= 0 ;
1555 PyObject
* obj1
= 0 ;
1557 (char *) "self",(char *) "sz", NULL
1560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1564 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1568 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1570 wxPyEndAllowThreads(__tstate
);
1571 if (PyErr_Occurred()) SWIG_fail
;
1573 resultobj
= PyInt_FromLong((long)result
);
1580 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1581 PyObject
*resultobj
;
1582 wxSize
*arg1
= (wxSize
*) 0 ;
1586 PyObject
* obj0
= 0 ;
1587 PyObject
* obj1
= 0 ;
1589 (char *) "self",(char *) "sz", NULL
1592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1596 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1600 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1602 wxPyEndAllowThreads(__tstate
);
1603 if (PyErr_Occurred()) SWIG_fail
;
1607 resultptr
= new wxSize((wxSize
&) result
);
1608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1616 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1617 PyObject
*resultobj
;
1618 wxSize
*arg1
= (wxSize
*) 0 ;
1622 PyObject
* obj0
= 0 ;
1623 PyObject
* obj1
= 0 ;
1625 (char *) "self",(char *) "sz", NULL
1628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1632 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1636 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1638 wxPyEndAllowThreads(__tstate
);
1639 if (PyErr_Occurred()) SWIG_fail
;
1643 resultptr
= new wxSize((wxSize
&) result
);
1644 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1652 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1653 PyObject
*resultobj
;
1654 wxSize
*arg1
= (wxSize
*) 0 ;
1657 PyObject
* obj0
= 0 ;
1658 PyObject
* obj1
= 0 ;
1660 (char *) "self",(char *) "sz", NULL
1663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1667 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1671 (arg1
)->IncTo((wxSize
const &)*arg2
);
1673 wxPyEndAllowThreads(__tstate
);
1674 if (PyErr_Occurred()) SWIG_fail
;
1676 Py_INCREF(Py_None
); resultobj
= Py_None
;
1683 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1684 PyObject
*resultobj
;
1685 wxSize
*arg1
= (wxSize
*) 0 ;
1688 PyObject
* obj0
= 0 ;
1689 PyObject
* obj1
= 0 ;
1691 (char *) "self",(char *) "sz", NULL
1694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1698 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1702 (arg1
)->DecTo((wxSize
const &)*arg2
);
1704 wxPyEndAllowThreads(__tstate
);
1705 if (PyErr_Occurred()) SWIG_fail
;
1707 Py_INCREF(Py_None
); resultobj
= Py_None
;
1714 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1715 PyObject
*resultobj
;
1716 wxSize
*arg1
= (wxSize
*) 0 ;
1719 PyObject
* obj0
= 0 ;
1721 (char *) "self",(char *) "w",(char *) "h", NULL
1724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1728 (arg1
)->Set(arg2
,arg3
);
1730 wxPyEndAllowThreads(__tstate
);
1731 if (PyErr_Occurred()) SWIG_fail
;
1733 Py_INCREF(Py_None
); resultobj
= Py_None
;
1740 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1741 PyObject
*resultobj
;
1742 wxSize
*arg1
= (wxSize
*) 0 ;
1744 PyObject
* obj0
= 0 ;
1746 (char *) "self",(char *) "w", NULL
1749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1753 (arg1
)->SetWidth(arg2
);
1755 wxPyEndAllowThreads(__tstate
);
1756 if (PyErr_Occurred()) SWIG_fail
;
1758 Py_INCREF(Py_None
); resultobj
= Py_None
;
1765 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1766 PyObject
*resultobj
;
1767 wxSize
*arg1
= (wxSize
*) 0 ;
1769 PyObject
* obj0
= 0 ;
1771 (char *) "self",(char *) "h", NULL
1774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1778 (arg1
)->SetHeight(arg2
);
1780 wxPyEndAllowThreads(__tstate
);
1781 if (PyErr_Occurred()) SWIG_fail
;
1783 Py_INCREF(Py_None
); resultobj
= Py_None
;
1790 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1791 PyObject
*resultobj
;
1792 wxSize
*arg1
= (wxSize
*) 0 ;
1794 PyObject
* obj0
= 0 ;
1796 (char *) "self", NULL
1799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1803 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1805 wxPyEndAllowThreads(__tstate
);
1806 if (PyErr_Occurred()) SWIG_fail
;
1808 resultobj
= PyInt_FromLong((long)result
);
1815 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1816 PyObject
*resultobj
;
1817 wxSize
*arg1
= (wxSize
*) 0 ;
1819 PyObject
* obj0
= 0 ;
1821 (char *) "self", NULL
1824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1828 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1830 wxPyEndAllowThreads(__tstate
);
1831 if (PyErr_Occurred()) SWIG_fail
;
1833 resultobj
= PyInt_FromLong((long)result
);
1840 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1841 PyObject
*resultobj
;
1842 wxSize
*arg1
= (wxSize
*) 0 ;
1844 PyObject
* obj0
= 0 ;
1846 (char *) "self", NULL
1849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
1850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1853 result
= (PyObject
*)wxSize_Get(arg1
);
1855 wxPyEndAllowThreads(__tstate
);
1856 if (PyErr_Occurred()) SWIG_fail
;
1865 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1867 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1868 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1870 return Py_BuildValue((char *)"");
1872 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1873 PyObject
*resultobj
;
1874 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1876 PyObject
* obj0
= 0 ;
1878 (char *) "self",(char *) "x", NULL
1881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1883 if (arg1
) (arg1
)->x
= arg2
;
1885 Py_INCREF(Py_None
); resultobj
= Py_None
;
1892 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1893 PyObject
*resultobj
;
1894 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1896 PyObject
* obj0
= 0 ;
1898 (char *) "self", NULL
1901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1903 result
= (double) ((arg1
)->x
);
1905 resultobj
= PyFloat_FromDouble(result
);
1912 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1913 PyObject
*resultobj
;
1914 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1916 PyObject
* obj0
= 0 ;
1918 (char *) "self",(char *) "y", NULL
1921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1923 if (arg1
) (arg1
)->y
= arg2
;
1925 Py_INCREF(Py_None
); resultobj
= Py_None
;
1932 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1933 PyObject
*resultobj
;
1934 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1936 PyObject
* obj0
= 0 ;
1938 (char *) "self", NULL
1941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1943 result
= (double) ((arg1
)->y
);
1945 resultobj
= PyFloat_FromDouble(result
);
1952 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1953 PyObject
*resultobj
;
1954 double arg1
= (double) 0.0 ;
1955 double arg2
= (double) 0.0 ;
1956 wxRealPoint
*result
;
1958 (char *) "x",(char *) "y", NULL
1961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
1963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1964 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
1966 wxPyEndAllowThreads(__tstate
);
1967 if (PyErr_Occurred()) SWIG_fail
;
1969 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
1976 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1977 PyObject
*resultobj
;
1978 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1979 PyObject
* obj0
= 0 ;
1981 (char *) "self", NULL
1984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
1985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1990 wxPyEndAllowThreads(__tstate
);
1991 if (PyErr_Occurred()) SWIG_fail
;
1993 Py_INCREF(Py_None
); resultobj
= Py_None
;
2000 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2001 PyObject
*resultobj
;
2002 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2003 wxRealPoint
*arg2
= 0 ;
2006 PyObject
* obj0
= 0 ;
2007 PyObject
* obj1
= 0 ;
2009 (char *) "self",(char *) "pt", NULL
2012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2016 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2020 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2022 wxPyEndAllowThreads(__tstate
);
2023 if (PyErr_Occurred()) SWIG_fail
;
2025 resultobj
= PyInt_FromLong((long)result
);
2032 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2033 PyObject
*resultobj
;
2034 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2035 wxRealPoint
*arg2
= 0 ;
2038 PyObject
* obj0
= 0 ;
2039 PyObject
* obj1
= 0 ;
2041 (char *) "self",(char *) "pt", NULL
2044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2048 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2052 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2054 wxPyEndAllowThreads(__tstate
);
2055 if (PyErr_Occurred()) SWIG_fail
;
2057 resultobj
= PyInt_FromLong((long)result
);
2064 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2065 PyObject
*resultobj
;
2066 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2067 wxRealPoint
*arg2
= 0 ;
2070 PyObject
* obj0
= 0 ;
2071 PyObject
* obj1
= 0 ;
2073 (char *) "self",(char *) "pt", NULL
2076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2080 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2084 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2086 wxPyEndAllowThreads(__tstate
);
2087 if (PyErr_Occurred()) SWIG_fail
;
2090 wxRealPoint
* resultptr
;
2091 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2092 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2100 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2101 PyObject
*resultobj
;
2102 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2103 wxRealPoint
*arg2
= 0 ;
2106 PyObject
* obj0
= 0 ;
2107 PyObject
* obj1
= 0 ;
2109 (char *) "self",(char *) "pt", NULL
2112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2116 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2120 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2122 wxPyEndAllowThreads(__tstate
);
2123 if (PyErr_Occurred()) SWIG_fail
;
2126 wxRealPoint
* resultptr
;
2127 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2128 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2136 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2137 PyObject
*resultobj
;
2138 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2141 PyObject
* obj0
= 0 ;
2143 (char *) "self",(char *) "x",(char *) "y", NULL
2146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2150 wxRealPoint_Set(arg1
,arg2
,arg3
);
2152 wxPyEndAllowThreads(__tstate
);
2153 if (PyErr_Occurred()) SWIG_fail
;
2155 Py_INCREF(Py_None
); resultobj
= Py_None
;
2162 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2163 PyObject
*resultobj
;
2164 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2166 PyObject
* obj0
= 0 ;
2168 (char *) "self", NULL
2171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2175 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2177 wxPyEndAllowThreads(__tstate
);
2178 if (PyErr_Occurred()) SWIG_fail
;
2187 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2189 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2190 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2192 return Py_BuildValue((char *)"");
2194 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2195 PyObject
*resultobj
;
2196 wxPoint
*arg1
= (wxPoint
*) 0 ;
2198 PyObject
* obj0
= 0 ;
2200 (char *) "self",(char *) "x", NULL
2203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2205 if (arg1
) (arg1
)->x
= arg2
;
2207 Py_INCREF(Py_None
); resultobj
= Py_None
;
2214 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2215 PyObject
*resultobj
;
2216 wxPoint
*arg1
= (wxPoint
*) 0 ;
2218 PyObject
* obj0
= 0 ;
2220 (char *) "self", NULL
2223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2225 result
= (int) ((arg1
)->x
);
2227 resultobj
= PyInt_FromLong((long)result
);
2234 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2235 PyObject
*resultobj
;
2236 wxPoint
*arg1
= (wxPoint
*) 0 ;
2238 PyObject
* obj0
= 0 ;
2240 (char *) "self",(char *) "y", NULL
2243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2245 if (arg1
) (arg1
)->y
= arg2
;
2247 Py_INCREF(Py_None
); resultobj
= Py_None
;
2254 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2255 PyObject
*resultobj
;
2256 wxPoint
*arg1
= (wxPoint
*) 0 ;
2258 PyObject
* obj0
= 0 ;
2260 (char *) "self", NULL
2263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2265 result
= (int) ((arg1
)->y
);
2267 resultobj
= PyInt_FromLong((long)result
);
2274 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2275 PyObject
*resultobj
;
2276 int arg1
= (int) 0 ;
2277 int arg2
= (int) 0 ;
2280 (char *) "x",(char *) "y", NULL
2283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2286 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2288 wxPyEndAllowThreads(__tstate
);
2289 if (PyErr_Occurred()) SWIG_fail
;
2291 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2298 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2299 PyObject
*resultobj
;
2300 wxPoint
*arg1
= (wxPoint
*) 0 ;
2301 PyObject
* obj0
= 0 ;
2303 (char *) "self", NULL
2306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2312 wxPyEndAllowThreads(__tstate
);
2313 if (PyErr_Occurred()) SWIG_fail
;
2315 Py_INCREF(Py_None
); resultobj
= Py_None
;
2322 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2323 PyObject
*resultobj
;
2324 wxPoint
*arg1
= (wxPoint
*) 0 ;
2328 PyObject
* obj0
= 0 ;
2329 PyObject
* obj1
= 0 ;
2331 (char *) "self",(char *) "pt", NULL
2334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2338 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2342 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2344 wxPyEndAllowThreads(__tstate
);
2345 if (PyErr_Occurred()) SWIG_fail
;
2347 resultobj
= PyInt_FromLong((long)result
);
2354 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2355 PyObject
*resultobj
;
2356 wxPoint
*arg1
= (wxPoint
*) 0 ;
2360 PyObject
* obj0
= 0 ;
2361 PyObject
* obj1
= 0 ;
2363 (char *) "self",(char *) "pt", NULL
2366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2370 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2374 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2376 wxPyEndAllowThreads(__tstate
);
2377 if (PyErr_Occurred()) SWIG_fail
;
2379 resultobj
= PyInt_FromLong((long)result
);
2386 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2387 PyObject
*resultobj
;
2388 wxPoint
*arg1
= (wxPoint
*) 0 ;
2392 PyObject
* obj0
= 0 ;
2393 PyObject
* obj1
= 0 ;
2395 (char *) "self",(char *) "pt", NULL
2398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2402 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2406 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2408 wxPyEndAllowThreads(__tstate
);
2409 if (PyErr_Occurred()) SWIG_fail
;
2412 wxPoint
* resultptr
;
2413 resultptr
= new wxPoint((wxPoint
&) result
);
2414 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2422 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2423 PyObject
*resultobj
;
2424 wxPoint
*arg1
= (wxPoint
*) 0 ;
2428 PyObject
* obj0
= 0 ;
2429 PyObject
* obj1
= 0 ;
2431 (char *) "self",(char *) "pt", NULL
2434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2438 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2442 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2444 wxPyEndAllowThreads(__tstate
);
2445 if (PyErr_Occurred()) SWIG_fail
;
2448 wxPoint
* resultptr
;
2449 resultptr
= new wxPoint((wxPoint
&) result
);
2450 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2458 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2459 PyObject
*resultobj
;
2460 wxPoint
*arg1
= (wxPoint
*) 0 ;
2464 PyObject
* obj0
= 0 ;
2465 PyObject
* obj1
= 0 ;
2467 (char *) "self",(char *) "pt", NULL
2470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2474 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2479 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2480 result
= (wxPoint
*) &_result_ref
;
2483 wxPyEndAllowThreads(__tstate
);
2484 if (PyErr_Occurred()) SWIG_fail
;
2486 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2493 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2494 PyObject
*resultobj
;
2495 wxPoint
*arg1
= (wxPoint
*) 0 ;
2499 PyObject
* obj0
= 0 ;
2500 PyObject
* obj1
= 0 ;
2502 (char *) "self",(char *) "pt", NULL
2505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2509 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2514 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2515 result
= (wxPoint
*) &_result_ref
;
2518 wxPyEndAllowThreads(__tstate
);
2519 if (PyErr_Occurred()) SWIG_fail
;
2521 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2528 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2529 PyObject
*resultobj
;
2530 wxPoint
*arg1
= (wxPoint
*) 0 ;
2533 PyObject
* obj0
= 0 ;
2535 (char *) "self",(char *) "x",(char *) "y", NULL
2538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2542 wxPoint_Set(arg1
,arg2
,arg3
);
2544 wxPyEndAllowThreads(__tstate
);
2545 if (PyErr_Occurred()) SWIG_fail
;
2547 Py_INCREF(Py_None
); resultobj
= Py_None
;
2554 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2555 PyObject
*resultobj
;
2556 wxPoint
*arg1
= (wxPoint
*) 0 ;
2558 PyObject
* obj0
= 0 ;
2560 (char *) "self", NULL
2563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2567 result
= (PyObject
*)wxPoint_Get(arg1
);
2569 wxPyEndAllowThreads(__tstate
);
2570 if (PyErr_Occurred()) SWIG_fail
;
2579 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2582 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2584 return Py_BuildValue((char *)"");
2586 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2587 PyObject
*resultobj
;
2588 int arg1
= (int) 0 ;
2589 int arg2
= (int) 0 ;
2590 int arg3
= (int) 0 ;
2591 int arg4
= (int) 0 ;
2594 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2600 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2602 wxPyEndAllowThreads(__tstate
);
2603 if (PyErr_Occurred()) SWIG_fail
;
2605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2612 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2613 PyObject
*resultobj
;
2619 PyObject
* obj0
= 0 ;
2620 PyObject
* obj1
= 0 ;
2622 (char *) "topLeft",(char *) "bottomRight", NULL
2625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2628 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2632 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2636 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2638 wxPyEndAllowThreads(__tstate
);
2639 if (PyErr_Occurred()) SWIG_fail
;
2641 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2648 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2649 PyObject
*resultobj
;
2655 PyObject
* obj0
= 0 ;
2656 PyObject
* obj1
= 0 ;
2658 (char *) "pos",(char *) "size", NULL
2661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2664 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2668 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2672 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2674 wxPyEndAllowThreads(__tstate
);
2675 if (PyErr_Occurred()) SWIG_fail
;
2677 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2684 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2685 PyObject
*resultobj
;
2686 wxRect
*arg1
= (wxRect
*) 0 ;
2687 PyObject
* obj0
= 0 ;
2689 (char *) "self", NULL
2692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2698 wxPyEndAllowThreads(__tstate
);
2699 if (PyErr_Occurred()) SWIG_fail
;
2701 Py_INCREF(Py_None
); resultobj
= Py_None
;
2708 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2709 PyObject
*resultobj
;
2710 wxRect
*arg1
= (wxRect
*) 0 ;
2712 PyObject
* obj0
= 0 ;
2714 (char *) "self", NULL
2717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2721 result
= (int)((wxRect
const *)arg1
)->GetX();
2723 wxPyEndAllowThreads(__tstate
);
2724 if (PyErr_Occurred()) SWIG_fail
;
2726 resultobj
= PyInt_FromLong((long)result
);
2733 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2734 PyObject
*resultobj
;
2735 wxRect
*arg1
= (wxRect
*) 0 ;
2737 PyObject
* obj0
= 0 ;
2739 (char *) "self",(char *) "x", NULL
2742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2748 wxPyEndAllowThreads(__tstate
);
2749 if (PyErr_Occurred()) SWIG_fail
;
2751 Py_INCREF(Py_None
); resultobj
= Py_None
;
2758 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2759 PyObject
*resultobj
;
2760 wxRect
*arg1
= (wxRect
*) 0 ;
2762 PyObject
* obj0
= 0 ;
2764 (char *) "self", NULL
2767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2771 result
= (int)(arg1
)->GetY();
2773 wxPyEndAllowThreads(__tstate
);
2774 if (PyErr_Occurred()) SWIG_fail
;
2776 resultobj
= PyInt_FromLong((long)result
);
2783 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2784 PyObject
*resultobj
;
2785 wxRect
*arg1
= (wxRect
*) 0 ;
2787 PyObject
* obj0
= 0 ;
2789 (char *) "self",(char *) "y", NULL
2792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2798 wxPyEndAllowThreads(__tstate
);
2799 if (PyErr_Occurred()) SWIG_fail
;
2801 Py_INCREF(Py_None
); resultobj
= Py_None
;
2808 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2809 PyObject
*resultobj
;
2810 wxRect
*arg1
= (wxRect
*) 0 ;
2812 PyObject
* obj0
= 0 ;
2814 (char *) "self", NULL
2817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2821 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2823 wxPyEndAllowThreads(__tstate
);
2824 if (PyErr_Occurred()) SWIG_fail
;
2826 resultobj
= PyInt_FromLong((long)result
);
2833 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2834 PyObject
*resultobj
;
2835 wxRect
*arg1
= (wxRect
*) 0 ;
2837 PyObject
* obj0
= 0 ;
2839 (char *) "self",(char *) "w", NULL
2842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2846 (arg1
)->SetWidth(arg2
);
2848 wxPyEndAllowThreads(__tstate
);
2849 if (PyErr_Occurred()) SWIG_fail
;
2851 Py_INCREF(Py_None
); resultobj
= Py_None
;
2858 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2859 PyObject
*resultobj
;
2860 wxRect
*arg1
= (wxRect
*) 0 ;
2862 PyObject
* obj0
= 0 ;
2864 (char *) "self", NULL
2867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2871 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2873 wxPyEndAllowThreads(__tstate
);
2874 if (PyErr_Occurred()) SWIG_fail
;
2876 resultobj
= PyInt_FromLong((long)result
);
2883 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2884 PyObject
*resultobj
;
2885 wxRect
*arg1
= (wxRect
*) 0 ;
2887 PyObject
* obj0
= 0 ;
2889 (char *) "self",(char *) "h", NULL
2892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2896 (arg1
)->SetHeight(arg2
);
2898 wxPyEndAllowThreads(__tstate
);
2899 if (PyErr_Occurred()) SWIG_fail
;
2901 Py_INCREF(Py_None
); resultobj
= Py_None
;
2908 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2909 PyObject
*resultobj
;
2910 wxRect
*arg1
= (wxRect
*) 0 ;
2912 PyObject
* obj0
= 0 ;
2914 (char *) "self", NULL
2917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2921 result
= ((wxRect
const *)arg1
)->GetPosition();
2923 wxPyEndAllowThreads(__tstate
);
2924 if (PyErr_Occurred()) SWIG_fail
;
2927 wxPoint
* resultptr
;
2928 resultptr
= new wxPoint((wxPoint
&) result
);
2929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2937 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2938 PyObject
*resultobj
;
2939 wxRect
*arg1
= (wxRect
*) 0 ;
2942 PyObject
* obj0
= 0 ;
2943 PyObject
* obj1
= 0 ;
2945 (char *) "self",(char *) "p", NULL
2948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2952 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2956 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
2958 wxPyEndAllowThreads(__tstate
);
2959 if (PyErr_Occurred()) SWIG_fail
;
2961 Py_INCREF(Py_None
); resultobj
= Py_None
;
2968 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2969 PyObject
*resultobj
;
2970 wxRect
*arg1
= (wxRect
*) 0 ;
2972 PyObject
* obj0
= 0 ;
2974 (char *) "self", NULL
2977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
2978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2981 result
= ((wxRect
const *)arg1
)->GetSize();
2983 wxPyEndAllowThreads(__tstate
);
2984 if (PyErr_Occurred()) SWIG_fail
;
2988 resultptr
= new wxSize((wxSize
&) result
);
2989 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
2997 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2998 PyObject
*resultobj
;
2999 wxRect
*arg1
= (wxRect
*) 0 ;
3002 PyObject
* obj0
= 0 ;
3003 PyObject
* obj1
= 0 ;
3005 (char *) "self",(char *) "s", NULL
3008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3012 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3016 (arg1
)->SetSize((wxSize
const &)*arg2
);
3018 wxPyEndAllowThreads(__tstate
);
3019 if (PyErr_Occurred()) SWIG_fail
;
3021 Py_INCREF(Py_None
); resultobj
= Py_None
;
3028 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3029 PyObject
*resultobj
;
3030 wxRect
*arg1
= (wxRect
*) 0 ;
3032 PyObject
* obj0
= 0 ;
3034 (char *) "self", NULL
3037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3041 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3043 wxPyEndAllowThreads(__tstate
);
3044 if (PyErr_Occurred()) SWIG_fail
;
3046 resultobj
= PyInt_FromLong((long)result
);
3053 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3054 PyObject
*resultobj
;
3055 wxRect
*arg1
= (wxRect
*) 0 ;
3057 PyObject
* obj0
= 0 ;
3059 (char *) "self", NULL
3062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 result
= (int)((wxRect
const *)arg1
)->GetTop();
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3071 resultobj
= PyInt_FromLong((long)result
);
3078 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
*resultobj
;
3080 wxRect
*arg1
= (wxRect
*) 0 ;
3082 PyObject
* obj0
= 0 ;
3084 (char *) "self", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3096 resultobj
= PyInt_FromLong((long)result
);
3103 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3104 PyObject
*resultobj
;
3105 wxRect
*arg1
= (wxRect
*) 0 ;
3107 PyObject
* obj0
= 0 ;
3109 (char *) "self", NULL
3112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3116 result
= (int)((wxRect
const *)arg1
)->GetRight();
3118 wxPyEndAllowThreads(__tstate
);
3119 if (PyErr_Occurred()) SWIG_fail
;
3121 resultobj
= PyInt_FromLong((long)result
);
3128 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3129 PyObject
*resultobj
;
3130 wxRect
*arg1
= (wxRect
*) 0 ;
3132 PyObject
* obj0
= 0 ;
3134 (char *) "self",(char *) "left", NULL
3137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3141 (arg1
)->SetLeft(arg2
);
3143 wxPyEndAllowThreads(__tstate
);
3144 if (PyErr_Occurred()) SWIG_fail
;
3146 Py_INCREF(Py_None
); resultobj
= Py_None
;
3153 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3154 PyObject
*resultobj
;
3155 wxRect
*arg1
= (wxRect
*) 0 ;
3157 PyObject
* obj0
= 0 ;
3159 (char *) "self",(char *) "right", NULL
3162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3166 (arg1
)->SetRight(arg2
);
3168 wxPyEndAllowThreads(__tstate
);
3169 if (PyErr_Occurred()) SWIG_fail
;
3171 Py_INCREF(Py_None
); resultobj
= Py_None
;
3178 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3179 PyObject
*resultobj
;
3180 wxRect
*arg1
= (wxRect
*) 0 ;
3182 PyObject
* obj0
= 0 ;
3184 (char *) "self",(char *) "top", NULL
3187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3191 (arg1
)->SetTop(arg2
);
3193 wxPyEndAllowThreads(__tstate
);
3194 if (PyErr_Occurred()) SWIG_fail
;
3196 Py_INCREF(Py_None
); resultobj
= Py_None
;
3203 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3204 PyObject
*resultobj
;
3205 wxRect
*arg1
= (wxRect
*) 0 ;
3207 PyObject
* obj0
= 0 ;
3209 (char *) "self",(char *) "bottom", NULL
3212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3216 (arg1
)->SetBottom(arg2
);
3218 wxPyEndAllowThreads(__tstate
);
3219 if (PyErr_Occurred()) SWIG_fail
;
3221 Py_INCREF(Py_None
); resultobj
= Py_None
;
3228 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3229 PyObject
*resultobj
;
3230 wxRect
*arg1
= (wxRect
*) 0 ;
3234 PyObject
* obj0
= 0 ;
3236 (char *) "self",(char *) "dx",(char *) "dy", NULL
3239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3244 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3245 result
= (wxRect
*) &_result_ref
;
3248 wxPyEndAllowThreads(__tstate
);
3249 if (PyErr_Occurred()) SWIG_fail
;
3251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3258 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3259 PyObject
*resultobj
;
3260 wxRect
*arg1
= (wxRect
*) 0 ;
3264 PyObject
* obj0
= 0 ;
3266 (char *) "self",(char *) "dx",(char *) "dy", NULL
3269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3274 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3275 result
= (wxRect
*) &_result_ref
;
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3288 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxRect
*arg1
= (wxRect
*) 0 ;
3293 PyObject
* obj0
= 0 ;
3295 (char *) "self",(char *) "dx",(char *) "dy", NULL
3298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3302 (arg1
)->Offset(arg2
,arg3
);
3304 wxPyEndAllowThreads(__tstate
);
3305 if (PyErr_Occurred()) SWIG_fail
;
3307 Py_INCREF(Py_None
); resultobj
= Py_None
;
3314 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3315 PyObject
*resultobj
;
3316 wxRect
*arg1
= (wxRect
*) 0 ;
3319 PyObject
* obj0
= 0 ;
3320 PyObject
* obj1
= 0 ;
3322 (char *) "self",(char *) "pt", NULL
3325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3329 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3333 (arg1
)->Offset((wxPoint
const &)*arg2
);
3335 wxPyEndAllowThreads(__tstate
);
3336 if (PyErr_Occurred()) SWIG_fail
;
3338 Py_INCREF(Py_None
); resultobj
= Py_None
;
3345 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3346 PyObject
*resultobj
;
3347 wxRect
*arg1
= (wxRect
*) 0 ;
3351 PyObject
* obj0
= 0 ;
3352 PyObject
* obj1
= 0 ;
3354 (char *) "self",(char *) "rect", NULL
3357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3361 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3366 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3367 result
= (wxRect
*) &_result_ref
;
3370 wxPyEndAllowThreads(__tstate
);
3371 if (PyErr_Occurred()) SWIG_fail
;
3373 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3380 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3381 PyObject
*resultobj
;
3382 wxRect
*arg1
= (wxRect
*) 0 ;
3386 PyObject
* obj0
= 0 ;
3387 PyObject
* obj1
= 0 ;
3389 (char *) "self",(char *) "rect", NULL
3392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3396 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3400 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3402 wxPyEndAllowThreads(__tstate
);
3403 if (PyErr_Occurred()) SWIG_fail
;
3407 resultptr
= new wxRect((wxRect
&) result
);
3408 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3416 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3417 PyObject
*resultobj
;
3418 wxRect
*arg1
= (wxRect
*) 0 ;
3422 PyObject
* obj0
= 0 ;
3423 PyObject
* obj1
= 0 ;
3425 (char *) "self",(char *) "rect", NULL
3428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3432 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3437 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3438 result
= (wxRect
*) &_result_ref
;
3441 wxPyEndAllowThreads(__tstate
);
3442 if (PyErr_Occurred()) SWIG_fail
;
3444 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3451 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3452 PyObject
*resultobj
;
3453 wxRect
*arg1
= (wxRect
*) 0 ;
3457 PyObject
* obj0
= 0 ;
3458 PyObject
* obj1
= 0 ;
3460 (char *) "self",(char *) "rect", NULL
3463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3467 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3471 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3473 wxPyEndAllowThreads(__tstate
);
3474 if (PyErr_Occurred()) SWIG_fail
;
3476 resultobj
= PyInt_FromLong((long)result
);
3483 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3484 PyObject
*resultobj
;
3485 wxRect
*arg1
= (wxRect
*) 0 ;
3489 PyObject
* obj0
= 0 ;
3490 PyObject
* obj1
= 0 ;
3492 (char *) "self",(char *) "rect", NULL
3495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3499 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3503 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3505 wxPyEndAllowThreads(__tstate
);
3506 if (PyErr_Occurred()) SWIG_fail
;
3508 resultobj
= PyInt_FromLong((long)result
);
3515 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3516 PyObject
*resultobj
;
3517 wxRect
*arg1
= (wxRect
*) 0 ;
3521 PyObject
* obj0
= 0 ;
3523 (char *) "self",(char *) "x",(char *) "y", NULL
3526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3530 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3532 wxPyEndAllowThreads(__tstate
);
3533 if (PyErr_Occurred()) SWIG_fail
;
3535 resultobj
= PyInt_FromLong((long)result
);
3542 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3543 PyObject
*resultobj
;
3544 wxRect
*arg1
= (wxRect
*) 0 ;
3548 PyObject
* obj0
= 0 ;
3549 PyObject
* obj1
= 0 ;
3551 (char *) "self",(char *) "pt", NULL
3554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3558 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3562 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3564 wxPyEndAllowThreads(__tstate
);
3565 if (PyErr_Occurred()) SWIG_fail
;
3567 resultobj
= PyInt_FromLong((long)result
);
3574 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3575 PyObject
*resultobj
;
3576 wxRect
*arg1
= (wxRect
*) 0 ;
3580 PyObject
* obj0
= 0 ;
3581 PyObject
* obj1
= 0 ;
3583 (char *) "self",(char *) "rect", NULL
3586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3590 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3594 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3596 wxPyEndAllowThreads(__tstate
);
3597 if (PyErr_Occurred()) SWIG_fail
;
3599 resultobj
= PyInt_FromLong((long)result
);
3606 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3607 PyObject
*resultobj
;
3608 wxRect
*arg1
= (wxRect
*) 0 ;
3610 PyObject
* obj0
= 0 ;
3612 (char *) "self",(char *) "x", NULL
3615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3617 if (arg1
) (arg1
)->x
= arg2
;
3619 Py_INCREF(Py_None
); resultobj
= Py_None
;
3626 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3627 PyObject
*resultobj
;
3628 wxRect
*arg1
= (wxRect
*) 0 ;
3630 PyObject
* obj0
= 0 ;
3632 (char *) "self", NULL
3635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3637 result
= (int) ((arg1
)->x
);
3639 resultobj
= PyInt_FromLong((long)result
);
3646 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3647 PyObject
*resultobj
;
3648 wxRect
*arg1
= (wxRect
*) 0 ;
3650 PyObject
* obj0
= 0 ;
3652 (char *) "self",(char *) "y", NULL
3655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3657 if (arg1
) (arg1
)->y
= arg2
;
3659 Py_INCREF(Py_None
); resultobj
= Py_None
;
3666 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3667 PyObject
*resultobj
;
3668 wxRect
*arg1
= (wxRect
*) 0 ;
3670 PyObject
* obj0
= 0 ;
3672 (char *) "self", NULL
3675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3677 result
= (int) ((arg1
)->y
);
3679 resultobj
= PyInt_FromLong((long)result
);
3686 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3687 PyObject
*resultobj
;
3688 wxRect
*arg1
= (wxRect
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3692 (char *) "self",(char *) "width", NULL
3695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3697 if (arg1
) (arg1
)->width
= arg2
;
3699 Py_INCREF(Py_None
); resultobj
= Py_None
;
3706 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3707 PyObject
*resultobj
;
3708 wxRect
*arg1
= (wxRect
*) 0 ;
3710 PyObject
* obj0
= 0 ;
3712 (char *) "self", NULL
3715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3717 result
= (int) ((arg1
)->width
);
3719 resultobj
= PyInt_FromLong((long)result
);
3726 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3727 PyObject
*resultobj
;
3728 wxRect
*arg1
= (wxRect
*) 0 ;
3730 PyObject
* obj0
= 0 ;
3732 (char *) "self",(char *) "height", NULL
3735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3737 if (arg1
) (arg1
)->height
= arg2
;
3739 Py_INCREF(Py_None
); resultobj
= Py_None
;
3746 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3747 PyObject
*resultobj
;
3748 wxRect
*arg1
= (wxRect
*) 0 ;
3750 PyObject
* obj0
= 0 ;
3752 (char *) "self", NULL
3755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3757 result
= (int) ((arg1
)->height
);
3759 resultobj
= PyInt_FromLong((long)result
);
3766 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3767 PyObject
*resultobj
;
3768 wxRect
*arg1
= (wxRect
*) 0 ;
3769 int arg2
= (int) 0 ;
3770 int arg3
= (int) 0 ;
3771 int arg4
= (int) 0 ;
3772 int arg5
= (int) 0 ;
3773 PyObject
* obj0
= 0 ;
3775 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3782 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3784 wxPyEndAllowThreads(__tstate
);
3785 if (PyErr_Occurred()) SWIG_fail
;
3787 Py_INCREF(Py_None
); resultobj
= Py_None
;
3794 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3795 PyObject
*resultobj
;
3796 wxRect
*arg1
= (wxRect
*) 0 ;
3798 PyObject
* obj0
= 0 ;
3800 (char *) "self", NULL
3803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
3804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3807 result
= (PyObject
*)wxRect_Get(arg1
);
3809 wxPyEndAllowThreads(__tstate
);
3810 if (PyErr_Occurred()) SWIG_fail
;
3819 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3821 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3822 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3824 return Py_BuildValue((char *)"");
3826 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3827 PyObject
*resultobj
;
3828 wxRect
*arg1
= (wxRect
*) 0 ;
3829 wxRect
*arg2
= (wxRect
*) 0 ;
3831 PyObject
* obj0
= 0 ;
3832 PyObject
* obj1
= 0 ;
3834 (char *) "r1",(char *) "r2", NULL
3837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3839 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3842 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3844 wxPyEndAllowThreads(__tstate
);
3845 if (PyErr_Occurred()) SWIG_fail
;
3854 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3855 PyObject
*resultobj
;
3856 double arg1
= (double) 0.0 ;
3857 double arg2
= (double) 0.0 ;
3860 (char *) "x",(char *) "y", NULL
3863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3866 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3868 wxPyEndAllowThreads(__tstate
);
3869 if (PyErr_Occurred()) SWIG_fail
;
3871 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3878 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3879 PyObject
*resultobj
;
3880 wxPoint2D
*arg1
= 0 ;
3883 PyObject
* obj0
= 0 ;
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
3891 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
3894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3895 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
3897 wxPyEndAllowThreads(__tstate
);
3898 if (PyErr_Occurred()) SWIG_fail
;
3900 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3907 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3908 PyObject
*resultobj
;
3912 PyObject
* obj0
= 0 ;
3917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
3920 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3924 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
3926 wxPyEndAllowThreads(__tstate
);
3927 if (PyErr_Occurred()) SWIG_fail
;
3929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3936 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3939 int *arg2
= (int *) 0 ;
3940 int *arg3
= (int *) 0 ;
3943 PyObject
* obj0
= 0 ;
3945 (char *) "self", NULL
3950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
3951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3954 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
3956 wxPyEndAllowThreads(__tstate
);
3957 if (PyErr_Occurred()) SWIG_fail
;
3959 Py_INCREF(Py_None
); resultobj
= Py_None
;
3961 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3962 resultobj
= t_output_helper(resultobj
,o
);
3965 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3966 resultobj
= t_output_helper(resultobj
,o
);
3974 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3975 PyObject
*resultobj
;
3976 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3977 int *arg2
= (int *) 0 ;
3978 int *arg3
= (int *) 0 ;
3981 PyObject
* obj0
= 0 ;
3983 (char *) "self", NULL
3988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
3989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3992 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
3994 wxPyEndAllowThreads(__tstate
);
3995 if (PyErr_Occurred()) SWIG_fail
;
3997 Py_INCREF(Py_None
); resultobj
= Py_None
;
3999 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4000 resultobj
= t_output_helper(resultobj
,o
);
4003 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4004 resultobj
= t_output_helper(resultobj
,o
);
4012 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4013 PyObject
*resultobj
;
4014 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4016 PyObject
* obj0
= 0 ;
4018 (char *) "self", NULL
4021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4025 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4027 wxPyEndAllowThreads(__tstate
);
4028 if (PyErr_Occurred()) SWIG_fail
;
4030 resultobj
= PyFloat_FromDouble(result
);
4037 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4038 PyObject
*resultobj
;
4039 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4041 PyObject
* obj0
= 0 ;
4043 (char *) "self", NULL
4046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4050 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4052 wxPyEndAllowThreads(__tstate
);
4053 if (PyErr_Occurred()) SWIG_fail
;
4055 resultobj
= PyFloat_FromDouble(result
);
4062 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4063 PyObject
*resultobj
;
4064 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4066 PyObject
* obj0
= 0 ;
4068 (char *) "self",(char *) "length", NULL
4071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4075 (arg1
)->SetVectorLength(arg2
);
4077 wxPyEndAllowThreads(__tstate
);
4078 if (PyErr_Occurred()) SWIG_fail
;
4080 Py_INCREF(Py_None
); resultobj
= Py_None
;
4087 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4088 PyObject
*resultobj
;
4089 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "self",(char *) "degrees", NULL
4096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4100 (arg1
)->SetVectorAngle(arg2
);
4102 wxPyEndAllowThreads(__tstate
);
4103 if (PyErr_Occurred()) SWIG_fail
;
4105 Py_INCREF(Py_None
); resultobj
= Py_None
;
4112 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4113 PyObject
*resultobj
;
4114 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4115 wxPoint2D
*arg2
= 0 ;
4118 PyObject
* obj0
= 0 ;
4119 PyObject
* obj1
= 0 ;
4121 (char *) "self",(char *) "pt", NULL
4124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4128 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4132 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4134 wxPyEndAllowThreads(__tstate
);
4135 if (PyErr_Occurred()) SWIG_fail
;
4137 resultobj
= PyFloat_FromDouble(result
);
4144 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4145 PyObject
*resultobj
;
4146 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4147 wxPoint2D
*arg2
= 0 ;
4150 PyObject
* obj0
= 0 ;
4151 PyObject
* obj1
= 0 ;
4153 (char *) "self",(char *) "pt", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4160 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4164 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4166 wxPyEndAllowThreads(__tstate
);
4167 if (PyErr_Occurred()) SWIG_fail
;
4169 resultobj
= PyFloat_FromDouble(result
);
4176 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4177 PyObject
*resultobj
;
4178 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4179 wxPoint2D
*arg2
= 0 ;
4182 PyObject
* obj0
= 0 ;
4183 PyObject
* obj1
= 0 ;
4185 (char *) "self",(char *) "vec", NULL
4188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4192 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4196 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4198 wxPyEndAllowThreads(__tstate
);
4199 if (PyErr_Occurred()) SWIG_fail
;
4201 resultobj
= PyFloat_FromDouble(result
);
4208 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4209 PyObject
*resultobj
;
4210 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4211 wxPoint2D
*arg2
= 0 ;
4214 PyObject
* obj0
= 0 ;
4215 PyObject
* obj1
= 0 ;
4217 (char *) "self",(char *) "vec", NULL
4220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4224 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4230 wxPyEndAllowThreads(__tstate
);
4231 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= PyFloat_FromDouble(result
);
4240 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4241 PyObject
*resultobj
;
4242 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4244 PyObject
* obj0
= 0 ;
4246 (char *) "self", NULL
4249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4253 result
= (arg1
)->operator -();
4255 wxPyEndAllowThreads(__tstate
);
4256 if (PyErr_Occurred()) SWIG_fail
;
4259 wxPoint2D
* resultptr
;
4260 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4261 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4269 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4270 PyObject
*resultobj
;
4271 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4272 wxPoint2D
*arg2
= 0 ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4278 (char *) "self",(char *) "pt", NULL
4281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4285 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4290 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4291 result
= (wxPoint2D
*) &_result_ref
;
4294 wxPyEndAllowThreads(__tstate
);
4295 if (PyErr_Occurred()) SWIG_fail
;
4297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4304 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4305 PyObject
*resultobj
;
4306 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4307 wxPoint2D
*arg2
= 0 ;
4310 PyObject
* obj0
= 0 ;
4311 PyObject
* obj1
= 0 ;
4313 (char *) "self",(char *) "pt", NULL
4316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4320 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4326 result
= (wxPoint2D
*) &_result_ref
;
4329 wxPyEndAllowThreads(__tstate
);
4330 if (PyErr_Occurred()) SWIG_fail
;
4332 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4339 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4340 PyObject
*resultobj
;
4341 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4342 wxPoint2D
*arg2
= 0 ;
4345 PyObject
* obj0
= 0 ;
4346 PyObject
* obj1
= 0 ;
4348 (char *) "self",(char *) "pt", NULL
4351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4355 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4360 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4361 result
= (wxPoint2D
*) &_result_ref
;
4364 wxPyEndAllowThreads(__tstate
);
4365 if (PyErr_Occurred()) SWIG_fail
;
4367 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4374 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4375 PyObject
*resultobj
;
4376 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4377 wxPoint2D
*arg2
= 0 ;
4380 PyObject
* obj0
= 0 ;
4381 PyObject
* obj1
= 0 ;
4383 (char *) "self",(char *) "pt", NULL
4386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4390 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4395 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4396 result
= (wxPoint2D
*) &_result_ref
;
4399 wxPyEndAllowThreads(__tstate
);
4400 if (PyErr_Occurred()) SWIG_fail
;
4402 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4409 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4410 PyObject
*resultobj
;
4411 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4412 wxPoint2D
*arg2
= 0 ;
4415 PyObject
* obj0
= 0 ;
4416 PyObject
* obj1
= 0 ;
4418 (char *) "self",(char *) "pt", NULL
4421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4425 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4429 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= PyInt_FromLong((long)result
);
4441 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
;
4443 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4444 wxPoint2D
*arg2
= 0 ;
4447 PyObject
* obj0
= 0 ;
4448 PyObject
* obj1
= 0 ;
4450 (char *) "self",(char *) "pt", NULL
4453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4457 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4461 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4463 wxPyEndAllowThreads(__tstate
);
4464 if (PyErr_Occurred()) SWIG_fail
;
4466 resultobj
= PyInt_FromLong((long)result
);
4473 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4474 PyObject
*resultobj
;
4475 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4477 PyObject
* obj0
= 0 ;
4479 (char *) "self",(char *) "m_x", NULL
4482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4484 if (arg1
) (arg1
)->m_x
= arg2
;
4486 Py_INCREF(Py_None
); resultobj
= Py_None
;
4493 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4494 PyObject
*resultobj
;
4495 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4497 PyObject
* obj0
= 0 ;
4499 (char *) "self", NULL
4502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4504 result
= (double) ((arg1
)->m_x
);
4506 resultobj
= PyFloat_FromDouble(result
);
4513 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4514 PyObject
*resultobj
;
4515 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4517 PyObject
* obj0
= 0 ;
4519 (char *) "self",(char *) "m_y", NULL
4522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4524 if (arg1
) (arg1
)->m_y
= arg2
;
4526 Py_INCREF(Py_None
); resultobj
= Py_None
;
4533 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4534 PyObject
*resultobj
;
4535 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4537 PyObject
* obj0
= 0 ;
4539 (char *) "self", NULL
4542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4544 result
= (double) ((arg1
)->m_y
);
4546 resultobj
= PyFloat_FromDouble(result
);
4553 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4554 PyObject
*resultobj
;
4555 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4556 double arg2
= (double) 0 ;
4557 double arg3
= (double) 0 ;
4558 PyObject
* obj0
= 0 ;
4560 (char *) "self",(char *) "x",(char *) "y", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4567 wxPoint2D_Set(arg1
,arg2
,arg3
);
4569 wxPyEndAllowThreads(__tstate
);
4570 if (PyErr_Occurred()) SWIG_fail
;
4572 Py_INCREF(Py_None
); resultobj
= Py_None
;
4579 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4580 PyObject
*resultobj
;
4581 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4583 PyObject
* obj0
= 0 ;
4585 (char *) "self", NULL
4588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
4589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 result
= (PyObject
*)wxPoint2D_Get(arg1
);
4594 wxPyEndAllowThreads(__tstate
);
4595 if (PyErr_Occurred()) SWIG_fail
;
4604 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4606 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4607 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4609 return Py_BuildValue((char *)"");
4611 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4612 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4617 static PyObject
*_wrap_DefaultPosition_get() {
4620 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4625 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4626 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4631 static PyObject
*_wrap_DefaultSize_get() {
4634 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4639 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4640 PyObject
*resultobj
;
4641 PyObject
*arg1
= (PyObject
*) 0 ;
4642 wxPyInputStream
*result
;
4643 PyObject
* obj0
= 0 ;
4648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4652 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4664 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4665 PyObject
*resultobj
;
4666 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4667 PyObject
* obj0
= 0 ;
4669 (char *) "self", NULL
4672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4678 wxPyEndAllowThreads(__tstate
);
4679 if (PyErr_Occurred()) SWIG_fail
;
4681 Py_INCREF(Py_None
); resultobj
= Py_None
;
4688 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4689 PyObject
*resultobj
;
4690 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4691 PyObject
* obj0
= 0 ;
4693 (char *) "self", NULL
4696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 wxPyEndAllowThreads(__tstate
);
4703 if (PyErr_Occurred()) SWIG_fail
;
4705 Py_INCREF(Py_None
); resultobj
= Py_None
;
4712 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4713 PyObject
*resultobj
;
4714 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4716 PyObject
* obj0
= 0 ;
4718 (char *) "self", NULL
4721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4725 result
= (bool)(arg1
)->eof();
4727 wxPyEndAllowThreads(__tstate
);
4728 if (PyErr_Occurred()) SWIG_fail
;
4730 resultobj
= PyInt_FromLong((long)result
);
4737 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4738 PyObject
*resultobj
;
4739 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4740 int arg2
= (int) -1 ;
4742 PyObject
* obj0
= 0 ;
4744 (char *) "self",(char *) "size", NULL
4747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4751 result
= (PyObject
*)(arg1
)->read(arg2
);
4753 wxPyEndAllowThreads(__tstate
);
4754 if (PyErr_Occurred()) SWIG_fail
;
4763 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4764 PyObject
*resultobj
;
4765 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4766 int arg2
= (int) -1 ;
4768 PyObject
* obj0
= 0 ;
4770 (char *) "self",(char *) "size", NULL
4773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4777 result
= (PyObject
*)(arg1
)->readline(arg2
);
4779 wxPyEndAllowThreads(__tstate
);
4780 if (PyErr_Occurred()) SWIG_fail
;
4789 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4790 PyObject
*resultobj
;
4791 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4792 int arg2
= (int) -1 ;
4794 PyObject
* obj0
= 0 ;
4796 (char *) "self",(char *) "sizehint", NULL
4799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4803 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4805 wxPyEndAllowThreads(__tstate
);
4806 if (PyErr_Occurred()) SWIG_fail
;
4815 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4816 PyObject
*resultobj
;
4817 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4819 int arg3
= (int) 0 ;
4820 PyObject
* obj0
= 0 ;
4822 (char *) "self",(char *) "offset",(char *) "whence", NULL
4825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4829 (arg1
)->seek(arg2
,arg3
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 Py_INCREF(Py_None
); resultobj
= Py_None
;
4841 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4842 PyObject
*resultobj
;
4843 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4845 PyObject
* obj0
= 0 ;
4847 (char *) "self", NULL
4850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4854 result
= (int)(arg1
)->tell();
4856 wxPyEndAllowThreads(__tstate
);
4857 if (PyErr_Occurred()) SWIG_fail
;
4859 resultobj
= PyInt_FromLong((long)result
);
4866 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4867 PyObject
*resultobj
;
4868 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4870 PyObject
* obj0
= 0 ;
4872 (char *) "self", NULL
4875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
4876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4879 result
= (char)(arg1
)->Peek();
4881 wxPyEndAllowThreads(__tstate
);
4882 if (PyErr_Occurred()) SWIG_fail
;
4884 resultobj
= Py_BuildValue((char*)"c",result
);
4891 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4892 PyObject
*resultobj
;
4893 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4895 PyObject
* obj0
= 0 ;
4897 (char *) "self", NULL
4900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
4901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= (char)(arg1
)->GetC();
4906 wxPyEndAllowThreads(__tstate
);
4907 if (PyErr_Occurred()) SWIG_fail
;
4909 resultobj
= Py_BuildValue((char*)"c",result
);
4916 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4917 PyObject
*resultobj
;
4918 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4920 PyObject
* obj0
= 0 ;
4922 (char *) "self", NULL
4925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
4926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4929 result
= (size_t)(arg1
)->LastRead();
4931 wxPyEndAllowThreads(__tstate
);
4932 if (PyErr_Occurred()) SWIG_fail
;
4934 resultobj
= PyInt_FromLong((long)result
);
4941 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4942 PyObject
*resultobj
;
4943 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4945 PyObject
* obj0
= 0 ;
4947 (char *) "self", NULL
4950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
4951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4954 result
= (bool)(arg1
)->CanRead();
4956 wxPyEndAllowThreads(__tstate
);
4957 if (PyErr_Occurred()) SWIG_fail
;
4959 resultobj
= PyInt_FromLong((long)result
);
4966 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4967 PyObject
*resultobj
;
4968 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4970 PyObject
* obj0
= 0 ;
4972 (char *) "self", NULL
4975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
4976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4979 result
= (bool)(arg1
)->Eof();
4981 wxPyEndAllowThreads(__tstate
);
4982 if (PyErr_Occurred()) SWIG_fail
;
4984 resultobj
= PyInt_FromLong((long)result
);
4991 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4992 PyObject
*resultobj
;
4993 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4996 PyObject
* obj0
= 0 ;
4998 (char *) "self",(char *) "c", NULL
5001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
5002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5005 result
= (bool)(arg1
)->Ungetch(arg2
);
5007 wxPyEndAllowThreads(__tstate
);
5008 if (PyErr_Occurred()) SWIG_fail
;
5010 resultobj
= PyInt_FromLong((long)result
);
5017 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5018 PyObject
*resultobj
;
5019 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5021 int arg3
= (int) wxFromStart
;
5023 PyObject
* obj0
= 0 ;
5025 (char *) "self",(char *) "pos",(char *) "mode", NULL
5028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5032 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5034 wxPyEndAllowThreads(__tstate
);
5035 if (PyErr_Occurred()) SWIG_fail
;
5037 resultobj
= PyInt_FromLong((long)result
);
5044 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5045 PyObject
*resultobj
;
5046 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5048 PyObject
* obj0
= 0 ;
5050 (char *) "self", NULL
5053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5057 result
= (long)(arg1
)->TellI();
5059 wxPyEndAllowThreads(__tstate
);
5060 if (PyErr_Occurred()) SWIG_fail
;
5062 resultobj
= PyInt_FromLong((long)result
);
5069 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5071 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5072 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5074 return Py_BuildValue((char *)"");
5076 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5079 PyObject
*arg2
= (PyObject
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5083 (char *) "self",(char *) "obj", NULL
5086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 wxOutputStream_write(arg1
,arg2
);
5093 wxPyEndAllowThreads(__tstate
);
5094 if (PyErr_Occurred()) SWIG_fail
;
5096 Py_INCREF(Py_None
); resultobj
= Py_None
;
5103 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5105 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5106 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5108 return Py_BuildValue((char *)"");
5110 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5111 PyObject
*resultobj
;
5112 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5113 wxString
*arg2
= 0 ;
5114 wxString
*arg3
= 0 ;
5115 wxString
*arg4
= 0 ;
5118 wxPyInputStream
*temp1
;
5120 bool temp2
= False
;
5121 bool temp3
= False
;
5122 bool temp4
= False
;
5124 PyObject
* obj0
= 0 ;
5125 PyObject
* obj1
= 0 ;
5126 PyObject
* obj2
= 0 ;
5127 PyObject
* obj3
= 0 ;
5128 PyObject
* obj4
= 0 ;
5130 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5135 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5136 arg1
= temp1
->m_wxis
;
5139 PyErr_Clear(); // clear the failure of the wxPyConvert above
5140 arg1
= wxPyCBInputStream_create(obj0
, False
);
5142 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5149 arg2
= wxString_in_helper(obj1
);
5150 if (arg2
== NULL
) SWIG_fail
;
5154 arg3
= wxString_in_helper(obj2
);
5155 if (arg3
== NULL
) SWIG_fail
;
5159 arg4
= wxString_in_helper(obj3
);
5160 if (arg4
== NULL
) SWIG_fail
;
5163 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5173 resultobj
= wxPyMake_wxObject(result
);
5213 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5214 PyObject
*resultobj
;
5215 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5216 PyObject
* obj0
= 0 ;
5218 (char *) "self", NULL
5221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 Py_INCREF(Py_None
); resultobj
= Py_None
;
5237 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
;
5239 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5240 wxInputStream
*result
;
5241 PyObject
* obj0
= 0 ;
5243 (char *) "self", NULL
5246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5250 result
= (wxInputStream
*)(arg1
)->GetStream();
5252 wxPyEndAllowThreads(__tstate
);
5253 if (PyErr_Occurred()) SWIG_fail
;
5256 wxPyInputStream
* _ptr
= NULL
;
5259 _ptr
= new wxPyInputStream(result
);
5261 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5269 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5270 PyObject
*resultobj
;
5271 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5273 PyObject
* obj0
= 0 ;
5275 (char *) "self", NULL
5278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5283 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5284 result
= (wxString
*) &_result_ref
;
5287 wxPyEndAllowThreads(__tstate
);
5288 if (PyErr_Occurred()) SWIG_fail
;
5290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5297 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5298 PyObject
*resultobj
;
5299 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5301 PyObject
* obj0
= 0 ;
5303 (char *) "self", NULL
5306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5311 wxString
const &_result_ref
= (arg1
)->GetLocation();
5312 result
= (wxString
*) &_result_ref
;
5315 wxPyEndAllowThreads(__tstate
);
5316 if (PyErr_Occurred()) SWIG_fail
;
5318 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5325 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5326 PyObject
*resultobj
;
5327 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5329 PyObject
* obj0
= 0 ;
5331 (char *) "self", NULL
5334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5339 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5340 result
= (wxString
*) &_result_ref
;
5343 wxPyEndAllowThreads(__tstate
);
5344 if (PyErr_Occurred()) SWIG_fail
;
5346 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5353 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5354 PyObject
*resultobj
;
5355 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5357 PyObject
* obj0
= 0 ;
5359 (char *) "self", NULL
5362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5366 result
= (arg1
)->GetModificationTime();
5368 wxPyEndAllowThreads(__tstate
);
5369 if (PyErr_Occurred()) SWIG_fail
;
5372 wxDateTime
* resultptr
;
5373 resultptr
= new wxDateTime((wxDateTime
&) result
);
5374 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5382 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5385 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5387 return Py_BuildValue((char *)"");
5389 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5391 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5392 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5394 return Py_BuildValue((char *)"");
5396 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5397 PyObject
*resultobj
;
5398 wxPyFileSystemHandler
*result
;
5403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5406 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5408 wxPyEndAllowThreads(__tstate
);
5409 if (PyErr_Occurred()) SWIG_fail
;
5411 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5418 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5419 PyObject
*resultobj
;
5420 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5421 PyObject
*arg2
= (PyObject
*) 0 ;
5422 PyObject
*arg3
= (PyObject
*) 0 ;
5423 PyObject
* obj0
= 0 ;
5424 PyObject
* obj1
= 0 ;
5425 PyObject
* obj2
= 0 ;
5427 (char *) "self",(char *) "self",(char *) "_class", NULL
5430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5436 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5438 wxPyEndAllowThreads(__tstate
);
5439 if (PyErr_Occurred()) SWIG_fail
;
5441 Py_INCREF(Py_None
); resultobj
= Py_None
;
5448 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5449 PyObject
*resultobj
;
5450 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5451 wxString
*arg2
= 0 ;
5453 bool temp2
= False
;
5454 PyObject
* obj0
= 0 ;
5455 PyObject
* obj1
= 0 ;
5457 (char *) "self",(char *) "location", NULL
5460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5463 arg2
= wxString_in_helper(obj1
);
5464 if (arg2
== NULL
) SWIG_fail
;
5468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5469 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5471 wxPyEndAllowThreads(__tstate
);
5472 if (PyErr_Occurred()) SWIG_fail
;
5474 resultobj
= PyInt_FromLong((long)result
);
5489 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5490 PyObject
*resultobj
;
5491 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5492 wxFileSystem
*arg2
= 0 ;
5493 wxString
*arg3
= 0 ;
5495 bool temp3
= False
;
5496 PyObject
* obj0
= 0 ;
5497 PyObject
* obj1
= 0 ;
5498 PyObject
* obj2
= 0 ;
5500 (char *) "self",(char *) "fs",(char *) "location", NULL
5503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5507 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5510 arg3
= wxString_in_helper(obj2
);
5511 if (arg3
== NULL
) SWIG_fail
;
5515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5516 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5518 wxPyEndAllowThreads(__tstate
);
5519 if (PyErr_Occurred()) SWIG_fail
;
5522 resultobj
= wxPyMake_wxObject(result
);
5538 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5539 PyObject
*resultobj
;
5540 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5541 wxString
*arg2
= 0 ;
5542 int arg3
= (int) 0 ;
5544 bool temp2
= False
;
5545 PyObject
* obj0
= 0 ;
5546 PyObject
* obj1
= 0 ;
5548 (char *) "self",(char *) "spec",(char *) "flags", NULL
5551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5554 arg2
= wxString_in_helper(obj1
);
5555 if (arg2
== NULL
) SWIG_fail
;
5559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5560 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5562 wxPyEndAllowThreads(__tstate
);
5563 if (PyErr_Occurred()) SWIG_fail
;
5567 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5569 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5586 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
;
5588 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5590 PyObject
* obj0
= 0 ;
5592 (char *) "self", NULL
5595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5599 result
= (arg1
)->FindNext();
5601 wxPyEndAllowThreads(__tstate
);
5602 if (PyErr_Occurred()) SWIG_fail
;
5606 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5608 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5617 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5620 wxString
*arg2
= 0 ;
5622 bool temp2
= False
;
5623 PyObject
* obj0
= 0 ;
5624 PyObject
* obj1
= 0 ;
5626 (char *) "self",(char *) "location", NULL
5629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5632 arg2
= wxString_in_helper(obj1
);
5633 if (arg2
== NULL
) SWIG_fail
;
5637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5638 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5640 wxPyEndAllowThreads(__tstate
);
5641 if (PyErr_Occurred()) SWIG_fail
;
5645 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5647 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5664 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5665 PyObject
*resultobj
;
5666 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5667 wxString
*arg2
= 0 ;
5669 bool temp2
= False
;
5670 PyObject
* obj0
= 0 ;
5671 PyObject
* obj1
= 0 ;
5673 (char *) "self",(char *) "location", NULL
5676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5679 arg2
= wxString_in_helper(obj1
);
5680 if (arg2
== NULL
) SWIG_fail
;
5684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5685 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5687 wxPyEndAllowThreads(__tstate
);
5688 if (PyErr_Occurred()) SWIG_fail
;
5692 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5694 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5711 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5712 PyObject
*resultobj
;
5713 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5714 wxString
*arg2
= 0 ;
5716 bool temp2
= False
;
5717 PyObject
* obj0
= 0 ;
5718 PyObject
* obj1
= 0 ;
5720 (char *) "self",(char *) "location", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5726 arg2
= wxString_in_helper(obj1
);
5727 if (arg2
== NULL
) SWIG_fail
;
5731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5732 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5734 wxPyEndAllowThreads(__tstate
);
5735 if (PyErr_Occurred()) SWIG_fail
;
5739 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5741 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5758 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
;
5760 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5761 wxString
*arg2
= 0 ;
5763 bool temp2
= False
;
5764 PyObject
* obj0
= 0 ;
5765 PyObject
* obj1
= 0 ;
5767 (char *) "self",(char *) "location", NULL
5770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5773 arg2
= wxString_in_helper(obj1
);
5774 if (arg2
== NULL
) SWIG_fail
;
5778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5779 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5781 wxPyEndAllowThreads(__tstate
);
5782 if (PyErr_Occurred()) SWIG_fail
;
5786 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5788 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5805 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5806 PyObject
*resultobj
;
5807 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5808 wxString
*arg2
= 0 ;
5810 bool temp2
= False
;
5811 PyObject
* obj0
= 0 ;
5812 PyObject
* obj1
= 0 ;
5814 (char *) "self",(char *) "location", NULL
5817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5820 arg2
= wxString_in_helper(obj1
);
5821 if (arg2
== NULL
) SWIG_fail
;
5825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5826 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5828 wxPyEndAllowThreads(__tstate
);
5829 if (PyErr_Occurred()) SWIG_fail
;
5833 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5835 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5852 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5854 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5855 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5857 return Py_BuildValue((char *)"");
5859 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5860 PyObject
*resultobj
;
5861 wxFileSystem
*result
;
5866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5869 result
= (wxFileSystem
*)new wxFileSystem();
5871 wxPyEndAllowThreads(__tstate
);
5872 if (PyErr_Occurred()) SWIG_fail
;
5875 resultobj
= wxPyMake_wxObject(result
);
5883 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5884 PyObject
*resultobj
;
5885 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5886 PyObject
* obj0
= 0 ;
5888 (char *) "self", NULL
5891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
5892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5897 wxPyEndAllowThreads(__tstate
);
5898 if (PyErr_Occurred()) SWIG_fail
;
5900 Py_INCREF(Py_None
); resultobj
= Py_None
;
5907 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5908 PyObject
*resultobj
;
5909 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5910 wxString
*arg2
= 0 ;
5911 bool arg3
= (bool) False
;
5912 bool temp2
= False
;
5913 PyObject
* obj0
= 0 ;
5914 PyObject
* obj1
= 0 ;
5915 PyObject
* obj2
= 0 ;
5917 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5923 arg2
= wxString_in_helper(obj1
);
5924 if (arg2
== NULL
) SWIG_fail
;
5928 arg3
= PyInt_AsLong(obj2
) ? true : false;
5929 if (PyErr_Occurred()) SWIG_fail
;
5932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5933 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
5935 wxPyEndAllowThreads(__tstate
);
5936 if (PyErr_Occurred()) SWIG_fail
;
5938 Py_INCREF(Py_None
); resultobj
= Py_None
;
5953 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5954 PyObject
*resultobj
;
5955 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5957 PyObject
* obj0
= 0 ;
5959 (char *) "self", NULL
5962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
5963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5966 result
= (arg1
)->GetPath();
5968 wxPyEndAllowThreads(__tstate
);
5969 if (PyErr_Occurred()) SWIG_fail
;
5973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5984 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5985 PyObject
*resultobj
;
5986 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5987 wxString
*arg2
= 0 ;
5989 bool temp2
= False
;
5990 PyObject
* obj0
= 0 ;
5991 PyObject
* obj1
= 0 ;
5993 (char *) "self",(char *) "location", NULL
5996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5999 arg2
= wxString_in_helper(obj1
);
6000 if (arg2
== NULL
) SWIG_fail
;
6004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6005 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6007 wxPyEndAllowThreads(__tstate
);
6008 if (PyErr_Occurred()) SWIG_fail
;
6011 resultobj
= wxPyMake_wxObject(result
);
6027 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6028 PyObject
*resultobj
;
6029 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6030 wxString
*arg2
= 0 ;
6031 int arg3
= (int) 0 ;
6033 bool temp2
= False
;
6034 PyObject
* obj0
= 0 ;
6035 PyObject
* obj1
= 0 ;
6037 (char *) "self",(char *) "spec",(char *) "flags", NULL
6040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6043 arg2
= wxString_in_helper(obj1
);
6044 if (arg2
== NULL
) SWIG_fail
;
6048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6049 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6051 wxPyEndAllowThreads(__tstate
);
6052 if (PyErr_Occurred()) SWIG_fail
;
6056 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6058 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6075 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6076 PyObject
*resultobj
;
6077 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6079 PyObject
* obj0
= 0 ;
6081 (char *) "self", NULL
6084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6088 result
= (arg1
)->FindNext();
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6095 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6097 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6106 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6107 PyObject
*resultobj
;
6108 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6109 PyObject
* obj0
= 0 ;
6111 (char *) "handler", NULL
6114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6118 wxFileSystem::AddHandler(arg1
);
6120 wxPyEndAllowThreads(__tstate
);
6121 if (PyErr_Occurred()) SWIG_fail
;
6123 Py_INCREF(Py_None
); resultobj
= Py_None
;
6130 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
;
6136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6139 wxFileSystem::CleanUpHandlers();
6141 wxPyEndAllowThreads(__tstate
);
6142 if (PyErr_Occurred()) SWIG_fail
;
6144 Py_INCREF(Py_None
); resultobj
= Py_None
;
6151 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6152 PyObject
*resultobj
;
6153 wxString
*arg1
= 0 ;
6155 bool temp1
= False
;
6156 PyObject
* obj0
= 0 ;
6158 (char *) "filename", NULL
6161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6163 arg1
= wxString_in_helper(obj0
);
6164 if (arg1
== NULL
) SWIG_fail
;
6168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6169 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6171 wxPyEndAllowThreads(__tstate
);
6172 if (PyErr_Occurred()) SWIG_fail
;
6176 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6178 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6195 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6198 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6200 return Py_BuildValue((char *)"");
6202 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6203 PyObject
*resultobj
;
6204 wxString
*arg1
= 0 ;
6206 bool temp1
= False
;
6207 PyObject
* obj0
= 0 ;
6209 (char *) "url", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6214 arg1
= wxString_in_helper(obj0
);
6215 if (arg1
== NULL
) SWIG_fail
;
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6222 wxPyEndAllowThreads(__tstate
);
6223 if (PyErr_Occurred()) SWIG_fail
;
6227 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6229 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6246 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
;
6248 wxInternetFSHandler
*result
;
6253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6256 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6258 wxPyEndAllowThreads(__tstate
);
6259 if (PyErr_Occurred()) SWIG_fail
;
6261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6268 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6269 PyObject
*resultobj
;
6270 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6271 wxString
*arg2
= 0 ;
6273 bool temp2
= False
;
6274 PyObject
* obj0
= 0 ;
6275 PyObject
* obj1
= 0 ;
6277 (char *) "self",(char *) "location", NULL
6280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6283 arg2
= wxString_in_helper(obj1
);
6284 if (arg2
== NULL
) SWIG_fail
;
6288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6289 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6291 wxPyEndAllowThreads(__tstate
);
6292 if (PyErr_Occurred()) SWIG_fail
;
6294 resultobj
= PyInt_FromLong((long)result
);
6309 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6310 PyObject
*resultobj
;
6311 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6312 wxFileSystem
*arg2
= 0 ;
6313 wxString
*arg3
= 0 ;
6315 bool temp3
= False
;
6316 PyObject
* obj0
= 0 ;
6317 PyObject
* obj1
= 0 ;
6318 PyObject
* obj2
= 0 ;
6320 (char *) "self",(char *) "fs",(char *) "location", NULL
6323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6327 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6330 arg3
= wxString_in_helper(obj2
);
6331 if (arg3
== NULL
) SWIG_fail
;
6335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6336 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6338 wxPyEndAllowThreads(__tstate
);
6339 if (PyErr_Occurred()) SWIG_fail
;
6342 resultobj
= wxPyMake_wxObject(result
);
6358 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6361 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6363 return Py_BuildValue((char *)"");
6365 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6366 PyObject
*resultobj
;
6367 wxZipFSHandler
*result
;
6372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6375 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6377 wxPyEndAllowThreads(__tstate
);
6378 if (PyErr_Occurred()) SWIG_fail
;
6380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6387 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6388 PyObject
*resultobj
;
6389 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6390 wxString
*arg2
= 0 ;
6392 bool temp2
= False
;
6393 PyObject
* obj0
= 0 ;
6394 PyObject
* obj1
= 0 ;
6396 (char *) "self",(char *) "location", NULL
6399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6402 arg2
= wxString_in_helper(obj1
);
6403 if (arg2
== NULL
) SWIG_fail
;
6407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6408 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6410 wxPyEndAllowThreads(__tstate
);
6411 if (PyErr_Occurred()) SWIG_fail
;
6413 resultobj
= PyInt_FromLong((long)result
);
6428 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6429 PyObject
*resultobj
;
6430 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6431 wxFileSystem
*arg2
= 0 ;
6432 wxString
*arg3
= 0 ;
6434 bool temp3
= False
;
6435 PyObject
* obj0
= 0 ;
6436 PyObject
* obj1
= 0 ;
6437 PyObject
* obj2
= 0 ;
6439 (char *) "self",(char *) "fs",(char *) "location", NULL
6442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6444 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6446 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6449 arg3
= wxString_in_helper(obj2
);
6450 if (arg3
== NULL
) SWIG_fail
;
6454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6455 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6457 wxPyEndAllowThreads(__tstate
);
6458 if (PyErr_Occurred()) SWIG_fail
;
6461 resultobj
= wxPyMake_wxObject(result
);
6477 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6478 PyObject
*resultobj
;
6479 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6480 wxString
*arg2
= 0 ;
6481 int arg3
= (int) 0 ;
6483 bool temp2
= False
;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6487 (char *) "self",(char *) "spec",(char *) "flags", NULL
6490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6493 arg2
= wxString_in_helper(obj1
);
6494 if (arg2
== NULL
) SWIG_fail
;
6498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6499 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6501 wxPyEndAllowThreads(__tstate
);
6502 if (PyErr_Occurred()) SWIG_fail
;
6506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6525 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6526 PyObject
*resultobj
;
6527 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6529 PyObject
* obj0
= 0 ;
6531 (char *) "self", NULL
6534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6538 result
= (arg1
)->FindNext();
6540 wxPyEndAllowThreads(__tstate
);
6541 if (PyErr_Occurred()) SWIG_fail
;
6545 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6547 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6556 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6558 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6559 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6561 return Py_BuildValue((char *)"");
6563 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6564 PyObject
*resultobj
;
6565 wxString
*arg1
= 0 ;
6568 bool temp1
= False
;
6569 PyObject
* obj0
= 0 ;
6570 PyObject
* obj1
= 0 ;
6572 (char *) "filename",(char *) "image",(char *) "type", NULL
6575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6577 arg1
= wxString_in_helper(obj0
);
6578 if (arg1
== NULL
) SWIG_fail
;
6581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6583 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6587 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6589 wxPyEndAllowThreads(__tstate
);
6590 if (PyErr_Occurred()) SWIG_fail
;
6592 Py_INCREF(Py_None
); resultobj
= Py_None
;
6607 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6608 PyObject
*resultobj
;
6609 wxString
*arg1
= 0 ;
6610 wxBitmap
*arg2
= 0 ;
6612 bool temp1
= False
;
6613 PyObject
* obj0
= 0 ;
6614 PyObject
* obj1
= 0 ;
6616 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6621 arg1
= wxString_in_helper(obj0
);
6622 if (arg1
== NULL
) SWIG_fail
;
6625 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6627 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6631 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6633 wxPyEndAllowThreads(__tstate
);
6634 if (PyErr_Occurred()) SWIG_fail
;
6636 Py_INCREF(Py_None
); resultobj
= Py_None
;
6651 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6652 PyObject
*resultobj
;
6653 wxString
*arg1
= 0 ;
6654 PyObject
*arg2
= (PyObject
*) 0 ;
6655 bool temp1
= False
;
6656 PyObject
* obj0
= 0 ;
6657 PyObject
* obj1
= 0 ;
6659 (char *) "filename",(char *) "data", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6664 arg1
= wxString_in_helper(obj0
);
6665 if (arg1
== NULL
) SWIG_fail
;
6670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6671 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6673 wxPyEndAllowThreads(__tstate
);
6674 if (PyErr_Occurred()) SWIG_fail
;
6676 Py_INCREF(Py_None
); resultobj
= Py_None
;
6691 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxMemoryFSHandler
*result
;
6698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6701 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6703 wxPyEndAllowThreads(__tstate
);
6704 if (PyErr_Occurred()) SWIG_fail
;
6706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6713 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6714 PyObject
*resultobj
;
6715 wxString
*arg1
= 0 ;
6716 bool temp1
= False
;
6717 PyObject
* obj0
= 0 ;
6719 (char *) "filename", NULL
6722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6724 arg1
= wxString_in_helper(obj0
);
6725 if (arg1
== NULL
) SWIG_fail
;
6729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6730 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6732 wxPyEndAllowThreads(__tstate
);
6733 if (PyErr_Occurred()) SWIG_fail
;
6735 Py_INCREF(Py_None
); resultobj
= Py_None
;
6750 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6751 PyObject
*resultobj
;
6752 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6753 wxString
*arg2
= 0 ;
6755 bool temp2
= False
;
6756 PyObject
* obj0
= 0 ;
6757 PyObject
* obj1
= 0 ;
6759 (char *) "self",(char *) "location", NULL
6762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6765 arg2
= wxString_in_helper(obj1
);
6766 if (arg2
== NULL
) SWIG_fail
;
6770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6771 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6773 wxPyEndAllowThreads(__tstate
);
6774 if (PyErr_Occurred()) SWIG_fail
;
6776 resultobj
= PyInt_FromLong((long)result
);
6791 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6792 PyObject
*resultobj
;
6793 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6794 wxFileSystem
*arg2
= 0 ;
6795 wxString
*arg3
= 0 ;
6797 bool temp3
= False
;
6798 PyObject
* obj0
= 0 ;
6799 PyObject
* obj1
= 0 ;
6800 PyObject
* obj2
= 0 ;
6802 (char *) "self",(char *) "fs",(char *) "location", NULL
6805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6807 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6812 arg3
= wxString_in_helper(obj2
);
6813 if (arg3
== NULL
) SWIG_fail
;
6817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6818 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6820 wxPyEndAllowThreads(__tstate
);
6821 if (PyErr_Occurred()) SWIG_fail
;
6824 resultobj
= wxPyMake_wxObject(result
);
6840 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6841 PyObject
*resultobj
;
6842 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6843 wxString
*arg2
= 0 ;
6844 int arg3
= (int) 0 ;
6846 bool temp2
= False
;
6847 PyObject
* obj0
= 0 ;
6848 PyObject
* obj1
= 0 ;
6850 (char *) "self",(char *) "spec",(char *) "flags", NULL
6853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6856 arg2
= wxString_in_helper(obj1
);
6857 if (arg2
== NULL
) SWIG_fail
;
6861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6862 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6864 wxPyEndAllowThreads(__tstate
);
6865 if (PyErr_Occurred()) SWIG_fail
;
6869 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6871 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6888 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6889 PyObject
*resultobj
;
6890 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6892 PyObject
* obj0
= 0 ;
6894 (char *) "self", NULL
6897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6901 result
= (arg1
)->FindNext();
6903 wxPyEndAllowThreads(__tstate
);
6904 if (PyErr_Occurred()) SWIG_fail
;
6908 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6910 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6919 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6922 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
6924 return Py_BuildValue((char *)"");
6926 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6927 PyObject
*resultobj
;
6928 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6930 PyObject
* obj0
= 0 ;
6932 (char *) "self", NULL
6935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
6936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6939 result
= (arg1
)->GetName();
6941 wxPyEndAllowThreads(__tstate
);
6942 if (PyErr_Occurred()) SWIG_fail
;
6946 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6948 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6957 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6958 PyObject
*resultobj
;
6959 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6961 PyObject
* obj0
= 0 ;
6963 (char *) "self", NULL
6966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
6967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6970 result
= (arg1
)->GetExtension();
6972 wxPyEndAllowThreads(__tstate
);
6973 if (PyErr_Occurred()) SWIG_fail
;
6977 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6979 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6988 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
;
6990 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6992 PyObject
* obj0
= 0 ;
6994 (char *) "self", NULL
6997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
6998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 result
= (long)(arg1
)->GetType();
7003 wxPyEndAllowThreads(__tstate
);
7004 if (PyErr_Occurred()) SWIG_fail
;
7006 resultobj
= PyInt_FromLong((long)result
);
7013 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7014 PyObject
*resultobj
;
7015 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7017 PyObject
* obj0
= 0 ;
7019 (char *) "self", NULL
7022 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7023 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7026 result
= (arg1
)->GetMimeType();
7028 wxPyEndAllowThreads(__tstate
);
7029 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7035 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7044 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7045 PyObject
*resultobj
;
7046 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7047 wxString
*arg2
= 0 ;
7049 bool temp2
= False
;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7053 (char *) "self",(char *) "name", NULL
7056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7059 arg2
= wxString_in_helper(obj1
);
7060 if (arg2
== NULL
) SWIG_fail
;
7064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7065 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7067 wxPyEndAllowThreads(__tstate
);
7068 if (PyErr_Occurred()) SWIG_fail
;
7070 resultobj
= PyInt_FromLong((long)result
);
7085 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7088 wxString
*arg2
= 0 ;
7089 bool temp2
= False
;
7090 PyObject
* obj0
= 0 ;
7091 PyObject
* obj1
= 0 ;
7093 (char *) "self",(char *) "name", NULL
7096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7099 arg2
= wxString_in_helper(obj1
);
7100 if (arg2
== NULL
) SWIG_fail
;
7104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7105 (arg1
)->SetName((wxString
const &)*arg2
);
7107 wxPyEndAllowThreads(__tstate
);
7108 if (PyErr_Occurred()) SWIG_fail
;
7110 Py_INCREF(Py_None
); resultobj
= Py_None
;
7125 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7126 PyObject
*resultobj
;
7127 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7128 wxString
*arg2
= 0 ;
7129 bool temp2
= False
;
7130 PyObject
* obj0
= 0 ;
7131 PyObject
* obj1
= 0 ;
7133 (char *) "self",(char *) "extension", NULL
7136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7139 arg2
= wxString_in_helper(obj1
);
7140 if (arg2
== NULL
) SWIG_fail
;
7144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7145 (arg1
)->SetExtension((wxString
const &)*arg2
);
7147 wxPyEndAllowThreads(__tstate
);
7148 if (PyErr_Occurred()) SWIG_fail
;
7150 Py_INCREF(Py_None
); resultobj
= Py_None
;
7165 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7166 PyObject
*resultobj
;
7167 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7169 PyObject
* obj0
= 0 ;
7171 (char *) "self",(char *) "type", NULL
7174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7178 (arg1
)->SetType(arg2
);
7180 wxPyEndAllowThreads(__tstate
);
7181 if (PyErr_Occurred()) SWIG_fail
;
7183 Py_INCREF(Py_None
); resultobj
= Py_None
;
7190 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7191 PyObject
*resultobj
;
7192 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7193 wxString
*arg2
= 0 ;
7194 bool temp2
= False
;
7195 PyObject
* obj0
= 0 ;
7196 PyObject
* obj1
= 0 ;
7198 (char *) "self",(char *) "mimetype", NULL
7201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7204 arg2
= wxString_in_helper(obj1
);
7205 if (arg2
== NULL
) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7212 wxPyEndAllowThreads(__tstate
);
7213 if (PyErr_Occurred()) SWIG_fail
;
7215 Py_INCREF(Py_None
); resultobj
= Py_None
;
7230 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7233 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7235 return Py_BuildValue((char *)"");
7237 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7238 PyObject
*resultobj
;
7239 wxImageHistogram
*result
;
7244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7247 result
= (wxImageHistogram
*)new wxImageHistogram();
7249 wxPyEndAllowThreads(__tstate
);
7250 if (PyErr_Occurred()) SWIG_fail
;
7252 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7259 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7260 PyObject
*resultobj
;
7261 unsigned char arg1
;
7262 unsigned char arg2
;
7263 unsigned char arg3
;
7264 unsigned long result
;
7265 PyObject
* obj0
= 0 ;
7266 PyObject
* obj1
= 0 ;
7267 PyObject
* obj2
= 0 ;
7269 (char *) "r",(char *) "g",(char *) "b", NULL
7272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7273 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7275 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7277 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7281 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7283 wxPyEndAllowThreads(__tstate
);
7284 if (PyErr_Occurred()) SWIG_fail
;
7286 resultobj
= PyInt_FromLong((long)result
);
7293 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7296 unsigned char *arg2
= (unsigned char *) 0 ;
7297 unsigned char *arg3
= (unsigned char *) 0 ;
7298 unsigned char *arg4
= (unsigned char *) 0 ;
7299 unsigned char arg5
= (unsigned char) 1 ;
7300 unsigned char arg6
= (unsigned char) 0 ;
7301 unsigned char arg7
= (unsigned char) 0 ;
7303 unsigned char temp2
;
7304 unsigned char temp3
;
7305 unsigned char temp4
;
7306 PyObject
* obj0
= 0 ;
7307 PyObject
* obj1
= 0 ;
7308 PyObject
* obj2
= 0 ;
7309 PyObject
* obj3
= 0 ;
7311 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7320 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7324 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7328 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7329 if (PyErr_Occurred()) SWIG_fail
;
7332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7333 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7335 wxPyEndAllowThreads(__tstate
);
7336 if (PyErr_Occurred()) SWIG_fail
;
7338 resultobj
= PyInt_FromLong((long)result
);
7340 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7341 resultobj
= t_output_helper(resultobj
,o
);
7344 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7345 resultobj
= t_output_helper(resultobj
,o
);
7348 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7349 resultobj
= t_output_helper(resultobj
,o
);
7357 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7360 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7362 return Py_BuildValue((char *)"");
7364 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7365 PyObject
*resultobj
;
7366 wxString
*arg1
= 0 ;
7367 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7368 int arg3
= (int) -1 ;
7370 bool temp1
= False
;
7371 PyObject
* obj0
= 0 ;
7373 (char *) "name",(char *) "type",(char *) "index", NULL
7376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7378 arg1
= wxString_in_helper(obj0
);
7379 if (arg1
== NULL
) SWIG_fail
;
7383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7384 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7386 wxPyEndAllowThreads(__tstate
);
7387 if (PyErr_Occurred()) SWIG_fail
;
7389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7404 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7405 PyObject
*resultobj
;
7406 wxImage
*arg1
= (wxImage
*) 0 ;
7407 PyObject
* obj0
= 0 ;
7409 (char *) "self", NULL
7412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7418 wxPyEndAllowThreads(__tstate
);
7419 if (PyErr_Occurred()) SWIG_fail
;
7421 Py_INCREF(Py_None
); resultobj
= Py_None
;
7428 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7429 PyObject
*resultobj
;
7430 wxString
*arg1
= 0 ;
7431 wxString
*arg2
= 0 ;
7432 int arg3
= (int) -1 ;
7434 bool temp1
= False
;
7435 bool temp2
= False
;
7436 PyObject
* obj0
= 0 ;
7437 PyObject
* obj1
= 0 ;
7439 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7444 arg1
= wxString_in_helper(obj0
);
7445 if (arg1
== NULL
) SWIG_fail
;
7449 arg2
= wxString_in_helper(obj1
);
7450 if (arg2
== NULL
) SWIG_fail
;
7454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7455 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7457 wxPyEndAllowThreads(__tstate
);
7458 if (PyErr_Occurred()) SWIG_fail
;
7460 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7483 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7484 PyObject
*resultobj
;
7485 wxInputStream
*arg1
= 0 ;
7486 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7487 int arg3
= (int) -1 ;
7489 wxPyInputStream
*temp1
;
7491 PyObject
* obj0
= 0 ;
7493 (char *) "stream",(char *) "type",(char *) "index", NULL
7496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7498 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7499 arg1
= temp1
->m_wxis
;
7502 PyErr_Clear(); // clear the failure of the wxPyConvert above
7503 arg1
= wxPyCBInputStream_create(obj0
, False
);
7505 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7513 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7515 wxPyEndAllowThreads(__tstate
);
7516 if (PyErr_Occurred()) SWIG_fail
;
7518 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7533 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7534 PyObject
*resultobj
;
7535 wxInputStream
*arg1
= 0 ;
7536 wxString
*arg2
= 0 ;
7537 int arg3
= (int) -1 ;
7539 wxPyInputStream
*temp1
;
7541 bool temp2
= False
;
7542 PyObject
* obj0
= 0 ;
7543 PyObject
* obj1
= 0 ;
7545 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7550 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7551 arg1
= temp1
->m_wxis
;
7554 PyErr_Clear(); // clear the failure of the wxPyConvert above
7555 arg1
= wxPyCBInputStream_create(obj0
, False
);
7557 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7564 arg2
= wxString_in_helper(obj1
);
7565 if (arg2
== NULL
) SWIG_fail
;
7569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7570 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7572 wxPyEndAllowThreads(__tstate
);
7573 if (PyErr_Occurred()) SWIG_fail
;
7575 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7598 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7599 PyObject
*resultobj
;
7600 int arg1
= (int) 0 ;
7601 int arg2
= (int) 0 ;
7602 bool arg3
= (bool) True
;
7604 PyObject
* obj2
= 0 ;
7606 (char *) "width",(char *) "height",(char *) "clear", NULL
7609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7611 arg3
= PyInt_AsLong(obj2
) ? true : false;
7612 if (PyErr_Occurred()) SWIG_fail
;
7615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7616 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7618 wxPyEndAllowThreads(__tstate
);
7619 if (PyErr_Occurred()) SWIG_fail
;
7621 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7628 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7629 PyObject
*resultobj
;
7630 wxBitmap
*arg1
= 0 ;
7632 PyObject
* obj0
= 0 ;
7634 (char *) "bitmap", NULL
7637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7644 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7646 wxPyEndAllowThreads(__tstate
);
7647 if (PyErr_Occurred()) SWIG_fail
;
7649 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7656 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7657 PyObject
*resultobj
;
7660 unsigned char *arg3
= (unsigned char *) 0 ;
7662 PyObject
* obj2
= 0 ;
7664 (char *) "width",(char *) "height",(char *) "data", NULL
7667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7668 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7671 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7673 wxPyEndAllowThreads(__tstate
);
7674 if (PyErr_Occurred()) SWIG_fail
;
7676 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7683 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7684 PyObject
*resultobj
;
7685 wxImage
*arg1
= (wxImage
*) 0 ;
7688 PyObject
* obj0
= 0 ;
7690 (char *) "self",(char *) "width",(char *) "height", NULL
7693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 (arg1
)->Create(arg2
,arg3
);
7699 wxPyEndAllowThreads(__tstate
);
7700 if (PyErr_Occurred()) SWIG_fail
;
7702 Py_INCREF(Py_None
); resultobj
= Py_None
;
7709 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7710 PyObject
*resultobj
;
7711 wxImage
*arg1
= (wxImage
*) 0 ;
7712 PyObject
* obj0
= 0 ;
7714 (char *) "self", NULL
7717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7723 wxPyEndAllowThreads(__tstate
);
7724 if (PyErr_Occurred()) SWIG_fail
;
7726 Py_INCREF(Py_None
); resultobj
= Py_None
;
7733 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7734 PyObject
*resultobj
;
7735 wxImage
*arg1
= (wxImage
*) 0 ;
7738 SwigValueWrapper
< wxImage
> result
;
7739 PyObject
* obj0
= 0 ;
7741 (char *) "self",(char *) "width",(char *) "height", NULL
7744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7748 result
= (arg1
)->Scale(arg2
,arg3
);
7750 wxPyEndAllowThreads(__tstate
);
7751 if (PyErr_Occurred()) SWIG_fail
;
7754 wxImage
* resultptr
;
7755 resultptr
= new wxImage((wxImage
&) result
);
7756 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7764 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7765 PyObject
*resultobj
;
7766 wxImage
*arg1
= (wxImage
*) 0 ;
7769 SwigValueWrapper
< wxImage
> result
;
7770 PyObject
* obj0
= 0 ;
7772 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7779 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7781 wxPyEndAllowThreads(__tstate
);
7782 if (PyErr_Occurred()) SWIG_fail
;
7785 wxImage
* resultptr
;
7786 resultptr
= new wxImage((wxImage
&) result
);
7787 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7795 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7796 PyObject
*resultobj
;
7797 wxImage
*arg1
= (wxImage
*) 0 ;
7801 PyObject
* obj0
= 0 ;
7803 (char *) "self",(char *) "width",(char *) "height", NULL
7806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7811 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7812 result
= (wxImage
*) &_result_ref
;
7815 wxPyEndAllowThreads(__tstate
);
7816 if (PyErr_Occurred()) SWIG_fail
;
7818 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7825 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7826 PyObject
*resultobj
;
7827 wxImage
*arg1
= (wxImage
*) 0 ;
7830 unsigned char arg4
;
7831 unsigned char arg5
;
7832 unsigned char arg6
;
7833 PyObject
* obj0
= 0 ;
7834 PyObject
* obj3
= 0 ;
7835 PyObject
* obj4
= 0 ;
7836 PyObject
* obj5
= 0 ;
7838 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7843 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7845 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7847 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7848 if (PyErr_Occurred()) SWIG_fail
;
7850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7853 wxPyEndAllowThreads(__tstate
);
7854 if (PyErr_Occurred()) SWIG_fail
;
7856 Py_INCREF(Py_None
); resultobj
= Py_None
;
7863 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
;
7865 wxImage
*arg1
= (wxImage
*) 0 ;
7868 unsigned char result
;
7869 PyObject
* obj0
= 0 ;
7871 (char *) "self",(char *) "x",(char *) "y", NULL
7874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7878 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
7880 wxPyEndAllowThreads(__tstate
);
7881 if (PyErr_Occurred()) SWIG_fail
;
7883 resultobj
= PyInt_FromLong((long)result
);
7890 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7891 PyObject
*resultobj
;
7892 wxImage
*arg1
= (wxImage
*) 0 ;
7895 unsigned char result
;
7896 PyObject
* obj0
= 0 ;
7898 (char *) "self",(char *) "x",(char *) "y", NULL
7901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7905 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
7907 wxPyEndAllowThreads(__tstate
);
7908 if (PyErr_Occurred()) SWIG_fail
;
7910 resultobj
= PyInt_FromLong((long)result
);
7917 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7918 PyObject
*resultobj
;
7919 wxImage
*arg1
= (wxImage
*) 0 ;
7922 unsigned char result
;
7923 PyObject
* obj0
= 0 ;
7925 (char *) "self",(char *) "x",(char *) "y", NULL
7928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
7934 wxPyEndAllowThreads(__tstate
);
7935 if (PyErr_Occurred()) SWIG_fail
;
7937 resultobj
= PyInt_FromLong((long)result
);
7944 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7945 PyObject
*resultobj
;
7946 wxImage
*arg1
= (wxImage
*) 0 ;
7949 unsigned char arg4
;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj3
= 0 ;
7953 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7958 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7959 if (PyErr_Occurred()) SWIG_fail
;
7961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7962 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
7964 wxPyEndAllowThreads(__tstate
);
7965 if (PyErr_Occurred()) SWIG_fail
;
7967 Py_INCREF(Py_None
); resultobj
= Py_None
;
7974 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7975 PyObject
*resultobj
;
7976 wxImage
*arg1
= (wxImage
*) 0 ;
7979 unsigned char result
;
7980 PyObject
* obj0
= 0 ;
7982 (char *) "self",(char *) "x",(char *) "y", NULL
7985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7989 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= PyInt_FromLong((long)result
);
8001 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
;
8003 wxImage
*arg1
= (wxImage
*) 0 ;
8005 PyObject
* obj0
= 0 ;
8007 (char *) "self", NULL
8010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8014 result
= (bool)(arg1
)->HasAlpha();
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8019 resultobj
= PyInt_FromLong((long)result
);
8026 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8027 PyObject
*resultobj
;
8028 wxImage
*arg1
= (wxImage
*) 0 ;
8029 byte
*arg2
= (byte
*) 0 ;
8030 byte
*arg3
= (byte
*) 0 ;
8031 byte
*arg4
= (byte
*) 0 ;
8032 byte arg5
= (byte
) 0 ;
8033 byte arg6
= (byte
) 0 ;
8034 byte arg7
= (byte
) 0 ;
8039 PyObject
* obj0
= 0 ;
8040 PyObject
* obj1
= 0 ;
8041 PyObject
* obj2
= 0 ;
8042 PyObject
* obj3
= 0 ;
8044 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8053 arg5
= (byte
) PyInt_AsLong(obj1
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8057 arg6
= (byte
) PyInt_AsLong(obj2
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8061 arg7
= (byte
) PyInt_AsLong(obj3
);
8062 if (PyErr_Occurred()) SWIG_fail
;
8065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8066 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8068 wxPyEndAllowThreads(__tstate
);
8069 if (PyErr_Occurred()) SWIG_fail
;
8071 resultobj
= PyInt_FromLong((long)result
);
8073 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8074 resultobj
= t_output_helper(resultobj
,o
);
8077 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8078 resultobj
= t_output_helper(resultobj
,o
);
8081 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8082 resultobj
= t_output_helper(resultobj
,o
);
8090 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8091 PyObject
*resultobj
;
8092 wxImage
*arg1
= (wxImage
*) 0 ;
8098 PyObject
* obj0
= 0 ;
8099 PyObject
* obj1
= 0 ;
8100 PyObject
* obj2
= 0 ;
8101 PyObject
* obj3
= 0 ;
8102 PyObject
* obj4
= 0 ;
8104 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8109 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8111 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8113 arg3
= (byte
) PyInt_AsLong(obj2
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8115 arg4
= (byte
) PyInt_AsLong(obj3
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8117 arg5
= (byte
) PyInt_AsLong(obj4
);
8118 if (PyErr_Occurred()) SWIG_fail
;
8120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8121 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8123 wxPyEndAllowThreads(__tstate
);
8124 if (PyErr_Occurred()) SWIG_fail
;
8126 resultobj
= PyInt_FromLong((long)result
);
8133 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8134 PyObject
*resultobj
;
8135 wxString
*arg1
= 0 ;
8137 bool temp1
= False
;
8138 PyObject
* obj0
= 0 ;
8140 (char *) "name", NULL
8143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8145 arg1
= wxString_in_helper(obj0
);
8146 if (arg1
== NULL
) SWIG_fail
;
8150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8151 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8153 wxPyEndAllowThreads(__tstate
);
8154 if (PyErr_Occurred()) SWIG_fail
;
8156 resultobj
= PyInt_FromLong((long)result
);
8171 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8172 PyObject
*resultobj
;
8173 wxString
*arg1
= 0 ;
8174 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8176 bool temp1
= False
;
8177 PyObject
* obj0
= 0 ;
8179 (char *) "name",(char *) "type", NULL
8182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8184 arg1
= wxString_in_helper(obj0
);
8185 if (arg1
== NULL
) SWIG_fail
;
8189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8190 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8192 wxPyEndAllowThreads(__tstate
);
8193 if (PyErr_Occurred()) SWIG_fail
;
8195 resultobj
= PyInt_FromLong((long)result
);
8210 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
;
8212 wxImage
*arg1
= (wxImage
*) 0 ;
8213 wxString
*arg2
= 0 ;
8214 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8215 int arg4
= (int) -1 ;
8217 bool temp2
= False
;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8221 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8227 arg2
= wxString_in_helper(obj1
);
8228 if (arg2
== NULL
) SWIG_fail
;
8232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8233 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8235 wxPyEndAllowThreads(__tstate
);
8236 if (PyErr_Occurred()) SWIG_fail
;
8238 resultobj
= PyInt_FromLong((long)result
);
8253 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8254 PyObject
*resultobj
;
8255 wxImage
*arg1
= (wxImage
*) 0 ;
8256 wxString
*arg2
= 0 ;
8257 wxString
*arg3
= 0 ;
8258 int arg4
= (int) -1 ;
8260 bool temp2
= False
;
8261 bool temp3
= False
;
8262 PyObject
* obj0
= 0 ;
8263 PyObject
* obj1
= 0 ;
8264 PyObject
* obj2
= 0 ;
8266 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8272 arg2
= wxString_in_helper(obj1
);
8273 if (arg2
== NULL
) SWIG_fail
;
8277 arg3
= wxString_in_helper(obj2
);
8278 if (arg3
== NULL
) SWIG_fail
;
8282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8283 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8285 wxPyEndAllowThreads(__tstate
);
8286 if (PyErr_Occurred()) SWIG_fail
;
8288 resultobj
= PyInt_FromLong((long)result
);
8311 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8312 PyObject
*resultobj
;
8313 wxImage
*arg1
= (wxImage
*) 0 ;
8314 wxString
*arg2
= 0 ;
8317 bool temp2
= False
;
8318 PyObject
* obj0
= 0 ;
8319 PyObject
* obj1
= 0 ;
8321 (char *) "self",(char *) "name",(char *) "type", NULL
8324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8327 arg2
= wxString_in_helper(obj1
);
8328 if (arg2
== NULL
) SWIG_fail
;
8332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8333 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8335 wxPyEndAllowThreads(__tstate
);
8336 if (PyErr_Occurred()) SWIG_fail
;
8338 resultobj
= PyInt_FromLong((long)result
);
8353 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8354 PyObject
*resultobj
;
8355 wxImage
*arg1
= (wxImage
*) 0 ;
8356 wxString
*arg2
= 0 ;
8357 wxString
*arg3
= 0 ;
8359 bool temp2
= False
;
8360 bool temp3
= False
;
8361 PyObject
* obj0
= 0 ;
8362 PyObject
* obj1
= 0 ;
8363 PyObject
* obj2
= 0 ;
8365 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8371 arg2
= wxString_in_helper(obj1
);
8372 if (arg2
== NULL
) SWIG_fail
;
8376 arg3
= wxString_in_helper(obj2
);
8377 if (arg3
== NULL
) SWIG_fail
;
8381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8382 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8384 wxPyEndAllowThreads(__tstate
);
8385 if (PyErr_Occurred()) SWIG_fail
;
8387 resultobj
= PyInt_FromLong((long)result
);
8410 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8411 PyObject
*resultobj
;
8412 wxInputStream
*arg1
= 0 ;
8414 wxPyInputStream
*temp1
;
8416 PyObject
* obj0
= 0 ;
8418 (char *) "stream", NULL
8421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8423 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8424 arg1
= temp1
->m_wxis
;
8427 PyErr_Clear(); // clear the failure of the wxPyConvert above
8428 arg1
= wxPyCBInputStream_create(obj0
, False
);
8430 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8438 result
= (bool)wxImage::CanRead(*arg1
);
8440 wxPyEndAllowThreads(__tstate
);
8441 if (PyErr_Occurred()) SWIG_fail
;
8443 resultobj
= PyInt_FromLong((long)result
);
8458 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8459 PyObject
*resultobj
;
8460 wxImage
*arg1
= (wxImage
*) 0 ;
8461 wxInputStream
*arg2
= 0 ;
8462 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8463 int arg4
= (int) -1 ;
8465 wxPyInputStream
*temp2
;
8467 PyObject
* obj0
= 0 ;
8468 PyObject
* obj1
= 0 ;
8470 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8476 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8477 arg2
= temp2
->m_wxis
;
8480 PyErr_Clear(); // clear the failure of the wxPyConvert above
8481 arg2
= wxPyCBInputStream_create(obj1
, False
);
8483 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8491 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8493 wxPyEndAllowThreads(__tstate
);
8494 if (PyErr_Occurred()) SWIG_fail
;
8496 resultobj
= PyInt_FromLong((long)result
);
8511 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8512 PyObject
*resultobj
;
8513 wxImage
*arg1
= (wxImage
*) 0 ;
8514 wxInputStream
*arg2
= 0 ;
8515 wxString
*arg3
= 0 ;
8516 int arg4
= (int) -1 ;
8518 wxPyInputStream
*temp2
;
8520 bool temp3
= False
;
8521 PyObject
* obj0
= 0 ;
8522 PyObject
* obj1
= 0 ;
8523 PyObject
* obj2
= 0 ;
8525 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8531 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8532 arg2
= temp2
->m_wxis
;
8535 PyErr_Clear(); // clear the failure of the wxPyConvert above
8536 arg2
= wxPyCBInputStream_create(obj1
, False
);
8538 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8545 arg3
= wxString_in_helper(obj2
);
8546 if (arg3
== NULL
) SWIG_fail
;
8550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8551 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8553 wxPyEndAllowThreads(__tstate
);
8554 if (PyErr_Occurred()) SWIG_fail
;
8556 resultobj
= PyInt_FromLong((long)result
);
8579 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8580 PyObject
*resultobj
;
8581 wxImage
*arg1
= (wxImage
*) 0 ;
8583 PyObject
* obj0
= 0 ;
8585 (char *) "self", NULL
8588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8592 result
= (bool)(arg1
)->Ok();
8594 wxPyEndAllowThreads(__tstate
);
8595 if (PyErr_Occurred()) SWIG_fail
;
8597 resultobj
= PyInt_FromLong((long)result
);
8604 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8605 PyObject
*resultobj
;
8606 wxImage
*arg1
= (wxImage
*) 0 ;
8608 PyObject
* obj0
= 0 ;
8610 (char *) "self", NULL
8613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8617 result
= (int)(arg1
)->GetWidth();
8619 wxPyEndAllowThreads(__tstate
);
8620 if (PyErr_Occurred()) SWIG_fail
;
8622 resultobj
= PyInt_FromLong((long)result
);
8629 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8630 PyObject
*resultobj
;
8631 wxImage
*arg1
= (wxImage
*) 0 ;
8633 PyObject
* obj0
= 0 ;
8635 (char *) "self", NULL
8638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8642 result
= (int)(arg1
)->GetHeight();
8644 wxPyEndAllowThreads(__tstate
);
8645 if (PyErr_Occurred()) SWIG_fail
;
8647 resultobj
= PyInt_FromLong((long)result
);
8654 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8655 PyObject
*resultobj
;
8656 wxImage
*arg1
= (wxImage
*) 0 ;
8658 SwigValueWrapper
< wxImage
> result
;
8660 PyObject
* obj0
= 0 ;
8661 PyObject
* obj1
= 0 ;
8663 (char *) "self",(char *) "rect", NULL
8666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8670 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8674 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8676 wxPyEndAllowThreads(__tstate
);
8677 if (PyErr_Occurred()) SWIG_fail
;
8680 wxImage
* resultptr
;
8681 resultptr
= new wxImage((wxImage
&) result
);
8682 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8690 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8691 PyObject
*resultobj
;
8692 wxImage
*arg1
= (wxImage
*) 0 ;
8693 SwigValueWrapper
< wxImage
> result
;
8694 PyObject
* obj0
= 0 ;
8696 (char *) "self", NULL
8699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8703 result
= (arg1
)->Copy();
8705 wxPyEndAllowThreads(__tstate
);
8706 if (PyErr_Occurred()) SWIG_fail
;
8709 wxImage
* resultptr
;
8710 resultptr
= new wxImage((wxImage
&) result
);
8711 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8719 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
;
8721 wxImage
*arg1
= (wxImage
*) 0 ;
8725 PyObject
* obj0
= 0 ;
8726 PyObject
* obj1
= 0 ;
8728 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8735 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8739 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 Py_INCREF(Py_None
); resultobj
= Py_None
;
8751 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8752 PyObject
*resultobj
;
8753 wxImage
*arg1
= (wxImage
*) 0 ;
8755 PyObject
* obj0
= 0 ;
8757 (char *) "self", NULL
8760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8764 result
= (PyObject
*)wxImage_GetData(arg1
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8776 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8777 PyObject
*resultobj
;
8778 wxImage
*arg1
= (wxImage
*) 0 ;
8779 PyObject
*arg2
= (PyObject
*) 0 ;
8780 PyObject
* obj0
= 0 ;
8781 PyObject
* obj1
= 0 ;
8783 (char *) "self",(char *) "data", NULL
8786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8791 wxImage_SetData(arg1
,arg2
);
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 Py_INCREF(Py_None
); resultobj
= Py_None
;
8803 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
;
8805 wxImage
*arg1
= (wxImage
*) 0 ;
8807 PyObject
* obj0
= 0 ;
8809 (char *) "self", NULL
8812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8813 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8816 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8818 wxPyEndAllowThreads(__tstate
);
8819 if (PyErr_Occurred()) SWIG_fail
;
8828 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8829 PyObject
*resultobj
;
8830 wxImage
*arg1
= (wxImage
*) 0 ;
8831 PyObject
*arg2
= (PyObject
*) 0 ;
8832 PyObject
* obj0
= 0 ;
8833 PyObject
* obj1
= 0 ;
8835 (char *) "self",(char *) "data", NULL
8838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8843 wxImage_SetDataBuffer(arg1
,arg2
);
8845 wxPyEndAllowThreads(__tstate
);
8846 if (PyErr_Occurred()) SWIG_fail
;
8848 Py_INCREF(Py_None
); resultobj
= Py_None
;
8855 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8856 PyObject
*resultobj
;
8857 wxImage
*arg1
= (wxImage
*) 0 ;
8859 PyObject
* obj0
= 0 ;
8861 (char *) "self", NULL
8864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8865 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8868 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
8870 wxPyEndAllowThreads(__tstate
);
8871 if (PyErr_Occurred()) SWIG_fail
;
8880 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8881 PyObject
*resultobj
;
8882 wxImage
*arg1
= (wxImage
*) 0 ;
8883 PyObject
*arg2
= (PyObject
*) 0 ;
8884 PyObject
* obj0
= 0 ;
8885 PyObject
* obj1
= 0 ;
8887 (char *) "self",(char *) "data", NULL
8890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
8891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8895 wxImage_SetAlphaData(arg1
,arg2
);
8897 wxPyEndAllowThreads(__tstate
);
8898 if (PyErr_Occurred()) SWIG_fail
;
8900 Py_INCREF(Py_None
); resultobj
= Py_None
;
8907 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8908 PyObject
*resultobj
;
8909 wxImage
*arg1
= (wxImage
*) 0 ;
8911 PyObject
* obj0
= 0 ;
8913 (char *) "self", NULL
8916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
8917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8920 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
8922 wxPyEndAllowThreads(__tstate
);
8923 if (PyErr_Occurred()) SWIG_fail
;
8932 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8933 PyObject
*resultobj
;
8934 wxImage
*arg1
= (wxImage
*) 0 ;
8935 PyObject
*arg2
= (PyObject
*) 0 ;
8936 PyObject
* obj0
= 0 ;
8937 PyObject
* obj1
= 0 ;
8939 (char *) "self",(char *) "data", NULL
8942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8947 wxImage_SetAlphaBuffer(arg1
,arg2
);
8949 wxPyEndAllowThreads(__tstate
);
8950 if (PyErr_Occurred()) SWIG_fail
;
8952 Py_INCREF(Py_None
); resultobj
= Py_None
;
8959 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8960 PyObject
*resultobj
;
8961 wxImage
*arg1
= (wxImage
*) 0 ;
8962 unsigned char arg2
;
8963 unsigned char arg3
;
8964 unsigned char arg4
;
8965 PyObject
* obj0
= 0 ;
8966 PyObject
* obj1
= 0 ;
8967 PyObject
* obj2
= 0 ;
8968 PyObject
* obj3
= 0 ;
8970 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8975 arg2
= (unsigned char) PyInt_AsLong(obj1
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8977 arg3
= (unsigned char) PyInt_AsLong(obj2
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8979 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8980 if (PyErr_Occurred()) SWIG_fail
;
8982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8983 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
8985 wxPyEndAllowThreads(__tstate
);
8986 if (PyErr_Occurred()) SWIG_fail
;
8988 Py_INCREF(Py_None
); resultobj
= Py_None
;
8995 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8996 PyObject
*resultobj
;
8997 wxImage
*arg1
= (wxImage
*) 0 ;
8998 unsigned char result
;
8999 PyObject
* obj0
= 0 ;
9001 (char *) "self", NULL
9004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9008 result
= (unsigned char)(arg1
)->GetMaskRed();
9010 wxPyEndAllowThreads(__tstate
);
9011 if (PyErr_Occurred()) SWIG_fail
;
9013 resultobj
= PyInt_FromLong((long)result
);
9020 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
;
9022 wxImage
*arg1
= (wxImage
*) 0 ;
9023 unsigned char result
;
9024 PyObject
* obj0
= 0 ;
9026 (char *) "self", NULL
9029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9033 result
= (unsigned char)(arg1
)->GetMaskGreen();
9035 wxPyEndAllowThreads(__tstate
);
9036 if (PyErr_Occurred()) SWIG_fail
;
9038 resultobj
= PyInt_FromLong((long)result
);
9045 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9046 PyObject
*resultobj
;
9047 wxImage
*arg1
= (wxImage
*) 0 ;
9048 unsigned char result
;
9049 PyObject
* obj0
= 0 ;
9051 (char *) "self", NULL
9054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9058 result
= (unsigned char)(arg1
)->GetMaskBlue();
9060 wxPyEndAllowThreads(__tstate
);
9061 if (PyErr_Occurred()) SWIG_fail
;
9063 resultobj
= PyInt_FromLong((long)result
);
9070 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9071 PyObject
*resultobj
;
9072 wxImage
*arg1
= (wxImage
*) 0 ;
9073 bool arg2
= (bool) True
;
9074 PyObject
* obj0
= 0 ;
9075 PyObject
* obj1
= 0 ;
9077 (char *) "self",(char *) "mask", NULL
9080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9083 arg2
= PyInt_AsLong(obj1
) ? true : false;
9084 if (PyErr_Occurred()) SWIG_fail
;
9087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9088 (arg1
)->SetMask(arg2
);
9090 wxPyEndAllowThreads(__tstate
);
9091 if (PyErr_Occurred()) SWIG_fail
;
9093 Py_INCREF(Py_None
); resultobj
= Py_None
;
9100 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9101 PyObject
*resultobj
;
9102 wxImage
*arg1
= (wxImage
*) 0 ;
9104 PyObject
* obj0
= 0 ;
9106 (char *) "self", NULL
9109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9113 result
= (bool)(arg1
)->HasMask();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= PyInt_FromLong((long)result
);
9125 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9126 PyObject
*resultobj
;
9127 wxImage
*arg1
= (wxImage
*) 0 ;
9130 bool arg4
= (bool) True
;
9131 wxPoint
*arg5
= (wxPoint
*) NULL
;
9132 SwigValueWrapper
< wxImage
> result
;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj2
= 0 ;
9136 PyObject
* obj3
= 0 ;
9137 PyObject
* obj4
= 0 ;
9139 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9146 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9149 arg4
= PyInt_AsLong(obj3
) ? true : false;
9150 if (PyErr_Occurred()) SWIG_fail
;
9153 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9157 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9159 wxPyEndAllowThreads(__tstate
);
9160 if (PyErr_Occurred()) SWIG_fail
;
9163 wxImage
* resultptr
;
9164 resultptr
= new wxImage((wxImage
&) result
);
9165 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9173 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxImage
*arg1
= (wxImage
*) 0 ;
9176 bool arg2
= (bool) True
;
9177 SwigValueWrapper
< wxImage
> result
;
9178 PyObject
* obj0
= 0 ;
9179 PyObject
* obj1
= 0 ;
9181 (char *) "self",(char *) "clockwise", NULL
9184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9187 arg2
= PyInt_AsLong(obj1
) ? true : false;
9188 if (PyErr_Occurred()) SWIG_fail
;
9191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9192 result
= (arg1
)->Rotate90(arg2
);
9194 wxPyEndAllowThreads(__tstate
);
9195 if (PyErr_Occurred()) SWIG_fail
;
9198 wxImage
* resultptr
;
9199 resultptr
= new wxImage((wxImage
&) result
);
9200 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9208 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9209 PyObject
*resultobj
;
9210 wxImage
*arg1
= (wxImage
*) 0 ;
9211 bool arg2
= (bool) True
;
9212 SwigValueWrapper
< wxImage
> result
;
9213 PyObject
* obj0
= 0 ;
9214 PyObject
* obj1
= 0 ;
9216 (char *) "self",(char *) "horizontally", NULL
9219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9222 arg2
= PyInt_AsLong(obj1
) ? true : false;
9223 if (PyErr_Occurred()) SWIG_fail
;
9226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9227 result
= (arg1
)->Mirror(arg2
);
9229 wxPyEndAllowThreads(__tstate
);
9230 if (PyErr_Occurred()) SWIG_fail
;
9233 wxImage
* resultptr
;
9234 resultptr
= new wxImage((wxImage
&) result
);
9235 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9243 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9244 PyObject
*resultobj
;
9245 wxImage
*arg1
= (wxImage
*) 0 ;
9246 unsigned char arg2
;
9247 unsigned char arg3
;
9248 unsigned char arg4
;
9249 unsigned char arg5
;
9250 unsigned char arg6
;
9251 unsigned char arg7
;
9252 PyObject
* obj0
= 0 ;
9253 PyObject
* obj1
= 0 ;
9254 PyObject
* obj2
= 0 ;
9255 PyObject
* obj3
= 0 ;
9256 PyObject
* obj4
= 0 ;
9257 PyObject
* obj5
= 0 ;
9258 PyObject
* obj6
= 0 ;
9260 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9265 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9267 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9269 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9271 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9273 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9275 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9276 if (PyErr_Occurred()) SWIG_fail
;
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9281 wxPyEndAllowThreads(__tstate
);
9282 if (PyErr_Occurred()) SWIG_fail
;
9284 Py_INCREF(Py_None
); resultobj
= Py_None
;
9291 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9292 PyObject
*resultobj
;
9293 wxImage
*arg1
= (wxImage
*) 0 ;
9294 unsigned char arg2
;
9295 unsigned char arg3
;
9296 unsigned char arg4
;
9297 SwigValueWrapper
< wxImage
> result
;
9298 PyObject
* obj0
= 0 ;
9299 PyObject
* obj1
= 0 ;
9300 PyObject
* obj2
= 0 ;
9301 PyObject
* obj3
= 0 ;
9303 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9308 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9310 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9312 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9313 if (PyErr_Occurred()) SWIG_fail
;
9315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9316 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9322 wxImage
* resultptr
;
9323 resultptr
= new wxImage((wxImage
&) result
);
9324 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9332 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9333 PyObject
*resultobj
;
9334 wxImage
*arg1
= (wxImage
*) 0 ;
9335 wxString
*arg2
= 0 ;
9336 wxString
*arg3
= 0 ;
9337 bool temp2
= False
;
9338 bool temp3
= False
;
9339 PyObject
* obj0
= 0 ;
9340 PyObject
* obj1
= 0 ;
9341 PyObject
* obj2
= 0 ;
9343 (char *) "self",(char *) "name",(char *) "value", NULL
9346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9349 arg2
= wxString_in_helper(obj1
);
9350 if (arg2
== NULL
) SWIG_fail
;
9354 arg3
= wxString_in_helper(obj2
);
9355 if (arg3
== NULL
) SWIG_fail
;
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9362 wxPyEndAllowThreads(__tstate
);
9363 if (PyErr_Occurred()) SWIG_fail
;
9365 Py_INCREF(Py_None
); resultobj
= Py_None
;
9388 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9389 PyObject
*resultobj
;
9390 wxImage
*arg1
= (wxImage
*) 0 ;
9391 wxString
*arg2
= 0 ;
9393 bool temp2
= False
;
9394 PyObject
* obj0
= 0 ;
9395 PyObject
* obj1
= 0 ;
9397 (char *) "self",(char *) "name",(char *) "value", NULL
9400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9403 arg2
= wxString_in_helper(obj1
);
9404 if (arg2
== NULL
) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9411 wxPyEndAllowThreads(__tstate
);
9412 if (PyErr_Occurred()) SWIG_fail
;
9414 Py_INCREF(Py_None
); resultobj
= Py_None
;
9429 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9430 PyObject
*resultobj
;
9431 wxImage
*arg1
= (wxImage
*) 0 ;
9432 wxString
*arg2
= 0 ;
9434 bool temp2
= False
;
9435 PyObject
* obj0
= 0 ;
9436 PyObject
* obj1
= 0 ;
9438 (char *) "self",(char *) "name", NULL
9441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9444 arg2
= wxString_in_helper(obj1
);
9445 if (arg2
== NULL
) SWIG_fail
;
9449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9450 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9452 wxPyEndAllowThreads(__tstate
);
9453 if (PyErr_Occurred()) SWIG_fail
;
9457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9476 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9477 PyObject
*resultobj
;
9478 wxImage
*arg1
= (wxImage
*) 0 ;
9479 wxString
*arg2
= 0 ;
9481 bool temp2
= False
;
9482 PyObject
* obj0
= 0 ;
9483 PyObject
* obj1
= 0 ;
9485 (char *) "self",(char *) "name", NULL
9488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9491 arg2
= wxString_in_helper(obj1
);
9492 if (arg2
== NULL
) SWIG_fail
;
9496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9497 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9499 wxPyEndAllowThreads(__tstate
);
9500 if (PyErr_Occurred()) SWIG_fail
;
9502 resultobj
= PyInt_FromLong((long)result
);
9517 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9518 PyObject
*resultobj
;
9519 wxImage
*arg1
= (wxImage
*) 0 ;
9520 wxString
*arg2
= 0 ;
9522 bool temp2
= False
;
9523 PyObject
* obj0
= 0 ;
9524 PyObject
* obj1
= 0 ;
9526 (char *) "self",(char *) "name", NULL
9529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9532 arg2
= wxString_in_helper(obj1
);
9533 if (arg2
== NULL
) SWIG_fail
;
9537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9538 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9540 wxPyEndAllowThreads(__tstate
);
9541 if (PyErr_Occurred()) SWIG_fail
;
9543 resultobj
= PyInt_FromLong((long)result
);
9558 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9559 PyObject
*resultobj
;
9560 wxImage
*arg1
= (wxImage
*) 0 ;
9561 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9562 unsigned long result
;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9566 (char *) "self",(char *) "stopafter", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9572 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9573 if (PyErr_Occurred()) SWIG_fail
;
9576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9577 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9579 wxPyEndAllowThreads(__tstate
);
9580 if (PyErr_Occurred()) SWIG_fail
;
9582 resultobj
= PyInt_FromLong((long)result
);
9589 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9590 PyObject
*resultobj
;
9591 wxImage
*arg1
= (wxImage
*) 0 ;
9592 wxImageHistogram
*arg2
= 0 ;
9593 unsigned long result
;
9594 PyObject
* obj0
= 0 ;
9595 PyObject
* obj1
= 0 ;
9597 (char *) "self",(char *) "h", NULL
9600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9602 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9604 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9608 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9610 wxPyEndAllowThreads(__tstate
);
9611 if (PyErr_Occurred()) SWIG_fail
;
9613 resultobj
= PyInt_FromLong((long)result
);
9620 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9621 PyObject
*resultobj
;
9622 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9623 PyObject
* obj0
= 0 ;
9625 (char *) "handler", NULL
9628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9632 wxImage::AddHandler(arg1
);
9634 wxPyEndAllowThreads(__tstate
);
9635 if (PyErr_Occurred()) SWIG_fail
;
9637 Py_INCREF(Py_None
); resultobj
= Py_None
;
9644 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
;
9646 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9647 PyObject
* obj0
= 0 ;
9649 (char *) "handler", NULL
9652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9656 wxImage::InsertHandler(arg1
);
9658 wxPyEndAllowThreads(__tstate
);
9659 if (PyErr_Occurred()) SWIG_fail
;
9661 Py_INCREF(Py_None
); resultobj
= Py_None
;
9668 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9669 PyObject
*resultobj
;
9670 wxString
*arg1
= 0 ;
9672 bool temp1
= False
;
9673 PyObject
* obj0
= 0 ;
9675 (char *) "name", NULL
9678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9680 arg1
= wxString_in_helper(obj0
);
9681 if (arg1
== NULL
) SWIG_fail
;
9685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9686 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9688 wxPyEndAllowThreads(__tstate
);
9689 if (PyErr_Occurred()) SWIG_fail
;
9691 resultobj
= PyInt_FromLong((long)result
);
9706 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9707 PyObject
*resultobj
;
9713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9716 result
= wxImage::GetImageExtWildcard();
9718 wxPyEndAllowThreads(__tstate
);
9719 if (PyErr_Occurred()) SWIG_fail
;
9723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9734 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9735 PyObject
*resultobj
;
9736 wxImage
*arg1
= (wxImage
*) 0 ;
9738 PyObject
* obj0
= 0 ;
9740 (char *) "self", NULL
9743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9747 result
= wxImage_ConvertToBitmap(arg1
);
9749 wxPyEndAllowThreads(__tstate
);
9750 if (PyErr_Occurred()) SWIG_fail
;
9753 wxBitmap
* resultptr
;
9754 resultptr
= new wxBitmap((wxBitmap
&) result
);
9755 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9763 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9764 PyObject
*resultobj
;
9765 wxImage
*arg1
= (wxImage
*) 0 ;
9766 unsigned char arg2
;
9767 unsigned char arg3
;
9768 unsigned char arg4
;
9770 PyObject
* obj0
= 0 ;
9771 PyObject
* obj1
= 0 ;
9772 PyObject
* obj2
= 0 ;
9773 PyObject
* obj3
= 0 ;
9775 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9780 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9782 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9784 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9785 if (PyErr_Occurred()) SWIG_fail
;
9787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9788 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9790 wxPyEndAllowThreads(__tstate
);
9791 if (PyErr_Occurred()) SWIG_fail
;
9794 wxBitmap
* resultptr
;
9795 resultptr
= new wxBitmap((wxBitmap
&) result
);
9796 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9804 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9807 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9809 return Py_BuildValue((char *)"");
9811 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9812 PyObject
*resultobj
;
9817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9820 wxInitAllImageHandlers();
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 Py_INCREF(Py_None
); resultobj
= Py_None
;
9832 static int _wrap_NullImage_set(PyObject
*_val
) {
9833 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9838 static PyObject
*_wrap_NullImage_get() {
9841 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9846 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9847 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9852 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9857 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9859 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9866 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9867 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9872 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9877 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9879 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9886 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
9887 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9892 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9897 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9899 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9906 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
9907 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9912 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
9917 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9919 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9926 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
9927 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9932 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9937 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9939 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9946 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9947 PyObject
*resultobj
;
9948 wxBMPHandler
*result
;
9953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
9955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9956 result
= (wxBMPHandler
*)new wxBMPHandler();
9958 wxPyEndAllowThreads(__tstate
);
9959 if (PyErr_Occurred()) SWIG_fail
;
9961 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
9968 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9970 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9971 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
9973 return Py_BuildValue((char *)"");
9975 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9976 PyObject
*resultobj
;
9977 wxICOHandler
*result
;
9982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
9984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9985 result
= (wxICOHandler
*)new wxICOHandler();
9987 wxPyEndAllowThreads(__tstate
);
9988 if (PyErr_Occurred()) SWIG_fail
;
9990 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
9997 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9999 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10000 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10002 return Py_BuildValue((char *)"");
10004 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10005 PyObject
*resultobj
;
10006 wxCURHandler
*result
;
10007 char *kwnames
[] = {
10011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= (wxCURHandler
*)new wxCURHandler();
10016 wxPyEndAllowThreads(__tstate
);
10017 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10026 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10028 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10029 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10031 return Py_BuildValue((char *)"");
10033 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10034 PyObject
*resultobj
;
10035 wxANIHandler
*result
;
10036 char *kwnames
[] = {
10040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 result
= (wxANIHandler
*)new wxANIHandler();
10045 wxPyEndAllowThreads(__tstate
);
10046 if (PyErr_Occurred()) SWIG_fail
;
10048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10055 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10058 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10060 return Py_BuildValue((char *)"");
10062 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10063 PyObject
*resultobj
;
10064 wxPNGHandler
*result
;
10065 char *kwnames
[] = {
10069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10072 result
= (wxPNGHandler
*)new wxPNGHandler();
10074 wxPyEndAllowThreads(__tstate
);
10075 if (PyErr_Occurred()) SWIG_fail
;
10077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10084 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10086 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10087 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10089 return Py_BuildValue((char *)"");
10091 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10092 PyObject
*resultobj
;
10093 wxGIFHandler
*result
;
10094 char *kwnames
[] = {
10098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10101 result
= (wxGIFHandler
*)new wxGIFHandler();
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10113 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10115 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10116 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10118 return Py_BuildValue((char *)"");
10120 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10121 PyObject
*resultobj
;
10122 wxPCXHandler
*result
;
10123 char *kwnames
[] = {
10127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (wxPCXHandler
*)new wxPCXHandler();
10132 wxPyEndAllowThreads(__tstate
);
10133 if (PyErr_Occurred()) SWIG_fail
;
10135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10142 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10145 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10147 return Py_BuildValue((char *)"");
10149 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10150 PyObject
*resultobj
;
10151 wxJPEGHandler
*result
;
10152 char *kwnames
[] = {
10156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10159 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10161 wxPyEndAllowThreads(__tstate
);
10162 if (PyErr_Occurred()) SWIG_fail
;
10164 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10171 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10174 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10176 return Py_BuildValue((char *)"");
10178 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10179 PyObject
*resultobj
;
10180 wxPNMHandler
*result
;
10181 char *kwnames
[] = {
10185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10188 result
= (wxPNMHandler
*)new wxPNMHandler();
10190 wxPyEndAllowThreads(__tstate
);
10191 if (PyErr_Occurred()) SWIG_fail
;
10193 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10200 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10202 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10203 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10205 return Py_BuildValue((char *)"");
10207 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
;
10209 wxXPMHandler
*result
;
10210 char *kwnames
[] = {
10214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10217 result
= (wxXPMHandler
*)new wxXPMHandler();
10219 wxPyEndAllowThreads(__tstate
);
10220 if (PyErr_Occurred()) SWIG_fail
;
10222 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10229 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10231 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10232 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10234 return Py_BuildValue((char *)"");
10236 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10237 PyObject
*resultobj
;
10238 wxTIFFHandler
*result
;
10239 char *kwnames
[] = {
10243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10246 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10248 wxPyEndAllowThreads(__tstate
);
10249 if (PyErr_Occurred()) SWIG_fail
;
10251 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10258 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10260 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10261 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10263 return Py_BuildValue((char *)"");
10265 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10266 PyObject
*resultobj
;
10267 wxEvtHandler
*result
;
10268 char *kwnames
[] = {
10272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10275 result
= (wxEvtHandler
*)new wxEvtHandler();
10277 wxPyEndAllowThreads(__tstate
);
10278 if (PyErr_Occurred()) SWIG_fail
;
10281 resultobj
= wxPyMake_wxObject(result
);
10289 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10290 PyObject
*resultobj
;
10291 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10292 wxEvtHandler
*result
;
10293 PyObject
* obj0
= 0 ;
10294 char *kwnames
[] = {
10295 (char *) "self", NULL
10298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10302 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10304 wxPyEndAllowThreads(__tstate
);
10305 if (PyErr_Occurred()) SWIG_fail
;
10308 resultobj
= wxPyMake_wxObject(result
);
10316 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10317 PyObject
*resultobj
;
10318 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10319 wxEvtHandler
*result
;
10320 PyObject
* obj0
= 0 ;
10321 char *kwnames
[] = {
10322 (char *) "self", NULL
10325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10329 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10331 wxPyEndAllowThreads(__tstate
);
10332 if (PyErr_Occurred()) SWIG_fail
;
10335 resultobj
= wxPyMake_wxObject(result
);
10343 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10344 PyObject
*resultobj
;
10345 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10346 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10347 PyObject
* obj0
= 0 ;
10348 PyObject
* obj1
= 0 ;
10349 char *kwnames
[] = {
10350 (char *) "self",(char *) "handler", NULL
10353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10355 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10358 (arg1
)->SetNextHandler(arg2
);
10360 wxPyEndAllowThreads(__tstate
);
10361 if (PyErr_Occurred()) SWIG_fail
;
10363 Py_INCREF(Py_None
); resultobj
= Py_None
;
10370 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10371 PyObject
*resultobj
;
10372 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10373 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10374 PyObject
* obj0
= 0 ;
10375 PyObject
* obj1
= 0 ;
10376 char *kwnames
[] = {
10377 (char *) "self",(char *) "handler", NULL
10380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10381 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10382 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 (arg1
)->SetPreviousHandler(arg2
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 Py_INCREF(Py_None
); resultobj
= Py_None
;
10397 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10398 PyObject
*resultobj
;
10399 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10401 PyObject
* obj0
= 0 ;
10402 char *kwnames
[] = {
10403 (char *) "self", NULL
10406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10410 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10412 wxPyEndAllowThreads(__tstate
);
10413 if (PyErr_Occurred()) SWIG_fail
;
10415 resultobj
= PyInt_FromLong((long)result
);
10422 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10423 PyObject
*resultobj
;
10424 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10426 PyObject
* obj0
= 0 ;
10427 PyObject
* obj1
= 0 ;
10428 char *kwnames
[] = {
10429 (char *) "self",(char *) "enabled", NULL
10432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10434 arg2
= PyInt_AsLong(obj1
) ? true : false;
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10438 (arg1
)->SetEvtHandlerEnabled(arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 Py_INCREF(Py_None
); resultobj
= Py_None
;
10450 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
;
10452 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10453 wxEvent
*arg2
= 0 ;
10455 PyObject
* obj0
= 0 ;
10456 PyObject
* obj1
= 0 ;
10457 char *kwnames
[] = {
10458 (char *) "self",(char *) "event", NULL
10461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10463 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10464 if (arg2
== NULL
) {
10465 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10469 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10471 wxPyEndAllowThreads(__tstate
);
10472 if (PyErr_Occurred()) SWIG_fail
;
10474 resultobj
= PyInt_FromLong((long)result
);
10481 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10482 PyObject
*resultobj
;
10483 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10484 wxEvent
*arg2
= 0 ;
10485 PyObject
* obj0
= 0 ;
10486 PyObject
* obj1
= 0 ;
10487 char *kwnames
[] = {
10488 (char *) "self",(char *) "event", NULL
10491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10493 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10494 if (arg2
== NULL
) {
10495 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10499 (arg1
)->AddPendingEvent(*arg2
);
10501 wxPyEndAllowThreads(__tstate
);
10502 if (PyErr_Occurred()) SWIG_fail
;
10504 Py_INCREF(Py_None
); resultobj
= Py_None
;
10511 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10512 PyObject
*resultobj
;
10513 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10514 PyObject
* obj0
= 0 ;
10515 char *kwnames
[] = {
10516 (char *) "self", NULL
10519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10523 (arg1
)->ProcessPendingEvents();
10525 wxPyEndAllowThreads(__tstate
);
10526 if (PyErr_Occurred()) SWIG_fail
;
10528 Py_INCREF(Py_None
); resultobj
= Py_None
;
10535 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10536 PyObject
*resultobj
;
10537 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10541 PyObject
*arg5
= (PyObject
*) 0 ;
10542 PyObject
* obj0
= 0 ;
10543 PyObject
* obj4
= 0 ;
10544 char *kwnames
[] = {
10545 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10553 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10555 wxPyEndAllowThreads(__tstate
);
10556 if (PyErr_Occurred()) SWIG_fail
;
10558 Py_INCREF(Py_None
); resultobj
= Py_None
;
10565 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10566 PyObject
*resultobj
;
10567 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10569 int arg3
= (int) -1 ;
10570 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10572 PyObject
* obj0
= 0 ;
10573 char *kwnames
[] = {
10574 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10581 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10583 wxPyEndAllowThreads(__tstate
);
10584 if (PyErr_Occurred()) SWIG_fail
;
10586 resultobj
= PyInt_FromLong((long)result
);
10593 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10594 PyObject
*resultobj
;
10595 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10596 PyObject
*arg2
= (PyObject
*) 0 ;
10597 PyObject
* obj0
= 0 ;
10598 PyObject
* obj1
= 0 ;
10599 char *kwnames
[] = {
10600 (char *) "self",(char *) "_self", NULL
10603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10608 wxEvtHandler__setOORInfo(arg1
,arg2
);
10610 wxPyEndAllowThreads(__tstate
);
10611 if (PyErr_Occurred()) SWIG_fail
;
10613 Py_INCREF(Py_None
); resultobj
= Py_None
;
10620 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10623 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10625 return Py_BuildValue((char *)"");
10627 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10628 PyObject
*resultobj
;
10629 wxEventType result
;
10630 char *kwnames
[] = {
10634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10637 result
= (wxEventType
)wxNewEventType();
10639 wxPyEndAllowThreads(__tstate
);
10640 if (PyErr_Occurred()) SWIG_fail
;
10642 resultobj
= PyInt_FromLong((long)result
);
10649 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10650 PyObject
*resultobj
;
10651 wxEvent
*arg1
= (wxEvent
*) 0 ;
10652 PyObject
* obj0
= 0 ;
10653 char *kwnames
[] = {
10654 (char *) "self", NULL
10657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10663 wxPyEndAllowThreads(__tstate
);
10664 if (PyErr_Occurred()) SWIG_fail
;
10666 Py_INCREF(Py_None
); resultobj
= Py_None
;
10673 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10674 PyObject
*resultobj
;
10675 wxEvent
*arg1
= (wxEvent
*) 0 ;
10677 PyObject
* obj0
= 0 ;
10678 char *kwnames
[] = {
10679 (char *) "self",(char *) "typ", NULL
10682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10686 (arg1
)->SetEventType(arg2
);
10688 wxPyEndAllowThreads(__tstate
);
10689 if (PyErr_Occurred()) SWIG_fail
;
10691 Py_INCREF(Py_None
); resultobj
= Py_None
;
10698 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10699 PyObject
*resultobj
;
10700 wxEvent
*arg1
= (wxEvent
*) 0 ;
10701 wxEventType result
;
10702 PyObject
* obj0
= 0 ;
10703 char *kwnames
[] = {
10704 (char *) "self", NULL
10707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10711 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10713 wxPyEndAllowThreads(__tstate
);
10714 if (PyErr_Occurred()) SWIG_fail
;
10716 resultobj
= PyInt_FromLong((long)result
);
10723 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10724 PyObject
*resultobj
;
10725 wxEvent
*arg1
= (wxEvent
*) 0 ;
10727 PyObject
* obj0
= 0 ;
10728 char *kwnames
[] = {
10729 (char *) "self", NULL
10732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10742 resultobj
= wxPyMake_wxObject(result
);
10750 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10751 PyObject
*resultobj
;
10752 wxEvent
*arg1
= (wxEvent
*) 0 ;
10753 wxObject
*arg2
= (wxObject
*) 0 ;
10754 PyObject
* obj0
= 0 ;
10755 PyObject
* obj1
= 0 ;
10756 char *kwnames
[] = {
10757 (char *) "self",(char *) "obj", NULL
10760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10762 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 (arg1
)->SetEventObject(arg2
);
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 Py_INCREF(Py_None
); resultobj
= Py_None
;
10777 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxEvent
*arg1
= (wxEvent
*) 0 ;
10781 PyObject
* obj0
= 0 ;
10782 char *kwnames
[] = {
10783 (char *) "self", NULL
10786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10790 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10792 wxPyEndAllowThreads(__tstate
);
10793 if (PyErr_Occurred()) SWIG_fail
;
10795 resultobj
= PyInt_FromLong((long)result
);
10802 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10803 PyObject
*resultobj
;
10804 wxEvent
*arg1
= (wxEvent
*) 0 ;
10805 long arg2
= (long) 0 ;
10806 PyObject
* obj0
= 0 ;
10807 char *kwnames
[] = {
10808 (char *) "self",(char *) "ts", NULL
10811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10815 (arg1
)->SetTimestamp(arg2
);
10817 wxPyEndAllowThreads(__tstate
);
10818 if (PyErr_Occurred()) SWIG_fail
;
10820 Py_INCREF(Py_None
); resultobj
= Py_None
;
10827 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10828 PyObject
*resultobj
;
10829 wxEvent
*arg1
= (wxEvent
*) 0 ;
10831 PyObject
* obj0
= 0 ;
10832 char *kwnames
[] = {
10833 (char *) "self", NULL
10836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10840 result
= (int)((wxEvent
const *)arg1
)->GetId();
10842 wxPyEndAllowThreads(__tstate
);
10843 if (PyErr_Occurred()) SWIG_fail
;
10845 resultobj
= PyInt_FromLong((long)result
);
10852 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10853 PyObject
*resultobj
;
10854 wxEvent
*arg1
= (wxEvent
*) 0 ;
10856 PyObject
* obj0
= 0 ;
10857 char *kwnames
[] = {
10858 (char *) "self",(char *) "Id", NULL
10861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10865 (arg1
)->SetId(arg2
);
10867 wxPyEndAllowThreads(__tstate
);
10868 if (PyErr_Occurred()) SWIG_fail
;
10870 Py_INCREF(Py_None
); resultobj
= Py_None
;
10877 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10878 PyObject
*resultobj
;
10879 wxEvent
*arg1
= (wxEvent
*) 0 ;
10881 PyObject
* obj0
= 0 ;
10882 char *kwnames
[] = {
10883 (char *) "self", NULL
10886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
10887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10890 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
10892 wxPyEndAllowThreads(__tstate
);
10893 if (PyErr_Occurred()) SWIG_fail
;
10895 resultobj
= PyInt_FromLong((long)result
);
10902 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10903 PyObject
*resultobj
;
10904 wxEvent
*arg1
= (wxEvent
*) 0 ;
10905 bool arg2
= (bool) True
;
10906 PyObject
* obj0
= 0 ;
10907 PyObject
* obj1
= 0 ;
10908 char *kwnames
[] = {
10909 (char *) "self",(char *) "skip", NULL
10912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
10913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10915 arg2
= PyInt_AsLong(obj1
) ? true : false;
10916 if (PyErr_Occurred()) SWIG_fail
;
10919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10920 (arg1
)->Skip(arg2
);
10922 wxPyEndAllowThreads(__tstate
);
10923 if (PyErr_Occurred()) SWIG_fail
;
10925 Py_INCREF(Py_None
); resultobj
= Py_None
;
10932 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10933 PyObject
*resultobj
;
10934 wxEvent
*arg1
= (wxEvent
*) 0 ;
10936 PyObject
* obj0
= 0 ;
10937 char *kwnames
[] = {
10938 (char *) "self", NULL
10941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
10942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10945 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= PyInt_FromLong((long)result
);
10957 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
;
10959 wxEvent
*arg1
= (wxEvent
*) 0 ;
10961 PyObject
* obj0
= 0 ;
10962 char *kwnames
[] = {
10963 (char *) "self", NULL
10966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
10967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10970 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= PyInt_FromLong((long)result
);
10982 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
;
10984 wxEvent
*arg1
= (wxEvent
*) 0 ;
10986 PyObject
* obj0
= 0 ;
10987 char *kwnames
[] = {
10988 (char *) "self", NULL
10991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
10992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10995 result
= (int)(arg1
)->StopPropagation();
10997 wxPyEndAllowThreads(__tstate
);
10998 if (PyErr_Occurred()) SWIG_fail
;
11000 resultobj
= PyInt_FromLong((long)result
);
11007 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11008 PyObject
*resultobj
;
11009 wxEvent
*arg1
= (wxEvent
*) 0 ;
11011 PyObject
* obj0
= 0 ;
11012 char *kwnames
[] = {
11013 (char *) "self",(char *) "propagationLevel", NULL
11016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11020 (arg1
)->ResumePropagation(arg2
);
11022 wxPyEndAllowThreads(__tstate
);
11023 if (PyErr_Occurred()) SWIG_fail
;
11025 Py_INCREF(Py_None
); resultobj
= Py_None
;
11032 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11033 PyObject
*resultobj
;
11034 wxEvent
*arg1
= (wxEvent
*) 0 ;
11036 PyObject
* obj0
= 0 ;
11037 char *kwnames
[] = {
11038 (char *) "self", NULL
11041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11045 result
= (wxEvent
*)(arg1
)->Clone();
11047 wxPyEndAllowThreads(__tstate
);
11048 if (PyErr_Occurred()) SWIG_fail
;
11050 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11057 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11059 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11060 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11062 return Py_BuildValue((char *)"");
11064 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11065 PyObject
*resultobj
;
11066 wxEvent
*arg1
= 0 ;
11067 wxPropagationDisabler
*result
;
11068 PyObject
* obj0
= 0 ;
11069 char *kwnames
[] = {
11070 (char *) "event", NULL
11073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11075 if (arg1
== NULL
) {
11076 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11080 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11082 wxPyEndAllowThreads(__tstate
);
11083 if (PyErr_Occurred()) SWIG_fail
;
11085 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11092 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11093 PyObject
*resultobj
;
11094 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11095 PyObject
* obj0
= 0 ;
11096 char *kwnames
[] = {
11097 (char *) "self", NULL
11100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11106 wxPyEndAllowThreads(__tstate
);
11107 if (PyErr_Occurred()) SWIG_fail
;
11109 Py_INCREF(Py_None
); resultobj
= Py_None
;
11116 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11118 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11119 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11121 return Py_BuildValue((char *)"");
11123 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11124 PyObject
*resultobj
;
11125 wxEvent
*arg1
= 0 ;
11126 wxPropagateOnce
*result
;
11127 PyObject
* obj0
= 0 ;
11128 char *kwnames
[] = {
11129 (char *) "event", NULL
11132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11134 if (arg1
== NULL
) {
11135 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11139 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11141 wxPyEndAllowThreads(__tstate
);
11142 if (PyErr_Occurred()) SWIG_fail
;
11144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11151 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11152 PyObject
*resultobj
;
11153 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11154 PyObject
* obj0
= 0 ;
11155 char *kwnames
[] = {
11156 (char *) "self", NULL
11159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11165 wxPyEndAllowThreads(__tstate
);
11166 if (PyErr_Occurred()) SWIG_fail
;
11168 Py_INCREF(Py_None
); resultobj
= Py_None
;
11175 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11177 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11178 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11180 return Py_BuildValue((char *)"");
11182 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11183 PyObject
*resultobj
;
11184 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11185 int arg2
= (int) 0 ;
11186 wxCommandEvent
*result
;
11187 char *kwnames
[] = {
11188 (char *) "commandType",(char *) "winid", NULL
11191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11194 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11196 wxPyEndAllowThreads(__tstate
);
11197 if (PyErr_Occurred()) SWIG_fail
;
11199 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11206 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11207 PyObject
*resultobj
;
11208 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11210 PyObject
* obj0
= 0 ;
11211 char *kwnames
[] = {
11212 (char *) "self", NULL
11215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11219 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11221 wxPyEndAllowThreads(__tstate
);
11222 if (PyErr_Occurred()) SWIG_fail
;
11224 resultobj
= PyInt_FromLong((long)result
);
11231 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11232 PyObject
*resultobj
;
11233 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11234 wxString
*arg2
= 0 ;
11235 bool temp2
= False
;
11236 PyObject
* obj0
= 0 ;
11237 PyObject
* obj1
= 0 ;
11238 char *kwnames
[] = {
11239 (char *) "self",(char *) "s", NULL
11242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11245 arg2
= wxString_in_helper(obj1
);
11246 if (arg2
== NULL
) SWIG_fail
;
11250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11251 (arg1
)->SetString((wxString
const &)*arg2
);
11253 wxPyEndAllowThreads(__tstate
);
11254 if (PyErr_Occurred()) SWIG_fail
;
11256 Py_INCREF(Py_None
); resultobj
= Py_None
;
11271 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11272 PyObject
*resultobj
;
11273 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11275 PyObject
* obj0
= 0 ;
11276 char *kwnames
[] = {
11277 (char *) "self", NULL
11280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11284 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11286 wxPyEndAllowThreads(__tstate
);
11287 if (PyErr_Occurred()) SWIG_fail
;
11291 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11293 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11302 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11303 PyObject
*resultobj
;
11304 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11306 PyObject
* obj0
= 0 ;
11307 char *kwnames
[] = {
11308 (char *) "self", NULL
11311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11315 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11317 wxPyEndAllowThreads(__tstate
);
11318 if (PyErr_Occurred()) SWIG_fail
;
11320 resultobj
= PyInt_FromLong((long)result
);
11327 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11328 PyObject
*resultobj
;
11329 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11331 PyObject
* obj0
= 0 ;
11332 char *kwnames
[] = {
11333 (char *) "self", NULL
11336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11340 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11342 wxPyEndAllowThreads(__tstate
);
11343 if (PyErr_Occurred()) SWIG_fail
;
11345 resultobj
= PyInt_FromLong((long)result
);
11352 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11353 PyObject
*resultobj
;
11354 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11356 PyObject
* obj0
= 0 ;
11357 char *kwnames
[] = {
11358 (char *) "self",(char *) "extraLong", NULL
11361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11365 (arg1
)->SetExtraLong(arg2
);
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 Py_INCREF(Py_None
); resultobj
= Py_None
;
11377 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11378 PyObject
*resultobj
;
11379 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11381 PyObject
* obj0
= 0 ;
11382 char *kwnames
[] = {
11383 (char *) "self", NULL
11386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11390 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11392 wxPyEndAllowThreads(__tstate
);
11393 if (PyErr_Occurred()) SWIG_fail
;
11395 resultobj
= PyInt_FromLong((long)result
);
11402 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11403 PyObject
*resultobj
;
11404 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11406 PyObject
* obj0
= 0 ;
11407 char *kwnames
[] = {
11408 (char *) "self",(char *) "i", NULL
11411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11415 (arg1
)->SetInt(arg2
);
11417 wxPyEndAllowThreads(__tstate
);
11418 if (PyErr_Occurred()) SWIG_fail
;
11420 Py_INCREF(Py_None
); resultobj
= Py_None
;
11427 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11428 PyObject
*resultobj
;
11429 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11431 PyObject
* obj0
= 0 ;
11432 char *kwnames
[] = {
11433 (char *) "self", NULL
11436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11440 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11442 wxPyEndAllowThreads(__tstate
);
11443 if (PyErr_Occurred()) SWIG_fail
;
11445 resultobj
= PyInt_FromLong((long)result
);
11452 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11453 PyObject
*resultobj
;
11454 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11456 PyObject
* obj0
= 0 ;
11457 char *kwnames
[] = {
11458 (char *) "self", NULL
11461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11465 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11477 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11479 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11480 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11482 return Py_BuildValue((char *)"");
11484 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11485 PyObject
*resultobj
;
11486 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11487 int arg2
= (int) 0 ;
11488 wxNotifyEvent
*result
;
11489 char *kwnames
[] = {
11490 (char *) "commandType",(char *) "winid", NULL
11493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11496 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11498 wxPyEndAllowThreads(__tstate
);
11499 if (PyErr_Occurred()) SWIG_fail
;
11501 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11508 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11509 PyObject
*resultobj
;
11510 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11511 PyObject
* obj0
= 0 ;
11512 char *kwnames
[] = {
11513 (char *) "self", NULL
11516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11522 wxPyEndAllowThreads(__tstate
);
11523 if (PyErr_Occurred()) SWIG_fail
;
11525 Py_INCREF(Py_None
); resultobj
= Py_None
;
11532 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11533 PyObject
*resultobj
;
11534 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11535 PyObject
* obj0
= 0 ;
11536 char *kwnames
[] = {
11537 (char *) "self", NULL
11540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11546 wxPyEndAllowThreads(__tstate
);
11547 if (PyErr_Occurred()) SWIG_fail
;
11549 Py_INCREF(Py_None
); resultobj
= Py_None
;
11556 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11557 PyObject
*resultobj
;
11558 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11560 PyObject
* obj0
= 0 ;
11561 char *kwnames
[] = {
11562 (char *) "self", NULL
11565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11569 result
= (bool)(arg1
)->IsAllowed();
11571 wxPyEndAllowThreads(__tstate
);
11572 if (PyErr_Occurred()) SWIG_fail
;
11574 resultobj
= PyInt_FromLong((long)result
);
11581 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11583 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11584 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11586 return Py_BuildValue((char *)"");
11588 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11589 PyObject
*resultobj
;
11590 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11591 int arg2
= (int) 0 ;
11592 int arg3
= (int) 0 ;
11593 int arg4
= (int) 0 ;
11594 wxScrollEvent
*result
;
11595 char *kwnames
[] = {
11596 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11602 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11614 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11615 PyObject
*resultobj
;
11616 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 char *kwnames
[] = {
11620 (char *) "self", NULL
11623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11627 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11629 wxPyEndAllowThreads(__tstate
);
11630 if (PyErr_Occurred()) SWIG_fail
;
11632 resultobj
= PyInt_FromLong((long)result
);
11639 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11640 PyObject
*resultobj
;
11641 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11643 PyObject
* obj0
= 0 ;
11644 char *kwnames
[] = {
11645 (char *) "self", NULL
11648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11652 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11654 wxPyEndAllowThreads(__tstate
);
11655 if (PyErr_Occurred()) SWIG_fail
;
11657 resultobj
= PyInt_FromLong((long)result
);
11664 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11665 PyObject
*resultobj
;
11666 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11668 PyObject
* obj0
= 0 ;
11669 char *kwnames
[] = {
11670 (char *) "self",(char *) "orient", NULL
11673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11677 (arg1
)->SetOrientation(arg2
);
11679 wxPyEndAllowThreads(__tstate
);
11680 if (PyErr_Occurred()) SWIG_fail
;
11682 Py_INCREF(Py_None
); resultobj
= Py_None
;
11689 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11690 PyObject
*resultobj
;
11691 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11693 PyObject
* obj0
= 0 ;
11694 char *kwnames
[] = {
11695 (char *) "self",(char *) "pos", NULL
11698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->SetPosition(arg2
);
11704 wxPyEndAllowThreads(__tstate
);
11705 if (PyErr_Occurred()) SWIG_fail
;
11707 Py_INCREF(Py_None
); resultobj
= Py_None
;
11714 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11717 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11719 return Py_BuildValue((char *)"");
11721 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11722 PyObject
*resultobj
;
11723 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11724 int arg2
= (int) 0 ;
11725 int arg3
= (int) 0 ;
11726 wxScrollWinEvent
*result
;
11727 char *kwnames
[] = {
11728 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11734 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11736 wxPyEndAllowThreads(__tstate
);
11737 if (PyErr_Occurred()) SWIG_fail
;
11739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11746 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11747 PyObject
*resultobj
;
11748 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11750 PyObject
* obj0
= 0 ;
11751 char *kwnames
[] = {
11752 (char *) "self", NULL
11755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11759 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11761 wxPyEndAllowThreads(__tstate
);
11762 if (PyErr_Occurred()) SWIG_fail
;
11764 resultobj
= PyInt_FromLong((long)result
);
11771 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11772 PyObject
*resultobj
;
11773 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11775 PyObject
* obj0
= 0 ;
11776 char *kwnames
[] = {
11777 (char *) "self", NULL
11780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11784 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11786 wxPyEndAllowThreads(__tstate
);
11787 if (PyErr_Occurred()) SWIG_fail
;
11789 resultobj
= PyInt_FromLong((long)result
);
11796 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11797 PyObject
*resultobj
;
11798 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11800 PyObject
* obj0
= 0 ;
11801 char *kwnames
[] = {
11802 (char *) "self",(char *) "orient", NULL
11805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11809 (arg1
)->SetOrientation(arg2
);
11811 wxPyEndAllowThreads(__tstate
);
11812 if (PyErr_Occurred()) SWIG_fail
;
11814 Py_INCREF(Py_None
); resultobj
= Py_None
;
11821 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11822 PyObject
*resultobj
;
11823 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11825 PyObject
* obj0
= 0 ;
11826 char *kwnames
[] = {
11827 (char *) "self",(char *) "pos", NULL
11830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11834 (arg1
)->SetPosition(arg2
);
11836 wxPyEndAllowThreads(__tstate
);
11837 if (PyErr_Occurred()) SWIG_fail
;
11839 Py_INCREF(Py_None
); resultobj
= Py_None
;
11846 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11848 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11849 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11851 return Py_BuildValue((char *)"");
11853 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11854 PyObject
*resultobj
;
11855 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11856 wxMouseEvent
*result
;
11857 char *kwnames
[] = {
11858 (char *) "mouseType", NULL
11861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11864 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= wxPyMake_wxObject(result
);
11878 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11879 PyObject
*resultobj
;
11880 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11882 PyObject
* obj0
= 0 ;
11883 char *kwnames
[] = {
11884 (char *) "self", NULL
11887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11891 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
11893 wxPyEndAllowThreads(__tstate
);
11894 if (PyErr_Occurred()) SWIG_fail
;
11896 resultobj
= PyInt_FromLong((long)result
);
11903 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11904 PyObject
*resultobj
;
11905 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11906 int arg2
= (int) wxMOUSE_BTN_ANY
;
11908 PyObject
* obj0
= 0 ;
11909 char *kwnames
[] = {
11910 (char *) "self",(char *) "but", NULL
11913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
11914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11917 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
11919 wxPyEndAllowThreads(__tstate
);
11920 if (PyErr_Occurred()) SWIG_fail
;
11922 resultobj
= PyInt_FromLong((long)result
);
11929 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11930 PyObject
*resultobj
;
11931 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11932 int arg2
= (int) wxMOUSE_BTN_ANY
;
11934 PyObject
* obj0
= 0 ;
11935 char *kwnames
[] = {
11936 (char *) "self",(char *) "but", NULL
11939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
11940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11943 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
11945 wxPyEndAllowThreads(__tstate
);
11946 if (PyErr_Occurred()) SWIG_fail
;
11948 resultobj
= PyInt_FromLong((long)result
);
11955 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11956 PyObject
*resultobj
;
11957 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11958 int arg2
= (int) wxMOUSE_BTN_ANY
;
11960 PyObject
* obj0
= 0 ;
11961 char *kwnames
[] = {
11962 (char *) "self",(char *) "but", NULL
11965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
11966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
11971 wxPyEndAllowThreads(__tstate
);
11972 if (PyErr_Occurred()) SWIG_fail
;
11974 resultobj
= PyInt_FromLong((long)result
);
11981 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11986 PyObject
* obj0
= 0 ;
11987 char *kwnames
[] = {
11988 (char *) "self",(char *) "but", NULL
11991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
11992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
11997 wxPyEndAllowThreads(__tstate
);
11998 if (PyErr_Occurred()) SWIG_fail
;
12000 resultobj
= PyInt_FromLong((long)result
);
12007 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12008 PyObject
*resultobj
;
12009 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12012 PyObject
* obj0
= 0 ;
12013 char *kwnames
[] = {
12014 (char *) "self",(char *) "but", NULL
12017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12021 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12023 wxPyEndAllowThreads(__tstate
);
12024 if (PyErr_Occurred()) SWIG_fail
;
12026 resultobj
= PyInt_FromLong((long)result
);
12033 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12034 PyObject
*resultobj
;
12035 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12037 PyObject
* obj0
= 0 ;
12038 char *kwnames
[] = {
12039 (char *) "self", NULL
12042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12046 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12048 wxPyEndAllowThreads(__tstate
);
12049 if (PyErr_Occurred()) SWIG_fail
;
12051 resultobj
= PyInt_FromLong((long)result
);
12058 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12059 PyObject
*resultobj
;
12060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= PyInt_FromLong((long)result
);
12083 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12087 PyObject
* obj0
= 0 ;
12088 char *kwnames
[] = {
12089 (char *) "self", NULL
12092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12096 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12098 wxPyEndAllowThreads(__tstate
);
12099 if (PyErr_Occurred()) SWIG_fail
;
12101 resultobj
= PyInt_FromLong((long)result
);
12108 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12109 PyObject
*resultobj
;
12110 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12112 PyObject
* obj0
= 0 ;
12113 char *kwnames
[] = {
12114 (char *) "self", NULL
12117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12121 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12123 wxPyEndAllowThreads(__tstate
);
12124 if (PyErr_Occurred()) SWIG_fail
;
12126 resultobj
= PyInt_FromLong((long)result
);
12133 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12134 PyObject
*resultobj
;
12135 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12137 PyObject
* obj0
= 0 ;
12138 char *kwnames
[] = {
12139 (char *) "self", NULL
12142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12146 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12148 wxPyEndAllowThreads(__tstate
);
12149 if (PyErr_Occurred()) SWIG_fail
;
12151 resultobj
= PyInt_FromLong((long)result
);
12158 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12159 PyObject
*resultobj
;
12160 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12162 PyObject
* obj0
= 0 ;
12163 char *kwnames
[] = {
12164 (char *) "self", NULL
12167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12173 wxPyEndAllowThreads(__tstate
);
12174 if (PyErr_Occurred()) SWIG_fail
;
12176 resultobj
= PyInt_FromLong((long)result
);
12183 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12184 PyObject
*resultobj
;
12185 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12187 PyObject
* obj0
= 0 ;
12188 char *kwnames
[] = {
12189 (char *) "self", NULL
12192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12196 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12198 wxPyEndAllowThreads(__tstate
);
12199 if (PyErr_Occurred()) SWIG_fail
;
12201 resultobj
= PyInt_FromLong((long)result
);
12208 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12209 PyObject
*resultobj
;
12210 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12212 PyObject
* obj0
= 0 ;
12213 char *kwnames
[] = {
12214 (char *) "self", NULL
12217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12221 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12223 wxPyEndAllowThreads(__tstate
);
12224 if (PyErr_Occurred()) SWIG_fail
;
12226 resultobj
= PyInt_FromLong((long)result
);
12233 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12234 PyObject
*resultobj
;
12235 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12237 PyObject
* obj0
= 0 ;
12238 char *kwnames
[] = {
12239 (char *) "self", NULL
12242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12248 wxPyEndAllowThreads(__tstate
);
12249 if (PyErr_Occurred()) SWIG_fail
;
12251 resultobj
= PyInt_FromLong((long)result
);
12258 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12259 PyObject
*resultobj
;
12260 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12262 PyObject
* obj0
= 0 ;
12263 char *kwnames
[] = {
12264 (char *) "self", NULL
12267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12271 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= PyInt_FromLong((long)result
);
12283 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12284 PyObject
*resultobj
;
12285 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12287 PyObject
* obj0
= 0 ;
12288 char *kwnames
[] = {
12289 (char *) "self", NULL
12292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12296 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12298 wxPyEndAllowThreads(__tstate
);
12299 if (PyErr_Occurred()) SWIG_fail
;
12301 resultobj
= PyInt_FromLong((long)result
);
12308 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12309 PyObject
*resultobj
;
12310 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12312 PyObject
* obj0
= 0 ;
12313 char *kwnames
[] = {
12314 (char *) "self", NULL
12317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12321 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12323 wxPyEndAllowThreads(__tstate
);
12324 if (PyErr_Occurred()) SWIG_fail
;
12326 resultobj
= PyInt_FromLong((long)result
);
12333 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12334 PyObject
*resultobj
;
12335 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12337 PyObject
* obj0
= 0 ;
12338 char *kwnames
[] = {
12339 (char *) "self", NULL
12342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12348 wxPyEndAllowThreads(__tstate
);
12349 if (PyErr_Occurred()) SWIG_fail
;
12351 resultobj
= PyInt_FromLong((long)result
);
12358 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12359 PyObject
*resultobj
;
12360 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12362 PyObject
* obj0
= 0 ;
12363 char *kwnames
[] = {
12364 (char *) "self", NULL
12367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12371 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12373 wxPyEndAllowThreads(__tstate
);
12374 if (PyErr_Occurred()) SWIG_fail
;
12376 resultobj
= PyInt_FromLong((long)result
);
12383 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12384 PyObject
*resultobj
;
12385 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12387 PyObject
* obj0
= 0 ;
12388 char *kwnames
[] = {
12389 (char *) "self", NULL
12392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (bool)(arg1
)->LeftIsDown();
12398 wxPyEndAllowThreads(__tstate
);
12399 if (PyErr_Occurred()) SWIG_fail
;
12401 resultobj
= PyInt_FromLong((long)result
);
12408 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12409 PyObject
*resultobj
;
12410 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12412 PyObject
* obj0
= 0 ;
12413 char *kwnames
[] = {
12414 (char *) "self", NULL
12417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12421 result
= (bool)(arg1
)->MiddleIsDown();
12423 wxPyEndAllowThreads(__tstate
);
12424 if (PyErr_Occurred()) SWIG_fail
;
12426 resultobj
= PyInt_FromLong((long)result
);
12433 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12434 PyObject
*resultobj
;
12435 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12437 PyObject
* obj0
= 0 ;
12438 char *kwnames
[] = {
12439 (char *) "self", NULL
12442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12446 result
= (bool)(arg1
)->RightIsDown();
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= PyInt_FromLong((long)result
);
12458 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12459 PyObject
*resultobj
;
12460 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12462 PyObject
* obj0
= 0 ;
12463 char *kwnames
[] = {
12464 (char *) "self", NULL
12467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12471 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12473 wxPyEndAllowThreads(__tstate
);
12474 if (PyErr_Occurred()) SWIG_fail
;
12476 resultobj
= PyInt_FromLong((long)result
);
12483 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12484 PyObject
*resultobj
;
12485 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12487 PyObject
* obj0
= 0 ;
12488 char *kwnames
[] = {
12489 (char *) "self", NULL
12492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12496 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12498 wxPyEndAllowThreads(__tstate
);
12499 if (PyErr_Occurred()) SWIG_fail
;
12501 resultobj
= PyInt_FromLong((long)result
);
12508 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12509 PyObject
*resultobj
;
12510 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12512 PyObject
* obj0
= 0 ;
12513 char *kwnames
[] = {
12514 (char *) "self", NULL
12517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12521 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12523 wxPyEndAllowThreads(__tstate
);
12524 if (PyErr_Occurred()) SWIG_fail
;
12526 resultobj
= PyInt_FromLong((long)result
);
12533 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12534 PyObject
*resultobj
;
12535 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12537 PyObject
* obj0
= 0 ;
12538 char *kwnames
[] = {
12539 (char *) "self", NULL
12542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12546 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12548 wxPyEndAllowThreads(__tstate
);
12549 if (PyErr_Occurred()) SWIG_fail
;
12551 resultobj
= PyInt_FromLong((long)result
);
12558 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12559 PyObject
*resultobj
;
12560 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12562 PyObject
* obj0
= 0 ;
12563 char *kwnames
[] = {
12564 (char *) "self", NULL
12567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (arg1
)->GetPosition();
12573 wxPyEndAllowThreads(__tstate
);
12574 if (PyErr_Occurred()) SWIG_fail
;
12577 wxPoint
* resultptr
;
12578 resultptr
= new wxPoint((wxPoint
&) result
);
12579 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12587 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12588 PyObject
*resultobj
;
12589 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12590 long *arg2
= (long *) 0 ;
12591 long *arg3
= (long *) 0 ;
12594 PyObject
* obj0
= 0 ;
12595 char *kwnames
[] = {
12596 (char *) "self", NULL
12601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12605 (arg1
)->GetPosition(arg2
,arg3
);
12607 wxPyEndAllowThreads(__tstate
);
12608 if (PyErr_Occurred()) SWIG_fail
;
12610 Py_INCREF(Py_None
); resultobj
= Py_None
;
12612 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12613 resultobj
= t_output_helper(resultobj
,o
);
12616 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12617 resultobj
= t_output_helper(resultobj
,o
);
12625 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12626 PyObject
*resultobj
;
12627 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12630 PyObject
* obj0
= 0 ;
12631 PyObject
* obj1
= 0 ;
12632 char *kwnames
[] = {
12633 (char *) "self",(char *) "dc", NULL
12636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12638 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12639 if (arg2
== NULL
) {
12640 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12644 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12646 wxPyEndAllowThreads(__tstate
);
12647 if (PyErr_Occurred()) SWIG_fail
;
12650 wxPoint
* resultptr
;
12651 resultptr
= new wxPoint((wxPoint
&) result
);
12652 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12660 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12661 PyObject
*resultobj
;
12662 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12664 PyObject
* obj0
= 0 ;
12665 char *kwnames
[] = {
12666 (char *) "self", NULL
12669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12673 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
12675 wxPyEndAllowThreads(__tstate
);
12676 if (PyErr_Occurred()) SWIG_fail
;
12678 resultobj
= PyInt_FromLong((long)result
);
12685 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12686 PyObject
*resultobj
;
12687 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12689 PyObject
* obj0
= 0 ;
12690 char *kwnames
[] = {
12691 (char *) "self", NULL
12694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12698 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
12700 wxPyEndAllowThreads(__tstate
);
12701 if (PyErr_Occurred()) SWIG_fail
;
12703 resultobj
= PyInt_FromLong((long)result
);
12710 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12711 PyObject
*resultobj
;
12712 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12714 PyObject
* obj0
= 0 ;
12715 char *kwnames
[] = {
12716 (char *) "self", NULL
12719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12723 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12725 wxPyEndAllowThreads(__tstate
);
12726 if (PyErr_Occurred()) SWIG_fail
;
12728 resultobj
= PyInt_FromLong((long)result
);
12735 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12736 PyObject
*resultobj
;
12737 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12739 PyObject
* obj0
= 0 ;
12740 char *kwnames
[] = {
12741 (char *) "self", NULL
12744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12748 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12750 wxPyEndAllowThreads(__tstate
);
12751 if (PyErr_Occurred()) SWIG_fail
;
12753 resultobj
= PyInt_FromLong((long)result
);
12760 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12761 PyObject
*resultobj
;
12762 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12764 PyObject
* obj0
= 0 ;
12765 char *kwnames
[] = {
12766 (char *) "self", NULL
12769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12775 wxPyEndAllowThreads(__tstate
);
12776 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= PyInt_FromLong((long)result
);
12785 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12786 PyObject
*resultobj
;
12787 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12789 PyObject
* obj0
= 0 ;
12790 char *kwnames
[] = {
12791 (char *) "self", NULL
12794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12798 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12800 wxPyEndAllowThreads(__tstate
);
12801 if (PyErr_Occurred()) SWIG_fail
;
12803 resultobj
= PyInt_FromLong((long)result
);
12810 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12811 PyObject
*resultobj
;
12812 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12814 PyObject
* obj0
= 0 ;
12815 char *kwnames
[] = {
12816 (char *) "self",(char *) "m_x", NULL
12819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12821 if (arg1
) (arg1
)->m_x
= arg2
;
12823 Py_INCREF(Py_None
); resultobj
= Py_None
;
12830 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
;
12832 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12834 PyObject
* obj0
= 0 ;
12835 char *kwnames
[] = {
12836 (char *) "self", NULL
12839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12841 result
= (int) ((arg1
)->m_x
);
12843 resultobj
= PyInt_FromLong((long)result
);
12850 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12851 PyObject
*resultobj
;
12852 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12854 PyObject
* obj0
= 0 ;
12855 char *kwnames
[] = {
12856 (char *) "self",(char *) "m_y", NULL
12859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12861 if (arg1
) (arg1
)->m_y
= arg2
;
12863 Py_INCREF(Py_None
); resultobj
= Py_None
;
12870 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12871 PyObject
*resultobj
;
12872 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12874 PyObject
* obj0
= 0 ;
12875 char *kwnames
[] = {
12876 (char *) "self", NULL
12879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
12880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12881 result
= (int) ((arg1
)->m_y
);
12883 resultobj
= PyInt_FromLong((long)result
);
12890 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12891 PyObject
*resultobj
;
12892 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12894 PyObject
* obj0
= 0 ;
12895 PyObject
* obj1
= 0 ;
12896 char *kwnames
[] = {
12897 (char *) "self",(char *) "m_leftDown", NULL
12900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12902 arg2
= PyInt_AsLong(obj1
) ? true : false;
12903 if (PyErr_Occurred()) SWIG_fail
;
12904 if (arg1
) (arg1
)->m_leftDown
= arg2
;
12906 Py_INCREF(Py_None
); resultobj
= Py_None
;
12913 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12924 result
= (bool) ((arg1
)->m_leftDown
);
12926 resultobj
= PyInt_FromLong((long)result
);
12933 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12934 PyObject
*resultobj
;
12935 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12937 PyObject
* obj0
= 0 ;
12938 PyObject
* obj1
= 0 ;
12939 char *kwnames
[] = {
12940 (char *) "self",(char *) "m_middleDown", NULL
12943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12945 arg2
= PyInt_AsLong(obj1
) ? true : false;
12946 if (PyErr_Occurred()) SWIG_fail
;
12947 if (arg1
) (arg1
)->m_middleDown
= arg2
;
12949 Py_INCREF(Py_None
); resultobj
= Py_None
;
12956 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12957 PyObject
*resultobj
;
12958 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12960 PyObject
* obj0
= 0 ;
12961 char *kwnames
[] = {
12962 (char *) "self", NULL
12965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
12966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12967 result
= (bool) ((arg1
)->m_middleDown
);
12969 resultobj
= PyInt_FromLong((long)result
);
12976 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12977 PyObject
*resultobj
;
12978 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12980 PyObject
* obj0
= 0 ;
12981 PyObject
* obj1
= 0 ;
12982 char *kwnames
[] = {
12983 (char *) "self",(char *) "m_rightDown", NULL
12986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12988 arg2
= PyInt_AsLong(obj1
) ? true : false;
12989 if (PyErr_Occurred()) SWIG_fail
;
12990 if (arg1
) (arg1
)->m_rightDown
= arg2
;
12992 Py_INCREF(Py_None
); resultobj
= Py_None
;
12999 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
;
13001 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13003 PyObject
* obj0
= 0 ;
13004 char *kwnames
[] = {
13005 (char *) "self", NULL
13008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13010 result
= (bool) ((arg1
)->m_rightDown
);
13012 resultobj
= PyInt_FromLong((long)result
);
13019 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13020 PyObject
*resultobj
;
13021 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 char *kwnames
[] = {
13026 (char *) "self",(char *) "m_controlDown", NULL
13029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13031 arg2
= PyInt_AsLong(obj1
) ? true : false;
13032 if (PyErr_Occurred()) SWIG_fail
;
13033 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13035 Py_INCREF(Py_None
); resultobj
= Py_None
;
13042 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13043 PyObject
*resultobj
;
13044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13046 PyObject
* obj0
= 0 ;
13047 char *kwnames
[] = {
13048 (char *) "self", NULL
13051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13053 result
= (bool) ((arg1
)->m_controlDown
);
13055 resultobj
= PyInt_FromLong((long)result
);
13062 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13063 PyObject
*resultobj
;
13064 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13066 PyObject
* obj0
= 0 ;
13067 PyObject
* obj1
= 0 ;
13068 char *kwnames
[] = {
13069 (char *) "self",(char *) "m_shiftDown", NULL
13072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13074 arg2
= PyInt_AsLong(obj1
) ? true : false;
13075 if (PyErr_Occurred()) SWIG_fail
;
13076 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13078 Py_INCREF(Py_None
); resultobj
= Py_None
;
13085 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13086 PyObject
*resultobj
;
13087 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13089 PyObject
* obj0
= 0 ;
13090 char *kwnames
[] = {
13091 (char *) "self", NULL
13094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13096 result
= (bool) ((arg1
)->m_shiftDown
);
13098 resultobj
= PyInt_FromLong((long)result
);
13105 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13106 PyObject
*resultobj
;
13107 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13109 PyObject
* obj0
= 0 ;
13110 PyObject
* obj1
= 0 ;
13111 char *kwnames
[] = {
13112 (char *) "self",(char *) "m_altDown", NULL
13115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13117 arg2
= PyInt_AsLong(obj1
) ? true : false;
13118 if (PyErr_Occurred()) SWIG_fail
;
13119 if (arg1
) (arg1
)->m_altDown
= arg2
;
13121 Py_INCREF(Py_None
); resultobj
= Py_None
;
13128 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13129 PyObject
*resultobj
;
13130 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13132 PyObject
* obj0
= 0 ;
13133 char *kwnames
[] = {
13134 (char *) "self", NULL
13137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13139 result
= (bool) ((arg1
)->m_altDown
);
13141 resultobj
= PyInt_FromLong((long)result
);
13148 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13149 PyObject
*resultobj
;
13150 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13152 PyObject
* obj0
= 0 ;
13153 PyObject
* obj1
= 0 ;
13154 char *kwnames
[] = {
13155 (char *) "self",(char *) "m_metaDown", NULL
13158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13160 arg2
= PyInt_AsLong(obj1
) ? true : false;
13161 if (PyErr_Occurred()) SWIG_fail
;
13162 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13164 Py_INCREF(Py_None
); resultobj
= Py_None
;
13171 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13172 PyObject
*resultobj
;
13173 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13175 PyObject
* obj0
= 0 ;
13176 char *kwnames
[] = {
13177 (char *) "self", NULL
13180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13182 result
= (bool) ((arg1
)->m_metaDown
);
13184 resultobj
= PyInt_FromLong((long)result
);
13191 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13192 PyObject
*resultobj
;
13193 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13195 PyObject
* obj0
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self",(char *) "m_wheelRotation", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13202 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13204 Py_INCREF(Py_None
); resultobj
= Py_None
;
13211 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13212 PyObject
*resultobj
;
13213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13215 PyObject
* obj0
= 0 ;
13216 char *kwnames
[] = {
13217 (char *) "self", NULL
13220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13222 result
= (int) ((arg1
)->m_wheelRotation
);
13224 resultobj
= PyInt_FromLong((long)result
);
13231 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13232 PyObject
*resultobj
;
13233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13235 PyObject
* obj0
= 0 ;
13236 char *kwnames
[] = {
13237 (char *) "self",(char *) "m_wheelDelta", NULL
13240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13242 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13244 Py_INCREF(Py_None
); resultobj
= Py_None
;
13251 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13252 PyObject
*resultobj
;
13253 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13255 PyObject
* obj0
= 0 ;
13256 char *kwnames
[] = {
13257 (char *) "self", NULL
13260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13262 result
= (int) ((arg1
)->m_wheelDelta
);
13264 resultobj
= PyInt_FromLong((long)result
);
13271 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13272 PyObject
*resultobj
;
13273 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13275 PyObject
* obj0
= 0 ;
13276 char *kwnames
[] = {
13277 (char *) "self",(char *) "m_linesPerAction", NULL
13280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13282 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13284 Py_INCREF(Py_None
); resultobj
= Py_None
;
13291 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13292 PyObject
*resultobj
;
13293 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13295 PyObject
* obj0
= 0 ;
13296 char *kwnames
[] = {
13297 (char *) "self", NULL
13300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13302 result
= (int) ((arg1
)->m_linesPerAction
);
13304 resultobj
= PyInt_FromLong((long)result
);
13311 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13313 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13314 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13316 return Py_BuildValue((char *)"");
13318 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13319 PyObject
*resultobj
;
13320 int arg1
= (int) 0 ;
13321 int arg2
= (int) 0 ;
13322 wxSetCursorEvent
*result
;
13323 char *kwnames
[] = {
13324 (char *) "x",(char *) "y", NULL
13327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13330 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13332 wxPyEndAllowThreads(__tstate
);
13333 if (PyErr_Occurred()) SWIG_fail
;
13335 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13342 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13343 PyObject
*resultobj
;
13344 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13346 PyObject
* obj0
= 0 ;
13347 char *kwnames
[] = {
13348 (char *) "self", NULL
13351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13355 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= PyInt_FromLong((long)result
);
13367 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
;
13369 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13371 PyObject
* obj0
= 0 ;
13372 char *kwnames
[] = {
13373 (char *) "self", NULL
13376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13380 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
13382 wxPyEndAllowThreads(__tstate
);
13383 if (PyErr_Occurred()) SWIG_fail
;
13385 resultobj
= PyInt_FromLong((long)result
);
13392 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13393 PyObject
*resultobj
;
13394 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13395 wxCursor
*arg2
= 0 ;
13396 PyObject
* obj0
= 0 ;
13397 PyObject
* obj1
= 0 ;
13398 char *kwnames
[] = {
13399 (char *) "self",(char *) "cursor", NULL
13402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13404 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13405 if (arg2
== NULL
) {
13406 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13410 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13412 wxPyEndAllowThreads(__tstate
);
13413 if (PyErr_Occurred()) SWIG_fail
;
13415 Py_INCREF(Py_None
); resultobj
= Py_None
;
13422 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13423 PyObject
*resultobj
;
13424 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13426 PyObject
* obj0
= 0 ;
13427 char *kwnames
[] = {
13428 (char *) "self", NULL
13431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13436 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13437 result
= (wxCursor
*) &_result_ref
;
13440 wxPyEndAllowThreads(__tstate
);
13441 if (PyErr_Occurred()) SWIG_fail
;
13443 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13450 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13451 PyObject
*resultobj
;
13452 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13454 PyObject
* obj0
= 0 ;
13455 char *kwnames
[] = {
13456 (char *) "self", NULL
13459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13463 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13465 wxPyEndAllowThreads(__tstate
);
13466 if (PyErr_Occurred()) SWIG_fail
;
13468 resultobj
= PyInt_FromLong((long)result
);
13475 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13478 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13480 return Py_BuildValue((char *)"");
13482 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13483 PyObject
*resultobj
;
13484 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13485 wxKeyEvent
*result
;
13486 char *kwnames
[] = {
13487 (char *) "keyType", NULL
13490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13493 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13495 wxPyEndAllowThreads(__tstate
);
13496 if (PyErr_Occurred()) SWIG_fail
;
13498 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13505 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13506 PyObject
*resultobj
;
13507 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13509 PyObject
* obj0
= 0 ;
13510 char *kwnames
[] = {
13511 (char *) "self", NULL
13514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13518 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13520 wxPyEndAllowThreads(__tstate
);
13521 if (PyErr_Occurred()) SWIG_fail
;
13523 resultobj
= PyInt_FromLong((long)result
);
13530 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13531 PyObject
*resultobj
;
13532 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13534 PyObject
* obj0
= 0 ;
13535 char *kwnames
[] = {
13536 (char *) "self", NULL
13539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13543 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13545 wxPyEndAllowThreads(__tstate
);
13546 if (PyErr_Occurred()) SWIG_fail
;
13548 resultobj
= PyInt_FromLong((long)result
);
13555 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13556 PyObject
*resultobj
;
13557 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13559 PyObject
* obj0
= 0 ;
13560 char *kwnames
[] = {
13561 (char *) "self", NULL
13564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13568 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13570 wxPyEndAllowThreads(__tstate
);
13571 if (PyErr_Occurred()) SWIG_fail
;
13573 resultobj
= PyInt_FromLong((long)result
);
13580 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13581 PyObject
*resultobj
;
13582 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13584 PyObject
* obj0
= 0 ;
13585 char *kwnames
[] = {
13586 (char *) "self", NULL
13589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13593 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13595 wxPyEndAllowThreads(__tstate
);
13596 if (PyErr_Occurred()) SWIG_fail
;
13598 resultobj
= PyInt_FromLong((long)result
);
13605 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13606 PyObject
*resultobj
;
13607 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13609 PyObject
* obj0
= 0 ;
13610 char *kwnames
[] = {
13611 (char *) "self", NULL
13614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13618 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13620 wxPyEndAllowThreads(__tstate
);
13621 if (PyErr_Occurred()) SWIG_fail
;
13623 resultobj
= PyInt_FromLong((long)result
);
13630 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13631 PyObject
*resultobj
;
13632 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13634 PyObject
* obj0
= 0 ;
13635 char *kwnames
[] = {
13636 (char *) "self", NULL
13639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13643 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13645 wxPyEndAllowThreads(__tstate
);
13646 if (PyErr_Occurred()) SWIG_fail
;
13648 resultobj
= PyInt_FromLong((long)result
);
13655 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13656 PyObject
*resultobj
;
13657 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13659 PyObject
* obj0
= 0 ;
13660 char *kwnames
[] = {
13661 (char *) "self", NULL
13664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13668 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13670 wxPyEndAllowThreads(__tstate
);
13671 if (PyErr_Occurred()) SWIG_fail
;
13673 resultobj
= PyInt_FromLong((long)result
);
13680 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13681 PyObject
*resultobj
;
13682 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13683 unsigned int result
;
13684 PyObject
* obj0
= 0 ;
13685 char *kwnames
[] = {
13686 (char *) "self", NULL
13689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13693 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13695 wxPyEndAllowThreads(__tstate
);
13696 if (PyErr_Occurred()) SWIG_fail
;
13698 resultobj
= PyInt_FromLong((long)result
);
13705 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13706 PyObject
*resultobj
;
13707 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13708 unsigned int result
;
13709 PyObject
* obj0
= 0 ;
13710 char *kwnames
[] = {
13711 (char *) "self", NULL
13714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13718 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13720 wxPyEndAllowThreads(__tstate
);
13721 if (PyErr_Occurred()) SWIG_fail
;
13723 resultobj
= PyInt_FromLong((long)result
);
13730 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13731 PyObject
*resultobj
;
13732 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13734 PyObject
* obj0
= 0 ;
13735 char *kwnames
[] = {
13736 (char *) "self", NULL
13739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13743 result
= (arg1
)->GetPosition();
13745 wxPyEndAllowThreads(__tstate
);
13746 if (PyErr_Occurred()) SWIG_fail
;
13749 wxPoint
* resultptr
;
13750 resultptr
= new wxPoint((wxPoint
&) result
);
13751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13759 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13760 PyObject
*resultobj
;
13761 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13762 long *arg2
= (long *) 0 ;
13763 long *arg3
= (long *) 0 ;
13766 PyObject
* obj0
= 0 ;
13767 char *kwnames
[] = {
13768 (char *) "self", NULL
13773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13777 (arg1
)->GetPosition(arg2
,arg3
);
13779 wxPyEndAllowThreads(__tstate
);
13780 if (PyErr_Occurred()) SWIG_fail
;
13782 Py_INCREF(Py_None
); resultobj
= Py_None
;
13784 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13785 resultobj
= t_output_helper(resultobj
,o
);
13788 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13789 resultobj
= t_output_helper(resultobj
,o
);
13797 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
;
13799 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13801 PyObject
* obj0
= 0 ;
13802 char *kwnames
[] = {
13803 (char *) "self", NULL
13806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13810 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
13812 wxPyEndAllowThreads(__tstate
);
13813 if (PyErr_Occurred()) SWIG_fail
;
13815 resultobj
= PyInt_FromLong((long)result
);
13822 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13823 PyObject
*resultobj
;
13824 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13826 PyObject
* obj0
= 0 ;
13827 char *kwnames
[] = {
13828 (char *) "self", NULL
13831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
13837 wxPyEndAllowThreads(__tstate
);
13838 if (PyErr_Occurred()) SWIG_fail
;
13840 resultobj
= PyInt_FromLong((long)result
);
13847 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13848 PyObject
*resultobj
;
13849 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13851 PyObject
* obj0
= 0 ;
13852 char *kwnames
[] = {
13853 (char *) "self",(char *) "m_x", NULL
13856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13858 if (arg1
) (arg1
)->m_x
= arg2
;
13860 Py_INCREF(Py_None
); resultobj
= Py_None
;
13867 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13868 PyObject
*resultobj
;
13869 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13871 PyObject
* obj0
= 0 ;
13872 char *kwnames
[] = {
13873 (char *) "self", NULL
13876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
13877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13878 result
= (int) ((arg1
)->m_x
);
13880 resultobj
= PyInt_FromLong((long)result
);
13887 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13891 PyObject
* obj0
= 0 ;
13892 char *kwnames
[] = {
13893 (char *) "self",(char *) "m_y", NULL
13896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13898 if (arg1
) (arg1
)->m_y
= arg2
;
13900 Py_INCREF(Py_None
); resultobj
= Py_None
;
13907 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13908 PyObject
*resultobj
;
13909 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13911 PyObject
* obj0
= 0 ;
13912 char *kwnames
[] = {
13913 (char *) "self", NULL
13916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13918 result
= (int) ((arg1
)->m_y
);
13920 resultobj
= PyInt_FromLong((long)result
);
13927 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13928 PyObject
*resultobj
;
13929 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13931 PyObject
* obj0
= 0 ;
13932 char *kwnames
[] = {
13933 (char *) "self",(char *) "m_keyCode", NULL
13936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13938 if (arg1
) (arg1
)->m_keyCode
= arg2
;
13940 Py_INCREF(Py_None
); resultobj
= Py_None
;
13947 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13948 PyObject
*resultobj
;
13949 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13951 PyObject
* obj0
= 0 ;
13952 char *kwnames
[] = {
13953 (char *) "self", NULL
13956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
13957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13958 result
= (long) ((arg1
)->m_keyCode
);
13960 resultobj
= PyInt_FromLong((long)result
);
13967 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13968 PyObject
*resultobj
;
13969 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13971 PyObject
* obj0
= 0 ;
13972 PyObject
* obj1
= 0 ;
13973 char *kwnames
[] = {
13974 (char *) "self",(char *) "m_controlDown", NULL
13977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13979 arg2
= PyInt_AsLong(obj1
) ? true : false;
13980 if (PyErr_Occurred()) SWIG_fail
;
13981 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13983 Py_INCREF(Py_None
); resultobj
= Py_None
;
13990 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13991 PyObject
*resultobj
;
13992 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13994 PyObject
* obj0
= 0 ;
13995 char *kwnames
[] = {
13996 (char *) "self", NULL
13999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14001 result
= (bool) ((arg1
)->m_controlDown
);
14003 resultobj
= PyInt_FromLong((long)result
);
14010 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14011 PyObject
*resultobj
;
14012 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14014 PyObject
* obj0
= 0 ;
14015 PyObject
* obj1
= 0 ;
14016 char *kwnames
[] = {
14017 (char *) "self",(char *) "m_shiftDown", NULL
14020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14022 arg2
= PyInt_AsLong(obj1
) ? true : false;
14023 if (PyErr_Occurred()) SWIG_fail
;
14024 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14026 Py_INCREF(Py_None
); resultobj
= Py_None
;
14033 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14034 PyObject
*resultobj
;
14035 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14037 PyObject
* obj0
= 0 ;
14038 char *kwnames
[] = {
14039 (char *) "self", NULL
14042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14044 result
= (bool) ((arg1
)->m_shiftDown
);
14046 resultobj
= PyInt_FromLong((long)result
);
14053 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14054 PyObject
*resultobj
;
14055 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14057 PyObject
* obj0
= 0 ;
14058 PyObject
* obj1
= 0 ;
14059 char *kwnames
[] = {
14060 (char *) "self",(char *) "m_altDown", NULL
14063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14065 arg2
= PyInt_AsLong(obj1
) ? true : false;
14066 if (PyErr_Occurred()) SWIG_fail
;
14067 if (arg1
) (arg1
)->m_altDown
= arg2
;
14069 Py_INCREF(Py_None
); resultobj
= Py_None
;
14076 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14077 PyObject
*resultobj
;
14078 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14080 PyObject
* obj0
= 0 ;
14081 char *kwnames
[] = {
14082 (char *) "self", NULL
14085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14087 result
= (bool) ((arg1
)->m_altDown
);
14089 resultobj
= PyInt_FromLong((long)result
);
14096 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14097 PyObject
*resultobj
;
14098 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14100 PyObject
* obj0
= 0 ;
14101 PyObject
* obj1
= 0 ;
14102 char *kwnames
[] = {
14103 (char *) "self",(char *) "m_metaDown", NULL
14106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14108 arg2
= PyInt_AsLong(obj1
) ? true : false;
14109 if (PyErr_Occurred()) SWIG_fail
;
14110 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14112 Py_INCREF(Py_None
); resultobj
= Py_None
;
14119 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14120 PyObject
*resultobj
;
14121 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14123 PyObject
* obj0
= 0 ;
14124 char *kwnames
[] = {
14125 (char *) "self", NULL
14128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14130 result
= (bool) ((arg1
)->m_metaDown
);
14132 resultobj
= PyInt_FromLong((long)result
);
14139 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14140 PyObject
*resultobj
;
14141 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14143 PyObject
* obj0
= 0 ;
14144 PyObject
* obj1
= 0 ;
14145 char *kwnames
[] = {
14146 (char *) "self",(char *) "m_scanCode", NULL
14149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14151 arg2
= PyInt_AsLong(obj1
) ? true : false;
14152 if (PyErr_Occurred()) SWIG_fail
;
14153 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14155 Py_INCREF(Py_None
); resultobj
= Py_None
;
14162 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14163 PyObject
*resultobj
;
14164 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14166 PyObject
* obj0
= 0 ;
14167 char *kwnames
[] = {
14168 (char *) "self", NULL
14171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14173 result
= (bool) ((arg1
)->m_scanCode
);
14175 resultobj
= PyInt_FromLong((long)result
);
14182 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14183 PyObject
*resultobj
;
14184 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14185 unsigned int arg2
;
14186 PyObject
* obj0
= 0 ;
14187 PyObject
* obj1
= 0 ;
14188 char *kwnames
[] = {
14189 (char *) "self",(char *) "m_rawCode", NULL
14192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14194 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14196 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14198 Py_INCREF(Py_None
); resultobj
= Py_None
;
14205 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14206 PyObject
*resultobj
;
14207 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14208 unsigned int result
;
14209 PyObject
* obj0
= 0 ;
14210 char *kwnames
[] = {
14211 (char *) "self", NULL
14214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14216 result
= (unsigned int) ((arg1
)->m_rawCode
);
14218 resultobj
= PyInt_FromLong((long)result
);
14225 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14226 PyObject
*resultobj
;
14227 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14228 unsigned int arg2
;
14229 PyObject
* obj0
= 0 ;
14230 PyObject
* obj1
= 0 ;
14231 char *kwnames
[] = {
14232 (char *) "self",(char *) "m_rawFlags", NULL
14235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14237 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14238 if (PyErr_Occurred()) SWIG_fail
;
14239 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14241 Py_INCREF(Py_None
); resultobj
= Py_None
;
14248 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14249 PyObject
*resultobj
;
14250 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14251 unsigned int result
;
14252 PyObject
* obj0
= 0 ;
14253 char *kwnames
[] = {
14254 (char *) "self", NULL
14257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14259 result
= (unsigned int) ((arg1
)->m_rawFlags
);
14261 resultobj
= PyInt_FromLong((long)result
);
14268 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14270 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14271 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14273 return Py_BuildValue((char *)"");
14275 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14276 PyObject
*resultobj
;
14277 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14278 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14279 int arg2
= (int) 0 ;
14280 wxSizeEvent
*result
;
14282 PyObject
* obj0
= 0 ;
14283 char *kwnames
[] = {
14284 (char *) "sz",(char *) "winid", NULL
14287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14291 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14296 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14298 wxPyEndAllowThreads(__tstate
);
14299 if (PyErr_Occurred()) SWIG_fail
;
14301 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14308 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14309 PyObject
*resultobj
;
14310 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14312 PyObject
* obj0
= 0 ;
14313 char *kwnames
[] = {
14314 (char *) "self", NULL
14317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14321 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14323 wxPyEndAllowThreads(__tstate
);
14324 if (PyErr_Occurred()) SWIG_fail
;
14327 wxSize
* resultptr
;
14328 resultptr
= new wxSize((wxSize
&) result
);
14329 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14337 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14338 PyObject
*resultobj
;
14339 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14341 PyObject
* obj0
= 0 ;
14342 char *kwnames
[] = {
14343 (char *) "self", NULL
14346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14350 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14352 wxPyEndAllowThreads(__tstate
);
14353 if (PyErr_Occurred()) SWIG_fail
;
14356 wxRect
* resultptr
;
14357 resultptr
= new wxRect((wxRect
&) result
);
14358 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14366 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
;
14368 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14371 PyObject
* obj0
= 0 ;
14372 PyObject
* obj1
= 0 ;
14373 char *kwnames
[] = {
14374 (char *) "self",(char *) "rect", NULL
14377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14379 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 (arg1
)->SetRect(arg2
);
14385 wxPyEndAllowThreads(__tstate
);
14386 if (PyErr_Occurred()) SWIG_fail
;
14388 Py_INCREF(Py_None
); resultobj
= Py_None
;
14395 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14396 PyObject
*resultobj
;
14397 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14400 PyObject
* obj0
= 0 ;
14401 PyObject
* obj1
= 0 ;
14402 char *kwnames
[] = {
14403 (char *) "self",(char *) "size", NULL
14406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14408 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14412 wxSizeEvent_SetSize(arg1
,arg2
);
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 Py_INCREF(Py_None
); resultobj
= Py_None
;
14424 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
;
14426 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14427 wxSize
*arg2
= (wxSize
*) 0 ;
14428 PyObject
* obj0
= 0 ;
14429 PyObject
* obj1
= 0 ;
14430 char *kwnames
[] = {
14431 (char *) "self",(char *) "m_size", NULL
14434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14436 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14437 if (arg1
) (arg1
)->m_size
= *arg2
;
14439 Py_INCREF(Py_None
); resultobj
= Py_None
;
14446 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14447 PyObject
*resultobj
;
14448 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14450 PyObject
* obj0
= 0 ;
14451 char *kwnames
[] = {
14452 (char *) "self", NULL
14455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14457 result
= (wxSize
*)& ((arg1
)->m_size
);
14459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14466 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14467 PyObject
*resultobj
;
14468 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14469 wxRect
*arg2
= (wxRect
*) 0 ;
14470 PyObject
* obj0
= 0 ;
14471 PyObject
* obj1
= 0 ;
14472 char *kwnames
[] = {
14473 (char *) "self",(char *) "m_rect", NULL
14476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14478 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14479 if (arg1
) (arg1
)->m_rect
= *arg2
;
14481 Py_INCREF(Py_None
); resultobj
= Py_None
;
14488 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14489 PyObject
*resultobj
;
14490 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14492 PyObject
* obj0
= 0 ;
14493 char *kwnames
[] = {
14494 (char *) "self", NULL
14497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14499 result
= (wxRect
*)& ((arg1
)->m_rect
);
14501 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14508 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14510 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14511 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14513 return Py_BuildValue((char *)"");
14515 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14516 PyObject
*resultobj
;
14517 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14518 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14519 int arg2
= (int) 0 ;
14520 wxMoveEvent
*result
;
14522 PyObject
* obj0
= 0 ;
14523 char *kwnames
[] = {
14524 (char *) "pos",(char *) "winid", NULL
14527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14531 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14536 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14538 wxPyEndAllowThreads(__tstate
);
14539 if (PyErr_Occurred()) SWIG_fail
;
14541 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14548 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14549 PyObject
*resultobj
;
14550 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14552 PyObject
* obj0
= 0 ;
14553 char *kwnames
[] = {
14554 (char *) "self", NULL
14557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14561 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14563 wxPyEndAllowThreads(__tstate
);
14564 if (PyErr_Occurred()) SWIG_fail
;
14567 wxPoint
* resultptr
;
14568 resultptr
= new wxPoint((wxPoint
&) result
);
14569 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14577 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14578 PyObject
*resultobj
;
14579 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14581 PyObject
* obj0
= 0 ;
14582 char *kwnames
[] = {
14583 (char *) "self", NULL
14586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14592 wxPyEndAllowThreads(__tstate
);
14593 if (PyErr_Occurred()) SWIG_fail
;
14596 wxRect
* resultptr
;
14597 resultptr
= new wxRect((wxRect
&) result
);
14598 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14606 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14607 PyObject
*resultobj
;
14608 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14611 PyObject
* obj0
= 0 ;
14612 PyObject
* obj1
= 0 ;
14613 char *kwnames
[] = {
14614 (char *) "self",(char *) "rect", NULL
14617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14618 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14619 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 (arg1
)->SetRect(arg2
);
14625 wxPyEndAllowThreads(__tstate
);
14626 if (PyErr_Occurred()) SWIG_fail
;
14628 Py_INCREF(Py_None
); resultobj
= Py_None
;
14635 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14636 PyObject
*resultobj
;
14637 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14640 PyObject
* obj0
= 0 ;
14641 PyObject
* obj1
= 0 ;
14642 char *kwnames
[] = {
14643 (char *) "self",(char *) "pos", NULL
14646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14648 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 wxMoveEvent_SetPosition(arg1
,arg2
);
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 Py_INCREF(Py_None
); resultobj
= Py_None
;
14664 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14665 PyObject
*resultobj
;
14666 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14667 wxPoint
*arg2
= (wxPoint
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 char *kwnames
[] = {
14671 (char *) "self",(char *) "m_pos", NULL
14674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14677 if (arg1
) (arg1
)->m_pos
= *arg2
;
14679 Py_INCREF(Py_None
); resultobj
= Py_None
;
14686 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14687 PyObject
*resultobj
;
14688 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14690 PyObject
* obj0
= 0 ;
14691 char *kwnames
[] = {
14692 (char *) "self", NULL
14695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14697 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14699 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14706 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14707 PyObject
*resultobj
;
14708 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14709 wxRect
*arg2
= (wxRect
*) 0 ;
14710 PyObject
* obj0
= 0 ;
14711 PyObject
* obj1
= 0 ;
14712 char *kwnames
[] = {
14713 (char *) "self",(char *) "m_rect", NULL
14716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14719 if (arg1
) (arg1
)->m_rect
= *arg2
;
14721 Py_INCREF(Py_None
); resultobj
= Py_None
;
14728 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14729 PyObject
*resultobj
;
14730 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14732 PyObject
* obj0
= 0 ;
14733 char *kwnames
[] = {
14734 (char *) "self", NULL
14737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14739 result
= (wxRect
*)& ((arg1
)->m_rect
);
14741 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14748 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14751 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14753 return Py_BuildValue((char *)"");
14755 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
;
14757 int arg1
= (int) 0 ;
14758 wxPaintEvent
*result
;
14759 char *kwnames
[] = {
14760 (char *) "Id", NULL
14763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14766 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14768 wxPyEndAllowThreads(__tstate
);
14769 if (PyErr_Occurred()) SWIG_fail
;
14771 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14778 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14780 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14781 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14783 return Py_BuildValue((char *)"");
14785 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14786 PyObject
*resultobj
;
14787 int arg1
= (int) 0 ;
14788 wxNcPaintEvent
*result
;
14789 char *kwnames
[] = {
14790 (char *) "winid", NULL
14793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14796 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14798 wxPyEndAllowThreads(__tstate
);
14799 if (PyErr_Occurred()) SWIG_fail
;
14801 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14808 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14810 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14811 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14813 return Py_BuildValue((char *)"");
14815 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
;
14817 int arg1
= (int) 0 ;
14818 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14819 wxEraseEvent
*result
;
14820 PyObject
* obj1
= 0 ;
14821 char *kwnames
[] = {
14822 (char *) "Id",(char *) "dc", NULL
14825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14827 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14831 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14833 wxPyEndAllowThreads(__tstate
);
14834 if (PyErr_Occurred()) SWIG_fail
;
14836 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14843 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14844 PyObject
*resultobj
;
14845 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14847 PyObject
* obj0
= 0 ;
14848 char *kwnames
[] = {
14849 (char *) "self", NULL
14852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14856 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14858 wxPyEndAllowThreads(__tstate
);
14859 if (PyErr_Occurred()) SWIG_fail
;
14862 resultobj
= wxPyMake_wxObject(result
);
14870 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14872 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14873 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
14875 return Py_BuildValue((char *)"");
14877 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14878 PyObject
*resultobj
;
14879 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14880 int arg2
= (int) 0 ;
14881 wxFocusEvent
*result
;
14882 char *kwnames
[] = {
14883 (char *) "type",(char *) "winid", NULL
14886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
14888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14889 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
14891 wxPyEndAllowThreads(__tstate
);
14892 if (PyErr_Occurred()) SWIG_fail
;
14894 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
14901 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14902 PyObject
*resultobj
;
14903 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14905 PyObject
* obj0
= 0 ;
14906 char *kwnames
[] = {
14907 (char *) "self", NULL
14910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14914 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
14916 wxPyEndAllowThreads(__tstate
);
14917 if (PyErr_Occurred()) SWIG_fail
;
14920 resultobj
= wxPyMake_wxObject(result
);
14928 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14929 PyObject
*resultobj
;
14930 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14931 wxWindow
*arg2
= (wxWindow
*) 0 ;
14932 PyObject
* obj0
= 0 ;
14933 PyObject
* obj1
= 0 ;
14934 char *kwnames
[] = {
14935 (char *) "self",(char *) "win", NULL
14938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14943 (arg1
)->SetWindow(arg2
);
14945 wxPyEndAllowThreads(__tstate
);
14946 if (PyErr_Occurred()) SWIG_fail
;
14948 Py_INCREF(Py_None
); resultobj
= Py_None
;
14955 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14958 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
14960 return Py_BuildValue((char *)"");
14962 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14963 PyObject
*resultobj
;
14964 wxWindow
*arg1
= (wxWindow
*) NULL
;
14965 wxChildFocusEvent
*result
;
14966 PyObject
* obj0
= 0 ;
14967 char *kwnames
[] = {
14968 (char *) "win", NULL
14971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
14973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14977 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
14979 wxPyEndAllowThreads(__tstate
);
14980 if (PyErr_Occurred()) SWIG_fail
;
14982 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
14989 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14990 PyObject
*resultobj
;
14991 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
14993 PyObject
* obj0
= 0 ;
14994 char *kwnames
[] = {
14995 (char *) "self", NULL
14998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15002 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15004 wxPyEndAllowThreads(__tstate
);
15005 if (PyErr_Occurred()) SWIG_fail
;
15008 resultobj
= wxPyMake_wxObject(result
);
15016 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15018 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15019 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15021 return Py_BuildValue((char *)"");
15023 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15024 PyObject
*resultobj
;
15025 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15026 bool arg2
= (bool) True
;
15027 int arg3
= (int) 0 ;
15028 wxActivateEvent
*result
;
15029 PyObject
* obj1
= 0 ;
15030 char *kwnames
[] = {
15031 (char *) "type",(char *) "active",(char *) "Id", NULL
15034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15036 arg2
= PyInt_AsLong(obj1
) ? true : false;
15037 if (PyErr_Occurred()) SWIG_fail
;
15040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15041 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15043 wxPyEndAllowThreads(__tstate
);
15044 if (PyErr_Occurred()) SWIG_fail
;
15046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15053 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15054 PyObject
*resultobj
;
15055 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15057 PyObject
* obj0
= 0 ;
15058 char *kwnames
[] = {
15059 (char *) "self", NULL
15062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15066 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15068 wxPyEndAllowThreads(__tstate
);
15069 if (PyErr_Occurred()) SWIG_fail
;
15071 resultobj
= PyInt_FromLong((long)result
);
15078 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15080 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15081 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15083 return Py_BuildValue((char *)"");
15085 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15086 PyObject
*resultobj
;
15087 int arg1
= (int) 0 ;
15088 wxInitDialogEvent
*result
;
15089 char *kwnames
[] = {
15090 (char *) "Id", NULL
15093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15096 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15098 wxPyEndAllowThreads(__tstate
);
15099 if (PyErr_Occurred()) SWIG_fail
;
15101 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15108 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15110 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15111 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15113 return Py_BuildValue((char *)"");
15115 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15116 PyObject
*resultobj
;
15117 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15118 int arg2
= (int) 0 ;
15119 wxMenu
*arg3
= (wxMenu
*) NULL
;
15120 wxMenuEvent
*result
;
15121 PyObject
* obj2
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "type",(char *) "winid",(char *) "menu", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15128 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15132 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15134 wxPyEndAllowThreads(__tstate
);
15135 if (PyErr_Occurred()) SWIG_fail
;
15137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15144 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15145 PyObject
*resultobj
;
15146 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15148 PyObject
* obj0
= 0 ;
15149 char *kwnames
[] = {
15150 (char *) "self", NULL
15153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15157 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15159 wxPyEndAllowThreads(__tstate
);
15160 if (PyErr_Occurred()) SWIG_fail
;
15162 resultobj
= PyInt_FromLong((long)result
);
15169 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15170 PyObject
*resultobj
;
15171 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15173 PyObject
* obj0
= 0 ;
15174 char *kwnames
[] = {
15175 (char *) "self", NULL
15178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15182 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15184 wxPyEndAllowThreads(__tstate
);
15185 if (PyErr_Occurred()) SWIG_fail
;
15187 resultobj
= PyInt_FromLong((long)result
);
15194 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15195 PyObject
*resultobj
;
15196 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15198 PyObject
* obj0
= 0 ;
15199 char *kwnames
[] = {
15200 (char *) "self", NULL
15203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15207 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15209 wxPyEndAllowThreads(__tstate
);
15210 if (PyErr_Occurred()) SWIG_fail
;
15213 resultobj
= wxPyMake_wxObject(result
);
15221 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15223 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15224 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15226 return Py_BuildValue((char *)"");
15228 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15229 PyObject
*resultobj
;
15230 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15231 int arg2
= (int) 0 ;
15232 wxCloseEvent
*result
;
15233 char *kwnames
[] = {
15234 (char *) "type",(char *) "winid", NULL
15237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15240 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15242 wxPyEndAllowThreads(__tstate
);
15243 if (PyErr_Occurred()) SWIG_fail
;
15245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15252 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15253 PyObject
*resultobj
;
15254 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15256 PyObject
* obj0
= 0 ;
15257 PyObject
* obj1
= 0 ;
15258 char *kwnames
[] = {
15259 (char *) "self",(char *) "logOff", NULL
15262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15264 arg2
= PyInt_AsLong(obj1
) ? true : false;
15265 if (PyErr_Occurred()) SWIG_fail
;
15267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15268 (arg1
)->SetLoggingOff(arg2
);
15270 wxPyEndAllowThreads(__tstate
);
15271 if (PyErr_Occurred()) SWIG_fail
;
15273 Py_INCREF(Py_None
); resultobj
= Py_None
;
15280 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15281 PyObject
*resultobj
;
15282 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15284 PyObject
* obj0
= 0 ;
15285 char *kwnames
[] = {
15286 (char *) "self", NULL
15289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15293 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15295 wxPyEndAllowThreads(__tstate
);
15296 if (PyErr_Occurred()) SWIG_fail
;
15298 resultobj
= PyInt_FromLong((long)result
);
15305 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15306 PyObject
*resultobj
;
15307 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15308 bool arg2
= (bool) True
;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 char *kwnames
[] = {
15312 (char *) "self",(char *) "veto", NULL
15315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15318 arg2
= PyInt_AsLong(obj1
) ? true : false;
15319 if (PyErr_Occurred()) SWIG_fail
;
15322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15323 (arg1
)->Veto(arg2
);
15325 wxPyEndAllowThreads(__tstate
);
15326 if (PyErr_Occurred()) SWIG_fail
;
15328 Py_INCREF(Py_None
); resultobj
= Py_None
;
15335 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15336 PyObject
*resultobj
;
15337 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15339 PyObject
* obj0
= 0 ;
15340 PyObject
* obj1
= 0 ;
15341 char *kwnames
[] = {
15342 (char *) "self",(char *) "canVeto", NULL
15345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15347 arg2
= PyInt_AsLong(obj1
) ? true : false;
15348 if (PyErr_Occurred()) SWIG_fail
;
15350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15351 (arg1
)->SetCanVeto(arg2
);
15353 wxPyEndAllowThreads(__tstate
);
15354 if (PyErr_Occurred()) SWIG_fail
;
15356 Py_INCREF(Py_None
); resultobj
= Py_None
;
15363 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15364 PyObject
*resultobj
;
15365 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15367 PyObject
* obj0
= 0 ;
15368 char *kwnames
[] = {
15369 (char *) "self", NULL
15372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15376 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15378 wxPyEndAllowThreads(__tstate
);
15379 if (PyErr_Occurred()) SWIG_fail
;
15381 resultobj
= PyInt_FromLong((long)result
);
15388 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15389 PyObject
*resultobj
;
15390 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15392 PyObject
* obj0
= 0 ;
15393 char *kwnames
[] = {
15394 (char *) "self", NULL
15397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15401 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15403 wxPyEndAllowThreads(__tstate
);
15404 if (PyErr_Occurred()) SWIG_fail
;
15406 resultobj
= PyInt_FromLong((long)result
);
15413 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15415 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15416 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15418 return Py_BuildValue((char *)"");
15420 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15421 PyObject
*resultobj
;
15422 int arg1
= (int) 0 ;
15423 bool arg2
= (bool) False
;
15424 wxShowEvent
*result
;
15425 PyObject
* obj1
= 0 ;
15426 char *kwnames
[] = {
15427 (char *) "winid",(char *) "show", NULL
15430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15432 arg2
= PyInt_AsLong(obj1
) ? true : false;
15433 if (PyErr_Occurred()) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15439 wxPyEndAllowThreads(__tstate
);
15440 if (PyErr_Occurred()) SWIG_fail
;
15442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15449 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15450 PyObject
*resultobj
;
15451 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15453 PyObject
* obj0
= 0 ;
15454 PyObject
* obj1
= 0 ;
15455 char *kwnames
[] = {
15456 (char *) "self",(char *) "show", NULL
15459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15461 arg2
= PyInt_AsLong(obj1
) ? true : false;
15462 if (PyErr_Occurred()) SWIG_fail
;
15464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15465 (arg1
)->SetShow(arg2
);
15467 wxPyEndAllowThreads(__tstate
);
15468 if (PyErr_Occurred()) SWIG_fail
;
15470 Py_INCREF(Py_None
); resultobj
= Py_None
;
15477 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15478 PyObject
*resultobj
;
15479 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15481 PyObject
* obj0
= 0 ;
15482 char *kwnames
[] = {
15483 (char *) "self", NULL
15486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15490 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15492 wxPyEndAllowThreads(__tstate
);
15493 if (PyErr_Occurred()) SWIG_fail
;
15495 resultobj
= PyInt_FromLong((long)result
);
15502 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15504 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15505 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15507 return Py_BuildValue((char *)"");
15509 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15510 PyObject
*resultobj
;
15511 int arg1
= (int) 0 ;
15512 bool arg2
= (bool) True
;
15513 wxIconizeEvent
*result
;
15514 PyObject
* obj1
= 0 ;
15515 char *kwnames
[] = {
15516 (char *) "id",(char *) "iconized", NULL
15519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15521 arg2
= PyInt_AsLong(obj1
) ? true : false;
15522 if (PyErr_Occurred()) SWIG_fail
;
15525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15528 wxPyEndAllowThreads(__tstate
);
15529 if (PyErr_Occurred()) SWIG_fail
;
15531 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15538 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15539 PyObject
*resultobj
;
15540 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15542 PyObject
* obj0
= 0 ;
15543 char *kwnames
[] = {
15544 (char *) "self", NULL
15547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15551 result
= (bool)(arg1
)->Iconized();
15553 wxPyEndAllowThreads(__tstate
);
15554 if (PyErr_Occurred()) SWIG_fail
;
15556 resultobj
= PyInt_FromLong((long)result
);
15563 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15565 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15566 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15568 return Py_BuildValue((char *)"");
15570 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15571 PyObject
*resultobj
;
15572 int arg1
= (int) 0 ;
15573 wxMaximizeEvent
*result
;
15574 char *kwnames
[] = {
15575 (char *) "id", NULL
15578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15581 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15583 wxPyEndAllowThreads(__tstate
);
15584 if (PyErr_Occurred()) SWIG_fail
;
15586 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15593 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15595 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15596 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15598 return Py_BuildValue((char *)"");
15600 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15601 PyObject
*resultobj
;
15602 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15604 PyObject
* obj0
= 0 ;
15605 char *kwnames
[] = {
15606 (char *) "self", NULL
15609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15613 result
= (arg1
)->GetPosition();
15615 wxPyEndAllowThreads(__tstate
);
15616 if (PyErr_Occurred()) SWIG_fail
;
15619 wxPoint
* resultptr
;
15620 resultptr
= new wxPoint((wxPoint
&) result
);
15621 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15629 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15630 PyObject
*resultobj
;
15631 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15633 PyObject
* obj0
= 0 ;
15634 char *kwnames
[] = {
15635 (char *) "self", NULL
15638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15642 result
= (int)(arg1
)->GetNumberOfFiles();
15644 wxPyEndAllowThreads(__tstate
);
15645 if (PyErr_Occurred()) SWIG_fail
;
15647 resultobj
= PyInt_FromLong((long)result
);
15654 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15655 PyObject
*resultobj
;
15656 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15658 PyObject
* obj0
= 0 ;
15659 char *kwnames
[] = {
15660 (char *) "self", NULL
15663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15667 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15669 wxPyEndAllowThreads(__tstate
);
15670 if (PyErr_Occurred()) SWIG_fail
;
15672 resultobj
= result
;
15679 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15681 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15682 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15684 return Py_BuildValue((char *)"");
15686 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15687 PyObject
*resultobj
;
15688 int arg1
= (int) 0 ;
15689 wxUpdateUIEvent
*result
;
15690 char *kwnames
[] = {
15691 (char *) "commandId", NULL
15694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15697 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15699 wxPyEndAllowThreads(__tstate
);
15700 if (PyErr_Occurred()) SWIG_fail
;
15702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15709 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15710 PyObject
*resultobj
;
15711 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15713 PyObject
* obj0
= 0 ;
15714 char *kwnames
[] = {
15715 (char *) "self", NULL
15718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15722 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15724 wxPyEndAllowThreads(__tstate
);
15725 if (PyErr_Occurred()) SWIG_fail
;
15727 resultobj
= PyInt_FromLong((long)result
);
15734 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15735 PyObject
*resultobj
;
15736 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15738 PyObject
* obj0
= 0 ;
15739 char *kwnames
[] = {
15740 (char *) "self", NULL
15743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15747 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15749 wxPyEndAllowThreads(__tstate
);
15750 if (PyErr_Occurred()) SWIG_fail
;
15752 resultobj
= PyInt_FromLong((long)result
);
15759 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15760 PyObject
*resultobj
;
15761 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15763 PyObject
* obj0
= 0 ;
15764 char *kwnames
[] = {
15765 (char *) "self", NULL
15768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15772 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15774 wxPyEndAllowThreads(__tstate
);
15775 if (PyErr_Occurred()) SWIG_fail
;
15779 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15781 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15790 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15791 PyObject
*resultobj
;
15792 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15794 PyObject
* obj0
= 0 ;
15795 char *kwnames
[] = {
15796 (char *) "self", NULL
15799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15803 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15805 wxPyEndAllowThreads(__tstate
);
15806 if (PyErr_Occurred()) SWIG_fail
;
15808 resultobj
= PyInt_FromLong((long)result
);
15815 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15816 PyObject
*resultobj
;
15817 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15819 PyObject
* obj0
= 0 ;
15820 char *kwnames
[] = {
15821 (char *) "self", NULL
15824 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15825 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15828 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15830 wxPyEndAllowThreads(__tstate
);
15831 if (PyErr_Occurred()) SWIG_fail
;
15833 resultobj
= PyInt_FromLong((long)result
);
15840 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15841 PyObject
*resultobj
;
15842 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15844 PyObject
* obj0
= 0 ;
15845 char *kwnames
[] = {
15846 (char *) "self", NULL
15849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
15850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15853 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
15855 wxPyEndAllowThreads(__tstate
);
15856 if (PyErr_Occurred()) SWIG_fail
;
15858 resultobj
= PyInt_FromLong((long)result
);
15865 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15866 PyObject
*resultobj
;
15867 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15869 PyObject
* obj0
= 0 ;
15870 PyObject
* obj1
= 0 ;
15871 char *kwnames
[] = {
15872 (char *) "self",(char *) "check", NULL
15875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
15876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15877 arg2
= PyInt_AsLong(obj1
) ? true : false;
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15881 (arg1
)->Check(arg2
);
15883 wxPyEndAllowThreads(__tstate
);
15884 if (PyErr_Occurred()) SWIG_fail
;
15886 Py_INCREF(Py_None
); resultobj
= Py_None
;
15893 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15894 PyObject
*resultobj
;
15895 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15897 PyObject
* obj0
= 0 ;
15898 PyObject
* obj1
= 0 ;
15899 char *kwnames
[] = {
15900 (char *) "self",(char *) "enable", NULL
15903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15905 arg2
= PyInt_AsLong(obj1
) ? true : false;
15906 if (PyErr_Occurred()) SWIG_fail
;
15908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15909 (arg1
)->Enable(arg2
);
15911 wxPyEndAllowThreads(__tstate
);
15912 if (PyErr_Occurred()) SWIG_fail
;
15914 Py_INCREF(Py_None
); resultobj
= Py_None
;
15921 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15922 PyObject
*resultobj
;
15923 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15924 wxString
*arg2
= 0 ;
15925 bool temp2
= False
;
15926 PyObject
* obj0
= 0 ;
15927 PyObject
* obj1
= 0 ;
15928 char *kwnames
[] = {
15929 (char *) "self",(char *) "text", NULL
15932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15935 arg2
= wxString_in_helper(obj1
);
15936 if (arg2
== NULL
) SWIG_fail
;
15940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15941 (arg1
)->SetText((wxString
const &)*arg2
);
15943 wxPyEndAllowThreads(__tstate
);
15944 if (PyErr_Occurred()) SWIG_fail
;
15946 Py_INCREF(Py_None
); resultobj
= Py_None
;
15961 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15962 PyObject
*resultobj
;
15964 char *kwnames
[] = {
15965 (char *) "updateInterval", NULL
15968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
15970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15971 wxUpdateUIEvent::SetUpdateInterval(arg1
);
15973 wxPyEndAllowThreads(__tstate
);
15974 if (PyErr_Occurred()) SWIG_fail
;
15976 Py_INCREF(Py_None
); resultobj
= Py_None
;
15983 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15984 PyObject
*resultobj
;
15986 char *kwnames
[] = {
15990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
15992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15993 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
15995 wxPyEndAllowThreads(__tstate
);
15996 if (PyErr_Occurred()) SWIG_fail
;
15998 resultobj
= PyInt_FromLong((long)result
);
16005 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16006 PyObject
*resultobj
;
16007 wxWindow
*arg1
= (wxWindow
*) 0 ;
16009 PyObject
* obj0
= 0 ;
16010 char *kwnames
[] = {
16011 (char *) "win", NULL
16014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16018 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16020 wxPyEndAllowThreads(__tstate
);
16021 if (PyErr_Occurred()) SWIG_fail
;
16023 resultobj
= PyInt_FromLong((long)result
);
16030 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16031 PyObject
*resultobj
;
16032 char *kwnames
[] = {
16036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16039 wxUpdateUIEvent::ResetUpdateTime();
16041 wxPyEndAllowThreads(__tstate
);
16042 if (PyErr_Occurred()) SWIG_fail
;
16044 Py_INCREF(Py_None
); resultobj
= Py_None
;
16051 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16052 PyObject
*resultobj
;
16054 char *kwnames
[] = {
16055 (char *) "mode", NULL
16058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16061 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16063 wxPyEndAllowThreads(__tstate
);
16064 if (PyErr_Occurred()) SWIG_fail
;
16066 Py_INCREF(Py_None
); resultobj
= Py_None
;
16073 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16074 PyObject
*resultobj
;
16076 char *kwnames
[] = {
16080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16083 result
= (int)wxUpdateUIEvent::GetMode();
16085 wxPyEndAllowThreads(__tstate
);
16086 if (PyErr_Occurred()) SWIG_fail
;
16088 resultobj
= PyInt_FromLong((long)result
);
16095 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16097 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16098 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16100 return Py_BuildValue((char *)"");
16102 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16103 PyObject
*resultobj
;
16104 wxSysColourChangedEvent
*result
;
16105 char *kwnames
[] = {
16109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16112 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16124 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16126 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16127 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16129 return Py_BuildValue((char *)"");
16131 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16132 PyObject
*resultobj
;
16133 int arg1
= (int) 0 ;
16134 wxWindow
*arg2
= (wxWindow
*) NULL
;
16135 wxMouseCaptureChangedEvent
*result
;
16136 PyObject
* obj1
= 0 ;
16137 char *kwnames
[] = {
16138 (char *) "winid",(char *) "gainedCapture", NULL
16141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16147 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16149 wxPyEndAllowThreads(__tstate
);
16150 if (PyErr_Occurred()) SWIG_fail
;
16152 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16159 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16160 PyObject
*resultobj
;
16161 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16163 PyObject
* obj0
= 0 ;
16164 char *kwnames
[] = {
16165 (char *) "self", NULL
16168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16172 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16174 wxPyEndAllowThreads(__tstate
);
16175 if (PyErr_Occurred()) SWIG_fail
;
16178 resultobj
= wxPyMake_wxObject(result
);
16186 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16188 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16189 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16191 return Py_BuildValue((char *)"");
16193 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16194 PyObject
*resultobj
;
16195 wxDisplayChangedEvent
*result
;
16196 char *kwnames
[] = {
16200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16203 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16205 wxPyEndAllowThreads(__tstate
);
16206 if (PyErr_Occurred()) SWIG_fail
;
16208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16215 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16217 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16218 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16220 return Py_BuildValue((char *)"");
16222 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16223 PyObject
*resultobj
;
16224 int arg1
= (int) 0 ;
16225 wxPaletteChangedEvent
*result
;
16226 char *kwnames
[] = {
16227 (char *) "id", NULL
16230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16233 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16235 wxPyEndAllowThreads(__tstate
);
16236 if (PyErr_Occurred()) SWIG_fail
;
16238 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16245 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16246 PyObject
*resultobj
;
16247 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16248 wxWindow
*arg2
= (wxWindow
*) 0 ;
16249 PyObject
* obj0
= 0 ;
16250 PyObject
* obj1
= 0 ;
16251 char *kwnames
[] = {
16252 (char *) "self",(char *) "win", NULL
16255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16257 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16260 (arg1
)->SetChangedWindow(arg2
);
16262 wxPyEndAllowThreads(__tstate
);
16263 if (PyErr_Occurred()) SWIG_fail
;
16265 Py_INCREF(Py_None
); resultobj
= Py_None
;
16272 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16273 PyObject
*resultobj
;
16274 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16276 PyObject
* obj0
= 0 ;
16277 char *kwnames
[] = {
16278 (char *) "self", NULL
16281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16285 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16287 wxPyEndAllowThreads(__tstate
);
16288 if (PyErr_Occurred()) SWIG_fail
;
16291 resultobj
= wxPyMake_wxObject(result
);
16299 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16302 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16304 return Py_BuildValue((char *)"");
16306 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16307 PyObject
*resultobj
;
16308 int arg1
= (int) 0 ;
16309 wxQueryNewPaletteEvent
*result
;
16310 char *kwnames
[] = {
16311 (char *) "winid", NULL
16314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16317 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16319 wxPyEndAllowThreads(__tstate
);
16320 if (PyErr_Occurred()) SWIG_fail
;
16322 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16329 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16330 PyObject
*resultobj
;
16331 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16333 PyObject
* obj0
= 0 ;
16334 PyObject
* obj1
= 0 ;
16335 char *kwnames
[] = {
16336 (char *) "self",(char *) "realized", NULL
16339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16341 arg2
= PyInt_AsLong(obj1
) ? true : false;
16342 if (PyErr_Occurred()) SWIG_fail
;
16344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16345 (arg1
)->SetPaletteRealized(arg2
);
16347 wxPyEndAllowThreads(__tstate
);
16348 if (PyErr_Occurred()) SWIG_fail
;
16350 Py_INCREF(Py_None
); resultobj
= Py_None
;
16357 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16358 PyObject
*resultobj
;
16359 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16361 PyObject
* obj0
= 0 ;
16362 char *kwnames
[] = {
16363 (char *) "self", NULL
16366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16370 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16372 wxPyEndAllowThreads(__tstate
);
16373 if (PyErr_Occurred()) SWIG_fail
;
16375 resultobj
= PyInt_FromLong((long)result
);
16382 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16385 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16387 return Py_BuildValue((char *)"");
16389 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16390 PyObject
*resultobj
;
16391 wxNavigationKeyEvent
*result
;
16392 char *kwnames
[] = {
16396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16399 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16401 wxPyEndAllowThreads(__tstate
);
16402 if (PyErr_Occurred()) SWIG_fail
;
16404 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16411 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16412 PyObject
*resultobj
;
16413 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16415 PyObject
* obj0
= 0 ;
16416 char *kwnames
[] = {
16417 (char *) "self", NULL
16420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16424 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16426 wxPyEndAllowThreads(__tstate
);
16427 if (PyErr_Occurred()) SWIG_fail
;
16429 resultobj
= PyInt_FromLong((long)result
);
16436 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16437 PyObject
*resultobj
;
16438 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16440 PyObject
* obj0
= 0 ;
16441 PyObject
* obj1
= 0 ;
16442 char *kwnames
[] = {
16443 (char *) "self",(char *) "bForward", NULL
16446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16448 arg2
= PyInt_AsLong(obj1
) ? true : false;
16449 if (PyErr_Occurred()) SWIG_fail
;
16451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16452 (arg1
)->SetDirection(arg2
);
16454 wxPyEndAllowThreads(__tstate
);
16455 if (PyErr_Occurred()) SWIG_fail
;
16457 Py_INCREF(Py_None
); resultobj
= Py_None
;
16464 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16465 PyObject
*resultobj
;
16466 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16468 PyObject
* obj0
= 0 ;
16469 char *kwnames
[] = {
16470 (char *) "self", NULL
16473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16479 wxPyEndAllowThreads(__tstate
);
16480 if (PyErr_Occurred()) SWIG_fail
;
16482 resultobj
= PyInt_FromLong((long)result
);
16489 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16490 PyObject
*resultobj
;
16491 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16493 PyObject
* obj0
= 0 ;
16494 PyObject
* obj1
= 0 ;
16495 char *kwnames
[] = {
16496 (char *) "self",(char *) "bIs", NULL
16499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16501 arg2
= PyInt_AsLong(obj1
) ? true : false;
16502 if (PyErr_Occurred()) SWIG_fail
;
16504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16505 (arg1
)->SetWindowChange(arg2
);
16507 wxPyEndAllowThreads(__tstate
);
16508 if (PyErr_Occurred()) SWIG_fail
;
16510 Py_INCREF(Py_None
); resultobj
= Py_None
;
16517 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16521 PyObject
* obj0
= 0 ;
16522 char *kwnames
[] = {
16523 (char *) "self", NULL
16526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16530 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16532 wxPyEndAllowThreads(__tstate
);
16533 if (PyErr_Occurred()) SWIG_fail
;
16536 resultobj
= wxPyMake_wxObject(result
);
16544 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
;
16546 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16547 wxWindow
*arg2
= (wxWindow
*) 0 ;
16548 PyObject
* obj0
= 0 ;
16549 PyObject
* obj1
= 0 ;
16550 char *kwnames
[] = {
16551 (char *) "self",(char *) "win", NULL
16554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16556 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16559 (arg1
)->SetCurrentFocus(arg2
);
16561 wxPyEndAllowThreads(__tstate
);
16562 if (PyErr_Occurred()) SWIG_fail
;
16564 Py_INCREF(Py_None
); resultobj
= Py_None
;
16571 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16573 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16574 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16576 return Py_BuildValue((char *)"");
16578 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16579 PyObject
*resultobj
;
16580 wxWindow
*arg1
= (wxWindow
*) NULL
;
16581 wxWindowCreateEvent
*result
;
16582 PyObject
* obj0
= 0 ;
16583 char *kwnames
[] = {
16584 (char *) "win", NULL
16587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16593 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16595 wxPyEndAllowThreads(__tstate
);
16596 if (PyErr_Occurred()) SWIG_fail
;
16598 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16605 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16606 PyObject
*resultobj
;
16607 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16609 PyObject
* obj0
= 0 ;
16610 char *kwnames
[] = {
16611 (char *) "self", NULL
16614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16618 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16620 wxPyEndAllowThreads(__tstate
);
16621 if (PyErr_Occurred()) SWIG_fail
;
16624 resultobj
= wxPyMake_wxObject(result
);
16632 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16634 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16635 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16637 return Py_BuildValue((char *)"");
16639 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16640 PyObject
*resultobj
;
16641 wxWindow
*arg1
= (wxWindow
*) NULL
;
16642 wxWindowDestroyEvent
*result
;
16643 PyObject
* obj0
= 0 ;
16644 char *kwnames
[] = {
16645 (char *) "win", NULL
16648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16654 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16656 wxPyEndAllowThreads(__tstate
);
16657 if (PyErr_Occurred()) SWIG_fail
;
16659 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16666 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16667 PyObject
*resultobj
;
16668 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16670 PyObject
* obj0
= 0 ;
16671 char *kwnames
[] = {
16672 (char *) "self", NULL
16675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16679 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16681 wxPyEndAllowThreads(__tstate
);
16682 if (PyErr_Occurred()) SWIG_fail
;
16685 resultobj
= wxPyMake_wxObject(result
);
16693 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16695 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16696 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16698 return Py_BuildValue((char *)"");
16700 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16701 PyObject
*resultobj
;
16702 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16703 int arg2
= (int) 0 ;
16704 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16705 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16706 wxContextMenuEvent
*result
;
16708 PyObject
* obj2
= 0 ;
16709 char *kwnames
[] = {
16710 (char *) "type",(char *) "winid",(char *) "pt", NULL
16713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16717 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16722 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16724 wxPyEndAllowThreads(__tstate
);
16725 if (PyErr_Occurred()) SWIG_fail
;
16727 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16734 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16735 PyObject
*resultobj
;
16736 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16738 PyObject
* obj0
= 0 ;
16739 char *kwnames
[] = {
16740 (char *) "self", NULL
16743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16748 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16749 result
= (wxPoint
*) &_result_ref
;
16752 wxPyEndAllowThreads(__tstate
);
16753 if (PyErr_Occurred()) SWIG_fail
;
16755 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16762 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16763 PyObject
*resultobj
;
16764 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16765 wxPoint
*arg2
= 0 ;
16767 PyObject
* obj0
= 0 ;
16768 PyObject
* obj1
= 0 ;
16769 char *kwnames
[] = {
16770 (char *) "self",(char *) "pos", NULL
16773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16777 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16781 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16783 wxPyEndAllowThreads(__tstate
);
16784 if (PyErr_Occurred()) SWIG_fail
;
16786 Py_INCREF(Py_None
); resultobj
= Py_None
;
16793 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16795 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16796 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16798 return Py_BuildValue((char *)"");
16800 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16801 PyObject
*resultobj
;
16802 wxIdleEvent
*result
;
16803 char *kwnames
[] = {
16807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16810 result
= (wxIdleEvent
*)new wxIdleEvent();
16812 wxPyEndAllowThreads(__tstate
);
16813 if (PyErr_Occurred()) SWIG_fail
;
16815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16822 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16823 PyObject
*resultobj
;
16824 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16825 bool arg2
= (bool) True
;
16826 PyObject
* obj0
= 0 ;
16827 PyObject
* obj1
= 0 ;
16828 char *kwnames
[] = {
16829 (char *) "self",(char *) "needMore", NULL
16832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16835 arg2
= PyInt_AsLong(obj1
) ? true : false;
16836 if (PyErr_Occurred()) SWIG_fail
;
16839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16840 (arg1
)->RequestMore(arg2
);
16842 wxPyEndAllowThreads(__tstate
);
16843 if (PyErr_Occurred()) SWIG_fail
;
16845 Py_INCREF(Py_None
); resultobj
= Py_None
;
16852 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16853 PyObject
*resultobj
;
16854 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16856 PyObject
* obj0
= 0 ;
16857 char *kwnames
[] = {
16858 (char *) "self", NULL
16861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16865 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16867 wxPyEndAllowThreads(__tstate
);
16868 if (PyErr_Occurred()) SWIG_fail
;
16870 resultobj
= PyInt_FromLong((long)result
);
16877 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16878 PyObject
*resultobj
;
16880 char *kwnames
[] = {
16881 (char *) "mode", NULL
16884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16887 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
16889 wxPyEndAllowThreads(__tstate
);
16890 if (PyErr_Occurred()) SWIG_fail
;
16892 Py_INCREF(Py_None
); resultobj
= Py_None
;
16899 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16900 PyObject
*resultobj
;
16902 char *kwnames
[] = {
16906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 result
= (int)wxIdleEvent::GetMode();
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 resultobj
= PyInt_FromLong((long)result
);
16921 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
;
16923 wxWindow
*arg1
= (wxWindow
*) 0 ;
16925 PyObject
* obj0
= 0 ;
16926 char *kwnames
[] = {
16927 (char *) "win", NULL
16930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
16931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16934 result
= (bool)wxIdleEvent::CanSend(arg1
);
16936 wxPyEndAllowThreads(__tstate
);
16937 if (PyErr_Occurred()) SWIG_fail
;
16939 resultobj
= PyInt_FromLong((long)result
);
16946 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16948 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16949 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
16951 return Py_BuildValue((char *)"");
16953 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16954 PyObject
*resultobj
;
16955 int arg1
= (int) 0 ;
16956 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
16958 char *kwnames
[] = {
16959 (char *) "winid",(char *) "commandType", NULL
16962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16965 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
16967 wxPyEndAllowThreads(__tstate
);
16968 if (PyErr_Occurred()) SWIG_fail
;
16970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
16977 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
;
16979 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
16980 PyObject
* obj0
= 0 ;
16981 char *kwnames
[] = {
16982 (char *) "self", NULL
16985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
16986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16991 wxPyEndAllowThreads(__tstate
);
16992 if (PyErr_Occurred()) SWIG_fail
;
16994 Py_INCREF(Py_None
); resultobj
= Py_None
;
17001 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17002 PyObject
*resultobj
;
17003 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17004 PyObject
*arg2
= (PyObject
*) 0 ;
17005 PyObject
* obj0
= 0 ;
17006 PyObject
* obj1
= 0 ;
17007 char *kwnames
[] = {
17008 (char *) "self",(char *) "self", NULL
17011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17016 (arg1
)->SetSelf(arg2
);
17018 wxPyEndAllowThreads(__tstate
);
17019 if (PyErr_Occurred()) SWIG_fail
;
17021 Py_INCREF(Py_None
); resultobj
= Py_None
;
17028 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17029 PyObject
*resultobj
;
17030 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17032 PyObject
* obj0
= 0 ;
17033 char *kwnames
[] = {
17034 (char *) "self", NULL
17037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17041 result
= (PyObject
*)(arg1
)->GetSelf();
17043 wxPyEndAllowThreads(__tstate
);
17044 if (PyErr_Occurred()) SWIG_fail
;
17046 resultobj
= result
;
17053 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17056 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17058 return Py_BuildValue((char *)"");
17060 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17061 PyObject
*resultobj
;
17062 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17063 int arg2
= (int) 0 ;
17064 wxPyCommandEvent
*result
;
17065 char *kwnames
[] = {
17066 (char *) "commandType",(char *) "id", NULL
17069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17072 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17084 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17085 PyObject
*resultobj
;
17086 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17087 PyObject
* obj0
= 0 ;
17088 char *kwnames
[] = {
17089 (char *) "self", NULL
17092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17098 wxPyEndAllowThreads(__tstate
);
17099 if (PyErr_Occurred()) SWIG_fail
;
17101 Py_INCREF(Py_None
); resultobj
= Py_None
;
17108 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17109 PyObject
*resultobj
;
17110 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17111 PyObject
*arg2
= (PyObject
*) 0 ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char *kwnames
[] = {
17115 (char *) "self",(char *) "self", NULL
17118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 (arg1
)->SetSelf(arg2
);
17125 wxPyEndAllowThreads(__tstate
);
17126 if (PyErr_Occurred()) SWIG_fail
;
17128 Py_INCREF(Py_None
); resultobj
= Py_None
;
17135 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17136 PyObject
*resultobj
;
17137 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17139 PyObject
* obj0
= 0 ;
17140 char *kwnames
[] = {
17141 (char *) "self", NULL
17144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17148 result
= (PyObject
*)(arg1
)->GetSelf();
17150 wxPyEndAllowThreads(__tstate
);
17151 if (PyErr_Occurred()) SWIG_fail
;
17153 resultobj
= result
;
17160 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17162 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17163 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17165 return Py_BuildValue((char *)"");
17167 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17168 PyObject
*resultobj
;
17170 char *kwnames
[] = {
17174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17177 result
= (wxPyApp
*)new_wxPyApp();
17179 wxPyEndAllowThreads(__tstate
);
17180 if (PyErr_Occurred()) SWIG_fail
;
17183 resultobj
= wxPyMake_wxObject(result
);
17191 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17192 PyObject
*resultobj
;
17193 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17194 PyObject
* obj0
= 0 ;
17195 char *kwnames
[] = {
17196 (char *) "self", NULL
17199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17205 wxPyEndAllowThreads(__tstate
);
17206 if (PyErr_Occurred()) SWIG_fail
;
17208 Py_INCREF(Py_None
); resultobj
= Py_None
;
17215 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17216 PyObject
*resultobj
;
17217 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17218 PyObject
*arg2
= (PyObject
*) 0 ;
17219 PyObject
*arg3
= (PyObject
*) 0 ;
17220 PyObject
* obj0
= 0 ;
17221 PyObject
* obj1
= 0 ;
17222 PyObject
* obj2
= 0 ;
17223 char *kwnames
[] = {
17224 (char *) "self",(char *) "self",(char *) "_class", NULL
17227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17233 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17235 wxPyEndAllowThreads(__tstate
);
17236 if (PyErr_Occurred()) SWIG_fail
;
17238 Py_INCREF(Py_None
); resultobj
= Py_None
;
17245 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17246 PyObject
*resultobj
;
17247 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17249 PyObject
* obj0
= 0 ;
17250 char *kwnames
[] = {
17251 (char *) "self", NULL
17254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17258 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17260 wxPyEndAllowThreads(__tstate
);
17261 if (PyErr_Occurred()) SWIG_fail
;
17265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17276 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17277 PyObject
*resultobj
;
17278 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17279 wxString
*arg2
= 0 ;
17280 bool temp2
= False
;
17281 PyObject
* obj0
= 0 ;
17282 PyObject
* obj1
= 0 ;
17283 char *kwnames
[] = {
17284 (char *) "self",(char *) "name", NULL
17287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17290 arg2
= wxString_in_helper(obj1
);
17291 if (arg2
== NULL
) SWIG_fail
;
17295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17296 (arg1
)->SetAppName((wxString
const &)*arg2
);
17298 wxPyEndAllowThreads(__tstate
);
17299 if (PyErr_Occurred()) SWIG_fail
;
17301 Py_INCREF(Py_None
); resultobj
= Py_None
;
17316 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17317 PyObject
*resultobj
;
17318 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17320 PyObject
* obj0
= 0 ;
17321 char *kwnames
[] = {
17322 (char *) "self", NULL
17325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17329 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17331 wxPyEndAllowThreads(__tstate
);
17332 if (PyErr_Occurred()) SWIG_fail
;
17336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17347 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17348 PyObject
*resultobj
;
17349 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17350 wxString
*arg2
= 0 ;
17351 bool temp2
= False
;
17352 PyObject
* obj0
= 0 ;
17353 PyObject
* obj1
= 0 ;
17354 char *kwnames
[] = {
17355 (char *) "self",(char *) "name", NULL
17358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17361 arg2
= wxString_in_helper(obj1
);
17362 if (arg2
== NULL
) SWIG_fail
;
17366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17367 (arg1
)->SetClassName((wxString
const &)*arg2
);
17369 wxPyEndAllowThreads(__tstate
);
17370 if (PyErr_Occurred()) SWIG_fail
;
17372 Py_INCREF(Py_None
); resultobj
= Py_None
;
17387 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17388 PyObject
*resultobj
;
17389 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17391 PyObject
* obj0
= 0 ;
17392 char *kwnames
[] = {
17393 (char *) "self", NULL
17396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17401 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17402 result
= (wxString
*) &_result_ref
;
17405 wxPyEndAllowThreads(__tstate
);
17406 if (PyErr_Occurred()) SWIG_fail
;
17408 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17415 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17416 PyObject
*resultobj
;
17417 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17418 wxString
*arg2
= 0 ;
17419 bool temp2
= False
;
17420 PyObject
* obj0
= 0 ;
17421 PyObject
* obj1
= 0 ;
17422 char *kwnames
[] = {
17423 (char *) "self",(char *) "name", NULL
17426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17429 arg2
= wxString_in_helper(obj1
);
17430 if (arg2
== NULL
) SWIG_fail
;
17434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17435 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17437 wxPyEndAllowThreads(__tstate
);
17438 if (PyErr_Occurred()) SWIG_fail
;
17440 Py_INCREF(Py_None
); resultobj
= Py_None
;
17455 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17456 PyObject
*resultobj
;
17457 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17458 wxAppTraits
*result
;
17459 PyObject
* obj0
= 0 ;
17460 char *kwnames
[] = {
17461 (char *) "self", NULL
17464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17468 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17470 wxPyEndAllowThreads(__tstate
);
17471 if (PyErr_Occurred()) SWIG_fail
;
17473 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17480 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17481 PyObject
*resultobj
;
17482 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17483 PyObject
* obj0
= 0 ;
17484 char *kwnames
[] = {
17485 (char *) "self", NULL
17488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17492 (arg1
)->ProcessPendingEvents();
17494 wxPyEndAllowThreads(__tstate
);
17495 if (PyErr_Occurred()) SWIG_fail
;
17497 Py_INCREF(Py_None
); resultobj
= Py_None
;
17504 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17505 PyObject
*resultobj
;
17506 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17507 bool arg2
= (bool) False
;
17509 PyObject
* obj0
= 0 ;
17510 PyObject
* obj1
= 0 ;
17511 char *kwnames
[] = {
17512 (char *) "self",(char *) "onlyIfNeeded", NULL
17515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17518 arg2
= PyInt_AsLong(obj1
) ? true : false;
17519 if (PyErr_Occurred()) SWIG_fail
;
17522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17523 result
= (bool)(arg1
)->Yield(arg2
);
17525 wxPyEndAllowThreads(__tstate
);
17526 if (PyErr_Occurred()) SWIG_fail
;
17528 resultobj
= PyInt_FromLong((long)result
);
17535 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17536 PyObject
*resultobj
;
17537 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17538 PyObject
* obj0
= 0 ;
17539 char *kwnames
[] = {
17540 (char *) "self", NULL
17543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17547 (arg1
)->WakeUpIdle();
17549 wxPyEndAllowThreads(__tstate
);
17550 if (PyErr_Occurred()) SWIG_fail
;
17552 Py_INCREF(Py_None
); resultobj
= Py_None
;
17559 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17560 PyObject
*resultobj
;
17561 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17563 PyObject
* obj0
= 0 ;
17564 char *kwnames
[] = {
17565 (char *) "self", NULL
17568 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17572 result
= (int)(arg1
)->MainLoop();
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= PyInt_FromLong((long)result
);
17584 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17585 PyObject
*resultobj
;
17586 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17587 PyObject
* obj0
= 0 ;
17588 char *kwnames
[] = {
17589 (char *) "self", NULL
17592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17598 wxPyEndAllowThreads(__tstate
);
17599 if (PyErr_Occurred()) SWIG_fail
;
17601 Py_INCREF(Py_None
); resultobj
= Py_None
;
17608 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17609 PyObject
*resultobj
;
17610 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17611 PyObject
* obj0
= 0 ;
17612 char *kwnames
[] = {
17613 (char *) "self", NULL
17616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17620 (arg1
)->ExitMainLoop();
17622 wxPyEndAllowThreads(__tstate
);
17623 if (PyErr_Occurred()) SWIG_fail
;
17625 Py_INCREF(Py_None
); resultobj
= Py_None
;
17632 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17633 PyObject
*resultobj
;
17634 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 char *kwnames
[] = {
17638 (char *) "self", NULL
17641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17645 result
= (bool)(arg1
)->Pending();
17647 wxPyEndAllowThreads(__tstate
);
17648 if (PyErr_Occurred()) SWIG_fail
;
17650 resultobj
= PyInt_FromLong((long)result
);
17657 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17658 PyObject
*resultobj
;
17659 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17661 PyObject
* obj0
= 0 ;
17662 char *kwnames
[] = {
17663 (char *) "self", NULL
17666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (bool)(arg1
)->Dispatch();
17672 wxPyEndAllowThreads(__tstate
);
17673 if (PyErr_Occurred()) SWIG_fail
;
17675 resultobj
= PyInt_FromLong((long)result
);
17682 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17683 PyObject
*resultobj
;
17684 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17686 PyObject
* obj0
= 0 ;
17687 char *kwnames
[] = {
17688 (char *) "self", NULL
17691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17695 result
= (bool)(arg1
)->ProcessIdle();
17697 wxPyEndAllowThreads(__tstate
);
17698 if (PyErr_Occurred()) SWIG_fail
;
17700 resultobj
= PyInt_FromLong((long)result
);
17707 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17708 PyObject
*resultobj
;
17709 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17710 wxWindow
*arg2
= (wxWindow
*) 0 ;
17711 wxIdleEvent
*arg3
= 0 ;
17713 PyObject
* obj0
= 0 ;
17714 PyObject
* obj1
= 0 ;
17715 PyObject
* obj2
= 0 ;
17716 char *kwnames
[] = {
17717 (char *) "self",(char *) "win",(char *) "event", NULL
17720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17723 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17724 if (arg3
== NULL
) {
17725 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17729 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17731 wxPyEndAllowThreads(__tstate
);
17732 if (PyErr_Occurred()) SWIG_fail
;
17734 resultobj
= PyInt_FromLong((long)result
);
17741 static PyObject
*_wrap_PyApp_OnIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17742 PyObject
*resultobj
;
17743 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17744 wxIdleEvent
*arg2
= 0 ;
17745 PyObject
* obj0
= 0 ;
17746 PyObject
* obj1
= 0 ;
17747 char *kwnames
[] = {
17748 (char *) "self",(char *) "event", NULL
17751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_OnIdle",kwnames
,&obj0
,&obj1
)) goto fail
;
17752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17754 if (arg2
== NULL
) {
17755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17759 (arg1
)->OnIdle(*arg2
);
17761 wxPyEndAllowThreads(__tstate
);
17762 if (PyErr_Occurred()) SWIG_fail
;
17764 Py_INCREF(Py_None
); resultobj
= Py_None
;
17771 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17772 PyObject
*resultobj
;
17773 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17775 PyObject
* obj0
= 0 ;
17776 char *kwnames
[] = {
17777 (char *) "self", NULL
17780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17784 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17789 resultobj
= PyInt_FromLong((long)result
);
17796 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17797 PyObject
*resultobj
;
17798 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17799 wxWindow
*arg2
= (wxWindow
*) 0 ;
17800 PyObject
* obj0
= 0 ;
17801 PyObject
* obj1
= 0 ;
17802 char *kwnames
[] = {
17803 (char *) "self",(char *) "win", NULL
17806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17811 (arg1
)->SetTopWindow(arg2
);
17813 wxPyEndAllowThreads(__tstate
);
17814 if (PyErr_Occurred()) SWIG_fail
;
17816 Py_INCREF(Py_None
); resultobj
= Py_None
;
17823 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17824 PyObject
*resultobj
;
17825 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17827 PyObject
* obj0
= 0 ;
17828 char *kwnames
[] = {
17829 (char *) "self", NULL
17832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17836 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17838 wxPyEndAllowThreads(__tstate
);
17839 if (PyErr_Occurred()) SWIG_fail
;
17842 resultobj
= wxPyMake_wxObject(result
);
17850 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17851 PyObject
*resultobj
;
17852 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17854 PyObject
* obj0
= 0 ;
17855 PyObject
* obj1
= 0 ;
17856 char *kwnames
[] = {
17857 (char *) "self",(char *) "flag", NULL
17860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17862 arg2
= PyInt_AsLong(obj1
) ? true : false;
17863 if (PyErr_Occurred()) SWIG_fail
;
17865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17866 (arg1
)->SetExitOnFrameDelete(arg2
);
17868 wxPyEndAllowThreads(__tstate
);
17869 if (PyErr_Occurred()) SWIG_fail
;
17871 Py_INCREF(Py_None
); resultobj
= Py_None
;
17878 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17879 PyObject
*resultobj
;
17880 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17882 PyObject
* obj0
= 0 ;
17883 char *kwnames
[] = {
17884 (char *) "self", NULL
17887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
17888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
17893 wxPyEndAllowThreads(__tstate
);
17894 if (PyErr_Occurred()) SWIG_fail
;
17896 resultobj
= PyInt_FromLong((long)result
);
17903 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17904 PyObject
*resultobj
;
17905 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17907 PyObject
* obj0
= 0 ;
17908 PyObject
* obj1
= 0 ;
17909 char *kwnames
[] = {
17910 (char *) "self",(char *) "flag", NULL
17913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
17914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17915 arg2
= PyInt_AsLong(obj1
) ? true : false;
17916 if (PyErr_Occurred()) SWIG_fail
;
17918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17919 (arg1
)->SetUseBestVisual(arg2
);
17921 wxPyEndAllowThreads(__tstate
);
17922 if (PyErr_Occurred()) SWIG_fail
;
17924 Py_INCREF(Py_None
); resultobj
= Py_None
;
17931 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
;
17933 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17935 PyObject
* obj0
= 0 ;
17936 char *kwnames
[] = {
17937 (char *) "self", NULL
17940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
17941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17944 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
17946 wxPyEndAllowThreads(__tstate
);
17947 if (PyErr_Occurred()) SWIG_fail
;
17949 resultobj
= PyInt_FromLong((long)result
);
17956 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17957 PyObject
*resultobj
;
17958 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17960 PyObject
* obj0
= 0 ;
17961 char *kwnames
[] = {
17962 (char *) "self",(char *) "mode", NULL
17965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
17966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 (arg1
)->SetPrintMode(arg2
);
17971 wxPyEndAllowThreads(__tstate
);
17972 if (PyErr_Occurred()) SWIG_fail
;
17974 Py_INCREF(Py_None
); resultobj
= Py_None
;
17981 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17982 PyObject
*resultobj
;
17983 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17985 PyObject
* obj0
= 0 ;
17986 char *kwnames
[] = {
17987 (char *) "self", NULL
17990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17994 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
17996 wxPyEndAllowThreads(__tstate
);
17997 if (PyErr_Occurred()) SWIG_fail
;
17999 resultobj
= PyInt_FromLong((long)result
);
18006 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18007 PyObject
*resultobj
;
18008 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18010 PyObject
* obj0
= 0 ;
18011 char *kwnames
[] = {
18012 (char *) "self", NULL
18015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18019 result
= (int)(arg1
)->GetAssertMode();
18021 wxPyEndAllowThreads(__tstate
);
18022 if (PyErr_Occurred()) SWIG_fail
;
18024 resultobj
= PyInt_FromLong((long)result
);
18031 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
;
18033 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18035 PyObject
* obj0
= 0 ;
18036 char *kwnames
[] = {
18037 (char *) "self",(char *) "mode", NULL
18040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18044 (arg1
)->SetAssertMode(arg2
);
18046 wxPyEndAllowThreads(__tstate
);
18047 if (PyErr_Occurred()) SWIG_fail
;
18049 Py_INCREF(Py_None
); resultobj
= Py_None
;
18056 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18057 PyObject
*resultobj
;
18059 char *kwnames
[] = {
18063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18066 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= PyInt_FromLong((long)result
);
18078 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18079 PyObject
*resultobj
;
18081 char *kwnames
[] = {
18085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18088 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18090 wxPyEndAllowThreads(__tstate
);
18091 if (PyErr_Occurred()) SWIG_fail
;
18093 resultobj
= PyInt_FromLong((long)result
);
18100 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18101 PyObject
*resultobj
;
18103 char *kwnames
[] = {
18107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18110 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18112 wxPyEndAllowThreads(__tstate
);
18113 if (PyErr_Occurred()) SWIG_fail
;
18115 resultobj
= PyInt_FromLong((long)result
);
18122 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18123 PyObject
*resultobj
;
18125 char *kwnames
[] = {
18129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18132 result
= (long)wxPyApp::GetMacExitMenuItemId();
18134 wxPyEndAllowThreads(__tstate
);
18135 if (PyErr_Occurred()) SWIG_fail
;
18137 resultobj
= PyInt_FromLong((long)result
);
18144 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18145 PyObject
*resultobj
;
18147 char *kwnames
[] = {
18151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18154 result
= wxPyApp::GetMacHelpMenuTitleName();
18156 wxPyEndAllowThreads(__tstate
);
18157 if (PyErr_Occurred()) SWIG_fail
;
18161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18172 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18173 PyObject
*resultobj
;
18175 PyObject
* obj0
= 0 ;
18176 char *kwnames
[] = {
18177 (char *) "val", NULL
18180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18181 arg1
= PyInt_AsLong(obj0
) ? true : false;
18182 if (PyErr_Occurred()) SWIG_fail
;
18184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18185 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18187 wxPyEndAllowThreads(__tstate
);
18188 if (PyErr_Occurred()) SWIG_fail
;
18190 Py_INCREF(Py_None
); resultobj
= Py_None
;
18197 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18198 PyObject
*resultobj
;
18200 char *kwnames
[] = {
18201 (char *) "val", NULL
18204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18207 wxPyApp::SetMacAboutMenuItemId(arg1
);
18209 wxPyEndAllowThreads(__tstate
);
18210 if (PyErr_Occurred()) SWIG_fail
;
18212 Py_INCREF(Py_None
); resultobj
= Py_None
;
18219 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18220 PyObject
*resultobj
;
18222 char *kwnames
[] = {
18223 (char *) "val", NULL
18226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18229 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18231 wxPyEndAllowThreads(__tstate
);
18232 if (PyErr_Occurred()) SWIG_fail
;
18234 Py_INCREF(Py_None
); resultobj
= Py_None
;
18241 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18242 PyObject
*resultobj
;
18244 char *kwnames
[] = {
18245 (char *) "val", NULL
18248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18251 wxPyApp::SetMacExitMenuItemId(arg1
);
18253 wxPyEndAllowThreads(__tstate
);
18254 if (PyErr_Occurred()) SWIG_fail
;
18256 Py_INCREF(Py_None
); resultobj
= Py_None
;
18263 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18264 PyObject
*resultobj
;
18265 wxString
*arg1
= 0 ;
18266 bool temp1
= False
;
18267 PyObject
* obj0
= 0 ;
18268 char *kwnames
[] = {
18269 (char *) "val", NULL
18272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18274 arg1
= wxString_in_helper(obj0
);
18275 if (arg1
== NULL
) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 Py_INCREF(Py_None
); resultobj
= Py_None
;
18300 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18301 PyObject
*resultobj
;
18302 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18303 PyObject
* obj0
= 0 ;
18304 char *kwnames
[] = {
18305 (char *) "self", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18312 (arg1
)->_BootstrapApp();
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 Py_INCREF(Py_None
); resultobj
= Py_None
;
18324 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18325 PyObject
*resultobj
;
18327 char *kwnames
[] = {
18331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (int)wxPyApp::GetComCtl32Version();
18336 wxPyEndAllowThreads(__tstate
);
18337 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= PyInt_FromLong((long)result
);
18346 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18348 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18349 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18351 return Py_BuildValue((char *)"");
18353 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18354 PyObject
*resultobj
;
18355 char *kwnames
[] = {
18359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 wxPyEndAllowThreads(__tstate
);
18365 if (PyErr_Occurred()) SWIG_fail
;
18367 Py_INCREF(Py_None
); resultobj
= Py_None
;
18374 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18375 PyObject
*resultobj
;
18377 char *kwnames
[] = {
18381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 result
= (bool)wxYield();
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 resultobj
= PyInt_FromLong((long)result
);
18396 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18397 PyObject
*resultobj
;
18399 char *kwnames
[] = {
18403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18406 result
= (bool)wxYieldIfNeeded();
18408 wxPyEndAllowThreads(__tstate
);
18409 if (PyErr_Occurred()) SWIG_fail
;
18411 resultobj
= PyInt_FromLong((long)result
);
18418 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18419 PyObject
*resultobj
;
18420 wxWindow
*arg1
= (wxWindow
*) NULL
;
18421 bool arg2
= (bool) False
;
18423 PyObject
* obj0
= 0 ;
18424 PyObject
* obj1
= 0 ;
18425 char *kwnames
[] = {
18426 (char *) "win",(char *) "onlyIfNeeded", NULL
18429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18434 arg2
= PyInt_AsLong(obj1
) ? true : false;
18435 if (PyErr_Occurred()) SWIG_fail
;
18438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18439 result
= (bool)wxSafeYield(arg1
,arg2
);
18441 wxPyEndAllowThreads(__tstate
);
18442 if (PyErr_Occurred()) SWIG_fail
;
18444 resultobj
= PyInt_FromLong((long)result
);
18451 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18452 PyObject
*resultobj
;
18453 char *kwnames
[] = {
18457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18462 wxPyEndAllowThreads(__tstate
);
18463 if (PyErr_Occurred()) SWIG_fail
;
18465 Py_INCREF(Py_None
); resultobj
= Py_None
;
18472 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18473 PyObject
*resultobj
;
18474 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18475 wxEvent
*arg2
= 0 ;
18476 PyObject
* obj0
= 0 ;
18477 PyObject
* obj1
= 0 ;
18478 char *kwnames
[] = {
18479 (char *) "dest",(char *) "event", NULL
18482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18484 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18485 if (arg2
== NULL
) {
18486 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18490 wxPostEvent(arg1
,*arg2
);
18492 wxPyEndAllowThreads(__tstate
);
18493 if (PyErr_Occurred()) SWIG_fail
;
18495 Py_INCREF(Py_None
); resultobj
= Py_None
;
18502 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18503 PyObject
*resultobj
;
18504 char *kwnames
[] = {
18508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18513 wxPyEndAllowThreads(__tstate
);
18514 if (PyErr_Occurred()) SWIG_fail
;
18516 Py_INCREF(Py_None
); resultobj
= Py_None
;
18523 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18524 PyObject
*resultobj
;
18526 char *kwnames
[] = {
18530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (wxPyApp
*)wxGetApp();
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18539 resultobj
= wxPyMake_wxObject(result
);
18547 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
18548 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
18553 static PyObject
*_wrap_PanelNameStr_get() {
18558 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18560 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18567 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxWindow
*arg1
= (wxWindow
*) 0 ;
18571 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18572 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18573 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18574 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18575 long arg5
= (long) 0 ;
18576 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18577 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18581 bool temp6
= False
;
18582 PyObject
* obj0
= 0 ;
18583 PyObject
* obj2
= 0 ;
18584 PyObject
* obj3
= 0 ;
18585 PyObject
* obj5
= 0 ;
18586 char *kwnames
[] = {
18587 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18595 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18601 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18606 arg6
= wxString_in_helper(obj5
);
18607 if (arg6
== NULL
) SWIG_fail
;
18612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18613 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18615 wxPyEndAllowThreads(__tstate
);
18616 if (PyErr_Occurred()) SWIG_fail
;
18619 resultobj
= wxPyMake_wxObject(result
);
18635 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18636 PyObject
*resultobj
;
18638 char *kwnames
[] = {
18642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
18644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18645 result
= (wxWindow
*)new wxWindow();
18647 wxPyEndAllowThreads(__tstate
);
18648 if (PyErr_Occurred()) SWIG_fail
;
18651 resultobj
= wxPyMake_wxObject(result
);
18659 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18660 PyObject
*resultobj
;
18661 wxWindow
*arg1
= (wxWindow
*) 0 ;
18662 wxWindow
*arg2
= (wxWindow
*) 0 ;
18664 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18665 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18666 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18667 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
18668 long arg6
= (long) 0 ;
18669 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
18670 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
18674 bool temp7
= False
;
18675 PyObject
* obj0
= 0 ;
18676 PyObject
* obj1
= 0 ;
18677 PyObject
* obj3
= 0 ;
18678 PyObject
* obj4
= 0 ;
18679 PyObject
* obj6
= 0 ;
18680 char *kwnames
[] = {
18681 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
18685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18690 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
18696 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
18701 arg7
= wxString_in_helper(obj6
);
18702 if (arg7
== NULL
) SWIG_fail
;
18707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18708 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18713 resultobj
= PyInt_FromLong((long)result
);
18728 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18729 PyObject
*resultobj
;
18730 wxWindow
*arg1
= (wxWindow
*) 0 ;
18731 bool arg2
= (bool) False
;
18733 PyObject
* obj0
= 0 ;
18734 PyObject
* obj1
= 0 ;
18735 char *kwnames
[] = {
18736 (char *) "self",(char *) "force", NULL
18739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
18740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18742 arg2
= PyInt_AsLong(obj1
) ? true : false;
18743 if (PyErr_Occurred()) SWIG_fail
;
18746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18747 result
= (bool)(arg1
)->Close(arg2
);
18749 wxPyEndAllowThreads(__tstate
);
18750 if (PyErr_Occurred()) SWIG_fail
;
18752 resultobj
= PyInt_FromLong((long)result
);
18759 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18760 PyObject
*resultobj
;
18761 wxWindow
*arg1
= (wxWindow
*) 0 ;
18763 PyObject
* obj0
= 0 ;
18764 char *kwnames
[] = {
18765 (char *) "self", NULL
18768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
18769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= (bool)(arg1
)->Destroy();
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= PyInt_FromLong((long)result
);
18784 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18785 PyObject
*resultobj
;
18786 wxWindow
*arg1
= (wxWindow
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 char *kwnames
[] = {
18790 (char *) "self", NULL
18793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
18794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18797 result
= (bool)(arg1
)->DestroyChildren();
18799 wxPyEndAllowThreads(__tstate
);
18800 if (PyErr_Occurred()) SWIG_fail
;
18802 resultobj
= PyInt_FromLong((long)result
);
18809 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18810 PyObject
*resultobj
;
18811 wxWindow
*arg1
= (wxWindow
*) 0 ;
18813 PyObject
* obj0
= 0 ;
18814 char *kwnames
[] = {
18815 (char *) "self", NULL
18818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
18819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18822 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
18824 wxPyEndAllowThreads(__tstate
);
18825 if (PyErr_Occurred()) SWIG_fail
;
18827 resultobj
= PyInt_FromLong((long)result
);
18834 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18835 PyObject
*resultobj
;
18836 wxWindow
*arg1
= (wxWindow
*) 0 ;
18837 wxString
*arg2
= 0 ;
18838 bool temp2
= False
;
18839 PyObject
* obj0
= 0 ;
18840 PyObject
* obj1
= 0 ;
18841 char *kwnames
[] = {
18842 (char *) "self",(char *) "title", NULL
18845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
18846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18848 arg2
= wxString_in_helper(obj1
);
18849 if (arg2
== NULL
) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 (arg1
)->SetTitle((wxString
const &)*arg2
);
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 Py_INCREF(Py_None
); resultobj
= Py_None
;
18874 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18875 PyObject
*resultobj
;
18876 wxWindow
*arg1
= (wxWindow
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18880 (char *) "self", NULL
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
18884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18887 result
= ((wxWindow
const *)arg1
)->GetTitle();
18889 wxPyEndAllowThreads(__tstate
);
18890 if (PyErr_Occurred()) SWIG_fail
;
18894 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18896 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18905 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18906 PyObject
*resultobj
;
18907 wxWindow
*arg1
= (wxWindow
*) 0 ;
18908 wxString
*arg2
= 0 ;
18909 bool temp2
= False
;
18910 PyObject
* obj0
= 0 ;
18911 PyObject
* obj1
= 0 ;
18912 char *kwnames
[] = {
18913 (char *) "self",(char *) "label", NULL
18916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
18917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18919 arg2
= wxString_in_helper(obj1
);
18920 if (arg2
== NULL
) SWIG_fail
;
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 (arg1
)->SetLabel((wxString
const &)*arg2
);
18927 wxPyEndAllowThreads(__tstate
);
18928 if (PyErr_Occurred()) SWIG_fail
;
18930 Py_INCREF(Py_None
); resultobj
= Py_None
;
18945 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18946 PyObject
*resultobj
;
18947 wxWindow
*arg1
= (wxWindow
*) 0 ;
18949 PyObject
* obj0
= 0 ;
18950 char *kwnames
[] = {
18951 (char *) "self", NULL
18954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
18955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18958 result
= ((wxWindow
const *)arg1
)->GetLabel();
18960 wxPyEndAllowThreads(__tstate
);
18961 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18967 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18976 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18977 PyObject
*resultobj
;
18978 wxWindow
*arg1
= (wxWindow
*) 0 ;
18979 wxString
*arg2
= 0 ;
18980 bool temp2
= False
;
18981 PyObject
* obj0
= 0 ;
18982 PyObject
* obj1
= 0 ;
18983 char *kwnames
[] = {
18984 (char *) "self",(char *) "name", NULL
18987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
18988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18990 arg2
= wxString_in_helper(obj1
);
18991 if (arg2
== NULL
) SWIG_fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 (arg1
)->SetName((wxString
const &)*arg2
);
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19001 Py_INCREF(Py_None
); resultobj
= Py_None
;
19016 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19017 PyObject
*resultobj
;
19018 wxWindow
*arg1
= (wxWindow
*) 0 ;
19020 PyObject
* obj0
= 0 ;
19021 char *kwnames
[] = {
19022 (char *) "self", NULL
19025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19029 result
= ((wxWindow
const *)arg1
)->GetName();
19031 wxPyEndAllowThreads(__tstate
);
19032 if (PyErr_Occurred()) SWIG_fail
;
19036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19047 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19048 PyObject
*resultobj
;
19049 wxWindow
*arg1
= (wxWindow
*) 0 ;
19051 PyObject
* obj0
= 0 ;
19052 char *kwnames
[] = {
19053 (char *) "self",(char *) "winid", NULL
19056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19060 (arg1
)->SetId(arg2
);
19062 wxPyEndAllowThreads(__tstate
);
19063 if (PyErr_Occurred()) SWIG_fail
;
19065 Py_INCREF(Py_None
); resultobj
= Py_None
;
19072 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19073 PyObject
*resultobj
;
19074 wxWindow
*arg1
= (wxWindow
*) 0 ;
19076 PyObject
* obj0
= 0 ;
19077 char *kwnames
[] = {
19078 (char *) "self", NULL
19081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19085 result
= (int)((wxWindow
const *)arg1
)->GetId();
19087 wxPyEndAllowThreads(__tstate
);
19088 if (PyErr_Occurred()) SWIG_fail
;
19090 resultobj
= PyInt_FromLong((long)result
);
19097 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19098 PyObject
*resultobj
;
19100 char *kwnames
[] = {
19104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19107 result
= (int)wxWindow::NewControlId();
19109 wxPyEndAllowThreads(__tstate
);
19110 if (PyErr_Occurred()) SWIG_fail
;
19112 resultobj
= PyInt_FromLong((long)result
);
19119 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19120 PyObject
*resultobj
;
19123 char *kwnames
[] = {
19124 (char *) "winid", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19130 result
= (int)wxWindow::NextControlId(arg1
);
19132 wxPyEndAllowThreads(__tstate
);
19133 if (PyErr_Occurred()) SWIG_fail
;
19135 resultobj
= PyInt_FromLong((long)result
);
19142 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19143 PyObject
*resultobj
;
19146 char *kwnames
[] = {
19147 (char *) "winid", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19153 result
= (int)wxWindow::PrevControlId(arg1
);
19155 wxPyEndAllowThreads(__tstate
);
19156 if (PyErr_Occurred()) SWIG_fail
;
19158 resultobj
= PyInt_FromLong((long)result
);
19165 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19166 PyObject
*resultobj
;
19167 wxWindow
*arg1
= (wxWindow
*) 0 ;
19170 PyObject
* obj0
= 0 ;
19171 PyObject
* obj1
= 0 ;
19172 char *kwnames
[] = {
19173 (char *) "self",(char *) "size", NULL
19176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19180 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19184 (arg1
)->SetSize((wxSize
const &)*arg2
);
19186 wxPyEndAllowThreads(__tstate
);
19187 if (PyErr_Occurred()) SWIG_fail
;
19189 Py_INCREF(Py_None
); resultobj
= Py_None
;
19196 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19197 PyObject
*resultobj
;
19198 wxWindow
*arg1
= (wxWindow
*) 0 ;
19203 int arg6
= (int) wxSIZE_AUTO
;
19204 PyObject
* obj0
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19213 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19215 wxPyEndAllowThreads(__tstate
);
19216 if (PyErr_Occurred()) SWIG_fail
;
19218 Py_INCREF(Py_None
); resultobj
= Py_None
;
19225 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxWindow
*arg1
= (wxWindow
*) 0 ;
19229 int arg3
= (int) wxSIZE_AUTO
;
19231 PyObject
* obj0
= 0 ;
19232 PyObject
* obj1
= 0 ;
19233 char *kwnames
[] = {
19234 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19241 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19245 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19247 wxPyEndAllowThreads(__tstate
);
19248 if (PyErr_Occurred()) SWIG_fail
;
19250 Py_INCREF(Py_None
); resultobj
= Py_None
;
19257 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19258 PyObject
*resultobj
;
19259 wxWindow
*arg1
= (wxWindow
*) 0 ;
19262 PyObject
* obj0
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self",(char *) "width",(char *) "height", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19271 (arg1
)->SetSize(arg2
,arg3
);
19273 wxPyEndAllowThreads(__tstate
);
19274 if (PyErr_Occurred()) SWIG_fail
;
19276 Py_INCREF(Py_None
); resultobj
= Py_None
;
19283 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19284 PyObject
*resultobj
;
19285 wxWindow
*arg1
= (wxWindow
*) 0 ;
19286 wxPoint
*arg2
= 0 ;
19287 int arg3
= (int) wxSIZE_USE_EXISTING
;
19289 PyObject
* obj0
= 0 ;
19290 PyObject
* obj1
= 0 ;
19291 char *kwnames
[] = {
19292 (char *) "self",(char *) "pt",(char *) "flags", NULL
19295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19305 wxPyEndAllowThreads(__tstate
);
19306 if (PyErr_Occurred()) SWIG_fail
;
19308 Py_INCREF(Py_None
); resultobj
= Py_None
;
19315 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19316 PyObject
*resultobj
;
19317 wxWindow
*arg1
= (wxWindow
*) 0 ;
19320 int arg4
= (int) wxSIZE_USE_EXISTING
;
19321 PyObject
* obj0
= 0 ;
19322 char *kwnames
[] = {
19323 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 (arg1
)->Move(arg2
,arg3
,arg4
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 Py_INCREF(Py_None
); resultobj
= Py_None
;
19342 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19343 PyObject
*resultobj
;
19344 wxWindow
*arg1
= (wxWindow
*) 0 ;
19345 PyObject
* obj0
= 0 ;
19346 char *kwnames
[] = {
19347 (char *) "self", NULL
19350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 wxPyEndAllowThreads(__tstate
);
19357 if (PyErr_Occurred()) SWIG_fail
;
19359 Py_INCREF(Py_None
); resultobj
= Py_None
;
19366 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19367 PyObject
*resultobj
;
19368 wxWindow
*arg1
= (wxWindow
*) 0 ;
19369 PyObject
* obj0
= 0 ;
19370 char *kwnames
[] = {
19371 (char *) "self", NULL
19374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 wxPyEndAllowThreads(__tstate
);
19381 if (PyErr_Occurred()) SWIG_fail
;
19383 Py_INCREF(Py_None
); resultobj
= Py_None
;
19390 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19391 PyObject
*resultobj
;
19392 wxWindow
*arg1
= (wxWindow
*) 0 ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char *kwnames
[] = {
19398 (char *) "self",(char *) "size", NULL
19401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19405 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19409 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19411 wxPyEndAllowThreads(__tstate
);
19412 if (PyErr_Occurred()) SWIG_fail
;
19414 Py_INCREF(Py_None
); resultobj
= Py_None
;
19421 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19422 PyObject
*resultobj
;
19423 wxWindow
*arg1
= (wxWindow
*) 0 ;
19426 PyObject
* obj0
= 0 ;
19427 char *kwnames
[] = {
19428 (char *) "self",(char *) "width",(char *) "height", NULL
19431 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19432 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19435 (arg1
)->SetClientSize(arg2
,arg3
);
19437 wxPyEndAllowThreads(__tstate
);
19438 if (PyErr_Occurred()) SWIG_fail
;
19440 Py_INCREF(Py_None
); resultobj
= Py_None
;
19447 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19448 PyObject
*resultobj
;
19449 wxWindow
*arg1
= (wxWindow
*) 0 ;
19452 PyObject
* obj0
= 0 ;
19453 PyObject
* obj1
= 0 ;
19454 char *kwnames
[] = {
19455 (char *) "self",(char *) "rect", NULL
19458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19462 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19478 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19479 PyObject
*resultobj
;
19480 wxWindow
*arg1
= (wxWindow
*) 0 ;
19482 PyObject
* obj0
= 0 ;
19483 char *kwnames
[] = {
19484 (char *) "self", NULL
19487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19491 result
= (arg1
)->GetPosition();
19493 wxPyEndAllowThreads(__tstate
);
19494 if (PyErr_Occurred()) SWIG_fail
;
19497 wxPoint
* resultptr
;
19498 resultptr
= new wxPoint((wxPoint
&) result
);
19499 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19507 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19508 PyObject
*resultobj
;
19509 wxWindow
*arg1
= (wxWindow
*) 0 ;
19510 int *arg2
= (int *) 0 ;
19511 int *arg3
= (int *) 0 ;
19514 PyObject
* obj0
= 0 ;
19515 char *kwnames
[] = {
19516 (char *) "self", NULL
19521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19525 (arg1
)->GetPosition(arg2
,arg3
);
19527 wxPyEndAllowThreads(__tstate
);
19528 if (PyErr_Occurred()) SWIG_fail
;
19530 Py_INCREF(Py_None
); resultobj
= Py_None
;
19532 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19533 resultobj
= t_output_helper(resultobj
,o
);
19536 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19537 resultobj
= t_output_helper(resultobj
,o
);
19545 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19546 PyObject
*resultobj
;
19547 wxWindow
*arg1
= (wxWindow
*) 0 ;
19549 PyObject
* obj0
= 0 ;
19550 char *kwnames
[] = {
19551 (char *) "self", NULL
19554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
19555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19558 result
= ((wxWindow
const *)arg1
)->GetSize();
19560 wxPyEndAllowThreads(__tstate
);
19561 if (PyErr_Occurred()) SWIG_fail
;
19564 wxSize
* resultptr
;
19565 resultptr
= new wxSize((wxSize
&) result
);
19566 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19574 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19575 PyObject
*resultobj
;
19576 wxWindow
*arg1
= (wxWindow
*) 0 ;
19577 int *arg2
= (int *) 0 ;
19578 int *arg3
= (int *) 0 ;
19581 PyObject
* obj0
= 0 ;
19582 char *kwnames
[] = {
19583 (char *) "self", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19592 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
19594 wxPyEndAllowThreads(__tstate
);
19595 if (PyErr_Occurred()) SWIG_fail
;
19597 Py_INCREF(Py_None
); resultobj
= Py_None
;
19599 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19600 resultobj
= t_output_helper(resultobj
,o
);
19603 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19604 resultobj
= t_output_helper(resultobj
,o
);
19612 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19614 wxWindow
*arg1
= (wxWindow
*) 0 ;
19616 PyObject
* obj0
= 0 ;
19617 char *kwnames
[] = {
19618 (char *) "self", NULL
19621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
19622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19625 result
= ((wxWindow
const *)arg1
)->GetRect();
19627 wxPyEndAllowThreads(__tstate
);
19628 if (PyErr_Occurred()) SWIG_fail
;
19631 wxRect
* resultptr
;
19632 resultptr
= new wxRect((wxRect
&) result
);
19633 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19641 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19642 PyObject
*resultobj
;
19643 wxWindow
*arg1
= (wxWindow
*) 0 ;
19645 PyObject
* obj0
= 0 ;
19646 char *kwnames
[] = {
19647 (char *) "self", NULL
19650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
19651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 result
= ((wxWindow
const *)arg1
)->GetClientSize();
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19660 wxSize
* resultptr
;
19661 resultptr
= new wxSize((wxSize
&) result
);
19662 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19670 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
;
19672 wxWindow
*arg1
= (wxWindow
*) 0 ;
19673 int *arg2
= (int *) 0 ;
19674 int *arg3
= (int *) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 Py_INCREF(Py_None
); resultobj
= Py_None
;
19695 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19696 resultobj
= t_output_helper(resultobj
,o
);
19699 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19700 resultobj
= t_output_helper(resultobj
,o
);
19708 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19709 PyObject
*resultobj
;
19710 wxWindow
*arg1
= (wxWindow
*) 0 ;
19712 PyObject
* obj0
= 0 ;
19713 char *kwnames
[] = {
19714 (char *) "self", NULL
19717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
19718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19721 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
19723 wxPyEndAllowThreads(__tstate
);
19724 if (PyErr_Occurred()) SWIG_fail
;
19727 wxPoint
* resultptr
;
19728 resultptr
= new wxPoint((wxPoint
&) result
);
19729 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19737 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19738 PyObject
*resultobj
;
19739 wxWindow
*arg1
= (wxWindow
*) 0 ;
19741 PyObject
* obj0
= 0 ;
19742 char *kwnames
[] = {
19743 (char *) "self", NULL
19746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
19747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19750 result
= ((wxWindow
const *)arg1
)->GetClientRect();
19752 wxPyEndAllowThreads(__tstate
);
19753 if (PyErr_Occurred()) SWIG_fail
;
19756 wxRect
* resultptr
;
19757 resultptr
= new wxRect((wxRect
&) result
);
19758 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19766 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19767 PyObject
*resultobj
;
19768 wxWindow
*arg1
= (wxWindow
*) 0 ;
19770 PyObject
* obj0
= 0 ;
19771 char *kwnames
[] = {
19772 (char *) "self", NULL
19775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
19776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19779 result
= ((wxWindow
const *)arg1
)->GetBestSize();
19781 wxPyEndAllowThreads(__tstate
);
19782 if (PyErr_Occurred()) SWIG_fail
;
19785 wxSize
* resultptr
;
19786 resultptr
= new wxSize((wxSize
&) result
);
19787 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19795 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19796 PyObject
*resultobj
;
19797 wxWindow
*arg1
= (wxWindow
*) 0 ;
19798 int *arg2
= (int *) 0 ;
19799 int *arg3
= (int *) 0 ;
19802 PyObject
* obj0
= 0 ;
19803 char *kwnames
[] = {
19804 (char *) "self", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19813 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
19815 wxPyEndAllowThreads(__tstate
);
19816 if (PyErr_Occurred()) SWIG_fail
;
19818 Py_INCREF(Py_None
); resultobj
= Py_None
;
19820 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19821 resultobj
= t_output_helper(resultobj
,o
);
19824 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19825 resultobj
= t_output_helper(resultobj
,o
);
19833 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19834 PyObject
*resultobj
;
19835 wxWindow
*arg1
= (wxWindow
*) 0 ;
19837 PyObject
* obj0
= 0 ;
19838 char *kwnames
[] = {
19839 (char *) "self", NULL
19842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
19843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19846 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
19848 wxPyEndAllowThreads(__tstate
);
19849 if (PyErr_Occurred()) SWIG_fail
;
19852 wxSize
* resultptr
;
19853 resultptr
= new wxSize((wxSize
&) result
);
19854 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19862 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19863 PyObject
*resultobj
;
19864 wxWindow
*arg1
= (wxWindow
*) 0 ;
19865 int arg2
= (int) wxBOTH
;
19866 PyObject
* obj0
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "direction", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19875 (arg1
)->Center(arg2
);
19877 wxPyEndAllowThreads(__tstate
);
19878 if (PyErr_Occurred()) SWIG_fail
;
19880 Py_INCREF(Py_None
); resultobj
= Py_None
;
19887 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19888 PyObject
*resultobj
;
19889 wxWindow
*arg1
= (wxWindow
*) 0 ;
19890 int arg2
= (int) wxBOTH
;
19891 PyObject
* obj0
= 0 ;
19892 char *kwnames
[] = {
19893 (char *) "self",(char *) "dir", NULL
19896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
19897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19900 (arg1
)->CenterOnScreen(arg2
);
19902 wxPyEndAllowThreads(__tstate
);
19903 if (PyErr_Occurred()) SWIG_fail
;
19905 Py_INCREF(Py_None
); resultobj
= Py_None
;
19912 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19913 PyObject
*resultobj
;
19914 wxWindow
*arg1
= (wxWindow
*) 0 ;
19915 int arg2
= (int) wxBOTH
;
19916 PyObject
* obj0
= 0 ;
19917 char *kwnames
[] = {
19918 (char *) "self",(char *) "dir", NULL
19921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
19922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19925 (arg1
)->CenterOnParent(arg2
);
19927 wxPyEndAllowThreads(__tstate
);
19928 if (PyErr_Occurred()) SWIG_fail
;
19930 Py_INCREF(Py_None
); resultobj
= Py_None
;
19937 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19938 PyObject
*resultobj
;
19939 wxWindow
*arg1
= (wxWindow
*) 0 ;
19940 PyObject
* obj0
= 0 ;
19941 char *kwnames
[] = {
19942 (char *) "self", NULL
19945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
19946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19951 wxPyEndAllowThreads(__tstate
);
19952 if (PyErr_Occurred()) SWIG_fail
;
19954 Py_INCREF(Py_None
); resultobj
= Py_None
;
19961 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19962 PyObject
*resultobj
;
19963 wxWindow
*arg1
= (wxWindow
*) 0 ;
19964 PyObject
* obj0
= 0 ;
19965 char *kwnames
[] = {
19966 (char *) "self", NULL
19969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
19970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19973 (arg1
)->FitInside();
19975 wxPyEndAllowThreads(__tstate
);
19976 if (PyErr_Occurred()) SWIG_fail
;
19978 Py_INCREF(Py_None
); resultobj
= Py_None
;
19985 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19986 PyObject
*resultobj
;
19987 wxWindow
*arg1
= (wxWindow
*) 0 ;
19990 int arg4
= (int) -1 ;
19991 int arg5
= (int) -1 ;
19992 int arg6
= (int) -1 ;
19993 int arg7
= (int) -1 ;
19994 PyObject
* obj0
= 0 ;
19995 char *kwnames
[] = {
19996 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
19999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20003 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20005 wxPyEndAllowThreads(__tstate
);
20006 if (PyErr_Occurred()) SWIG_fail
;
20008 Py_INCREF(Py_None
); resultobj
= Py_None
;
20015 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxWindow
*arg1
= (wxWindow
*) 0 ;
20020 int arg4
= (int) -1 ;
20021 int arg5
= (int) -1 ;
20022 PyObject
* obj0
= 0 ;
20023 char *kwnames
[] = {
20024 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20031 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20033 wxPyEndAllowThreads(__tstate
);
20034 if (PyErr_Occurred()) SWIG_fail
;
20036 Py_INCREF(Py_None
); resultobj
= Py_None
;
20043 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20044 PyObject
*resultobj
;
20045 wxWindow
*arg1
= (wxWindow
*) 0 ;
20047 PyObject
* obj0
= 0 ;
20048 char *kwnames
[] = {
20049 (char *) "self", NULL
20052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20056 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20058 wxPyEndAllowThreads(__tstate
);
20059 if (PyErr_Occurred()) SWIG_fail
;
20061 resultobj
= PyInt_FromLong((long)result
);
20068 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20069 PyObject
*resultobj
;
20070 wxWindow
*arg1
= (wxWindow
*) 0 ;
20072 PyObject
* obj0
= 0 ;
20073 char *kwnames
[] = {
20074 (char *) "self", NULL
20077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20081 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20083 wxPyEndAllowThreads(__tstate
);
20084 if (PyErr_Occurred()) SWIG_fail
;
20086 resultobj
= PyInt_FromLong((long)result
);
20093 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20094 PyObject
*resultobj
;
20095 wxWindow
*arg1
= (wxWindow
*) 0 ;
20097 PyObject
* obj0
= 0 ;
20098 char *kwnames
[] = {
20099 (char *) "self", NULL
20102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20106 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20108 wxPyEndAllowThreads(__tstate
);
20109 if (PyErr_Occurred()) SWIG_fail
;
20111 resultobj
= PyInt_FromLong((long)result
);
20118 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20119 PyObject
*resultobj
;
20120 wxWindow
*arg1
= (wxWindow
*) 0 ;
20122 PyObject
* obj0
= 0 ;
20123 char *kwnames
[] = {
20124 (char *) "self", NULL
20127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20133 wxPyEndAllowThreads(__tstate
);
20134 if (PyErr_Occurred()) SWIG_fail
;
20136 resultobj
= PyInt_FromLong((long)result
);
20143 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20144 PyObject
*resultobj
;
20145 wxWindow
*arg1
= (wxWindow
*) 0 ;
20147 PyObject
* obj0
= 0 ;
20148 char *kwnames
[] = {
20149 (char *) "self", NULL
20152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20156 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20158 wxPyEndAllowThreads(__tstate
);
20159 if (PyErr_Occurred()) SWIG_fail
;
20162 wxSize
* resultptr
;
20163 resultptr
= new wxSize((wxSize
&) result
);
20164 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20172 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20173 PyObject
*resultobj
;
20174 wxWindow
*arg1
= (wxWindow
*) 0 ;
20177 PyObject
* obj0
= 0 ;
20178 PyObject
* obj1
= 0 ;
20179 char *kwnames
[] = {
20180 (char *) "self",(char *) "size", NULL
20183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20187 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20196 Py_INCREF(Py_None
); resultobj
= Py_None
;
20203 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20204 PyObject
*resultobj
;
20205 wxWindow
*arg1
= (wxWindow
*) 0 ;
20208 PyObject
* obj0
= 0 ;
20209 char *kwnames
[] = {
20210 (char *) "self",(char *) "w",(char *) "h", NULL
20213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20217 (arg1
)->SetVirtualSize(arg2
,arg3
);
20219 wxPyEndAllowThreads(__tstate
);
20220 if (PyErr_Occurred()) SWIG_fail
;
20222 Py_INCREF(Py_None
); resultobj
= Py_None
;
20229 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20230 PyObject
*resultobj
;
20231 wxWindow
*arg1
= (wxWindow
*) 0 ;
20233 PyObject
* obj0
= 0 ;
20234 char *kwnames
[] = {
20235 (char *) "self", NULL
20238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20242 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20244 wxPyEndAllowThreads(__tstate
);
20245 if (PyErr_Occurred()) SWIG_fail
;
20248 wxSize
* resultptr
;
20249 resultptr
= new wxSize((wxSize
&) result
);
20250 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20258 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20259 PyObject
*resultobj
;
20260 wxWindow
*arg1
= (wxWindow
*) 0 ;
20261 int *arg2
= (int *) 0 ;
20262 int *arg3
= (int *) 0 ;
20265 PyObject
* obj0
= 0 ;
20266 char *kwnames
[] = {
20267 (char *) "self", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 Py_INCREF(Py_None
); resultobj
= Py_None
;
20283 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20284 resultobj
= t_output_helper(resultobj
,o
);
20287 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20288 resultobj
= t_output_helper(resultobj
,o
);
20296 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20297 PyObject
*resultobj
;
20298 wxWindow
*arg1
= (wxWindow
*) 0 ;
20300 PyObject
* obj0
= 0 ;
20301 char *kwnames
[] = {
20302 (char *) "self", NULL
20305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20309 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20311 wxPyEndAllowThreads(__tstate
);
20312 if (PyErr_Occurred()) SWIG_fail
;
20315 wxSize
* resultptr
;
20316 resultptr
= new wxSize((wxSize
&) result
);
20317 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20325 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20326 PyObject
*resultobj
;
20327 wxWindow
*arg1
= (wxWindow
*) 0 ;
20328 bool arg2
= (bool) True
;
20330 PyObject
* obj0
= 0 ;
20331 PyObject
* obj1
= 0 ;
20332 char *kwnames
[] = {
20333 (char *) "self",(char *) "show", NULL
20336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20339 arg2
= PyInt_AsLong(obj1
) ? true : false;
20340 if (PyErr_Occurred()) SWIG_fail
;
20343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20344 result
= (bool)(arg1
)->Show(arg2
);
20346 wxPyEndAllowThreads(__tstate
);
20347 if (PyErr_Occurred()) SWIG_fail
;
20349 resultobj
= PyInt_FromLong((long)result
);
20356 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20357 PyObject
*resultobj
;
20358 wxWindow
*arg1
= (wxWindow
*) 0 ;
20360 PyObject
* obj0
= 0 ;
20361 char *kwnames
[] = {
20362 (char *) "self", NULL
20365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20369 result
= (bool)(arg1
)->Hide();
20371 wxPyEndAllowThreads(__tstate
);
20372 if (PyErr_Occurred()) SWIG_fail
;
20374 resultobj
= PyInt_FromLong((long)result
);
20381 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20382 PyObject
*resultobj
;
20383 wxWindow
*arg1
= (wxWindow
*) 0 ;
20384 bool arg2
= (bool) True
;
20386 PyObject
* obj0
= 0 ;
20387 PyObject
* obj1
= 0 ;
20388 char *kwnames
[] = {
20389 (char *) "self",(char *) "enable", NULL
20392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20395 arg2
= PyInt_AsLong(obj1
) ? true : false;
20396 if (PyErr_Occurred()) SWIG_fail
;
20399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20400 result
= (bool)(arg1
)->Enable(arg2
);
20402 wxPyEndAllowThreads(__tstate
);
20403 if (PyErr_Occurred()) SWIG_fail
;
20405 resultobj
= PyInt_FromLong((long)result
);
20412 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20413 PyObject
*resultobj
;
20414 wxWindow
*arg1
= (wxWindow
*) 0 ;
20416 PyObject
* obj0
= 0 ;
20417 char *kwnames
[] = {
20418 (char *) "self", NULL
20421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20425 result
= (bool)(arg1
)->Disable();
20427 wxPyEndAllowThreads(__tstate
);
20428 if (PyErr_Occurred()) SWIG_fail
;
20430 resultobj
= PyInt_FromLong((long)result
);
20437 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20438 PyObject
*resultobj
;
20439 wxWindow
*arg1
= (wxWindow
*) 0 ;
20441 PyObject
* obj0
= 0 ;
20442 char *kwnames
[] = {
20443 (char *) "self", NULL
20446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
20447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20450 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
20452 wxPyEndAllowThreads(__tstate
);
20453 if (PyErr_Occurred()) SWIG_fail
;
20455 resultobj
= PyInt_FromLong((long)result
);
20462 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20463 PyObject
*resultobj
;
20464 wxWindow
*arg1
= (wxWindow
*) 0 ;
20466 PyObject
* obj0
= 0 ;
20467 char *kwnames
[] = {
20468 (char *) "self", NULL
20471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20475 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20477 wxPyEndAllowThreads(__tstate
);
20478 if (PyErr_Occurred()) SWIG_fail
;
20480 resultobj
= PyInt_FromLong((long)result
);
20487 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20488 PyObject
*resultobj
;
20489 wxWindow
*arg1
= (wxWindow
*) 0 ;
20491 PyObject
* obj0
= 0 ;
20492 char *kwnames
[] = {
20493 (char *) "self",(char *) "style", NULL
20496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 (arg1
)->SetWindowStyleFlag(arg2
);
20502 wxPyEndAllowThreads(__tstate
);
20503 if (PyErr_Occurred()) SWIG_fail
;
20505 Py_INCREF(Py_None
); resultobj
= Py_None
;
20512 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20513 PyObject
*resultobj
;
20514 wxWindow
*arg1
= (wxWindow
*) 0 ;
20516 PyObject
* obj0
= 0 ;
20517 char *kwnames
[] = {
20518 (char *) "self", NULL
20521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 resultobj
= PyInt_FromLong((long)result
);
20537 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxWindow
*arg1
= (wxWindow
*) 0 ;
20541 PyObject
* obj0
= 0 ;
20542 char *kwnames
[] = {
20543 (char *) "self",(char *) "style", NULL
20546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20550 (arg1
)->SetWindowStyle(arg2
);
20552 wxPyEndAllowThreads(__tstate
);
20553 if (PyErr_Occurred()) SWIG_fail
;
20555 Py_INCREF(Py_None
); resultobj
= Py_None
;
20562 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20563 PyObject
*resultobj
;
20564 wxWindow
*arg1
= (wxWindow
*) 0 ;
20566 PyObject
* obj0
= 0 ;
20567 char *kwnames
[] = {
20568 (char *) "self", NULL
20571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
20572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20575 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= PyInt_FromLong((long)result
);
20587 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20588 PyObject
*resultobj
;
20589 wxWindow
*arg1
= (wxWindow
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self",(char *) "flag", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= PyInt_FromLong((long)result
);
20613 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxWindow
*arg1
= (wxWindow
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20631 resultobj
= PyInt_FromLong((long)result
);
20638 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20639 PyObject
*resultobj
;
20640 wxWindow
*arg1
= (wxWindow
*) 0 ;
20642 PyObject
* obj0
= 0 ;
20643 char *kwnames
[] = {
20644 (char *) "self",(char *) "exStyle", NULL
20647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20651 (arg1
)->SetExtraStyle(arg2
);
20653 wxPyEndAllowThreads(__tstate
);
20654 if (PyErr_Occurred()) SWIG_fail
;
20656 Py_INCREF(Py_None
); resultobj
= Py_None
;
20663 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20664 PyObject
*resultobj
;
20665 wxWindow
*arg1
= (wxWindow
*) 0 ;
20667 PyObject
* obj0
= 0 ;
20668 char *kwnames
[] = {
20669 (char *) "self", NULL
20672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
20673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= PyInt_FromLong((long)result
);
20688 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxWindow
*arg1
= (wxWindow
*) 0 ;
20691 bool arg2
= (bool) True
;
20692 PyObject
* obj0
= 0 ;
20693 PyObject
* obj1
= 0 ;
20694 char *kwnames
[] = {
20695 (char *) "self",(char *) "modal", NULL
20698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
20699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20701 arg2
= PyInt_AsLong(obj1
) ? true : false;
20702 if (PyErr_Occurred()) SWIG_fail
;
20705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20706 (arg1
)->MakeModal(arg2
);
20708 wxPyEndAllowThreads(__tstate
);
20709 if (PyErr_Occurred()) SWIG_fail
;
20711 Py_INCREF(Py_None
); resultobj
= Py_None
;
20718 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20719 PyObject
*resultobj
;
20720 wxWindow
*arg1
= (wxWindow
*) 0 ;
20722 PyObject
* obj0
= 0 ;
20723 PyObject
* obj1
= 0 ;
20724 char *kwnames
[] = {
20725 (char *) "self",(char *) "enableTheme", NULL
20728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
20729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20730 arg2
= PyInt_AsLong(obj1
) ? true : false;
20731 if (PyErr_Occurred()) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 (arg1
)->SetThemeEnabled(arg2
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 Py_INCREF(Py_None
); resultobj
= Py_None
;
20746 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxWindow
*arg1
= (wxWindow
*) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= PyInt_FromLong((long)result
);
20771 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxWindow
*arg1
= (wxWindow
*) 0 ;
20775 PyObject
* obj0
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
20781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= PyInt_FromLong((long)result
);
20796 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxWindow
*arg1
= (wxWindow
*) 0 ;
20799 PyObject
* obj0
= 0 ;
20800 char *kwnames
[] = {
20801 (char *) "self", NULL
20804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
20805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20808 (arg1
)->SetFocus();
20810 wxPyEndAllowThreads(__tstate
);
20811 if (PyErr_Occurred()) SWIG_fail
;
20813 Py_INCREF(Py_None
); resultobj
= Py_None
;
20820 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20821 PyObject
*resultobj
;
20822 wxWindow
*arg1
= (wxWindow
*) 0 ;
20823 PyObject
* obj0
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
20829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20832 (arg1
)->SetFocusFromKbd();
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 Py_INCREF(Py_None
); resultobj
= Py_None
;
20844 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20847 char *kwnames
[] = {
20851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
20853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20854 result
= (wxWindow
*)wxWindow::FindFocus();
20856 wxPyEndAllowThreads(__tstate
);
20857 if (PyErr_Occurred()) SWIG_fail
;
20860 resultobj
= wxPyMake_wxObject(result
);
20868 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20869 PyObject
*resultobj
;
20870 wxWindow
*arg1
= (wxWindow
*) 0 ;
20872 PyObject
* obj0
= 0 ;
20873 char *kwnames
[] = {
20874 (char *) "self", NULL
20877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
20878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20881 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
20883 wxPyEndAllowThreads(__tstate
);
20884 if (PyErr_Occurred()) SWIG_fail
;
20886 resultobj
= PyInt_FromLong((long)result
);
20893 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20894 PyObject
*resultobj
;
20895 wxWindow
*arg1
= (wxWindow
*) 0 ;
20897 PyObject
* obj0
= 0 ;
20898 char *kwnames
[] = {
20899 (char *) "self", NULL
20902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
20903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20906 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
20908 wxPyEndAllowThreads(__tstate
);
20909 if (PyErr_Occurred()) SWIG_fail
;
20911 resultobj
= PyInt_FromLong((long)result
);
20918 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20919 PyObject
*resultobj
;
20920 wxWindow
*arg1
= (wxWindow
*) 0 ;
20922 PyObject
* obj0
= 0 ;
20923 char *kwnames
[] = {
20924 (char *) "self", NULL
20927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
20928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20931 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
20933 wxPyEndAllowThreads(__tstate
);
20934 if (PyErr_Occurred()) SWIG_fail
;
20937 resultobj
= wxPyMake_wxObject(result
);
20945 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxWindow
*arg1
= (wxWindow
*) 0 ;
20948 wxWindow
*arg2
= (wxWindow
*) 0 ;
20950 PyObject
* obj0
= 0 ;
20951 PyObject
* obj1
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self",(char *) "child", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20961 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
20963 wxPyEndAllowThreads(__tstate
);
20964 if (PyErr_Occurred()) SWIG_fail
;
20967 resultobj
= wxPyMake_wxObject(result
);
20975 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20976 PyObject
*resultobj
;
20977 wxWindow
*arg1
= (wxWindow
*) 0 ;
20978 wxWindow
*arg2
= (wxWindow
*) 0 ;
20979 PyObject
* obj0
= 0 ;
20980 PyObject
* obj1
= 0 ;
20981 char *kwnames
[] = {
20982 (char *) "self",(char *) "win", NULL
20985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
20986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20987 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20990 (arg1
)->SetTmpDefaultItem(arg2
);
20992 wxPyEndAllowThreads(__tstate
);
20993 if (PyErr_Occurred()) SWIG_fail
;
20995 Py_INCREF(Py_None
); resultobj
= Py_None
;
21002 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21003 PyObject
*resultobj
;
21004 wxWindow
*arg1
= (wxWindow
*) 0 ;
21006 PyObject
* obj0
= 0 ;
21007 char *kwnames
[] = {
21008 (char *) "self", NULL
21011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21015 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21017 wxPyEndAllowThreads(__tstate
);
21018 if (PyErr_Occurred()) SWIG_fail
;
21020 resultobj
= result
;
21027 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21028 PyObject
*resultobj
;
21029 wxWindow
*arg1
= (wxWindow
*) 0 ;
21031 PyObject
* obj0
= 0 ;
21032 char *kwnames
[] = {
21033 (char *) "self", NULL
21036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21046 resultobj
= wxPyMake_wxObject(result
);
21054 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21055 PyObject
*resultobj
;
21056 wxWindow
*arg1
= (wxWindow
*) 0 ;
21058 PyObject
* obj0
= 0 ;
21059 char *kwnames
[] = {
21060 (char *) "self", NULL
21063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21067 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= wxPyMake_wxObject(result
);
21081 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21082 PyObject
*resultobj
;
21083 wxWindow
*arg1
= (wxWindow
*) 0 ;
21085 PyObject
* obj0
= 0 ;
21086 char *kwnames
[] = {
21087 (char *) "self", NULL
21090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21094 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= PyInt_FromLong((long)result
);
21106 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
;
21108 wxWindow
*arg1
= (wxWindow
*) 0 ;
21109 wxWindow
*arg2
= (wxWindow
*) 0 ;
21111 PyObject
* obj0
= 0 ;
21112 PyObject
* obj1
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self",(char *) "newParent", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21119 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21122 result
= (bool)(arg1
)->Reparent(arg2
);
21124 wxPyEndAllowThreads(__tstate
);
21125 if (PyErr_Occurred()) SWIG_fail
;
21127 resultobj
= PyInt_FromLong((long)result
);
21134 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21135 PyObject
*resultobj
;
21136 wxWindow
*arg1
= (wxWindow
*) 0 ;
21137 wxWindow
*arg2
= (wxWindow
*) 0 ;
21138 PyObject
* obj0
= 0 ;
21139 PyObject
* obj1
= 0 ;
21140 char *kwnames
[] = {
21141 (char *) "self",(char *) "child", NULL
21144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21146 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21149 (arg1
)->AddChild(arg2
);
21151 wxPyEndAllowThreads(__tstate
);
21152 if (PyErr_Occurred()) SWIG_fail
;
21154 Py_INCREF(Py_None
); resultobj
= Py_None
;
21161 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21162 PyObject
*resultobj
;
21163 wxWindow
*arg1
= (wxWindow
*) 0 ;
21164 wxWindow
*arg2
= (wxWindow
*) 0 ;
21165 PyObject
* obj0
= 0 ;
21166 PyObject
* obj1
= 0 ;
21167 char *kwnames
[] = {
21168 (char *) "self",(char *) "child", NULL
21171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21173 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 (arg1
)->RemoveChild(arg2
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 Py_INCREF(Py_None
); resultobj
= Py_None
;
21188 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxWindow
*arg1
= (wxWindow
*) 0 ;
21193 PyObject
* obj0
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self",(char *) "winid", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21202 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21204 wxPyEndAllowThreads(__tstate
);
21205 if (PyErr_Occurred()) SWIG_fail
;
21208 resultobj
= wxPyMake_wxObject(result
);
21216 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxWindow
*arg1
= (wxWindow
*) 0 ;
21219 wxString
*arg2
= 0 ;
21221 bool temp2
= False
;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self",(char *) "name", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21231 arg2
= wxString_in_helper(obj1
);
21232 if (arg2
== NULL
) SWIG_fail
;
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21239 wxPyEndAllowThreads(__tstate
);
21240 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= wxPyMake_wxObject(result
);
21259 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21260 PyObject
*resultobj
;
21261 wxWindow
*arg1
= (wxWindow
*) 0 ;
21262 wxEvtHandler
*result
;
21263 PyObject
* obj0
= 0 ;
21264 char *kwnames
[] = {
21265 (char *) "self", NULL
21268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21272 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21274 wxPyEndAllowThreads(__tstate
);
21275 if (PyErr_Occurred()) SWIG_fail
;
21278 resultobj
= wxPyMake_wxObject(result
);
21286 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21287 PyObject
*resultobj
;
21288 wxWindow
*arg1
= (wxWindow
*) 0 ;
21289 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21290 PyObject
* obj0
= 0 ;
21291 PyObject
* obj1
= 0 ;
21292 char *kwnames
[] = {
21293 (char *) "self",(char *) "handler", NULL
21296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21298 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21301 (arg1
)->SetEventHandler(arg2
);
21303 wxPyEndAllowThreads(__tstate
);
21304 if (PyErr_Occurred()) SWIG_fail
;
21306 Py_INCREF(Py_None
); resultobj
= Py_None
;
21313 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21314 PyObject
*resultobj
;
21315 wxWindow
*arg1
= (wxWindow
*) 0 ;
21316 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21317 PyObject
* obj0
= 0 ;
21318 PyObject
* obj1
= 0 ;
21319 char *kwnames
[] = {
21320 (char *) "self",(char *) "handler", NULL
21323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21325 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21328 (arg1
)->PushEventHandler(arg2
);
21330 wxPyEndAllowThreads(__tstate
);
21331 if (PyErr_Occurred()) SWIG_fail
;
21333 Py_INCREF(Py_None
); resultobj
= Py_None
;
21340 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21341 PyObject
*resultobj
;
21342 wxWindow
*arg1
= (wxWindow
*) 0 ;
21343 bool arg2
= (bool) False
;
21344 wxEvtHandler
*result
;
21345 PyObject
* obj0
= 0 ;
21346 PyObject
* obj1
= 0 ;
21347 char *kwnames
[] = {
21348 (char *) "self",(char *) "deleteHandler", NULL
21351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21354 arg2
= PyInt_AsLong(obj1
) ? true : false;
21355 if (PyErr_Occurred()) SWIG_fail
;
21358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21359 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21365 resultobj
= wxPyMake_wxObject(result
);
21373 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21374 PyObject
*resultobj
;
21375 wxWindow
*arg1
= (wxWindow
*) 0 ;
21376 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21378 PyObject
* obj0
= 0 ;
21379 PyObject
* obj1
= 0 ;
21380 char *kwnames
[] = {
21381 (char *) "self",(char *) "handler", NULL
21384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21389 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21391 wxPyEndAllowThreads(__tstate
);
21392 if (PyErr_Occurred()) SWIG_fail
;
21394 resultobj
= PyInt_FromLong((long)result
);
21401 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21402 PyObject
*resultobj
;
21403 wxWindow
*arg1
= (wxWindow
*) 0 ;
21404 wxValidator
*arg2
= 0 ;
21405 PyObject
* obj0
= 0 ;
21406 PyObject
* obj1
= 0 ;
21407 char *kwnames
[] = {
21408 (char *) "self",(char *) "validator", NULL
21411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21414 if (arg2
== NULL
) {
21415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21419 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21421 wxPyEndAllowThreads(__tstate
);
21422 if (PyErr_Occurred()) SWIG_fail
;
21424 Py_INCREF(Py_None
); resultobj
= Py_None
;
21431 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21432 PyObject
*resultobj
;
21433 wxWindow
*arg1
= (wxWindow
*) 0 ;
21434 wxValidator
*result
;
21435 PyObject
* obj0
= 0 ;
21436 char *kwnames
[] = {
21437 (char *) "self", NULL
21440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 result
= (wxValidator
*)(arg1
)->GetValidator();
21446 wxPyEndAllowThreads(__tstate
);
21447 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= wxPyMake_wxObject(result
);
21458 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21459 PyObject
*resultobj
;
21460 wxWindow
*arg1
= (wxWindow
*) 0 ;
21461 wxAcceleratorTable
*arg2
= 0 ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self",(char *) "accel", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21471 if (arg2
== NULL
) {
21472 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21476 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21478 wxPyEndAllowThreads(__tstate
);
21479 if (PyErr_Occurred()) SWIG_fail
;
21481 Py_INCREF(Py_None
); resultobj
= Py_None
;
21488 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21489 PyObject
*resultobj
;
21490 wxWindow
*arg1
= (wxWindow
*) 0 ;
21491 wxAcceleratorTable
*result
;
21492 PyObject
* obj0
= 0 ;
21493 char *kwnames
[] = {
21494 (char *) "self", NULL
21497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21503 wxPyEndAllowThreads(__tstate
);
21504 if (PyErr_Occurred()) SWIG_fail
;
21506 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21513 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21514 PyObject
*resultobj
;
21515 wxWindow
*arg1
= (wxWindow
*) 0 ;
21520 PyObject
* obj0
= 0 ;
21521 char *kwnames
[] = {
21522 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21529 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
21531 wxPyEndAllowThreads(__tstate
);
21532 if (PyErr_Occurred()) SWIG_fail
;
21534 resultobj
= PyInt_FromLong((long)result
);
21541 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21542 PyObject
*resultobj
;
21543 wxWindow
*arg1
= (wxWindow
*) 0 ;
21546 PyObject
* obj0
= 0 ;
21547 char *kwnames
[] = {
21548 (char *) "self",(char *) "hotkeyId", NULL
21551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
21552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21555 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
21557 wxPyEndAllowThreads(__tstate
);
21558 if (PyErr_Occurred()) SWIG_fail
;
21560 resultobj
= PyInt_FromLong((long)result
);
21567 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxWindow
*arg1
= (wxWindow
*) 0 ;
21570 wxPoint
*arg2
= 0 ;
21573 PyObject
* obj0
= 0 ;
21574 PyObject
* obj1
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self",(char *) "pt", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21583 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21589 wxPyEndAllowThreads(__tstate
);
21590 if (PyErr_Occurred()) SWIG_fail
;
21593 wxPoint
* resultptr
;
21594 resultptr
= new wxPoint((wxPoint
&) result
);
21595 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21603 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21604 PyObject
*resultobj
;
21605 wxWindow
*arg1
= (wxWindow
*) 0 ;
21609 PyObject
* obj0
= 0 ;
21610 PyObject
* obj1
= 0 ;
21611 char *kwnames
[] = {
21612 (char *) "self",(char *) "sz", NULL
21615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21619 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21629 wxSize
* resultptr
;
21630 resultptr
= new wxSize((wxSize
&) result
);
21631 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21639 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21640 PyObject
*resultobj
;
21641 wxWindow
*arg1
= (wxWindow
*) 0 ;
21642 wxPoint
*arg2
= 0 ;
21645 PyObject
* obj0
= 0 ;
21646 PyObject
* obj1
= 0 ;
21647 char *kwnames
[] = {
21648 (char *) "self",(char *) "pt", NULL
21651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
21652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21655 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21661 wxPyEndAllowThreads(__tstate
);
21662 if (PyErr_Occurred()) SWIG_fail
;
21665 wxPoint
* resultptr
;
21666 resultptr
= new wxPoint((wxPoint
&) result
);
21667 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21675 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21676 PyObject
*resultobj
;
21677 wxWindow
*arg1
= (wxWindow
*) 0 ;
21681 PyObject
* obj0
= 0 ;
21682 PyObject
* obj1
= 0 ;
21683 char *kwnames
[] = {
21684 (char *) "self",(char *) "sz", NULL
21687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
21688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21691 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21695 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21697 wxPyEndAllowThreads(__tstate
);
21698 if (PyErr_Occurred()) SWIG_fail
;
21701 wxSize
* resultptr
;
21702 resultptr
= new wxSize((wxSize
&) result
);
21703 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21711 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21712 PyObject
*resultobj
;
21713 wxWindow
*arg1
= (wxWindow
*) 0 ;
21714 wxPoint
*arg2
= 0 ;
21717 PyObject
* obj0
= 0 ;
21718 PyObject
* obj1
= 0 ;
21719 char *kwnames
[] = {
21720 (char *) "self",(char *) "pt", NULL
21723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21727 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21731 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
21733 wxPyEndAllowThreads(__tstate
);
21734 if (PyErr_Occurred()) SWIG_fail
;
21737 wxPoint
* resultptr
;
21738 resultptr
= new wxPoint((wxPoint
&) result
);
21739 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21747 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21748 PyObject
*resultobj
;
21749 wxWindow
*arg1
= (wxWindow
*) 0 ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 char *kwnames
[] = {
21756 (char *) "self",(char *) "sz", NULL
21759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
21760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21763 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21767 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
21769 wxPyEndAllowThreads(__tstate
);
21770 if (PyErr_Occurred()) SWIG_fail
;
21773 wxSize
* resultptr
;
21774 resultptr
= new wxSize((wxSize
&) result
);
21775 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21783 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxWindow
*arg1
= (wxWindow
*) 0 ;
21788 PyObject
* obj0
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "x",(char *) "y", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
21794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21797 (arg1
)->WarpPointer(arg2
,arg3
);
21799 wxPyEndAllowThreads(__tstate
);
21800 if (PyErr_Occurred()) SWIG_fail
;
21802 Py_INCREF(Py_None
); resultobj
= Py_None
;
21809 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxWindow
*arg1
= (wxWindow
*) 0 ;
21812 PyObject
* obj0
= 0 ;
21813 char *kwnames
[] = {
21814 (char *) "self", NULL
21817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
21818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21821 (arg1
)->CaptureMouse();
21823 wxPyEndAllowThreads(__tstate
);
21824 if (PyErr_Occurred()) SWIG_fail
;
21826 Py_INCREF(Py_None
); resultobj
= Py_None
;
21833 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21834 PyObject
*resultobj
;
21835 wxWindow
*arg1
= (wxWindow
*) 0 ;
21836 PyObject
* obj0
= 0 ;
21837 char *kwnames
[] = {
21838 (char *) "self", NULL
21841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
21842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21845 (arg1
)->ReleaseMouse();
21847 wxPyEndAllowThreads(__tstate
);
21848 if (PyErr_Occurred()) SWIG_fail
;
21850 Py_INCREF(Py_None
); resultobj
= Py_None
;
21857 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21858 PyObject
*resultobj
;
21860 char *kwnames
[] = {
21864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 result
= (wxWindow
*)wxWindow::GetCapture();
21869 wxPyEndAllowThreads(__tstate
);
21870 if (PyErr_Occurred()) SWIG_fail
;
21873 resultobj
= wxPyMake_wxObject(result
);
21881 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21882 PyObject
*resultobj
;
21883 wxWindow
*arg1
= (wxWindow
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 char *kwnames
[] = {
21887 (char *) "self", NULL
21890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
21891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21894 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
21896 wxPyEndAllowThreads(__tstate
);
21897 if (PyErr_Occurred()) SWIG_fail
;
21899 resultobj
= PyInt_FromLong((long)result
);
21906 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21907 PyObject
*resultobj
;
21908 wxWindow
*arg1
= (wxWindow
*) 0 ;
21909 bool arg2
= (bool) True
;
21910 wxRect
*arg3
= (wxRect
*) NULL
;
21911 PyObject
* obj0
= 0 ;
21912 PyObject
* obj1
= 0 ;
21913 PyObject
* obj2
= 0 ;
21914 char *kwnames
[] = {
21915 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
21918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
21919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21921 arg2
= PyInt_AsLong(obj1
) ? true : false;
21922 if (PyErr_Occurred()) SWIG_fail
;
21925 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21929 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
21931 wxPyEndAllowThreads(__tstate
);
21932 if (PyErr_Occurred()) SWIG_fail
;
21934 Py_INCREF(Py_None
); resultobj
= Py_None
;
21941 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21942 PyObject
*resultobj
;
21943 wxWindow
*arg1
= (wxWindow
*) 0 ;
21946 PyObject
* obj0
= 0 ;
21947 PyObject
* obj1
= 0 ;
21948 char *kwnames
[] = {
21949 (char *) "self",(char *) "rect", NULL
21952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
21953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21956 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
21959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21960 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
21962 wxPyEndAllowThreads(__tstate
);
21963 if (PyErr_Occurred()) SWIG_fail
;
21965 Py_INCREF(Py_None
); resultobj
= Py_None
;
21972 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21973 PyObject
*resultobj
;
21974 wxWindow
*arg1
= (wxWindow
*) 0 ;
21975 PyObject
* obj0
= 0 ;
21976 char *kwnames
[] = {
21977 (char *) "self", NULL
21980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
21981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 wxPyEndAllowThreads(__tstate
);
21987 if (PyErr_Occurred()) SWIG_fail
;
21989 Py_INCREF(Py_None
); resultobj
= Py_None
;
21996 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21997 PyObject
*resultobj
;
21998 wxWindow
*arg1
= (wxWindow
*) 0 ;
21999 PyObject
* obj0
= 0 ;
22000 char *kwnames
[] = {
22001 (char *) "self", NULL
22004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22008 (arg1
)->ClearBackground();
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 Py_INCREF(Py_None
); resultobj
= Py_None
;
22020 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
;
22022 wxWindow
*arg1
= (wxWindow
*) 0 ;
22023 PyObject
* obj0
= 0 ;
22024 char *kwnames
[] = {
22025 (char *) "self", NULL
22028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 wxPyEndAllowThreads(__tstate
);
22035 if (PyErr_Occurred()) SWIG_fail
;
22037 Py_INCREF(Py_None
); resultobj
= Py_None
;
22044 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22045 PyObject
*resultobj
;
22046 wxWindow
*arg1
= (wxWindow
*) 0 ;
22047 PyObject
* obj0
= 0 ;
22048 char *kwnames
[] = {
22049 (char *) "self", NULL
22052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22058 wxPyEndAllowThreads(__tstate
);
22059 if (PyErr_Occurred()) SWIG_fail
;
22061 Py_INCREF(Py_None
); resultobj
= Py_None
;
22068 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22069 PyObject
*resultobj
;
22070 wxWindow
*arg1
= (wxWindow
*) 0 ;
22072 PyObject
* obj0
= 0 ;
22073 PyObject
* obj1
= 0 ;
22074 char *kwnames
[] = {
22075 (char *) "self",(char *) "dc", NULL
22078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22080 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22081 if (arg2
== NULL
) {
22082 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22086 (arg1
)->PrepareDC(*arg2
);
22088 wxPyEndAllowThreads(__tstate
);
22089 if (PyErr_Occurred()) SWIG_fail
;
22091 Py_INCREF(Py_None
); resultobj
= Py_None
;
22098 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
;
22100 wxWindow
*arg1
= (wxWindow
*) 0 ;
22102 PyObject
* obj0
= 0 ;
22103 char *kwnames
[] = {
22104 (char *) "self", NULL
22107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22112 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22113 result
= (wxRegion
*) &_result_ref
;
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22126 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22127 PyObject
*resultobj
;
22128 wxWindow
*arg1
= (wxWindow
*) 0 ;
22130 PyObject
* obj0
= 0 ;
22131 char *kwnames
[] = {
22132 (char *) "self", NULL
22135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22139 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22141 wxPyEndAllowThreads(__tstate
);
22142 if (PyErr_Occurred()) SWIG_fail
;
22145 wxRect
* resultptr
;
22146 resultptr
= new wxRect((wxRect
&) result
);
22147 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22155 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22156 PyObject
*resultobj
;
22157 wxWindow
*arg1
= (wxWindow
*) 0 ;
22160 int arg4
= (int) 1 ;
22161 int arg5
= (int) 1 ;
22163 PyObject
* obj0
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 resultobj
= PyInt_FromLong((long)result
);
22184 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxWindow
*arg1
= (wxWindow
*) 0 ;
22187 wxPoint
*arg2
= 0 ;
22190 PyObject
* obj0
= 0 ;
22191 PyObject
* obj1
= 0 ;
22192 char *kwnames
[] = {
22193 (char *) "self",(char *) "pt", NULL
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22200 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22206 wxPyEndAllowThreads(__tstate
);
22207 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= PyInt_FromLong((long)result
);
22216 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22217 PyObject
*resultobj
;
22218 wxWindow
*arg1
= (wxWindow
*) 0 ;
22222 PyObject
* obj0
= 0 ;
22223 PyObject
* obj1
= 0 ;
22224 char *kwnames
[] = {
22225 (char *) "self",(char *) "rect", NULL
22228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22232 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22236 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22238 wxPyEndAllowThreads(__tstate
);
22239 if (PyErr_Occurred()) SWIG_fail
;
22241 resultobj
= PyInt_FromLong((long)result
);
22248 static PyObject
*_wrap_Window_SetBackgroundColour(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_SetBackgroundColour",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
)->SetBackgroundColour((wxColour
const &)*arg2
);
22270 wxPyEndAllowThreads(__tstate
);
22271 if (PyErr_Occurred()) SWIG_fail
;
22273 resultobj
= PyInt_FromLong((long)result
);
22280 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22281 PyObject
*resultobj
;
22282 wxWindow
*arg1
= (wxWindow
*) 0 ;
22283 wxColour
*arg2
= 0 ;
22286 PyObject
* obj0
= 0 ;
22287 PyObject
* obj1
= 0 ;
22288 char *kwnames
[] = {
22289 (char *) "self",(char *) "colour", NULL
22292 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22293 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22296 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22300 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22302 wxPyEndAllowThreads(__tstate
);
22303 if (PyErr_Occurred()) SWIG_fail
;
22305 resultobj
= PyInt_FromLong((long)result
);
22312 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22313 PyObject
*resultobj
;
22314 wxWindow
*arg1
= (wxWindow
*) 0 ;
22316 PyObject
* obj0
= 0 ;
22317 char *kwnames
[] = {
22318 (char *) "self", NULL
22321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22327 wxPyEndAllowThreads(__tstate
);
22328 if (PyErr_Occurred()) SWIG_fail
;
22331 wxColour
* resultptr
;
22332 resultptr
= new wxColour((wxColour
&) result
);
22333 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22341 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22342 PyObject
*resultobj
;
22343 wxWindow
*arg1
= (wxWindow
*) 0 ;
22345 PyObject
* obj0
= 0 ;
22346 char *kwnames
[] = {
22347 (char *) "self", NULL
22350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
22351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22354 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22356 wxPyEndAllowThreads(__tstate
);
22357 if (PyErr_Occurred()) SWIG_fail
;
22360 wxColour
* resultptr
;
22361 resultptr
= new wxColour((wxColour
&) result
);
22362 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22370 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22371 PyObject
*resultobj
;
22372 wxWindow
*arg1
= (wxWindow
*) 0 ;
22373 wxCursor
*arg2
= 0 ;
22375 PyObject
* obj0
= 0 ;
22376 PyObject
* obj1
= 0 ;
22377 char *kwnames
[] = {
22378 (char *) "self",(char *) "cursor", NULL
22381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22383 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22384 if (arg2
== NULL
) {
22385 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22389 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22391 wxPyEndAllowThreads(__tstate
);
22392 if (PyErr_Occurred()) SWIG_fail
;
22394 resultobj
= PyInt_FromLong((long)result
);
22401 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22402 PyObject
*resultobj
;
22403 wxWindow
*arg1
= (wxWindow
*) 0 ;
22405 PyObject
* obj0
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22415 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22416 result
= (wxCursor
*) &_result_ref
;
22419 wxPyEndAllowThreads(__tstate
);
22420 if (PyErr_Occurred()) SWIG_fail
;
22422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22429 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22430 PyObject
*resultobj
;
22431 wxWindow
*arg1
= (wxWindow
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 PyObject
* obj1
= 0 ;
22436 char *kwnames
[] = {
22437 (char *) "self",(char *) "font", NULL
22440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22443 if (arg2
== NULL
) {
22444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22448 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= PyInt_FromLong((long)result
);
22460 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxWindow
*arg1
= (wxWindow
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22474 wxFont
&_result_ref
= (arg1
)->GetFont();
22475 result
= (wxFont
*) &_result_ref
;
22478 wxPyEndAllowThreads(__tstate
);
22479 if (PyErr_Occurred()) SWIG_fail
;
22481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22488 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22489 PyObject
*resultobj
;
22490 wxWindow
*arg1
= (wxWindow
*) 0 ;
22491 wxCaret
*arg2
= (wxCaret
*) 0 ;
22492 PyObject
* obj0
= 0 ;
22493 PyObject
* obj1
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self",(char *) "caret", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22503 (arg1
)->SetCaret(arg2
);
22505 wxPyEndAllowThreads(__tstate
);
22506 if (PyErr_Occurred()) SWIG_fail
;
22508 Py_INCREF(Py_None
); resultobj
= Py_None
;
22515 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22516 PyObject
*resultobj
;
22517 wxWindow
*arg1
= (wxWindow
*) 0 ;
22519 PyObject
* obj0
= 0 ;
22520 char *kwnames
[] = {
22521 (char *) "self", NULL
22524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
22530 wxPyEndAllowThreads(__tstate
);
22531 if (PyErr_Occurred()) SWIG_fail
;
22533 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
22540 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22541 PyObject
*resultobj
;
22542 wxWindow
*arg1
= (wxWindow
*) 0 ;
22544 PyObject
* obj0
= 0 ;
22545 char *kwnames
[] = {
22546 (char *) "self", NULL
22549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
22550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
22555 wxPyEndAllowThreads(__tstate
);
22556 if (PyErr_Occurred()) SWIG_fail
;
22558 resultobj
= PyInt_FromLong((long)result
);
22565 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22566 PyObject
*resultobj
;
22567 wxWindow
*arg1
= (wxWindow
*) 0 ;
22569 PyObject
* obj0
= 0 ;
22570 char *kwnames
[] = {
22571 (char *) "self", NULL
22574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
22575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22578 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
22580 wxPyEndAllowThreads(__tstate
);
22581 if (PyErr_Occurred()) SWIG_fail
;
22583 resultobj
= PyInt_FromLong((long)result
);
22590 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22591 PyObject
*resultobj
;
22592 wxWindow
*arg1
= (wxWindow
*) 0 ;
22593 wxString
*arg2
= 0 ;
22594 int *arg3
= (int *) 0 ;
22595 int *arg4
= (int *) 0 ;
22596 bool temp2
= False
;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self",(char *) "string", NULL
22607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
22608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22610 arg2
= wxString_in_helper(obj1
);
22611 if (arg2
== NULL
) SWIG_fail
;
22615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22616 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22618 wxPyEndAllowThreads(__tstate
);
22619 if (PyErr_Occurred()) SWIG_fail
;
22621 Py_INCREF(Py_None
); resultobj
= Py_None
;
22623 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22624 resultobj
= t_output_helper(resultobj
,o
);
22627 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22628 resultobj
= t_output_helper(resultobj
,o
);
22644 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxWindow
*arg1
= (wxWindow
*) 0 ;
22647 wxString
*arg2
= 0 ;
22648 int *arg3
= (int *) 0 ;
22649 int *arg4
= (int *) 0 ;
22650 int *arg5
= (int *) 0 ;
22651 int *arg6
= (int *) 0 ;
22652 wxFont
*arg7
= (wxFont
*) NULL
;
22653 bool temp2
= False
;
22658 PyObject
* obj0
= 0 ;
22659 PyObject
* obj1
= 0 ;
22660 PyObject
* obj2
= 0 ;
22661 char *kwnames
[] = {
22662 (char *) "self",(char *) "string",(char *) "font", NULL
22669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22672 arg2
= wxString_in_helper(obj1
);
22673 if (arg2
== NULL
) SWIG_fail
;
22677 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22681 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
22683 wxPyEndAllowThreads(__tstate
);
22684 if (PyErr_Occurred()) SWIG_fail
;
22686 Py_INCREF(Py_None
); resultobj
= Py_None
;
22688 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22689 resultobj
= t_output_helper(resultobj
,o
);
22692 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22693 resultobj
= t_output_helper(resultobj
,o
);
22696 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
22697 resultobj
= t_output_helper(resultobj
,o
);
22700 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
22701 resultobj
= t_output_helper(resultobj
,o
);
22717 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22718 PyObject
*resultobj
;
22719 wxWindow
*arg1
= (wxWindow
*) 0 ;
22720 int *arg2
= (int *) 0 ;
22721 int *arg3
= (int *) 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 PyObject
* obj2
= 0 ;
22727 char *kwnames
[] = {
22728 (char *) "self",(char *) "x",(char *) "y", NULL
22731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22734 temp2
= PyInt_AsLong(obj1
);
22735 if (PyErr_Occurred()) SWIG_fail
;
22739 temp3
= PyInt_AsLong(obj2
);
22740 if (PyErr_Occurred()) SWIG_fail
;
22744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22745 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
22747 wxPyEndAllowThreads(__tstate
);
22748 if (PyErr_Occurred()) SWIG_fail
;
22750 Py_INCREF(Py_None
); resultobj
= Py_None
;
22752 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22753 resultobj
= t_output_helper(resultobj
,o
);
22756 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22757 resultobj
= t_output_helper(resultobj
,o
);
22765 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22766 PyObject
*resultobj
;
22767 wxWindow
*arg1
= (wxWindow
*) 0 ;
22768 int *arg2
= (int *) 0 ;
22769 int *arg3
= (int *) 0 ;
22772 PyObject
* obj0
= 0 ;
22773 PyObject
* obj1
= 0 ;
22774 PyObject
* obj2
= 0 ;
22775 char *kwnames
[] = {
22776 (char *) "self",(char *) "x",(char *) "y", NULL
22779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22782 temp2
= PyInt_AsLong(obj1
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22787 temp3
= PyInt_AsLong(obj2
);
22788 if (PyErr_Occurred()) SWIG_fail
;
22792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22793 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
22795 wxPyEndAllowThreads(__tstate
);
22796 if (PyErr_Occurred()) SWIG_fail
;
22798 Py_INCREF(Py_None
); resultobj
= Py_None
;
22800 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
22801 resultobj
= t_output_helper(resultobj
,o
);
22804 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22805 resultobj
= t_output_helper(resultobj
,o
);
22813 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
;
22815 wxWindow
*arg1
= (wxWindow
*) 0 ;
22816 wxPoint
*arg2
= 0 ;
22819 PyObject
* obj0
= 0 ;
22820 PyObject
* obj1
= 0 ;
22821 char *kwnames
[] = {
22822 (char *) "self",(char *) "pt", NULL
22825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
22826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22829 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22833 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
22835 wxPyEndAllowThreads(__tstate
);
22836 if (PyErr_Occurred()) SWIG_fail
;
22839 wxPoint
* resultptr
;
22840 resultptr
= new wxPoint((wxPoint
&) result
);
22841 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22849 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxWindow
*arg1
= (wxWindow
*) 0 ;
22852 wxPoint
*arg2
= 0 ;
22855 PyObject
* obj0
= 0 ;
22856 PyObject
* obj1
= 0 ;
22857 char *kwnames
[] = {
22858 (char *) "self",(char *) "pt", NULL
22861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
22862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22865 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22869 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
22871 wxPyEndAllowThreads(__tstate
);
22872 if (PyErr_Occurred()) SWIG_fail
;
22875 wxPoint
* resultptr
;
22876 resultptr
= new wxPoint((wxPoint
&) result
);
22877 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22885 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22886 PyObject
*resultobj
;
22887 wxWindow
*arg1
= (wxWindow
*) 0 ;
22891 PyObject
* obj0
= 0 ;
22892 char *kwnames
[] = {
22893 (char *) "self",(char *) "x",(char *) "y", NULL
22896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
22902 wxPyEndAllowThreads(__tstate
);
22903 if (PyErr_Occurred()) SWIG_fail
;
22905 resultobj
= PyInt_FromLong((long)result
);
22912 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22913 PyObject
*resultobj
;
22914 wxWindow
*arg1
= (wxWindow
*) 0 ;
22915 wxPoint
*arg2
= 0 ;
22918 PyObject
* obj0
= 0 ;
22919 PyObject
* obj1
= 0 ;
22920 char *kwnames
[] = {
22921 (char *) "self",(char *) "pt", NULL
22924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
22925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22928 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22932 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
22934 wxPyEndAllowThreads(__tstate
);
22935 if (PyErr_Occurred()) SWIG_fail
;
22937 resultobj
= PyInt_FromLong((long)result
);
22944 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22945 PyObject
*resultobj
;
22946 wxWindow
*arg1
= (wxWindow
*) 0 ;
22949 PyObject
* obj0
= 0 ;
22950 char *kwnames
[] = {
22951 (char *) "self",(char *) "flags", NULL
22954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
22955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22958 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
22960 wxPyEndAllowThreads(__tstate
);
22961 if (PyErr_Occurred()) SWIG_fail
;
22963 resultobj
= PyInt_FromLong((long)result
);
22970 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22971 PyObject
*resultobj
;
22972 wxWindow
*arg1
= (wxWindow
*) 0 ;
22974 PyObject
* obj0
= 0 ;
22975 char *kwnames
[] = {
22976 (char *) "self", NULL
22979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
22980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22983 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
22985 wxPyEndAllowThreads(__tstate
);
22986 if (PyErr_Occurred()) SWIG_fail
;
22988 resultobj
= PyInt_FromLong((long)result
);
22995 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxWindow
*arg1
= (wxWindow
*) 0 ;
22998 long arg2
= (long) wxUPDATE_UI_NONE
;
22999 PyObject
* obj0
= 0 ;
23000 char *kwnames
[] = {
23001 (char *) "self",(char *) "flags", NULL
23004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23008 (arg1
)->UpdateWindowUI(arg2
);
23010 wxPyEndAllowThreads(__tstate
);
23011 if (PyErr_Occurred()) SWIG_fail
;
23013 Py_INCREF(Py_None
); resultobj
= Py_None
;
23020 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23021 PyObject
*resultobj
;
23022 wxWindow
*arg1
= (wxWindow
*) 0 ;
23023 wxMenu
*arg2
= (wxMenu
*) 0 ;
23027 PyObject
* obj0
= 0 ;
23028 PyObject
* obj1
= 0 ;
23029 char *kwnames
[] = {
23030 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23035 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23038 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23040 wxPyEndAllowThreads(__tstate
);
23041 if (PyErr_Occurred()) SWIG_fail
;
23043 resultobj
= PyInt_FromLong((long)result
);
23050 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23051 PyObject
*resultobj
;
23052 wxWindow
*arg1
= (wxWindow
*) 0 ;
23053 wxMenu
*arg2
= (wxMenu
*) 0 ;
23054 wxPoint
*arg3
= 0 ;
23057 PyObject
* obj0
= 0 ;
23058 PyObject
* obj1
= 0 ;
23059 PyObject
* obj2
= 0 ;
23060 char *kwnames
[] = {
23061 (char *) "self",(char *) "menu",(char *) "pos", NULL
23064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23069 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23073 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= PyInt_FromLong((long)result
);
23085 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23086 PyObject
*resultobj
;
23087 wxWindow
*arg1
= (wxWindow
*) 0 ;
23089 PyObject
* obj0
= 0 ;
23090 char *kwnames
[] = {
23091 (char *) "self", NULL
23094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23098 result
= (long)wxWindow_GetHandle(arg1
);
23100 wxPyEndAllowThreads(__tstate
);
23101 if (PyErr_Occurred()) SWIG_fail
;
23103 resultobj
= PyInt_FromLong((long)result
);
23110 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23111 PyObject
*resultobj
;
23112 wxWindow
*arg1
= (wxWindow
*) 0 ;
23113 wxPaintEvent
*arg2
= 0 ;
23114 PyObject
* obj0
= 0 ;
23115 PyObject
* obj1
= 0 ;
23116 char *kwnames
[] = {
23117 (char *) "self",(char *) "event", NULL
23120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
23121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPaintEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23123 if (arg2
== NULL
) {
23124 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23128 (arg1
)->OnPaint(*arg2
);
23130 wxPyEndAllowThreads(__tstate
);
23131 if (PyErr_Occurred()) SWIG_fail
;
23133 Py_INCREF(Py_None
); resultobj
= Py_None
;
23140 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23141 PyObject
*resultobj
;
23142 wxWindow
*arg1
= (wxWindow
*) 0 ;
23145 PyObject
* obj0
= 0 ;
23146 char *kwnames
[] = {
23147 (char *) "self",(char *) "orient", NULL
23150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23154 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23156 wxPyEndAllowThreads(__tstate
);
23157 if (PyErr_Occurred()) SWIG_fail
;
23159 resultobj
= PyInt_FromLong((long)result
);
23166 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23167 PyObject
*resultobj
;
23168 wxWindow
*arg1
= (wxWindow
*) 0 ;
23173 bool arg6
= (bool) True
;
23174 PyObject
* obj0
= 0 ;
23175 PyObject
* obj5
= 0 ;
23176 char *kwnames
[] = {
23177 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23183 arg6
= PyInt_AsLong(obj5
) ? true : false;
23184 if (PyErr_Occurred()) SWIG_fail
;
23187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23188 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23190 wxPyEndAllowThreads(__tstate
);
23191 if (PyErr_Occurred()) SWIG_fail
;
23193 Py_INCREF(Py_None
); resultobj
= Py_None
;
23200 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxWindow
*arg1
= (wxWindow
*) 0 ;
23205 bool arg4
= (bool) True
;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj3
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23215 arg4
= PyInt_AsLong(obj3
) ? true : false;
23216 if (PyErr_Occurred()) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 Py_INCREF(Py_None
); resultobj
= Py_None
;
23232 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23233 PyObject
*resultobj
;
23234 wxWindow
*arg1
= (wxWindow
*) 0 ;
23237 PyObject
* obj0
= 0 ;
23238 char *kwnames
[] = {
23239 (char *) "self",(char *) "orient", NULL
23242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23246 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23248 wxPyEndAllowThreads(__tstate
);
23249 if (PyErr_Occurred()) SWIG_fail
;
23251 resultobj
= PyInt_FromLong((long)result
);
23258 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23259 PyObject
*resultobj
;
23260 wxWindow
*arg1
= (wxWindow
*) 0 ;
23263 PyObject
* obj0
= 0 ;
23264 char *kwnames
[] = {
23265 (char *) "self",(char *) "orient", NULL
23268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23272 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23274 wxPyEndAllowThreads(__tstate
);
23275 if (PyErr_Occurred()) SWIG_fail
;
23277 resultobj
= PyInt_FromLong((long)result
);
23284 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23285 PyObject
*resultobj
;
23286 wxWindow
*arg1
= (wxWindow
*) 0 ;
23289 PyObject
* obj0
= 0 ;
23290 char *kwnames
[] = {
23291 (char *) "self",(char *) "orient", NULL
23294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23300 wxPyEndAllowThreads(__tstate
);
23301 if (PyErr_Occurred()) SWIG_fail
;
23303 resultobj
= PyInt_FromLong((long)result
);
23310 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23311 PyObject
*resultobj
;
23312 wxWindow
*arg1
= (wxWindow
*) 0 ;
23315 wxRect
*arg4
= (wxRect
*) NULL
;
23316 PyObject
* obj0
= 0 ;
23317 PyObject
* obj3
= 0 ;
23318 char *kwnames
[] = {
23319 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23325 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23329 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23331 wxPyEndAllowThreads(__tstate
);
23332 if (PyErr_Occurred()) SWIG_fail
;
23334 Py_INCREF(Py_None
); resultobj
= Py_None
;
23341 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23342 PyObject
*resultobj
;
23343 wxWindow
*arg1
= (wxWindow
*) 0 ;
23346 PyObject
* obj0
= 0 ;
23347 char *kwnames
[] = {
23348 (char *) "self",(char *) "lines", NULL
23351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23355 result
= (bool)(arg1
)->ScrollLines(arg2
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= PyInt_FromLong((long)result
);
23367 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23368 PyObject
*resultobj
;
23369 wxWindow
*arg1
= (wxWindow
*) 0 ;
23372 PyObject
* obj0
= 0 ;
23373 char *kwnames
[] = {
23374 (char *) "self",(char *) "pages", NULL
23377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23381 result
= (bool)(arg1
)->ScrollPages(arg2
);
23383 wxPyEndAllowThreads(__tstate
);
23384 if (PyErr_Occurred()) SWIG_fail
;
23386 resultobj
= PyInt_FromLong((long)result
);
23393 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23394 PyObject
*resultobj
;
23395 wxWindow
*arg1
= (wxWindow
*) 0 ;
23397 PyObject
* obj0
= 0 ;
23398 char *kwnames
[] = {
23399 (char *) "self", NULL
23402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
23403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23406 result
= (bool)(arg1
)->LineUp();
23408 wxPyEndAllowThreads(__tstate
);
23409 if (PyErr_Occurred()) SWIG_fail
;
23411 resultobj
= PyInt_FromLong((long)result
);
23418 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23419 PyObject
*resultobj
;
23420 wxWindow
*arg1
= (wxWindow
*) 0 ;
23422 PyObject
* obj0
= 0 ;
23423 char *kwnames
[] = {
23424 (char *) "self", NULL
23427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23431 result
= (bool)(arg1
)->LineDown();
23433 wxPyEndAllowThreads(__tstate
);
23434 if (PyErr_Occurred()) SWIG_fail
;
23436 resultobj
= PyInt_FromLong((long)result
);
23443 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23444 PyObject
*resultobj
;
23445 wxWindow
*arg1
= (wxWindow
*) 0 ;
23447 PyObject
* obj0
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23456 result
= (bool)(arg1
)->PageUp();
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= PyInt_FromLong((long)result
);
23468 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23469 PyObject
*resultobj
;
23470 wxWindow
*arg1
= (wxWindow
*) 0 ;
23472 PyObject
* obj0
= 0 ;
23473 char *kwnames
[] = {
23474 (char *) "self", NULL
23477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23481 result
= (bool)(arg1
)->PageDown();
23483 wxPyEndAllowThreads(__tstate
);
23484 if (PyErr_Occurred()) SWIG_fail
;
23486 resultobj
= PyInt_FromLong((long)result
);
23493 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23494 PyObject
*resultobj
;
23495 wxWindow
*arg1
= (wxWindow
*) 0 ;
23496 wxString
*arg2
= 0 ;
23497 bool temp2
= False
;
23498 PyObject
* obj0
= 0 ;
23499 PyObject
* obj1
= 0 ;
23500 char *kwnames
[] = {
23501 (char *) "self",(char *) "text", NULL
23504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23507 arg2
= wxString_in_helper(obj1
);
23508 if (arg2
== NULL
) SWIG_fail
;
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23513 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23515 wxPyEndAllowThreads(__tstate
);
23516 if (PyErr_Occurred()) SWIG_fail
;
23518 Py_INCREF(Py_None
); resultobj
= Py_None
;
23533 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23534 PyObject
*resultobj
;
23535 wxWindow
*arg1
= (wxWindow
*) 0 ;
23536 wxString
*arg2
= 0 ;
23537 bool temp2
= False
;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj1
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "text", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23547 arg2
= wxString_in_helper(obj1
);
23548 if (arg2
== NULL
) SWIG_fail
;
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
23555 wxPyEndAllowThreads(__tstate
);
23556 if (PyErr_Occurred()) SWIG_fail
;
23558 Py_INCREF(Py_None
); resultobj
= Py_None
;
23573 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23574 PyObject
*resultobj
;
23575 wxWindow
*arg1
= (wxWindow
*) 0 ;
23577 PyObject
* obj0
= 0 ;
23578 char *kwnames
[] = {
23579 (char *) "self", NULL
23582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
23583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23586 result
= ((wxWindow
const *)arg1
)->GetHelpText();
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23593 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23595 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23604 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23605 PyObject
*resultobj
;
23606 wxWindow
*arg1
= (wxWindow
*) 0 ;
23607 wxString
*arg2
= 0 ;
23608 bool temp2
= False
;
23609 PyObject
* obj0
= 0 ;
23610 PyObject
* obj1
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "self",(char *) "tip", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
23616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23618 arg2
= wxString_in_helper(obj1
);
23619 if (arg2
== NULL
) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 Py_INCREF(Py_None
); resultobj
= Py_None
;
23644 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23645 PyObject
*resultobj
;
23646 wxWindow
*arg1
= (wxWindow
*) 0 ;
23647 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj1
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "tip", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23656 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 (arg1
)->SetToolTip(arg2
);
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 Py_INCREF(Py_None
); resultobj
= Py_None
;
23671 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxWindow
*arg1
= (wxWindow
*) 0 ;
23675 PyObject
* obj0
= 0 ;
23676 char *kwnames
[] = {
23677 (char *) "self", NULL
23680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
23681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23684 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
23686 wxPyEndAllowThreads(__tstate
);
23687 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= wxPyMake_wxObject(result
);
23698 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23699 PyObject
*resultobj
;
23700 wxWindow
*arg1
= (wxWindow
*) 0 ;
23701 wxDropTarget
*arg2
= (wxDropTarget
*) 0 ;
23702 PyObject
* obj0
= 0 ;
23703 PyObject
* obj1
= 0 ;
23704 char *kwnames
[] = {
23705 (char *) "self",(char *) "dropTarget", NULL
23708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
23709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 (arg1
)->SetDropTarget(arg2
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 Py_INCREF(Py_None
); resultobj
= Py_None
;
23725 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxWindow
*arg1
= (wxWindow
*) 0 ;
23728 wxDropTarget
*result
;
23729 PyObject
* obj0
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
23735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23738 result
= (wxDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDropTarget
, 0);
23750 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxWindow
*arg1
= (wxWindow
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 PyObject
* obj1
= 0 ;
23756 char *kwnames
[] = {
23757 (char *) "self",(char *) "accept", NULL
23760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
23761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23762 arg2
= PyInt_AsLong(obj1
) ? true : false;
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23766 (arg1
)->DragAcceptFiles(arg2
);
23768 wxPyEndAllowThreads(__tstate
);
23769 if (PyErr_Occurred()) SWIG_fail
;
23771 Py_INCREF(Py_None
); resultobj
= Py_None
;
23778 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23779 PyObject
*resultobj
;
23780 wxWindow
*arg1
= (wxWindow
*) 0 ;
23781 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
23782 PyObject
* obj0
= 0 ;
23783 PyObject
* obj1
= 0 ;
23784 char *kwnames
[] = {
23785 (char *) "self",(char *) "constraints", NULL
23788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
23789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23790 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23793 (arg1
)->SetConstraints(arg2
);
23795 wxPyEndAllowThreads(__tstate
);
23796 if (PyErr_Occurred()) SWIG_fail
;
23798 Py_INCREF(Py_None
); resultobj
= Py_None
;
23805 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23806 PyObject
*resultobj
;
23807 wxWindow
*arg1
= (wxWindow
*) 0 ;
23808 wxLayoutConstraints
*result
;
23809 PyObject
* obj0
= 0 ;
23810 char *kwnames
[] = {
23811 (char *) "self", NULL
23814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
23815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23818 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
23820 wxPyEndAllowThreads(__tstate
);
23821 if (PyErr_Occurred()) SWIG_fail
;
23823 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
23830 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23831 PyObject
*resultobj
;
23832 wxWindow
*arg1
= (wxWindow
*) 0 ;
23834 PyObject
* obj0
= 0 ;
23835 PyObject
* obj1
= 0 ;
23836 char *kwnames
[] = {
23837 (char *) "self",(char *) "autoLayout", NULL
23840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
23841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23842 arg2
= PyInt_AsLong(obj1
) ? true : false;
23843 if (PyErr_Occurred()) SWIG_fail
;
23845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23846 (arg1
)->SetAutoLayout(arg2
);
23848 wxPyEndAllowThreads(__tstate
);
23849 if (PyErr_Occurred()) SWIG_fail
;
23851 Py_INCREF(Py_None
); resultobj
= Py_None
;
23858 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23859 PyObject
*resultobj
;
23860 wxWindow
*arg1
= (wxWindow
*) 0 ;
23862 PyObject
* obj0
= 0 ;
23863 char *kwnames
[] = {
23864 (char *) "self", NULL
23867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
23868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23871 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
23873 wxPyEndAllowThreads(__tstate
);
23874 if (PyErr_Occurred()) SWIG_fail
;
23876 resultobj
= PyInt_FromLong((long)result
);
23883 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23884 PyObject
*resultobj
;
23885 wxWindow
*arg1
= (wxWindow
*) 0 ;
23887 PyObject
* obj0
= 0 ;
23888 char *kwnames
[] = {
23889 (char *) "self", NULL
23892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
23893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23896 result
= (bool)(arg1
)->Layout();
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23901 resultobj
= PyInt_FromLong((long)result
);
23908 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxWindow
*arg1
= (wxWindow
*) 0 ;
23911 wxSizer
*arg2
= (wxSizer
*) 0 ;
23912 bool arg3
= (bool) True
;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 PyObject
* obj2
= 0 ;
23916 char *kwnames
[] = {
23917 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23922 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23924 arg3
= PyInt_AsLong(obj2
) ? true : false;
23925 if (PyErr_Occurred()) SWIG_fail
;
23928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23929 (arg1
)->SetSizer(arg2
,arg3
);
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23934 Py_INCREF(Py_None
); resultobj
= Py_None
;
23941 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23942 PyObject
*resultobj
;
23943 wxWindow
*arg1
= (wxWindow
*) 0 ;
23944 wxSizer
*arg2
= (wxSizer
*) 0 ;
23945 bool arg3
= (bool) True
;
23946 PyObject
* obj0
= 0 ;
23947 PyObject
* obj1
= 0 ;
23948 PyObject
* obj2
= 0 ;
23949 char *kwnames
[] = {
23950 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
23953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23957 arg3
= PyInt_AsLong(obj2
) ? true : false;
23958 if (PyErr_Occurred()) SWIG_fail
;
23961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23962 (arg1
)->SetSizerAndFit(arg2
,arg3
);
23964 wxPyEndAllowThreads(__tstate
);
23965 if (PyErr_Occurred()) SWIG_fail
;
23967 Py_INCREF(Py_None
); resultobj
= Py_None
;
23974 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23975 PyObject
*resultobj
;
23976 wxWindow
*arg1
= (wxWindow
*) 0 ;
23978 PyObject
* obj0
= 0 ;
23979 char *kwnames
[] = {
23980 (char *) "self", NULL
23983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
23984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23987 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
23989 wxPyEndAllowThreads(__tstate
);
23990 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= wxPyMake_wxSizer(result
);
24001 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24002 PyObject
*resultobj
;
24003 wxWindow
*arg1
= (wxWindow
*) 0 ;
24004 wxSizer
*arg2
= (wxSizer
*) 0 ;
24005 PyObject
* obj0
= 0 ;
24006 PyObject
* obj1
= 0 ;
24007 char *kwnames
[] = {
24008 (char *) "self",(char *) "sizer", NULL
24011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24013 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 (arg1
)->SetContainingSizer(arg2
);
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24021 Py_INCREF(Py_None
); resultobj
= Py_None
;
24028 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24029 PyObject
*resultobj
;
24030 wxWindow
*arg1
= (wxWindow
*) 0 ;
24032 PyObject
* obj0
= 0 ;
24033 char *kwnames
[] = {
24034 (char *) "self", NULL
24037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24041 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24043 wxPyEndAllowThreads(__tstate
);
24044 if (PyErr_Occurred()) SWIG_fail
;
24047 resultobj
= wxPyMake_wxSizer(result
);
24055 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24058 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24060 return Py_BuildValue((char *)"");
24062 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24063 PyObject
*resultobj
;
24065 wxWindow
*arg2
= (wxWindow
*) NULL
;
24067 PyObject
* obj1
= 0 ;
24068 char *kwnames
[] = {
24069 (char *) "id",(char *) "parent", NULL
24072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24074 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24078 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24080 wxPyEndAllowThreads(__tstate
);
24081 if (PyErr_Occurred()) SWIG_fail
;
24084 resultobj
= wxPyMake_wxObject(result
);
24092 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24093 PyObject
*resultobj
;
24094 wxString
*arg1
= 0 ;
24095 wxWindow
*arg2
= (wxWindow
*) NULL
;
24097 bool temp1
= False
;
24098 PyObject
* obj0
= 0 ;
24099 PyObject
* obj1
= 0 ;
24100 char *kwnames
[] = {
24101 (char *) "name",(char *) "parent", NULL
24104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24106 arg1
= wxString_in_helper(obj0
);
24107 if (arg1
== NULL
) SWIG_fail
;
24111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24115 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24117 wxPyEndAllowThreads(__tstate
);
24118 if (PyErr_Occurred()) SWIG_fail
;
24121 resultobj
= wxPyMake_wxObject(result
);
24137 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxString
*arg1
= 0 ;
24140 wxWindow
*arg2
= (wxWindow
*) NULL
;
24142 bool temp1
= False
;
24143 PyObject
* obj0
= 0 ;
24144 PyObject
* obj1
= 0 ;
24145 char *kwnames
[] = {
24146 (char *) "label",(char *) "parent", NULL
24149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24151 arg1
= wxString_in_helper(obj0
);
24152 if (arg1
== NULL
) SWIG_fail
;
24156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24160 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24162 wxPyEndAllowThreads(__tstate
);
24163 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= wxPyMake_wxObject(result
);
24182 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24183 PyObject
*resultobj
;
24184 unsigned long arg1
;
24186 PyObject
* obj0
= 0 ;
24187 char *kwnames
[] = {
24188 (char *) "hWnd", NULL
24191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24192 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24196 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24198 wxPyEndAllowThreads(__tstate
);
24199 if (PyErr_Occurred()) SWIG_fail
;
24202 resultobj
= wxPyMake_wxObject(result
);
24210 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24211 PyObject
*resultobj
;
24212 wxValidator
*result
;
24213 char *kwnames
[] = {
24217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (wxValidator
*)new wxValidator();
24222 wxPyEndAllowThreads(__tstate
);
24223 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= wxPyMake_wxObject(result
);
24234 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxValidator
*arg1
= (wxValidator
*) 0 ;
24237 wxValidator
*result
;
24238 PyObject
* obj0
= 0 ;
24239 char *kwnames
[] = {
24240 (char *) "self", NULL
24243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24247 result
= (wxValidator
*)(arg1
)->Clone();
24249 wxPyEndAllowThreads(__tstate
);
24250 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= wxPyMake_wxObject(result
);
24261 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24262 PyObject
*resultobj
;
24263 wxValidator
*arg1
= (wxValidator
*) 0 ;
24264 wxWindow
*arg2
= (wxWindow
*) 0 ;
24266 PyObject
* obj0
= 0 ;
24267 PyObject
* obj1
= 0 ;
24268 char *kwnames
[] = {
24269 (char *) "self",(char *) "parent", NULL
24272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24274 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24277 result
= (bool)(arg1
)->Validate(arg2
);
24279 wxPyEndAllowThreads(__tstate
);
24280 if (PyErr_Occurred()) SWIG_fail
;
24282 resultobj
= PyInt_FromLong((long)result
);
24289 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24290 PyObject
*resultobj
;
24291 wxValidator
*arg1
= (wxValidator
*) 0 ;
24293 PyObject
* obj0
= 0 ;
24294 char *kwnames
[] = {
24295 (char *) "self", NULL
24298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24302 result
= (bool)(arg1
)->TransferToWindow();
24304 wxPyEndAllowThreads(__tstate
);
24305 if (PyErr_Occurred()) SWIG_fail
;
24307 resultobj
= PyInt_FromLong((long)result
);
24314 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24315 PyObject
*resultobj
;
24316 wxValidator
*arg1
= (wxValidator
*) 0 ;
24318 PyObject
* obj0
= 0 ;
24319 char *kwnames
[] = {
24320 (char *) "self", NULL
24323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24327 result
= (bool)(arg1
)->TransferFromWindow();
24329 wxPyEndAllowThreads(__tstate
);
24330 if (PyErr_Occurred()) SWIG_fail
;
24332 resultobj
= PyInt_FromLong((long)result
);
24339 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24340 PyObject
*resultobj
;
24341 wxValidator
*arg1
= (wxValidator
*) 0 ;
24343 PyObject
* obj0
= 0 ;
24344 char *kwnames
[] = {
24345 (char *) "self", NULL
24348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24352 result
= (wxWindow
*)(arg1
)->GetWindow();
24354 wxPyEndAllowThreads(__tstate
);
24355 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= wxPyMake_wxObject(result
);
24366 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24367 PyObject
*resultobj
;
24368 wxValidator
*arg1
= (wxValidator
*) 0 ;
24369 wxWindow
*arg2
= (wxWindow
*) 0 ;
24370 PyObject
* obj0
= 0 ;
24371 PyObject
* obj1
= 0 ;
24372 char *kwnames
[] = {
24373 (char *) "self",(char *) "window", NULL
24376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24381 (arg1
)->SetWindow(arg2
);
24383 wxPyEndAllowThreads(__tstate
);
24384 if (PyErr_Occurred()) SWIG_fail
;
24386 Py_INCREF(Py_None
); resultobj
= Py_None
;
24393 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24394 PyObject
*resultobj
;
24396 char *kwnames
[] = {
24400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24403 result
= (bool)wxValidator::IsSilent();
24405 wxPyEndAllowThreads(__tstate
);
24406 if (PyErr_Occurred()) SWIG_fail
;
24408 resultobj
= PyInt_FromLong((long)result
);
24415 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24416 PyObject
*resultobj
;
24417 int arg1
= (int) True
;
24418 char *kwnames
[] = {
24419 (char *) "doIt", NULL
24422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24425 wxValidator::SetBellOnError(arg1
);
24427 wxPyEndAllowThreads(__tstate
);
24428 if (PyErr_Occurred()) SWIG_fail
;
24430 Py_INCREF(Py_None
); resultobj
= Py_None
;
24437 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24440 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24442 return Py_BuildValue((char *)"");
24444 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
;
24446 wxPyValidator
*result
;
24447 char *kwnames
[] = {
24451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24454 result
= (wxPyValidator
*)new wxPyValidator();
24456 wxPyEndAllowThreads(__tstate
);
24457 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24466 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24467 PyObject
*resultobj
;
24468 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24469 PyObject
*arg2
= (PyObject
*) 0 ;
24470 PyObject
*arg3
= (PyObject
*) 0 ;
24471 int arg4
= (int) True
;
24472 PyObject
* obj0
= 0 ;
24473 PyObject
* obj1
= 0 ;
24474 PyObject
* obj2
= 0 ;
24475 char *kwnames
[] = {
24476 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24485 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24487 wxPyEndAllowThreads(__tstate
);
24488 if (PyErr_Occurred()) SWIG_fail
;
24490 Py_INCREF(Py_None
); resultobj
= Py_None
;
24497 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24499 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24500 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24502 return Py_BuildValue((char *)"");
24504 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24505 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24510 static PyObject
*_wrap_DefaultValidator_get() {
24513 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24518 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24519 PyObject
*resultobj
;
24520 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24521 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24522 long arg2
= (long) 0 ;
24524 bool temp1
= False
;
24525 PyObject
* obj0
= 0 ;
24526 char *kwnames
[] = {
24527 (char *) "title",(char *) "style", NULL
24530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
24533 arg1
= wxString_in_helper(obj0
);
24534 if (arg1
== NULL
) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= wxPyMake_wxObject(result
);
24562 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxMenu
*arg1
= (wxMenu
*) 0 ;
24566 wxString
*arg3
= 0 ;
24567 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24568 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24569 int arg5
= (int) wxITEM_NORMAL
;
24570 bool temp3
= False
;
24571 bool temp4
= False
;
24572 PyObject
* obj0
= 0 ;
24573 PyObject
* obj2
= 0 ;
24574 PyObject
* obj3
= 0 ;
24575 char *kwnames
[] = {
24576 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24582 arg3
= wxString_in_helper(obj2
);
24583 if (arg3
== NULL
) SWIG_fail
;
24588 arg4
= wxString_in_helper(obj3
);
24589 if (arg4
== NULL
) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 Py_INCREF(Py_None
); resultobj
= Py_None
;
24623 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24624 PyObject
*resultobj
;
24625 wxMenu
*arg1
= (wxMenu
*) 0 ;
24626 PyObject
* obj0
= 0 ;
24627 char *kwnames
[] = {
24628 (char *) "self", NULL
24631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
24632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24635 (arg1
)->AppendSeparator();
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24640 Py_INCREF(Py_None
); resultobj
= Py_None
;
24647 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24648 PyObject
*resultobj
;
24649 wxMenu
*arg1
= (wxMenu
*) 0 ;
24651 wxString
*arg3
= 0 ;
24652 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24653 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24654 bool temp3
= False
;
24655 bool temp4
= False
;
24656 PyObject
* obj0
= 0 ;
24657 PyObject
* obj2
= 0 ;
24658 PyObject
* obj3
= 0 ;
24659 char *kwnames
[] = {
24660 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24666 arg3
= wxString_in_helper(obj2
);
24667 if (arg3
== NULL
) SWIG_fail
;
24672 arg4
= wxString_in_helper(obj3
);
24673 if (arg4
== NULL
) SWIG_fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 Py_INCREF(Py_None
); resultobj
= Py_None
;
24707 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
;
24709 wxMenu
*arg1
= (wxMenu
*) 0 ;
24711 wxString
*arg3
= 0 ;
24712 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24713 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24714 bool temp3
= False
;
24715 bool temp4
= False
;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj2
= 0 ;
24718 PyObject
* obj3
= 0 ;
24719 char *kwnames
[] = {
24720 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24726 arg3
= wxString_in_helper(obj2
);
24727 if (arg3
== NULL
) SWIG_fail
;
24732 arg4
= wxString_in_helper(obj3
);
24733 if (arg4
== NULL
) SWIG_fail
;
24738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24739 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24741 wxPyEndAllowThreads(__tstate
);
24742 if (PyErr_Occurred()) SWIG_fail
;
24744 Py_INCREF(Py_None
); resultobj
= Py_None
;
24767 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24768 PyObject
*resultobj
;
24769 wxMenu
*arg1
= (wxMenu
*) 0 ;
24771 wxString
*arg3
= 0 ;
24772 wxMenu
*arg4
= (wxMenu
*) 0 ;
24773 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24774 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24775 bool temp3
= False
;
24776 bool temp5
= False
;
24777 PyObject
* obj0
= 0 ;
24778 PyObject
* obj2
= 0 ;
24779 PyObject
* obj3
= 0 ;
24780 PyObject
* obj4
= 0 ;
24781 char *kwnames
[] = {
24782 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
24785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
24786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24788 arg3
= wxString_in_helper(obj2
);
24789 if (arg3
== NULL
) SWIG_fail
;
24792 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24795 arg5
= wxString_in_helper(obj4
);
24796 if (arg5
== NULL
) SWIG_fail
;
24801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24802 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 Py_INCREF(Py_None
); resultobj
= Py_None
;
24830 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24831 PyObject
*resultobj
;
24832 wxMenu
*arg1
= (wxMenu
*) 0 ;
24833 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
24834 PyObject
* obj0
= 0 ;
24835 PyObject
* obj1
= 0 ;
24836 char *kwnames
[] = {
24837 (char *) "self",(char *) "item", NULL
24840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
24841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24842 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24845 (arg1
)->Append(arg2
);
24847 wxPyEndAllowThreads(__tstate
);
24848 if (PyErr_Occurred()) SWIG_fail
;
24850 Py_INCREF(Py_None
); resultobj
= Py_None
;
24857 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24858 PyObject
*resultobj
;
24859 wxMenu
*arg1
= (wxMenu
*) 0 ;
24860 PyObject
* obj0
= 0 ;
24861 char *kwnames
[] = {
24862 (char *) "self", NULL
24865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
24866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 Py_INCREF(Py_None
); resultobj
= Py_None
;
24881 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24882 PyObject
*resultobj
;
24883 wxMenu
*arg1
= (wxMenu
*) 0 ;
24885 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
24887 PyObject
* obj0
= 0 ;
24888 PyObject
* obj1
= 0 ;
24889 PyObject
* obj2
= 0 ;
24890 char *kwnames
[] = {
24891 (char *) "self",(char *) "pos",(char *) "item", NULL
24894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24896 arg2
= (size_t) PyInt_AsLong(obj1
);
24897 if (PyErr_Occurred()) SWIG_fail
;
24898 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24901 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
24903 wxPyEndAllowThreads(__tstate
);
24904 if (PyErr_Occurred()) SWIG_fail
;
24906 resultobj
= PyInt_FromLong((long)result
);
24913 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24914 PyObject
*resultobj
;
24915 wxMenu
*arg1
= (wxMenu
*) 0 ;
24918 wxString
*arg4
= 0 ;
24919 wxString
const &arg5_defvalue
= wxPyEmptyString
;
24920 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
24921 int arg6
= (int) wxITEM_NORMAL
;
24922 bool temp4
= False
;
24923 bool temp5
= False
;
24924 PyObject
* obj0
= 0 ;
24925 PyObject
* obj1
= 0 ;
24926 PyObject
* obj3
= 0 ;
24927 PyObject
* obj4
= 0 ;
24928 char *kwnames
[] = {
24929 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
24933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24934 arg2
= (size_t) PyInt_AsLong(obj1
);
24935 if (PyErr_Occurred()) SWIG_fail
;
24937 arg4
= wxString_in_helper(obj3
);
24938 if (arg4
== NULL
) SWIG_fail
;
24943 arg5
= wxString_in_helper(obj4
);
24944 if (arg5
== NULL
) SWIG_fail
;
24949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24950 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
24952 wxPyEndAllowThreads(__tstate
);
24953 if (PyErr_Occurred()) SWIG_fail
;
24955 Py_INCREF(Py_None
); resultobj
= Py_None
;
24978 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24979 PyObject
*resultobj
;
24980 wxMenu
*arg1
= (wxMenu
*) 0 ;
24982 PyObject
* obj0
= 0 ;
24983 PyObject
* obj1
= 0 ;
24984 char *kwnames
[] = {
24985 (char *) "self",(char *) "pos", NULL
24988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
24989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24990 arg2
= (size_t) PyInt_AsLong(obj1
);
24991 if (PyErr_Occurred()) SWIG_fail
;
24993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24994 (arg1
)->InsertSeparator(arg2
);
24996 wxPyEndAllowThreads(__tstate
);
24997 if (PyErr_Occurred()) SWIG_fail
;
24999 Py_INCREF(Py_None
); resultobj
= Py_None
;
25006 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25007 PyObject
*resultobj
;
25008 wxMenu
*arg1
= (wxMenu
*) 0 ;
25011 wxString
*arg4
= 0 ;
25012 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25013 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25014 bool temp4
= False
;
25015 bool temp5
= False
;
25016 PyObject
* obj0
= 0 ;
25017 PyObject
* obj1
= 0 ;
25018 PyObject
* obj3
= 0 ;
25019 PyObject
* obj4
= 0 ;
25020 char *kwnames
[] = {
25021 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25026 arg2
= (size_t) PyInt_AsLong(obj1
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 arg4
= wxString_in_helper(obj3
);
25030 if (arg4
== NULL
) SWIG_fail
;
25035 arg5
= wxString_in_helper(obj4
);
25036 if (arg5
== NULL
) SWIG_fail
;
25041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25042 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25044 wxPyEndAllowThreads(__tstate
);
25045 if (PyErr_Occurred()) SWIG_fail
;
25047 Py_INCREF(Py_None
); resultobj
= Py_None
;
25070 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25071 PyObject
*resultobj
;
25072 wxMenu
*arg1
= (wxMenu
*) 0 ;
25075 wxString
*arg4
= 0 ;
25076 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25077 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25078 bool temp4
= False
;
25079 bool temp5
= False
;
25080 PyObject
* obj0
= 0 ;
25081 PyObject
* obj1
= 0 ;
25082 PyObject
* obj3
= 0 ;
25083 PyObject
* obj4
= 0 ;
25084 char *kwnames
[] = {
25085 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25090 arg2
= (size_t) PyInt_AsLong(obj1
);
25091 if (PyErr_Occurred()) SWIG_fail
;
25093 arg4
= wxString_in_helper(obj3
);
25094 if (arg4
== NULL
) SWIG_fail
;
25099 arg5
= wxString_in_helper(obj4
);
25100 if (arg5
== NULL
) SWIG_fail
;
25105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25106 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25108 wxPyEndAllowThreads(__tstate
);
25109 if (PyErr_Occurred()) SWIG_fail
;
25111 Py_INCREF(Py_None
); resultobj
= Py_None
;
25134 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25135 PyObject
*resultobj
;
25136 wxMenu
*arg1
= (wxMenu
*) 0 ;
25139 wxString
*arg4
= 0 ;
25140 wxMenu
*arg5
= (wxMenu
*) 0 ;
25141 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25142 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25143 bool temp4
= False
;
25144 bool temp6
= False
;
25145 PyObject
* obj0
= 0 ;
25146 PyObject
* obj1
= 0 ;
25147 PyObject
* obj3
= 0 ;
25148 PyObject
* obj4
= 0 ;
25149 PyObject
* obj5
= 0 ;
25150 char *kwnames
[] = {
25151 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25156 arg2
= (size_t) PyInt_AsLong(obj1
);
25157 if (PyErr_Occurred()) SWIG_fail
;
25159 arg4
= wxString_in_helper(obj3
);
25160 if (arg4
== NULL
) SWIG_fail
;
25163 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25166 arg6
= wxString_in_helper(obj5
);
25167 if (arg6
== NULL
) SWIG_fail
;
25172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25173 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25175 wxPyEndAllowThreads(__tstate
);
25176 if (PyErr_Occurred()) SWIG_fail
;
25178 Py_INCREF(Py_None
); resultobj
= Py_None
;
25201 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25202 PyObject
*resultobj
;
25203 wxMenu
*arg1
= (wxMenu
*) 0 ;
25204 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25205 PyObject
* obj0
= 0 ;
25206 PyObject
* obj1
= 0 ;
25207 char *kwnames
[] = {
25208 (char *) "self",(char *) "item", NULL
25211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25213 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25216 (arg1
)->Prepend(arg2
);
25218 wxPyEndAllowThreads(__tstate
);
25219 if (PyErr_Occurred()) SWIG_fail
;
25221 Py_INCREF(Py_None
); resultobj
= Py_None
;
25228 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25229 PyObject
*resultobj
;
25230 wxMenu
*arg1
= (wxMenu
*) 0 ;
25232 wxString
*arg3
= 0 ;
25233 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25234 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25235 int arg5
= (int) wxITEM_NORMAL
;
25236 bool temp3
= False
;
25237 bool temp4
= False
;
25238 PyObject
* obj0
= 0 ;
25239 PyObject
* obj2
= 0 ;
25240 PyObject
* obj3
= 0 ;
25241 char *kwnames
[] = {
25242 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25248 arg3
= wxString_in_helper(obj2
);
25249 if (arg3
== NULL
) SWIG_fail
;
25254 arg4
= wxString_in_helper(obj3
);
25255 if (arg4
== NULL
) SWIG_fail
;
25260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25261 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25263 wxPyEndAllowThreads(__tstate
);
25264 if (PyErr_Occurred()) SWIG_fail
;
25266 Py_INCREF(Py_None
); resultobj
= Py_None
;
25289 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25290 PyObject
*resultobj
;
25291 wxMenu
*arg1
= (wxMenu
*) 0 ;
25292 PyObject
* obj0
= 0 ;
25293 char *kwnames
[] = {
25294 (char *) "self", NULL
25297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25301 (arg1
)->PrependSeparator();
25303 wxPyEndAllowThreads(__tstate
);
25304 if (PyErr_Occurred()) SWIG_fail
;
25306 Py_INCREF(Py_None
); resultobj
= Py_None
;
25313 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25314 PyObject
*resultobj
;
25315 wxMenu
*arg1
= (wxMenu
*) 0 ;
25317 wxString
*arg3
= 0 ;
25318 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25319 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25320 bool temp3
= False
;
25321 bool temp4
= False
;
25322 PyObject
* obj0
= 0 ;
25323 PyObject
* obj2
= 0 ;
25324 PyObject
* obj3
= 0 ;
25325 char *kwnames
[] = {
25326 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25332 arg3
= wxString_in_helper(obj2
);
25333 if (arg3
== NULL
) SWIG_fail
;
25338 arg4
= wxString_in_helper(obj3
);
25339 if (arg4
== NULL
) SWIG_fail
;
25344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25345 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25350 Py_INCREF(Py_None
); resultobj
= Py_None
;
25373 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25374 PyObject
*resultobj
;
25375 wxMenu
*arg1
= (wxMenu
*) 0 ;
25377 wxString
*arg3
= 0 ;
25378 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25379 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25380 bool temp3
= False
;
25381 bool temp4
= False
;
25382 PyObject
* obj0
= 0 ;
25383 PyObject
* obj2
= 0 ;
25384 PyObject
* obj3
= 0 ;
25385 char *kwnames
[] = {
25386 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25392 arg3
= wxString_in_helper(obj2
);
25393 if (arg3
== NULL
) SWIG_fail
;
25398 arg4
= wxString_in_helper(obj3
);
25399 if (arg4
== NULL
) SWIG_fail
;
25404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25405 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25407 wxPyEndAllowThreads(__tstate
);
25408 if (PyErr_Occurred()) SWIG_fail
;
25410 Py_INCREF(Py_None
); resultobj
= Py_None
;
25433 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25434 PyObject
*resultobj
;
25435 wxMenu
*arg1
= (wxMenu
*) 0 ;
25437 wxString
*arg3
= 0 ;
25438 wxMenu
*arg4
= (wxMenu
*) 0 ;
25439 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25440 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25441 bool temp3
= False
;
25442 bool temp5
= False
;
25443 PyObject
* obj0
= 0 ;
25444 PyObject
* obj2
= 0 ;
25445 PyObject
* obj3
= 0 ;
25446 PyObject
* obj4
= 0 ;
25447 char *kwnames
[] = {
25448 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25454 arg3
= wxString_in_helper(obj2
);
25455 if (arg3
== NULL
) SWIG_fail
;
25458 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25461 arg5
= wxString_in_helper(obj4
);
25462 if (arg5
== NULL
) SWIG_fail
;
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 Py_INCREF(Py_None
); resultobj
= Py_None
;
25496 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25497 PyObject
*resultobj
;
25498 wxMenu
*arg1
= (wxMenu
*) 0 ;
25500 wxMenuItem
*result
;
25501 PyObject
* obj0
= 0 ;
25502 char *kwnames
[] = {
25503 (char *) "self",(char *) "itemid", NULL
25506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25510 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25512 wxPyEndAllowThreads(__tstate
);
25513 if (PyErr_Occurred()) SWIG_fail
;
25516 resultobj
= wxPyMake_wxObject(result
);
25524 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25525 PyObject
*resultobj
;
25526 wxMenu
*arg1
= (wxMenu
*) 0 ;
25527 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25528 wxMenuItem
*result
;
25529 PyObject
* obj0
= 0 ;
25530 PyObject
* obj1
= 0 ;
25531 char *kwnames
[] = {
25532 (char *) "self",(char *) "item", NULL
25535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25537 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25540 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25542 wxPyEndAllowThreads(__tstate
);
25543 if (PyErr_Occurred()) SWIG_fail
;
25546 resultobj
= wxPyMake_wxObject(result
);
25554 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
;
25556 wxMenu
*arg1
= (wxMenu
*) 0 ;
25559 PyObject
* obj0
= 0 ;
25560 char *kwnames
[] = {
25561 (char *) "self",(char *) "itemid", NULL
25564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
25565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25568 result
= (bool)(arg1
)->Delete(arg2
);
25570 wxPyEndAllowThreads(__tstate
);
25571 if (PyErr_Occurred()) SWIG_fail
;
25573 resultobj
= PyInt_FromLong((long)result
);
25580 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25581 PyObject
*resultobj
;
25582 wxMenu
*arg1
= (wxMenu
*) 0 ;
25583 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25585 PyObject
* obj0
= 0 ;
25586 PyObject
* obj1
= 0 ;
25587 char *kwnames
[] = {
25588 (char *) "self",(char *) "item", NULL
25591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25593 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25596 result
= (bool)(arg1
)->Delete(arg2
);
25598 wxPyEndAllowThreads(__tstate
);
25599 if (PyErr_Occurred()) SWIG_fail
;
25601 resultobj
= PyInt_FromLong((long)result
);
25608 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25609 PyObject
*resultobj
;
25610 wxMenu
*arg1
= (wxMenu
*) 0 ;
25611 PyObject
* obj0
= 0 ;
25612 char *kwnames
[] = {
25613 (char *) "self", NULL
25616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
25617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25620 wxMenu_Destroy(arg1
);
25622 wxPyEndAllowThreads(__tstate
);
25623 if (PyErr_Occurred()) SWIG_fail
;
25625 Py_INCREF(Py_None
); resultobj
= Py_None
;
25632 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25633 PyObject
*resultobj
;
25634 wxMenu
*arg1
= (wxMenu
*) 0 ;
25637 PyObject
* obj0
= 0 ;
25638 char *kwnames
[] = {
25639 (char *) "self",(char *) "itemid", NULL
25642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
25643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25646 result
= (bool)(arg1
)->Destroy(arg2
);
25648 wxPyEndAllowThreads(__tstate
);
25649 if (PyErr_Occurred()) SWIG_fail
;
25651 resultobj
= PyInt_FromLong((long)result
);
25658 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25659 PyObject
*resultobj
;
25660 wxMenu
*arg1
= (wxMenu
*) 0 ;
25661 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25663 PyObject
* obj0
= 0 ;
25664 PyObject
* obj1
= 0 ;
25665 char *kwnames
[] = {
25666 (char *) "self",(char *) "item", NULL
25669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25674 result
= (bool)(arg1
)->Destroy(arg2
);
25676 wxPyEndAllowThreads(__tstate
);
25677 if (PyErr_Occurred()) SWIG_fail
;
25679 resultobj
= PyInt_FromLong((long)result
);
25686 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25687 PyObject
*resultobj
;
25688 wxMenu
*arg1
= (wxMenu
*) 0 ;
25690 PyObject
* obj0
= 0 ;
25691 char *kwnames
[] = {
25692 (char *) "self", NULL
25695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
25696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25699 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
25701 wxPyEndAllowThreads(__tstate
);
25702 if (PyErr_Occurred()) SWIG_fail
;
25704 resultobj
= PyInt_FromLong((long)result
);
25711 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25712 PyObject
*resultobj
;
25713 wxMenu
*arg1
= (wxMenu
*) 0 ;
25715 PyObject
* obj0
= 0 ;
25716 char *kwnames
[] = {
25717 (char *) "self", NULL
25720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
25721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25724 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= result
;
25736 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
;
25738 wxMenu
*arg1
= (wxMenu
*) 0 ;
25739 wxString
*arg2
= 0 ;
25741 bool temp2
= False
;
25742 PyObject
* obj0
= 0 ;
25743 PyObject
* obj1
= 0 ;
25744 char *kwnames
[] = {
25745 (char *) "self",(char *) "item", NULL
25748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25751 arg2
= wxString_in_helper(obj1
);
25752 if (arg2
== NULL
) SWIG_fail
;
25756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25757 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
25759 wxPyEndAllowThreads(__tstate
);
25760 if (PyErr_Occurred()) SWIG_fail
;
25762 resultobj
= PyInt_FromLong((long)result
);
25777 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25778 PyObject
*resultobj
;
25779 wxMenu
*arg1
= (wxMenu
*) 0 ;
25781 wxMenuItem
*result
;
25782 PyObject
* obj0
= 0 ;
25783 char *kwnames
[] = {
25784 (char *) "self",(char *) "itemid", NULL
25787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
25788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25791 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
25793 wxPyEndAllowThreads(__tstate
);
25794 if (PyErr_Occurred()) SWIG_fail
;
25797 resultobj
= wxPyMake_wxObject(result
);
25805 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25806 PyObject
*resultobj
;
25807 wxMenu
*arg1
= (wxMenu
*) 0 ;
25809 wxMenuItem
*result
;
25810 PyObject
* obj0
= 0 ;
25811 PyObject
* obj1
= 0 ;
25812 char *kwnames
[] = {
25813 (char *) "self",(char *) "position", NULL
25816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
25817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25818 arg2
= (size_t) PyInt_AsLong(obj1
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25822 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
25824 wxPyEndAllowThreads(__tstate
);
25825 if (PyErr_Occurred()) SWIG_fail
;
25828 resultobj
= wxPyMake_wxObject(result
);
25836 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25837 PyObject
*resultobj
;
25838 wxMenu
*arg1
= (wxMenu
*) 0 ;
25841 PyObject
* obj0
= 0 ;
25842 PyObject
* obj2
= 0 ;
25843 char *kwnames
[] = {
25844 (char *) "self",(char *) "itemid",(char *) "enable", NULL
25847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25849 arg3
= PyInt_AsLong(obj2
) ? true : false;
25850 if (PyErr_Occurred()) SWIG_fail
;
25852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25853 (arg1
)->Enable(arg2
,arg3
);
25855 wxPyEndAllowThreads(__tstate
);
25856 if (PyErr_Occurred()) SWIG_fail
;
25858 Py_INCREF(Py_None
); resultobj
= Py_None
;
25865 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25866 PyObject
*resultobj
;
25867 wxMenu
*arg1
= (wxMenu
*) 0 ;
25870 PyObject
* obj0
= 0 ;
25871 char *kwnames
[] = {
25872 (char *) "self",(char *) "itemid", NULL
25875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
25876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25879 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
25881 wxPyEndAllowThreads(__tstate
);
25882 if (PyErr_Occurred()) SWIG_fail
;
25884 resultobj
= PyInt_FromLong((long)result
);
25891 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25892 PyObject
*resultobj
;
25893 wxMenu
*arg1
= (wxMenu
*) 0 ;
25896 PyObject
* obj0
= 0 ;
25897 PyObject
* obj2
= 0 ;
25898 char *kwnames
[] = {
25899 (char *) "self",(char *) "itemid",(char *) "check", NULL
25902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25904 arg3
= PyInt_AsLong(obj2
) ? true : false;
25905 if (PyErr_Occurred()) SWIG_fail
;
25907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25908 (arg1
)->Check(arg2
,arg3
);
25910 wxPyEndAllowThreads(__tstate
);
25911 if (PyErr_Occurred()) SWIG_fail
;
25913 Py_INCREF(Py_None
); resultobj
= Py_None
;
25920 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25921 PyObject
*resultobj
;
25922 wxMenu
*arg1
= (wxMenu
*) 0 ;
25925 PyObject
* obj0
= 0 ;
25926 char *kwnames
[] = {
25927 (char *) "self",(char *) "itemid", NULL
25930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
25931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25934 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
25936 wxPyEndAllowThreads(__tstate
);
25937 if (PyErr_Occurred()) SWIG_fail
;
25939 resultobj
= PyInt_FromLong((long)result
);
25946 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25947 PyObject
*resultobj
;
25948 wxMenu
*arg1
= (wxMenu
*) 0 ;
25950 wxString
*arg3
= 0 ;
25951 bool temp3
= False
;
25952 PyObject
* obj0
= 0 ;
25953 PyObject
* obj2
= 0 ;
25954 char *kwnames
[] = {
25955 (char *) "self",(char *) "itemid",(char *) "label", NULL
25958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
25959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25961 arg3
= wxString_in_helper(obj2
);
25962 if (arg3
== NULL
) SWIG_fail
;
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25972 Py_INCREF(Py_None
); resultobj
= Py_None
;
25987 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxMenu
*arg1
= (wxMenu
*) 0 ;
25992 PyObject
* obj0
= 0 ;
25993 char *kwnames
[] = {
25994 (char *) "self",(char *) "itemid", NULL
25997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
25998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26001 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26003 wxPyEndAllowThreads(__tstate
);
26004 if (PyErr_Occurred()) SWIG_fail
;
26008 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26010 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26019 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26020 PyObject
*resultobj
;
26021 wxMenu
*arg1
= (wxMenu
*) 0 ;
26023 wxString
*arg3
= 0 ;
26024 bool temp3
= False
;
26025 PyObject
* obj0
= 0 ;
26026 PyObject
* obj2
= 0 ;
26027 char *kwnames
[] = {
26028 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
26031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26034 arg3
= wxString_in_helper(obj2
);
26035 if (arg3
== NULL
) SWIG_fail
;
26039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26040 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26042 wxPyEndAllowThreads(__tstate
);
26043 if (PyErr_Occurred()) SWIG_fail
;
26045 Py_INCREF(Py_None
); resultobj
= Py_None
;
26060 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26061 PyObject
*resultobj
;
26062 wxMenu
*arg1
= (wxMenu
*) 0 ;
26065 PyObject
* obj0
= 0 ;
26066 char *kwnames
[] = {
26067 (char *) "self",(char *) "itemid", NULL
26070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26074 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26076 wxPyEndAllowThreads(__tstate
);
26077 if (PyErr_Occurred()) SWIG_fail
;
26081 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26083 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26092 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26093 PyObject
*resultobj
;
26094 wxMenu
*arg1
= (wxMenu
*) 0 ;
26095 wxString
*arg2
= 0 ;
26096 bool temp2
= False
;
26097 PyObject
* obj0
= 0 ;
26098 PyObject
* obj1
= 0 ;
26099 char *kwnames
[] = {
26100 (char *) "self",(char *) "title", NULL
26103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26106 arg2
= wxString_in_helper(obj1
);
26107 if (arg2
== NULL
) SWIG_fail
;
26111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26112 (arg1
)->SetTitle((wxString
const &)*arg2
);
26114 wxPyEndAllowThreads(__tstate
);
26115 if (PyErr_Occurred()) SWIG_fail
;
26117 Py_INCREF(Py_None
); resultobj
= Py_None
;
26132 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26133 PyObject
*resultobj
;
26134 wxMenu
*arg1
= (wxMenu
*) 0 ;
26136 PyObject
* obj0
= 0 ;
26137 char *kwnames
[] = {
26138 (char *) "self", NULL
26141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26145 result
= ((wxMenu
const *)arg1
)->GetTitle();
26147 wxPyEndAllowThreads(__tstate
);
26148 if (PyErr_Occurred()) SWIG_fail
;
26152 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26154 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26163 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
;
26165 wxMenu
*arg1
= (wxMenu
*) 0 ;
26166 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26167 PyObject
* obj0
= 0 ;
26168 PyObject
* obj1
= 0 ;
26169 char *kwnames
[] = {
26170 (char *) "self",(char *) "handler", NULL
26173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26175 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26178 (arg1
)->SetEventHandler(arg2
);
26180 wxPyEndAllowThreads(__tstate
);
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 Py_INCREF(Py_None
); resultobj
= Py_None
;
26190 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26191 PyObject
*resultobj
;
26192 wxMenu
*arg1
= (wxMenu
*) 0 ;
26193 wxEvtHandler
*result
;
26194 PyObject
* obj0
= 0 ;
26195 char *kwnames
[] = {
26196 (char *) "self", NULL
26199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26203 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26205 wxPyEndAllowThreads(__tstate
);
26206 if (PyErr_Occurred()) SWIG_fail
;
26209 resultobj
= wxPyMake_wxObject(result
);
26217 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26218 PyObject
*resultobj
;
26219 wxMenu
*arg1
= (wxMenu
*) 0 ;
26220 wxWindow
*arg2
= (wxWindow
*) 0 ;
26221 PyObject
* obj0
= 0 ;
26222 PyObject
* obj1
= 0 ;
26223 char *kwnames
[] = {
26224 (char *) "self",(char *) "win", NULL
26227 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26228 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26229 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26232 (arg1
)->SetInvokingWindow(arg2
);
26234 wxPyEndAllowThreads(__tstate
);
26235 if (PyErr_Occurred()) SWIG_fail
;
26237 Py_INCREF(Py_None
); resultobj
= Py_None
;
26244 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26245 PyObject
*resultobj
;
26246 wxMenu
*arg1
= (wxMenu
*) 0 ;
26248 PyObject
* obj0
= 0 ;
26249 char *kwnames
[] = {
26250 (char *) "self", NULL
26253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26257 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26259 wxPyEndAllowThreads(__tstate
);
26260 if (PyErr_Occurred()) SWIG_fail
;
26263 resultobj
= wxPyMake_wxObject(result
);
26271 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26272 PyObject
*resultobj
;
26273 wxMenu
*arg1
= (wxMenu
*) 0 ;
26275 PyObject
* obj0
= 0 ;
26276 char *kwnames
[] = {
26277 (char *) "self", NULL
26280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26284 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26286 wxPyEndAllowThreads(__tstate
);
26287 if (PyErr_Occurred()) SWIG_fail
;
26289 resultobj
= PyInt_FromLong((long)result
);
26296 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26297 PyObject
*resultobj
;
26298 wxMenu
*arg1
= (wxMenu
*) 0 ;
26299 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26300 PyObject
* obj0
= 0 ;
26301 PyObject
* obj1
= 0 ;
26302 char *kwnames
[] = {
26303 (char *) "self",(char *) "source", NULL
26306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26313 (arg1
)->UpdateUI(arg2
);
26315 wxPyEndAllowThreads(__tstate
);
26316 if (PyErr_Occurred()) SWIG_fail
;
26318 Py_INCREF(Py_None
); resultobj
= Py_None
;
26325 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26326 PyObject
*resultobj
;
26327 wxMenu
*arg1
= (wxMenu
*) 0 ;
26329 PyObject
* obj0
= 0 ;
26330 char *kwnames
[] = {
26331 (char *) "self", NULL
26334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26340 wxPyEndAllowThreads(__tstate
);
26341 if (PyErr_Occurred()) SWIG_fail
;
26344 resultobj
= wxPyMake_wxObject(result
);
26352 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26353 PyObject
*resultobj
;
26354 wxMenu
*arg1
= (wxMenu
*) 0 ;
26355 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26356 PyObject
* obj0
= 0 ;
26357 PyObject
* obj1
= 0 ;
26358 char *kwnames
[] = {
26359 (char *) "self",(char *) "menubar", NULL
26362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 (arg1
)->Attach(arg2
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26372 Py_INCREF(Py_None
); resultobj
= Py_None
;
26379 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26380 PyObject
*resultobj
;
26381 wxMenu
*arg1
= (wxMenu
*) 0 ;
26382 PyObject
* obj0
= 0 ;
26383 char *kwnames
[] = {
26384 (char *) "self", NULL
26387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26393 wxPyEndAllowThreads(__tstate
);
26394 if (PyErr_Occurred()) SWIG_fail
;
26396 Py_INCREF(Py_None
); resultobj
= Py_None
;
26403 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26404 PyObject
*resultobj
;
26405 wxMenu
*arg1
= (wxMenu
*) 0 ;
26407 PyObject
* obj0
= 0 ;
26408 char *kwnames
[] = {
26409 (char *) "self", NULL
26412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26416 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26418 wxPyEndAllowThreads(__tstate
);
26419 if (PyErr_Occurred()) SWIG_fail
;
26421 resultobj
= PyInt_FromLong((long)result
);
26428 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26429 PyObject
*resultobj
;
26430 wxMenu
*arg1
= (wxMenu
*) 0 ;
26431 wxMenu
*arg2
= (wxMenu
*) 0 ;
26432 PyObject
* obj0
= 0 ;
26433 PyObject
* obj1
= 0 ;
26434 char *kwnames
[] = {
26435 (char *) "self",(char *) "parent", NULL
26438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26443 (arg1
)->SetParent(arg2
);
26445 wxPyEndAllowThreads(__tstate
);
26446 if (PyErr_Occurred()) SWIG_fail
;
26448 Py_INCREF(Py_None
); resultobj
= Py_None
;
26455 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26456 PyObject
*resultobj
;
26457 wxMenu
*arg1
= (wxMenu
*) 0 ;
26459 PyObject
* obj0
= 0 ;
26460 char *kwnames
[] = {
26461 (char *) "self", NULL
26464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26468 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26470 wxPyEndAllowThreads(__tstate
);
26471 if (PyErr_Occurred()) SWIG_fail
;
26474 resultobj
= wxPyMake_wxObject(result
);
26482 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26484 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26485 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26487 return Py_BuildValue((char *)"");
26489 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 long arg1
= (long) 0 ;
26493 char *kwnames
[] = {
26494 (char *) "style", NULL
26497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26500 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26502 wxPyEndAllowThreads(__tstate
);
26503 if (PyErr_Occurred()) SWIG_fail
;
26506 resultobj
= wxPyMake_wxObject(result
);
26514 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26515 PyObject
*resultobj
;
26516 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26517 wxMenu
*arg2
= (wxMenu
*) 0 ;
26518 wxString
*arg3
= 0 ;
26520 bool temp3
= False
;
26521 PyObject
* obj0
= 0 ;
26522 PyObject
* obj1
= 0 ;
26523 PyObject
* obj2
= 0 ;
26524 char *kwnames
[] = {
26525 (char *) "self",(char *) "menu",(char *) "title", NULL
26528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26530 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26532 arg3
= wxString_in_helper(obj2
);
26533 if (arg3
== NULL
) SWIG_fail
;
26537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26538 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
26540 wxPyEndAllowThreads(__tstate
);
26541 if (PyErr_Occurred()) SWIG_fail
;
26543 resultobj
= PyInt_FromLong((long)result
);
26558 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26559 PyObject
*resultobj
;
26560 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26562 wxMenu
*arg3
= (wxMenu
*) 0 ;
26563 wxString
*arg4
= 0 ;
26565 bool temp4
= False
;
26566 PyObject
* obj0
= 0 ;
26567 PyObject
* obj1
= 0 ;
26568 PyObject
* obj2
= 0 ;
26569 PyObject
* obj3
= 0 ;
26570 char *kwnames
[] = {
26571 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26576 arg2
= (size_t) PyInt_AsLong(obj1
);
26577 if (PyErr_Occurred()) SWIG_fail
;
26578 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26580 arg4
= wxString_in_helper(obj3
);
26581 if (arg4
== NULL
) SWIG_fail
;
26585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26586 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
26588 wxPyEndAllowThreads(__tstate
);
26589 if (PyErr_Occurred()) SWIG_fail
;
26591 resultobj
= PyInt_FromLong((long)result
);
26606 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26607 PyObject
*resultobj
;
26608 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26610 PyObject
* obj0
= 0 ;
26611 char *kwnames
[] = {
26612 (char *) "self", NULL
26615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
26616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26619 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
26621 wxPyEndAllowThreads(__tstate
);
26622 if (PyErr_Occurred()) SWIG_fail
;
26624 resultobj
= PyInt_FromLong((long)result
);
26631 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26632 PyObject
*resultobj
;
26633 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26636 PyObject
* obj0
= 0 ;
26637 PyObject
* obj1
= 0 ;
26638 char *kwnames
[] = {
26639 (char *) "self",(char *) "pos", NULL
26642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26644 arg2
= (size_t) PyInt_AsLong(obj1
);
26645 if (PyErr_Occurred()) SWIG_fail
;
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26654 resultobj
= wxPyMake_wxObject(result
);
26662 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
;
26664 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26666 wxMenu
*arg3
= (wxMenu
*) 0 ;
26667 wxString
*arg4
= 0 ;
26669 bool temp4
= False
;
26670 PyObject
* obj0
= 0 ;
26671 PyObject
* obj1
= 0 ;
26672 PyObject
* obj2
= 0 ;
26673 PyObject
* obj3
= 0 ;
26674 char *kwnames
[] = {
26675 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26680 arg2
= (size_t) PyInt_AsLong(obj1
);
26681 if (PyErr_Occurred()) SWIG_fail
;
26682 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26684 arg4
= wxString_in_helper(obj3
);
26685 if (arg4
== NULL
) SWIG_fail
;
26689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26690 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
26692 wxPyEndAllowThreads(__tstate
);
26693 if (PyErr_Occurred()) SWIG_fail
;
26696 resultobj
= wxPyMake_wxObject(result
);
26712 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26713 PyObject
*resultobj
;
26714 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26717 PyObject
* obj0
= 0 ;
26718 PyObject
* obj1
= 0 ;
26719 char *kwnames
[] = {
26720 (char *) "self",(char *) "pos", NULL
26723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
26724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26725 arg2
= (size_t) PyInt_AsLong(obj1
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26729 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
26731 wxPyEndAllowThreads(__tstate
);
26732 if (PyErr_Occurred()) SWIG_fail
;
26735 resultobj
= wxPyMake_wxObject(result
);
26743 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
;
26745 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26748 PyObject
* obj0
= 0 ;
26749 PyObject
* obj1
= 0 ;
26750 PyObject
* obj2
= 0 ;
26751 char *kwnames
[] = {
26752 (char *) "self",(char *) "pos",(char *) "enable", NULL
26755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26757 arg2
= (size_t) PyInt_AsLong(obj1
);
26758 if (PyErr_Occurred()) SWIG_fail
;
26759 arg3
= PyInt_AsLong(obj2
) ? true : false;
26760 if (PyErr_Occurred()) SWIG_fail
;
26762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26763 (arg1
)->EnableTop(arg2
,arg3
);
26765 wxPyEndAllowThreads(__tstate
);
26766 if (PyErr_Occurred()) SWIG_fail
;
26768 Py_INCREF(Py_None
); resultobj
= Py_None
;
26775 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26776 PyObject
*resultobj
;
26777 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26780 PyObject
* obj0
= 0 ;
26781 PyObject
* obj1
= 0 ;
26782 char *kwnames
[] = {
26783 (char *) "self",(char *) "pos", NULL
26786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
26787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26788 arg2
= (size_t) PyInt_AsLong(obj1
);
26789 if (PyErr_Occurred()) SWIG_fail
;
26791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26792 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
26794 wxPyEndAllowThreads(__tstate
);
26795 if (PyErr_Occurred()) SWIG_fail
;
26797 resultobj
= PyInt_FromLong((long)result
);
26804 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26805 PyObject
*resultobj
;
26806 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26808 wxString
*arg3
= 0 ;
26809 bool temp3
= False
;
26810 PyObject
* obj0
= 0 ;
26811 PyObject
* obj1
= 0 ;
26812 PyObject
* obj2
= 0 ;
26813 char *kwnames
[] = {
26814 (char *) "self",(char *) "pos",(char *) "label", NULL
26817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26819 arg2
= (size_t) PyInt_AsLong(obj1
);
26820 if (PyErr_Occurred()) SWIG_fail
;
26822 arg3
= wxString_in_helper(obj2
);
26823 if (arg3
== NULL
) SWIG_fail
;
26827 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26828 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
26830 wxPyEndAllowThreads(__tstate
);
26831 if (PyErr_Occurred()) SWIG_fail
;
26833 Py_INCREF(Py_None
); resultobj
= Py_None
;
26848 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26849 PyObject
*resultobj
;
26850 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 char *kwnames
[] = {
26856 (char *) "self",(char *) "pos", NULL
26859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
26860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26861 arg2
= (size_t) PyInt_AsLong(obj1
);
26862 if (PyErr_Occurred()) SWIG_fail
;
26864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26865 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
26867 wxPyEndAllowThreads(__tstate
);
26868 if (PyErr_Occurred()) SWIG_fail
;
26872 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26874 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26883 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26884 PyObject
*resultobj
;
26885 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26886 wxString
*arg2
= 0 ;
26887 wxString
*arg3
= 0 ;
26889 bool temp2
= False
;
26890 bool temp3
= False
;
26891 PyObject
* obj0
= 0 ;
26892 PyObject
* obj1
= 0 ;
26893 PyObject
* obj2
= 0 ;
26894 char *kwnames
[] = {
26895 (char *) "self",(char *) "menu",(char *) "item", NULL
26898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26901 arg2
= wxString_in_helper(obj1
);
26902 if (arg2
== NULL
) SWIG_fail
;
26906 arg3
= wxString_in_helper(obj2
);
26907 if (arg3
== NULL
) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= PyInt_FromLong((long)result
);
26940 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26941 PyObject
*resultobj
;
26942 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26944 wxMenuItem
*result
;
26945 PyObject
* obj0
= 0 ;
26946 char *kwnames
[] = {
26947 (char *) "self",(char *) "itemid", NULL
26950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
26951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26954 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
26956 wxPyEndAllowThreads(__tstate
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26960 resultobj
= wxPyMake_wxObject(result
);
26968 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26969 PyObject
*resultobj
;
26970 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26971 wxString
*arg2
= 0 ;
26973 bool temp2
= False
;
26974 PyObject
* obj0
= 0 ;
26975 PyObject
* obj1
= 0 ;
26976 char *kwnames
[] = {
26977 (char *) "self",(char *) "title", NULL
26980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26983 arg2
= wxString_in_helper(obj1
);
26984 if (arg2
== NULL
) SWIG_fail
;
26988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26989 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= PyInt_FromLong((long)result
);
27009 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
;
27011 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj2
= 0 ;
27016 char *kwnames
[] = {
27017 (char *) "self",(char *) "itemid",(char *) "enable", NULL
27020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27022 arg3
= PyInt_AsLong(obj2
) ? true : false;
27023 if (PyErr_Occurred()) SWIG_fail
;
27025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27026 (arg1
)->Enable(arg2
,arg3
);
27028 wxPyEndAllowThreads(__tstate
);
27029 if (PyErr_Occurred()) SWIG_fail
;
27031 Py_INCREF(Py_None
); resultobj
= Py_None
;
27038 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27039 PyObject
*resultobj
;
27040 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27043 PyObject
* obj0
= 0 ;
27044 PyObject
* obj2
= 0 ;
27045 char *kwnames
[] = {
27046 (char *) "self",(char *) "itemid",(char *) "check", NULL
27049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27051 arg3
= PyInt_AsLong(obj2
) ? true : false;
27052 if (PyErr_Occurred()) SWIG_fail
;
27054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27055 (arg1
)->Check(arg2
,arg3
);
27057 wxPyEndAllowThreads(__tstate
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 Py_INCREF(Py_None
); resultobj
= Py_None
;
27067 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27068 PyObject
*resultobj
;
27069 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27072 PyObject
* obj0
= 0 ;
27073 char *kwnames
[] = {
27074 (char *) "self",(char *) "itemid", NULL
27077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27081 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27083 wxPyEndAllowThreads(__tstate
);
27084 if (PyErr_Occurred()) SWIG_fail
;
27086 resultobj
= PyInt_FromLong((long)result
);
27093 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27094 PyObject
*resultobj
;
27095 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27098 PyObject
* obj0
= 0 ;
27099 char *kwnames
[] = {
27100 (char *) "self",(char *) "itemid", NULL
27103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27107 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27109 wxPyEndAllowThreads(__tstate
);
27110 if (PyErr_Occurred()) SWIG_fail
;
27112 resultobj
= PyInt_FromLong((long)result
);
27119 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27120 PyObject
*resultobj
;
27121 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27123 wxString
*arg3
= 0 ;
27124 bool temp3
= False
;
27125 PyObject
* obj0
= 0 ;
27126 PyObject
* obj2
= 0 ;
27127 char *kwnames
[] = {
27128 (char *) "self",(char *) "itemid",(char *) "label", NULL
27131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27134 arg3
= wxString_in_helper(obj2
);
27135 if (arg3
== NULL
) SWIG_fail
;
27139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27140 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27142 wxPyEndAllowThreads(__tstate
);
27143 if (PyErr_Occurred()) SWIG_fail
;
27145 Py_INCREF(Py_None
); resultobj
= Py_None
;
27160 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27161 PyObject
*resultobj
;
27162 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27165 PyObject
* obj0
= 0 ;
27166 char *kwnames
[] = {
27167 (char *) "self",(char *) "itemid", NULL
27170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27174 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27181 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27183 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27192 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27193 PyObject
*resultobj
;
27194 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27196 wxString
*arg3
= 0 ;
27197 bool temp3
= False
;
27198 PyObject
* obj0
= 0 ;
27199 PyObject
* obj2
= 0 ;
27200 char *kwnames
[] = {
27201 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27207 arg3
= wxString_in_helper(obj2
);
27208 if (arg3
== NULL
) SWIG_fail
;
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27215 wxPyEndAllowThreads(__tstate
);
27216 if (PyErr_Occurred()) SWIG_fail
;
27218 Py_INCREF(Py_None
); resultobj
= Py_None
;
27233 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27238 PyObject
* obj0
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self",(char *) "itemid", NULL
27243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27254 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27256 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27265 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27266 PyObject
*resultobj
;
27267 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27269 PyObject
* obj0
= 0 ;
27270 char *kwnames
[] = {
27271 (char *) "self", NULL
27274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27278 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27280 wxPyEndAllowThreads(__tstate
);
27281 if (PyErr_Occurred()) SWIG_fail
;
27284 resultobj
= wxPyMake_wxObject(result
);
27292 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27293 PyObject
*resultobj
;
27294 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27296 PyObject
* obj0
= 0 ;
27297 char *kwnames
[] = {
27298 (char *) "self", NULL
27301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27305 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27307 wxPyEndAllowThreads(__tstate
);
27308 if (PyErr_Occurred()) SWIG_fail
;
27310 resultobj
= PyInt_FromLong((long)result
);
27317 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27318 PyObject
*resultobj
;
27319 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27320 wxFrame
*arg2
= (wxFrame
*) 0 ;
27321 PyObject
* obj0
= 0 ;
27322 PyObject
* obj1
= 0 ;
27323 char *kwnames
[] = {
27324 (char *) "self",(char *) "frame", NULL
27327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27329 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27332 (arg1
)->Attach(arg2
);
27334 wxPyEndAllowThreads(__tstate
);
27335 if (PyErr_Occurred()) SWIG_fail
;
27337 Py_INCREF(Py_None
); resultobj
= Py_None
;
27344 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27345 PyObject
*resultobj
;
27346 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27347 PyObject
* obj0
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 wxPyEndAllowThreads(__tstate
);
27359 if (PyErr_Occurred()) SWIG_fail
;
27361 Py_INCREF(Py_None
); resultobj
= Py_None
;
27368 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27370 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27371 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27373 return Py_BuildValue((char *)"");
27375 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27376 PyObject
*resultobj
;
27377 wxMenu
*arg1
= (wxMenu
*) NULL
;
27378 int arg2
= (int) wxID_SEPARATOR
;
27379 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27380 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27381 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27383 int arg5
= (int) wxITEM_NORMAL
;
27384 wxMenu
*arg6
= (wxMenu
*) NULL
;
27385 wxMenuItem
*result
;
27386 bool temp3
= False
;
27387 bool temp4
= False
;
27388 PyObject
* obj0
= 0 ;
27389 PyObject
* obj2
= 0 ;
27390 PyObject
* obj3
= 0 ;
27391 PyObject
* obj5
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27402 arg3
= wxString_in_helper(obj2
);
27403 if (arg3
== NULL
) SWIG_fail
;
27409 arg4
= wxString_in_helper(obj3
);
27410 if (arg4
== NULL
) SWIG_fail
;
27415 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27419 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27421 wxPyEndAllowThreads(__tstate
);
27422 if (PyErr_Occurred()) SWIG_fail
;
27425 resultobj
= wxPyMake_wxObject(result
);
27449 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27450 PyObject
*resultobj
;
27451 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27453 PyObject
* obj0
= 0 ;
27454 char *kwnames
[] = {
27455 (char *) "self", NULL
27458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27462 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27464 wxPyEndAllowThreads(__tstate
);
27465 if (PyErr_Occurred()) SWIG_fail
;
27468 resultobj
= wxPyMake_wxObject(result
);
27476 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27477 PyObject
*resultobj
;
27478 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27479 wxMenu
*arg2
= (wxMenu
*) 0 ;
27480 PyObject
* obj0
= 0 ;
27481 PyObject
* obj1
= 0 ;
27482 char *kwnames
[] = {
27483 (char *) "self",(char *) "menu", NULL
27486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27488 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27491 (arg1
)->SetMenu(arg2
);
27493 wxPyEndAllowThreads(__tstate
);
27494 if (PyErr_Occurred()) SWIG_fail
;
27496 Py_INCREF(Py_None
); resultobj
= Py_None
;
27503 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27504 PyObject
*resultobj
;
27505 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27507 PyObject
* obj0
= 0 ;
27508 char *kwnames
[] = {
27509 (char *) "self",(char *) "itemid", NULL
27512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27516 (arg1
)->SetId(arg2
);
27518 wxPyEndAllowThreads(__tstate
);
27519 if (PyErr_Occurred()) SWIG_fail
;
27521 Py_INCREF(Py_None
); resultobj
= Py_None
;
27528 static PyObject
*_wrap_MenuItem_GetId(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_GetId",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
= (int)((wxMenuItem
const *)arg1
)->GetId();
27543 wxPyEndAllowThreads(__tstate
);
27544 if (PyErr_Occurred()) SWIG_fail
;
27546 resultobj
= PyInt_FromLong((long)result
);
27553 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27554 PyObject
*resultobj
;
27555 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27557 PyObject
* obj0
= 0 ;
27558 char *kwnames
[] = {
27559 (char *) "self", NULL
27562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
27563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27566 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
27568 wxPyEndAllowThreads(__tstate
);
27569 if (PyErr_Occurred()) SWIG_fail
;
27571 resultobj
= PyInt_FromLong((long)result
);
27578 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27579 PyObject
*resultobj
;
27580 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27581 wxString
*arg2
= 0 ;
27582 bool temp2
= False
;
27583 PyObject
* obj0
= 0 ;
27584 PyObject
* obj1
= 0 ;
27585 char *kwnames
[] = {
27586 (char *) "self",(char *) "str", NULL
27589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27592 arg2
= wxString_in_helper(obj1
);
27593 if (arg2
== NULL
) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 (arg1
)->SetText((wxString
const &)*arg2
);
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 Py_INCREF(Py_None
); resultobj
= Py_None
;
27618 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27619 PyObject
*resultobj
;
27620 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27622 PyObject
* obj0
= 0 ;
27623 char *kwnames
[] = {
27624 (char *) "self", NULL
27627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
27628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27631 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
27633 wxPyEndAllowThreads(__tstate
);
27634 if (PyErr_Occurred()) SWIG_fail
;
27638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27649 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27653 PyObject
* obj0
= 0 ;
27654 char *kwnames
[] = {
27655 (char *) "self", NULL
27658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
27659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27663 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
27664 result
= (wxString
*) &_result_ref
;
27667 wxPyEndAllowThreads(__tstate
);
27668 if (PyErr_Occurred()) SWIG_fail
;
27670 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
27677 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27678 PyObject
*resultobj
;
27679 wxString
*arg1
= 0 ;
27681 bool temp1
= False
;
27682 PyObject
* obj0
= 0 ;
27683 char *kwnames
[] = {
27684 (char *) "text", NULL
27687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
27689 arg1
= wxString_in_helper(obj0
);
27690 if (arg1
== NULL
) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27702 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27704 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27721 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27722 PyObject
*resultobj
;
27723 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27725 PyObject
* obj0
= 0 ;
27726 char *kwnames
[] = {
27727 (char *) "self", NULL
27730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
27731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27734 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
27736 wxPyEndAllowThreads(__tstate
);
27737 if (PyErr_Occurred()) SWIG_fail
;
27739 resultobj
= PyInt_FromLong((long)result
);
27746 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27747 PyObject
*resultobj
;
27748 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27750 PyObject
* obj0
= 0 ;
27751 PyObject
* obj1
= 0 ;
27752 char *kwnames
[] = {
27753 (char *) "self",(char *) "checkable", NULL
27756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
27757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27758 arg2
= PyInt_AsLong(obj1
) ? true : false;
27759 if (PyErr_Occurred()) SWIG_fail
;
27761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27762 (arg1
)->SetCheckable(arg2
);
27764 wxPyEndAllowThreads(__tstate
);
27765 if (PyErr_Occurred()) SWIG_fail
;
27767 Py_INCREF(Py_None
); resultobj
= Py_None
;
27774 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27775 PyObject
*resultobj
;
27776 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27778 PyObject
* obj0
= 0 ;
27779 char *kwnames
[] = {
27780 (char *) "self", NULL
27783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
27784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27787 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
27789 wxPyEndAllowThreads(__tstate
);
27790 if (PyErr_Occurred()) SWIG_fail
;
27792 resultobj
= PyInt_FromLong((long)result
);
27799 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27800 PyObject
*resultobj
;
27801 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27803 PyObject
* obj0
= 0 ;
27804 char *kwnames
[] = {
27805 (char *) "self", NULL
27808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
27809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27812 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
27814 wxPyEndAllowThreads(__tstate
);
27815 if (PyErr_Occurred()) SWIG_fail
;
27817 resultobj
= PyInt_FromLong((long)result
);
27824 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27825 PyObject
*resultobj
;
27826 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27827 wxMenu
*arg2
= (wxMenu
*) 0 ;
27828 PyObject
* obj0
= 0 ;
27829 PyObject
* obj1
= 0 ;
27830 char *kwnames
[] = {
27831 (char *) "self",(char *) "menu", NULL
27834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27839 (arg1
)->SetSubMenu(arg2
);
27841 wxPyEndAllowThreads(__tstate
);
27842 if (PyErr_Occurred()) SWIG_fail
;
27844 Py_INCREF(Py_None
); resultobj
= Py_None
;
27851 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27852 PyObject
*resultobj
;
27853 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27855 PyObject
* obj0
= 0 ;
27856 char *kwnames
[] = {
27857 (char *) "self", NULL
27860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
27861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27864 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
27866 wxPyEndAllowThreads(__tstate
);
27867 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= wxPyMake_wxObject(result
);
27878 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27879 PyObject
*resultobj
;
27880 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27881 bool arg2
= (bool) True
;
27882 PyObject
* obj0
= 0 ;
27883 PyObject
* obj1
= 0 ;
27884 char *kwnames
[] = {
27885 (char *) "self",(char *) "enable", NULL
27888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
27889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27891 arg2
= PyInt_AsLong(obj1
) ? true : false;
27892 if (PyErr_Occurred()) SWIG_fail
;
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 (arg1
)->Enable(arg2
);
27898 wxPyEndAllowThreads(__tstate
);
27899 if (PyErr_Occurred()) SWIG_fail
;
27901 Py_INCREF(Py_None
); resultobj
= Py_None
;
27908 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27909 PyObject
*resultobj
;
27910 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27912 PyObject
* obj0
= 0 ;
27913 char *kwnames
[] = {
27914 (char *) "self", NULL
27917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
27918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27921 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
27923 wxPyEndAllowThreads(__tstate
);
27924 if (PyErr_Occurred()) SWIG_fail
;
27926 resultobj
= PyInt_FromLong((long)result
);
27933 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27934 PyObject
*resultobj
;
27935 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27936 bool arg2
= (bool) True
;
27937 PyObject
* obj0
= 0 ;
27938 PyObject
* obj1
= 0 ;
27939 char *kwnames
[] = {
27940 (char *) "self",(char *) "check", NULL
27943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
27944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27946 arg2
= PyInt_AsLong(obj1
) ? true : false;
27947 if (PyErr_Occurred()) SWIG_fail
;
27950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27951 (arg1
)->Check(arg2
);
27953 wxPyEndAllowThreads(__tstate
);
27954 if (PyErr_Occurred()) SWIG_fail
;
27956 Py_INCREF(Py_None
); resultobj
= Py_None
;
27963 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27964 PyObject
*resultobj
;
27965 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27967 PyObject
* obj0
= 0 ;
27968 char *kwnames
[] = {
27969 (char *) "self", NULL
27972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
27973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27976 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
27978 wxPyEndAllowThreads(__tstate
);
27979 if (PyErr_Occurred()) SWIG_fail
;
27981 resultobj
= PyInt_FromLong((long)result
);
27988 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27989 PyObject
*resultobj
;
27990 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27991 PyObject
* obj0
= 0 ;
27992 char *kwnames
[] = {
27993 (char *) "self", NULL
27996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
27997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28002 wxPyEndAllowThreads(__tstate
);
28003 if (PyErr_Occurred()) SWIG_fail
;
28005 Py_INCREF(Py_None
); resultobj
= Py_None
;
28012 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28013 PyObject
*resultobj
;
28014 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28015 wxString
*arg2
= 0 ;
28016 bool temp2
= False
;
28017 PyObject
* obj0
= 0 ;
28018 PyObject
* obj1
= 0 ;
28019 char *kwnames
[] = {
28020 (char *) "self",(char *) "str", NULL
28023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28026 arg2
= wxString_in_helper(obj1
);
28027 if (arg2
== NULL
) SWIG_fail
;
28031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28032 (arg1
)->SetHelp((wxString
const &)*arg2
);
28034 wxPyEndAllowThreads(__tstate
);
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 Py_INCREF(Py_None
); resultobj
= Py_None
;
28052 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28053 PyObject
*resultobj
;
28054 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28056 PyObject
* obj0
= 0 ;
28057 char *kwnames
[] = {
28058 (char *) "self", NULL
28061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28067 result
= (wxString
*) &_result_ref
;
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
28080 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28081 PyObject
*resultobj
;
28082 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28083 wxAcceleratorEntry
*result
;
28084 PyObject
* obj0
= 0 ;
28085 char *kwnames
[] = {
28086 (char *) "self", NULL
28089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28093 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28095 wxPyEndAllowThreads(__tstate
);
28096 if (PyErr_Occurred()) SWIG_fail
;
28098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28105 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28106 PyObject
*resultobj
;
28107 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28108 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28109 PyObject
* obj0
= 0 ;
28110 PyObject
* obj1
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self",(char *) "accel", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28117 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28120 (arg1
)->SetAccel(arg2
);
28122 wxPyEndAllowThreads(__tstate
);
28123 if (PyErr_Occurred()) SWIG_fail
;
28125 Py_INCREF(Py_None
); resultobj
= Py_None
;
28132 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28133 PyObject
*resultobj
;
28134 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28136 PyObject
* obj0
= 0 ;
28137 PyObject
* obj1
= 0 ;
28138 char *kwnames
[] = {
28139 (char *) "self",(char *) "font", NULL
28142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28144 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28145 if (arg2
== NULL
) {
28146 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28150 (arg1
)->SetFont((wxFont
const &)*arg2
);
28152 wxPyEndAllowThreads(__tstate
);
28153 if (PyErr_Occurred()) SWIG_fail
;
28155 Py_INCREF(Py_None
); resultobj
= Py_None
;
28162 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28163 PyObject
*resultobj
;
28164 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28166 PyObject
* obj0
= 0 ;
28167 char *kwnames
[] = {
28168 (char *) "self", NULL
28171 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
28172 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28175 result
= (arg1
)->GetFont();
28177 wxPyEndAllowThreads(__tstate
);
28178 if (PyErr_Occurred()) SWIG_fail
;
28181 wxFont
* resultptr
;
28182 resultptr
= new wxFont((wxFont
&) result
);
28183 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
28191 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28192 PyObject
*resultobj
;
28193 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28194 wxColour
*arg2
= 0 ;
28196 PyObject
* obj0
= 0 ;
28197 PyObject
* obj1
= 0 ;
28198 char *kwnames
[] = {
28199 (char *) "self",(char *) "colText", NULL
28202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28203 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28206 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 Py_INCREF(Py_None
); resultobj
= Py_None
;
28222 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 char *kwnames
[] = {
28228 (char *) "self", NULL
28231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
28232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28234 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28235 result
= (arg1
)->GetTextColour();
28237 wxPyEndAllowThreads(__tstate
);
28238 if (PyErr_Occurred()) SWIG_fail
;
28241 wxColour
* resultptr
;
28242 resultptr
= new wxColour((wxColour
&) result
);
28243 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
28251 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28252 PyObject
*resultobj
;
28253 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28254 wxColour
*arg2
= 0 ;
28256 PyObject
* obj0
= 0 ;
28257 PyObject
* obj1
= 0 ;
28258 char *kwnames
[] = {
28259 (char *) "self",(char *) "colBack", NULL
28262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28266 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28270 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28272 wxPyEndAllowThreads(__tstate
);
28273 if (PyErr_Occurred()) SWIG_fail
;
28275 Py_INCREF(Py_None
); resultobj
= Py_None
;
28282 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28283 PyObject
*resultobj
;
28284 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28286 PyObject
* obj0
= 0 ;
28287 char *kwnames
[] = {
28288 (char *) "self", NULL
28291 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
28292 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28295 result
= (arg1
)->GetBackgroundColour();
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28301 wxColour
* resultptr
;
28302 resultptr
= new wxColour((wxColour
&) result
);
28303 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
28311 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28314 wxBitmap
*arg2
= 0 ;
28315 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
28316 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
28317 PyObject
* obj0
= 0 ;
28318 PyObject
* obj1
= 0 ;
28319 PyObject
* obj2
= 0 ;
28320 char *kwnames
[] = {
28321 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
28324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28326 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28327 if (arg2
== NULL
) {
28328 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28331 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28332 if (arg3
== NULL
) {
28333 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28338 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 Py_INCREF(Py_None
); resultobj
= Py_None
;
28350 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28351 PyObject
*resultobj
;
28352 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28353 wxBitmap
*arg2
= 0 ;
28354 PyObject
* obj0
= 0 ;
28355 PyObject
* obj1
= 0 ;
28356 char *kwnames
[] = {
28357 (char *) "self",(char *) "bmpDisabled", NULL
28360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28363 if (arg2
== NULL
) {
28364 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28368 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
28370 wxPyEndAllowThreads(__tstate
);
28371 if (PyErr_Occurred()) SWIG_fail
;
28373 Py_INCREF(Py_None
); resultobj
= Py_None
;
28380 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28381 PyObject
*resultobj
;
28382 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28384 PyObject
* obj0
= 0 ;
28385 char *kwnames
[] = {
28386 (char *) "self", NULL
28389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
28390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28394 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
28395 result
= (wxBitmap
*) &_result_ref
;
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28408 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28410 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28412 PyObject
* obj0
= 0 ;
28413 char *kwnames
[] = {
28414 (char *) "self",(char *) "nWidth", NULL
28417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetMarginWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
28418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 (arg1
)->SetMarginWidth(arg2
);
28423 wxPyEndAllowThreads(__tstate
);
28424 if (PyErr_Occurred()) SWIG_fail
;
28426 Py_INCREF(Py_None
); resultobj
= Py_None
;
28433 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28434 PyObject
*resultobj
;
28435 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28437 PyObject
* obj0
= 0 ;
28438 char *kwnames
[] = {
28439 (char *) "self", NULL
28442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
28443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28446 result
= (int)(arg1
)->GetMarginWidth();
28448 wxPyEndAllowThreads(__tstate
);
28449 if (PyErr_Occurred()) SWIG_fail
;
28451 resultobj
= PyInt_FromLong((long)result
);
28458 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28459 PyObject
*resultobj
;
28461 char *kwnames
[] = {
28465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28468 result
= (int)wxMenuItem::GetDefaultMarginWidth();
28470 wxPyEndAllowThreads(__tstate
);
28471 if (PyErr_Occurred()) SWIG_fail
;
28473 resultobj
= PyInt_FromLong((long)result
);
28480 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28481 PyObject
*resultobj
;
28482 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28484 PyObject
* obj0
= 0 ;
28485 char *kwnames
[] = {
28486 (char *) "self", NULL
28489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
28490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28493 result
= (bool)(arg1
)->IsOwnerDrawn();
28495 wxPyEndAllowThreads(__tstate
);
28496 if (PyErr_Occurred()) SWIG_fail
;
28498 resultobj
= PyInt_FromLong((long)result
);
28505 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28506 PyObject
*resultobj
;
28507 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28508 bool arg2
= (bool) True
;
28509 PyObject
* obj0
= 0 ;
28510 PyObject
* obj1
= 0 ;
28511 char *kwnames
[] = {
28512 (char *) "self",(char *) "ownerDrawn", NULL
28515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
28516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28518 arg2
= PyInt_AsLong(obj1
) ? true : false;
28519 if (PyErr_Occurred()) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 (arg1
)->SetOwnerDrawn(arg2
);
28525 wxPyEndAllowThreads(__tstate
);
28526 if (PyErr_Occurred()) SWIG_fail
;
28528 Py_INCREF(Py_None
); resultobj
= Py_None
;
28535 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28536 PyObject
*resultobj
;
28537 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28538 PyObject
* obj0
= 0 ;
28539 char *kwnames
[] = {
28540 (char *) "self", NULL
28543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
28544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28547 (arg1
)->ResetOwnerDrawn();
28549 wxPyEndAllowThreads(__tstate
);
28550 if (PyErr_Occurred()) SWIG_fail
;
28552 Py_INCREF(Py_None
); resultobj
= Py_None
;
28559 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28560 PyObject
*resultobj
;
28561 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28562 wxBitmap
*arg2
= 0 ;
28563 PyObject
* obj0
= 0 ;
28564 PyObject
* obj1
= 0 ;
28565 char *kwnames
[] = {
28566 (char *) "self",(char *) "bitmap", NULL
28569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28572 if (arg2
== NULL
) {
28573 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28577 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28579 wxPyEndAllowThreads(__tstate
);
28580 if (PyErr_Occurred()) SWIG_fail
;
28582 Py_INCREF(Py_None
); resultobj
= Py_None
;
28589 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28590 PyObject
*resultobj
;
28591 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28593 PyObject
* obj0
= 0 ;
28594 char *kwnames
[] = {
28595 (char *) "self", NULL
28598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
28599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28603 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
28604 result
= (wxBitmap
*) &_result_ref
;
28607 wxPyEndAllowThreads(__tstate
);
28608 if (PyErr_Occurred()) SWIG_fail
;
28610 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28617 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
28619 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28620 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
28622 return Py_BuildValue((char *)"");
28624 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28625 PyObject
*resultobj
;
28626 wxWindow
*arg1
= (wxWindow
*) 0 ;
28628 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28629 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28630 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28631 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28632 long arg5
= (long) 0 ;
28633 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28634 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28635 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28636 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28640 bool temp7
= False
;
28641 PyObject
* obj0
= 0 ;
28642 PyObject
* obj2
= 0 ;
28643 PyObject
* obj3
= 0 ;
28644 PyObject
* obj5
= 0 ;
28645 PyObject
* obj6
= 0 ;
28646 char *kwnames
[] = {
28647 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
28651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28655 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28661 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28665 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28666 if (arg6
== NULL
) {
28667 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28672 arg7
= wxString_in_helper(obj6
);
28673 if (arg7
== NULL
) SWIG_fail
;
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28681 wxPyEndAllowThreads(__tstate
);
28682 if (PyErr_Occurred()) SWIG_fail
;
28685 resultobj
= wxPyMake_wxObject(result
);
28701 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28702 PyObject
*resultobj
;
28704 char *kwnames
[] = {
28708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
28710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28711 result
= (wxControl
*)new wxControl();
28713 wxPyEndAllowThreads(__tstate
);
28714 if (PyErr_Occurred()) SWIG_fail
;
28717 resultobj
= wxPyMake_wxObject(result
);
28725 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28726 PyObject
*resultobj
;
28727 wxControl
*arg1
= (wxControl
*) 0 ;
28728 wxWindow
*arg2
= (wxWindow
*) 0 ;
28730 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28731 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28732 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28733 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28734 long arg6
= (long) 0 ;
28735 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28736 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28737 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
28738 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28742 bool temp8
= False
;
28743 PyObject
* obj0
= 0 ;
28744 PyObject
* obj1
= 0 ;
28745 PyObject
* obj3
= 0 ;
28746 PyObject
* obj4
= 0 ;
28747 PyObject
* obj6
= 0 ;
28748 PyObject
* obj7
= 0 ;
28749 char *kwnames
[] = {
28750 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
28754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28755 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28759 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28765 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28769 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28770 if (arg7
== NULL
) {
28771 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28776 arg8
= wxString_in_helper(obj7
);
28777 if (arg8
== NULL
) SWIG_fail
;
28782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28783 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 resultobj
= PyInt_FromLong((long)result
);
28803 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28804 PyObject
*resultobj
;
28805 wxControl
*arg1
= (wxControl
*) 0 ;
28806 wxCommandEvent
*arg2
= 0 ;
28807 PyObject
* obj0
= 0 ;
28808 PyObject
* obj1
= 0 ;
28809 char *kwnames
[] = {
28810 (char *) "self",(char *) "event", NULL
28813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
28814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28815 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28816 if (arg2
== NULL
) {
28817 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28821 (arg1
)->Command(*arg2
);
28823 wxPyEndAllowThreads(__tstate
);
28824 if (PyErr_Occurred()) SWIG_fail
;
28826 Py_INCREF(Py_None
); resultobj
= Py_None
;
28833 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28834 PyObject
*resultobj
;
28835 wxControl
*arg1
= (wxControl
*) 0 ;
28837 PyObject
* obj0
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
28843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 result
= (arg1
)->GetLabel();
28848 wxPyEndAllowThreads(__tstate
);
28849 if (PyErr_Occurred()) SWIG_fail
;
28853 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28855 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28864 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28865 PyObject
*resultobj
;
28866 wxControl
*arg1
= (wxControl
*) 0 ;
28867 wxString
*arg2
= 0 ;
28868 bool temp2
= False
;
28869 PyObject
* obj0
= 0 ;
28870 PyObject
* obj1
= 0 ;
28871 char *kwnames
[] = {
28872 (char *) "self",(char *) "label", NULL
28875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28878 arg2
= wxString_in_helper(obj1
);
28879 if (arg2
== NULL
) SWIG_fail
;
28883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28884 (arg1
)->SetLabel((wxString
const &)*arg2
);
28886 wxPyEndAllowThreads(__tstate
);
28887 if (PyErr_Occurred()) SWIG_fail
;
28889 Py_INCREF(Py_None
); resultobj
= Py_None
;
28904 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
28906 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28907 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
28909 return Py_BuildValue((char *)"");
28911 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28912 PyObject
*resultobj
;
28913 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28914 wxString
*arg2
= 0 ;
28915 PyObject
*arg3
= (PyObject
*) NULL
;
28917 bool temp2
= False
;
28918 PyObject
* obj0
= 0 ;
28919 PyObject
* obj1
= 0 ;
28920 PyObject
* obj2
= 0 ;
28921 char *kwnames
[] = {
28922 (char *) "self",(char *) "item",(char *) "clientData", NULL
28925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28928 arg2
= wxString_in_helper(obj1
);
28929 if (arg2
== NULL
) SWIG_fail
;
28936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28937 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= PyInt_FromLong((long)result
);
28957 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28958 PyObject
*resultobj
;
28959 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28960 wxArrayString
*arg2
= 0 ;
28961 PyObject
* obj0
= 0 ;
28962 PyObject
* obj1
= 0 ;
28963 char *kwnames
[] = {
28964 (char *) "self",(char *) "strings", NULL
28967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
28968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28970 if (! PySequence_Check(obj1
)) {
28971 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
28974 arg2
= new wxArrayString
;
28975 int i
, len
=PySequence_Length(obj1
);
28976 for (i
=0; i
<len
; i
++) {
28977 PyObject
* item
= PySequence_GetItem(obj1
, i
);
28979 PyObject
* str
= PyObject_Unicode(item
);
28981 PyObject
* str
= PyObject_Str(item
);
28983 arg2
->Add(Py2wxString(str
));
28989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28990 (arg1
)->Append((wxArrayString
const &)*arg2
);
28992 wxPyEndAllowThreads(__tstate
);
28993 if (PyErr_Occurred()) SWIG_fail
;
28995 Py_INCREF(Py_None
); resultobj
= Py_None
;
28997 if (arg2
) delete arg2
;
29002 if (arg2
) delete arg2
;
29008 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29009 PyObject
*resultobj
;
29010 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29011 wxString
*arg2
= 0 ;
29013 PyObject
*arg4
= (PyObject
*) NULL
;
29015 bool temp2
= False
;
29016 PyObject
* obj0
= 0 ;
29017 PyObject
* obj1
= 0 ;
29018 PyObject
* obj3
= 0 ;
29019 char *kwnames
[] = {
29020 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
29024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29026 arg2
= wxString_in_helper(obj1
);
29027 if (arg2
== NULL
) SWIG_fail
;
29034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29035 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
29037 wxPyEndAllowThreads(__tstate
);
29038 if (PyErr_Occurred()) SWIG_fail
;
29040 resultobj
= PyInt_FromLong((long)result
);
29055 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29056 PyObject
*resultobj
;
29057 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29058 PyObject
* obj0
= 0 ;
29059 char *kwnames
[] = {
29060 (char *) "self", NULL
29063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
29064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29069 wxPyEndAllowThreads(__tstate
);
29070 if (PyErr_Occurred()) SWIG_fail
;
29072 Py_INCREF(Py_None
); resultobj
= Py_None
;
29079 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29080 PyObject
*resultobj
;
29081 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29083 PyObject
* obj0
= 0 ;
29084 char *kwnames
[] = {
29085 (char *) "self",(char *) "n", NULL
29088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
29089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29092 (arg1
)->Delete(arg2
);
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29097 Py_INCREF(Py_None
); resultobj
= Py_None
;
29104 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29105 PyObject
*resultobj
;
29106 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29108 PyObject
* obj0
= 0 ;
29109 char *kwnames
[] = {
29110 (char *) "self", NULL
29113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
29114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29117 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
29119 wxPyEndAllowThreads(__tstate
);
29120 if (PyErr_Occurred()) SWIG_fail
;
29122 resultobj
= PyInt_FromLong((long)result
);
29129 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29130 PyObject
*resultobj
;
29131 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29133 PyObject
* obj0
= 0 ;
29134 char *kwnames
[] = {
29135 (char *) "self", NULL
29138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
29139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29142 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
29144 wxPyEndAllowThreads(__tstate
);
29145 if (PyErr_Occurred()) SWIG_fail
;
29147 resultobj
= PyInt_FromLong((long)result
);
29154 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29159 PyObject
* obj0
= 0 ;
29160 char *kwnames
[] = {
29161 (char *) "self",(char *) "n", NULL
29164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
29165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29168 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
29170 wxPyEndAllowThreads(__tstate
);
29171 if (PyErr_Occurred()) SWIG_fail
;
29175 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29177 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29186 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29187 PyObject
*resultobj
;
29188 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29189 wxArrayString result
;
29190 PyObject
* obj0
= 0 ;
29191 char *kwnames
[] = {
29192 (char *) "self", NULL
29195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
29196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29199 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
29201 wxPyEndAllowThreads(__tstate
);
29202 if (PyErr_Occurred()) SWIG_fail
;
29205 resultobj
= wxArrayString2PyList_helper(result
);
29213 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29214 PyObject
*resultobj
;
29215 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29217 wxString
*arg3
= 0 ;
29218 bool temp3
= False
;
29219 PyObject
* obj0
= 0 ;
29220 PyObject
* obj2
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self",(char *) "n",(char *) "s", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29228 arg3
= wxString_in_helper(obj2
);
29229 if (arg3
== NULL
) SWIG_fail
;
29233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29234 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
29236 wxPyEndAllowThreads(__tstate
);
29237 if (PyErr_Occurred()) SWIG_fail
;
29239 Py_INCREF(Py_None
); resultobj
= Py_None
;
29254 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29255 PyObject
*resultobj
;
29256 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29257 wxString
*arg2
= 0 ;
29259 bool temp2
= False
;
29260 PyObject
* obj0
= 0 ;
29261 PyObject
* obj1
= 0 ;
29262 char *kwnames
[] = {
29263 (char *) "self",(char *) "s", NULL
29266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
29267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29269 arg2
= wxString_in_helper(obj1
);
29270 if (arg2
== NULL
) SWIG_fail
;
29274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29275 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
29277 wxPyEndAllowThreads(__tstate
);
29278 if (PyErr_Occurred()) SWIG_fail
;
29280 resultobj
= PyInt_FromLong((long)result
);
29295 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29296 PyObject
*resultobj
;
29297 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29299 PyObject
* obj0
= 0 ;
29300 char *kwnames
[] = {
29301 (char *) "self",(char *) "n", NULL
29304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
29305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29308 (arg1
)->Select(arg2
);
29310 wxPyEndAllowThreads(__tstate
);
29311 if (PyErr_Occurred()) SWIG_fail
;
29313 Py_INCREF(Py_None
); resultobj
= Py_None
;
29320 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29321 PyObject
*resultobj
;
29322 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29324 PyObject
* obj0
= 0 ;
29325 char *kwnames
[] = {
29326 (char *) "self", NULL
29329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
29330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29333 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
29335 wxPyEndAllowThreads(__tstate
);
29336 if (PyErr_Occurred()) SWIG_fail
;
29338 resultobj
= PyInt_FromLong((long)result
);
29345 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29346 PyObject
*resultobj
;
29347 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29349 PyObject
* obj0
= 0 ;
29350 char *kwnames
[] = {
29351 (char *) "self", NULL
29354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29358 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29360 wxPyEndAllowThreads(__tstate
);
29361 if (PyErr_Occurred()) SWIG_fail
;
29365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29376 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
;
29378 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29381 PyObject
* obj0
= 0 ;
29382 char *kwnames
[] = {
29383 (char *) "self",(char *) "n", NULL
29386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29390 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29392 wxPyEndAllowThreads(__tstate
);
29393 if (PyErr_Occurred()) SWIG_fail
;
29395 resultobj
= result
;
29402 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29403 PyObject
*resultobj
;
29404 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29406 PyObject
*arg3
= (PyObject
*) 0 ;
29407 PyObject
* obj0
= 0 ;
29408 PyObject
* obj2
= 0 ;
29409 char *kwnames
[] = {
29410 (char *) "self",(char *) "n",(char *) "clientData", NULL
29413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29418 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29420 wxPyEndAllowThreads(__tstate
);
29421 if (PyErr_Occurred()) SWIG_fail
;
29423 Py_INCREF(Py_None
); resultobj
= Py_None
;
29430 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29432 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29433 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29435 return Py_BuildValue((char *)"");
29437 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29439 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29440 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29442 return Py_BuildValue((char *)"");
29444 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29445 PyObject
*resultobj
;
29446 wxSizerItem
*result
;
29447 char *kwnames
[] = {
29451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29454 result
= (wxSizerItem
*)new wxSizerItem();
29456 wxPyEndAllowThreads(__tstate
);
29457 if (PyErr_Occurred()) SWIG_fail
;
29459 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29466 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29467 PyObject
*resultobj
;
29473 wxObject
*arg6
= (wxObject
*) 0 ;
29474 wxSizerItem
*result
;
29475 PyObject
* obj5
= 0 ;
29476 char *kwnames
[] = {
29477 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29481 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29484 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29486 wxPyEndAllowThreads(__tstate
);
29487 if (PyErr_Occurred()) SWIG_fail
;
29489 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29496 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29497 PyObject
*resultobj
;
29498 wxWindow
*arg1
= (wxWindow
*) 0 ;
29502 wxObject
*arg5
= (wxObject
*) 0 ;
29503 wxSizerItem
*result
;
29504 PyObject
* obj0
= 0 ;
29505 PyObject
* obj4
= 0 ;
29506 char *kwnames
[] = {
29507 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29512 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29515 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29517 wxPyEndAllowThreads(__tstate
);
29518 if (PyErr_Occurred()) SWIG_fail
;
29520 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29527 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29528 PyObject
*resultobj
;
29529 wxSizer
*arg1
= (wxSizer
*) 0 ;
29533 wxObject
*arg5
= (wxObject
*) 0 ;
29534 wxSizerItem
*result
;
29535 PyObject
* obj0
= 0 ;
29536 PyObject
* obj4
= 0 ;
29537 char *kwnames
[] = {
29538 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29543 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29551 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29558 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29559 PyObject
*resultobj
;
29560 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29561 PyObject
* obj0
= 0 ;
29562 char *kwnames
[] = {
29563 (char *) "self", NULL
29566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
29567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29570 (arg1
)->DeleteWindows();
29572 wxPyEndAllowThreads(__tstate
);
29573 if (PyErr_Occurred()) SWIG_fail
;
29575 Py_INCREF(Py_None
); resultobj
= Py_None
;
29582 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29583 PyObject
*resultobj
;
29584 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29585 PyObject
* obj0
= 0 ;
29586 char *kwnames
[] = {
29587 (char *) "self", NULL
29590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
29591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29594 (arg1
)->DetachSizer();
29596 wxPyEndAllowThreads(__tstate
);
29597 if (PyErr_Occurred()) SWIG_fail
;
29599 Py_INCREF(Py_None
); resultobj
= Py_None
;
29606 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29607 PyObject
*resultobj
;
29608 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29610 PyObject
* obj0
= 0 ;
29611 char *kwnames
[] = {
29612 (char *) "self", NULL
29615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
29616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29619 result
= (arg1
)->GetSize();
29621 wxPyEndAllowThreads(__tstate
);
29622 if (PyErr_Occurred()) SWIG_fail
;
29625 wxSize
* resultptr
;
29626 resultptr
= new wxSize((wxSize
&) result
);
29627 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29635 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29636 PyObject
*resultobj
;
29637 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29639 PyObject
* obj0
= 0 ;
29640 char *kwnames
[] = {
29641 (char *) "self", NULL
29644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
29645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29648 result
= (arg1
)->CalcMin();
29650 wxPyEndAllowThreads(__tstate
);
29651 if (PyErr_Occurred()) SWIG_fail
;
29654 wxSize
* resultptr
;
29655 resultptr
= new wxSize((wxSize
&) result
);
29656 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29664 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29665 PyObject
*resultobj
;
29666 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29671 PyObject
* obj0
= 0 ;
29672 PyObject
* obj1
= 0 ;
29673 PyObject
* obj2
= 0 ;
29674 char *kwnames
[] = {
29675 (char *) "self",(char *) "pos",(char *) "size", NULL
29678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29680 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29682 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29686 (arg1
)->SetDimension(arg2
,arg3
);
29688 wxPyEndAllowThreads(__tstate
);
29689 if (PyErr_Occurred()) SWIG_fail
;
29691 Py_INCREF(Py_None
); resultobj
= Py_None
;
29698 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29699 PyObject
*resultobj
;
29700 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29702 PyObject
* obj0
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
29708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29711 result
= (arg1
)->GetMinSize();
29713 wxPyEndAllowThreads(__tstate
);
29714 if (PyErr_Occurred()) SWIG_fail
;
29717 wxSize
* resultptr
;
29718 resultptr
= new wxSize((wxSize
&) result
);
29719 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29727 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29728 PyObject
*resultobj
;
29729 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29732 PyObject
* obj0
= 0 ;
29733 char *kwnames
[] = {
29734 (char *) "self",(char *) "x",(char *) "y", NULL
29737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29741 (arg1
)->SetInitSize(arg2
,arg3
);
29743 wxPyEndAllowThreads(__tstate
);
29744 if (PyErr_Occurred()) SWIG_fail
;
29746 Py_INCREF(Py_None
); resultobj
= Py_None
;
29753 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29754 PyObject
*resultobj
;
29755 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29758 PyObject
* obj0
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "self",(char *) "width",(char *) "height", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 (arg1
)->SetRatio(arg2
,arg3
);
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 Py_INCREF(Py_None
); resultobj
= Py_None
;
29779 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29784 PyObject
* obj0
= 0 ;
29785 PyObject
* obj1
= 0 ;
29786 char *kwnames
[] = {
29787 (char *) "self",(char *) "size", NULL
29790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29792 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 (arg1
)->SetRatio(arg2
);
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 Py_INCREF(Py_None
); resultobj
= Py_None
;
29808 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
;
29810 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29812 PyObject
* obj0
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self",(char *) "ratio", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 (arg1
)->SetRatio(arg2
);
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 Py_INCREF(Py_None
); resultobj
= Py_None
;
29833 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29837 PyObject
* obj0
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
29843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 result
= (float)(arg1
)->GetRatio();
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= PyFloat_FromDouble(result
);
29858 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29862 PyObject
* obj0
= 0 ;
29863 char *kwnames
[] = {
29864 (char *) "self", NULL
29867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
29868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 result
= (bool)(arg1
)->IsWindow();
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= PyInt_FromLong((long)result
);
29883 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
;
29885 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29887 PyObject
* obj0
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 result
= (bool)(arg1
)->IsSizer();
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 resultobj
= PyInt_FromLong((long)result
);
29908 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29912 PyObject
* obj0
= 0 ;
29913 char *kwnames
[] = {
29914 (char *) "self", NULL
29917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
29918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29921 result
= (bool)(arg1
)->IsSpacer();
29923 wxPyEndAllowThreads(__tstate
);
29924 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= PyInt_FromLong((long)result
);
29933 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
;
29935 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self",(char *) "proportion", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
29943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 (arg1
)->SetProportion(arg2
);
29948 wxPyEndAllowThreads(__tstate
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29951 Py_INCREF(Py_None
); resultobj
= Py_None
;
29958 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
;
29960 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29962 PyObject
* obj0
= 0 ;
29963 char *kwnames
[] = {
29964 (char *) "self", NULL
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
29968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= (int)(arg1
)->GetProportion();
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= PyInt_FromLong((long)result
);
29983 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
;
29985 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29987 PyObject
* obj0
= 0 ;
29988 char *kwnames
[] = {
29989 (char *) "self",(char *) "flag", NULL
29992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
29993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 (arg1
)->SetFlag(arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 Py_INCREF(Py_None
); resultobj
= Py_None
;
30008 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
;
30010 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30012 PyObject
* obj0
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
30018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (int)(arg1
)->GetFlag();
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30026 resultobj
= PyInt_FromLong((long)result
);
30033 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30034 PyObject
*resultobj
;
30035 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30037 PyObject
* obj0
= 0 ;
30038 char *kwnames
[] = {
30039 (char *) "self",(char *) "border", NULL
30042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
30043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 (arg1
)->SetBorder(arg2
);
30048 wxPyEndAllowThreads(__tstate
);
30049 if (PyErr_Occurred()) SWIG_fail
;
30051 Py_INCREF(Py_None
); resultobj
= Py_None
;
30058 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30059 PyObject
*resultobj
;
30060 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30062 PyObject
* obj0
= 0 ;
30063 char *kwnames
[] = {
30064 (char *) "self", NULL
30067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
30068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30071 result
= (int)(arg1
)->GetBorder();
30073 wxPyEndAllowThreads(__tstate
);
30074 if (PyErr_Occurred()) SWIG_fail
;
30076 resultobj
= PyInt_FromLong((long)result
);
30083 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30084 PyObject
*resultobj
;
30085 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30087 PyObject
* obj0
= 0 ;
30088 char *kwnames
[] = {
30089 (char *) "self", NULL
30092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
30093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30096 result
= (wxWindow
*)(arg1
)->GetWindow();
30098 wxPyEndAllowThreads(__tstate
);
30099 if (PyErr_Occurred()) SWIG_fail
;
30102 resultobj
= wxPyMake_wxObject(result
);
30110 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30111 PyObject
*resultobj
;
30112 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30113 wxWindow
*arg2
= (wxWindow
*) 0 ;
30114 PyObject
* obj0
= 0 ;
30115 PyObject
* obj1
= 0 ;
30116 char *kwnames
[] = {
30117 (char *) "self",(char *) "window", NULL
30120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30125 (arg1
)->SetWindow(arg2
);
30127 wxPyEndAllowThreads(__tstate
);
30128 if (PyErr_Occurred()) SWIG_fail
;
30130 Py_INCREF(Py_None
); resultobj
= Py_None
;
30137 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30138 PyObject
*resultobj
;
30139 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30141 PyObject
* obj0
= 0 ;
30142 char *kwnames
[] = {
30143 (char *) "self", NULL
30146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
30147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30150 result
= (wxSizer
*)(arg1
)->GetSizer();
30152 wxPyEndAllowThreads(__tstate
);
30153 if (PyErr_Occurred()) SWIG_fail
;
30156 resultobj
= wxPyMake_wxSizer(result
);
30164 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30165 PyObject
*resultobj
;
30166 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30167 wxSizer
*arg2
= (wxSizer
*) 0 ;
30168 PyObject
* obj0
= 0 ;
30169 PyObject
* obj1
= 0 ;
30170 char *kwnames
[] = {
30171 (char *) "self",(char *) "sizer", NULL
30174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
30175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30176 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30179 (arg1
)->SetSizer(arg2
);
30181 wxPyEndAllowThreads(__tstate
);
30182 if (PyErr_Occurred()) SWIG_fail
;
30184 Py_INCREF(Py_None
); resultobj
= Py_None
;
30191 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30192 PyObject
*resultobj
;
30193 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30195 PyObject
* obj0
= 0 ;
30196 char *kwnames
[] = {
30197 (char *) "self", NULL
30200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
30201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30205 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
30206 result
= (wxSize
*) &_result_ref
;
30209 wxPyEndAllowThreads(__tstate
);
30210 if (PyErr_Occurred()) SWIG_fail
;
30212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
30219 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30220 PyObject
*resultobj
;
30221 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30224 PyObject
* obj0
= 0 ;
30225 PyObject
* obj1
= 0 ;
30226 char *kwnames
[] = {
30227 (char *) "self",(char *) "size", NULL
30230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
30231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30234 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30238 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
30240 wxPyEndAllowThreads(__tstate
);
30241 if (PyErr_Occurred()) SWIG_fail
;
30243 Py_INCREF(Py_None
); resultobj
= Py_None
;
30250 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30251 PyObject
*resultobj
;
30252 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30254 PyObject
* obj0
= 0 ;
30255 PyObject
* obj1
= 0 ;
30256 char *kwnames
[] = {
30257 (char *) "self",(char *) "show", NULL
30260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
30261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30262 arg2
= PyInt_AsLong(obj1
) ? true : false;
30263 if (PyErr_Occurred()) SWIG_fail
;
30265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30266 (arg1
)->Show(arg2
);
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30271 Py_INCREF(Py_None
); resultobj
= Py_None
;
30278 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30279 PyObject
*resultobj
;
30280 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30282 PyObject
* obj0
= 0 ;
30283 char *kwnames
[] = {
30284 (char *) "self", NULL
30287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
30288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30291 result
= (bool)(arg1
)->IsShown();
30293 wxPyEndAllowThreads(__tstate
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30296 resultobj
= PyInt_FromLong((long)result
);
30303 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
;
30305 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30307 PyObject
* obj0
= 0 ;
30308 char *kwnames
[] = {
30309 (char *) "self", NULL
30312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
30313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30316 result
= (arg1
)->GetPosition();
30318 wxPyEndAllowThreads(__tstate
);
30319 if (PyErr_Occurred()) SWIG_fail
;
30322 wxPoint
* resultptr
;
30323 resultptr
= new wxPoint((wxPoint
&) result
);
30324 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30332 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30333 PyObject
*resultobj
;
30334 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30336 PyObject
* obj0
= 0 ;
30337 char *kwnames
[] = {
30338 (char *) "self", NULL
30341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
30342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
30347 wxPyEndAllowThreads(__tstate
);
30348 if (PyErr_Occurred()) SWIG_fail
;
30350 resultobj
= result
;
30357 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30360 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30362 return Py_BuildValue((char *)"");
30364 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30365 PyObject
*resultobj
;
30366 wxSizer
*arg1
= (wxSizer
*) 0 ;
30367 PyObject
*arg2
= (PyObject
*) 0 ;
30368 PyObject
* obj0
= 0 ;
30369 PyObject
* obj1
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self",(char *) "_self", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30379 wxSizer__setOORInfo(arg1
,arg2
);
30381 wxPyEndAllowThreads(__tstate
);
30382 if (PyErr_Occurred()) SWIG_fail
;
30384 Py_INCREF(Py_None
); resultobj
= Py_None
;
30391 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30392 PyObject
*resultobj
;
30393 wxSizer
*arg1
= (wxSizer
*) 0 ;
30394 PyObject
*arg2
= (PyObject
*) 0 ;
30395 int arg3
= (int) 0 ;
30396 int arg4
= (int) 0 ;
30397 int arg5
= (int) 0 ;
30398 PyObject
*arg6
= (PyObject
*) NULL
;
30399 PyObject
* obj0
= 0 ;
30400 PyObject
* obj1
= 0 ;
30401 PyObject
* obj5
= 0 ;
30402 char *kwnames
[] = {
30403 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30414 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30416 wxPyEndAllowThreads(__tstate
);
30417 if (PyErr_Occurred()) SWIG_fail
;
30419 Py_INCREF(Py_None
); resultobj
= Py_None
;
30426 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30427 PyObject
*resultobj
;
30428 wxSizer
*arg1
= (wxSizer
*) 0 ;
30430 PyObject
*arg3
= (PyObject
*) 0 ;
30431 int arg4
= (int) 0 ;
30432 int arg5
= (int) 0 ;
30433 int arg6
= (int) 0 ;
30434 PyObject
*arg7
= (PyObject
*) NULL
;
30435 PyObject
* obj0
= 0 ;
30436 PyObject
* obj2
= 0 ;
30437 PyObject
* obj6
= 0 ;
30438 char *kwnames
[] = {
30439 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30450 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30452 wxPyEndAllowThreads(__tstate
);
30453 if (PyErr_Occurred()) SWIG_fail
;
30455 Py_INCREF(Py_None
); resultobj
= Py_None
;
30462 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30463 PyObject
*resultobj
;
30464 wxSizer
*arg1
= (wxSizer
*) 0 ;
30465 PyObject
*arg2
= (PyObject
*) 0 ;
30466 int arg3
= (int) 0 ;
30467 int arg4
= (int) 0 ;
30468 int arg5
= (int) 0 ;
30469 PyObject
*arg6
= (PyObject
*) NULL
;
30470 PyObject
* obj0
= 0 ;
30471 PyObject
* obj1
= 0 ;
30472 PyObject
* obj5
= 0 ;
30473 char *kwnames
[] = {
30474 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30477 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30478 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30485 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30487 wxPyEndAllowThreads(__tstate
);
30488 if (PyErr_Occurred()) SWIG_fail
;
30490 Py_INCREF(Py_None
); resultobj
= Py_None
;
30497 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30498 PyObject
*resultobj
;
30499 wxSizer
*arg1
= (wxSizer
*) 0 ;
30500 PyObject
*arg2
= (PyObject
*) 0 ;
30502 PyObject
* obj0
= 0 ;
30503 PyObject
* obj1
= 0 ;
30504 char *kwnames
[] = {
30505 (char *) "self",(char *) "item", NULL
30508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30513 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30515 wxPyEndAllowThreads(__tstate
);
30516 if (PyErr_Occurred()) SWIG_fail
;
30518 resultobj
= PyInt_FromLong((long)result
);
30525 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30526 PyObject
*resultobj
;
30527 wxSizer
*arg1
= (wxSizer
*) 0 ;
30528 PyObject
*arg2
= (PyObject
*) 0 ;
30531 PyObject
* obj0
= 0 ;
30532 PyObject
* obj1
= 0 ;
30533 PyObject
* obj2
= 0 ;
30534 char *kwnames
[] = {
30535 (char *) "self",(char *) "item",(char *) "size", NULL
30538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30543 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30547 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30552 Py_INCREF(Py_None
); resultobj
= Py_None
;
30559 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30560 PyObject
*resultobj
;
30561 wxSizer
*arg1
= (wxSizer
*) 0 ;
30562 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30563 PyObject
* obj0
= 0 ;
30564 PyObject
* obj1
= 0 ;
30565 char *kwnames
[] = {
30566 (char *) "self",(char *) "item", NULL
30569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30571 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30576 wxPyEndAllowThreads(__tstate
);
30577 if (PyErr_Occurred()) SWIG_fail
;
30579 Py_INCREF(Py_None
); resultobj
= Py_None
;
30586 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30587 PyObject
*resultobj
;
30588 wxSizer
*arg1
= (wxSizer
*) 0 ;
30590 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
30591 PyObject
* obj0
= 0 ;
30592 PyObject
* obj1
= 0 ;
30593 PyObject
* obj2
= 0 ;
30594 char *kwnames
[] = {
30595 (char *) "self",(char *) "index",(char *) "item", NULL
30598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30600 arg2
= (size_t) PyInt_AsLong(obj1
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30602 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30605 (arg1
)->Insert(arg2
,arg3
);
30607 wxPyEndAllowThreads(__tstate
);
30608 if (PyErr_Occurred()) SWIG_fail
;
30610 Py_INCREF(Py_None
); resultobj
= Py_None
;
30617 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30618 PyObject
*resultobj
;
30619 wxSizer
*arg1
= (wxSizer
*) 0 ;
30620 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30621 PyObject
* obj0
= 0 ;
30622 PyObject
* obj1
= 0 ;
30623 char *kwnames
[] = {
30624 (char *) "self",(char *) "item", NULL
30627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30629 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 (arg1
)->Prepend(arg2
);
30634 wxPyEndAllowThreads(__tstate
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30637 Py_INCREF(Py_None
); resultobj
= Py_None
;
30644 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30645 PyObject
*resultobj
;
30646 wxSizer
*arg1
= (wxSizer
*) 0 ;
30651 PyObject
* obj0
= 0 ;
30652 char *kwnames
[] = {
30653 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
30657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30660 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 Py_INCREF(Py_None
); resultobj
= Py_None
;
30672 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
;
30674 wxSizer
*arg1
= (wxSizer
*) 0 ;
30677 PyObject
* obj0
= 0 ;
30678 PyObject
* obj1
= 0 ;
30679 char *kwnames
[] = {
30680 (char *) "self",(char *) "size", NULL
30683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30685 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30689 (arg1
)->SetMinSize(arg2
);
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 Py_INCREF(Py_None
); resultobj
= Py_None
;
30701 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
;
30703 wxSizer
*arg1
= (wxSizer
*) 0 ;
30705 PyObject
* obj0
= 0 ;
30706 char *kwnames
[] = {
30707 (char *) "self", NULL
30710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
30711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30714 result
= (arg1
)->GetSize();
30716 wxPyEndAllowThreads(__tstate
);
30717 if (PyErr_Occurred()) SWIG_fail
;
30720 wxSize
* resultptr
;
30721 resultptr
= new wxSize((wxSize
&) result
);
30722 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30730 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30731 PyObject
*resultobj
;
30732 wxSizer
*arg1
= (wxSizer
*) 0 ;
30734 PyObject
* obj0
= 0 ;
30735 char *kwnames
[] = {
30736 (char *) "self", NULL
30739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
30740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30743 result
= (arg1
)->GetPosition();
30745 wxPyEndAllowThreads(__tstate
);
30746 if (PyErr_Occurred()) SWIG_fail
;
30749 wxPoint
* resultptr
;
30750 resultptr
= new wxPoint((wxPoint
&) result
);
30751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30759 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30760 PyObject
*resultobj
;
30761 wxSizer
*arg1
= (wxSizer
*) 0 ;
30763 PyObject
* obj0
= 0 ;
30764 char *kwnames
[] = {
30765 (char *) "self", NULL
30768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
30769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30772 result
= (arg1
)->GetMinSize();
30774 wxPyEndAllowThreads(__tstate
);
30775 if (PyErr_Occurred()) SWIG_fail
;
30778 wxSize
* resultptr
;
30779 resultptr
= new wxSize((wxSize
&) result
);
30780 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30788 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30789 PyObject
*resultobj
;
30790 wxSizer
*arg1
= (wxSizer
*) 0 ;
30791 PyObject
* obj0
= 0 ;
30792 char *kwnames
[] = {
30793 (char *) "self", NULL
30796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30800 (arg1
)->RecalcSizes();
30802 wxPyEndAllowThreads(__tstate
);
30803 if (PyErr_Occurred()) SWIG_fail
;
30805 Py_INCREF(Py_None
); resultobj
= Py_None
;
30812 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30813 PyObject
*resultobj
;
30814 wxSizer
*arg1
= (wxSizer
*) 0 ;
30816 PyObject
* obj0
= 0 ;
30817 char *kwnames
[] = {
30818 (char *) "self", NULL
30821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30825 result
= (arg1
)->CalcMin();
30827 wxPyEndAllowThreads(__tstate
);
30828 if (PyErr_Occurred()) SWIG_fail
;
30831 wxSize
* resultptr
;
30832 resultptr
= new wxSize((wxSize
&) result
);
30833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30841 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30842 PyObject
*resultobj
;
30843 wxSizer
*arg1
= (wxSizer
*) 0 ;
30844 PyObject
* obj0
= 0 ;
30845 char *kwnames
[] = {
30846 (char *) "self", NULL
30849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
30850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30855 wxPyEndAllowThreads(__tstate
);
30856 if (PyErr_Occurred()) SWIG_fail
;
30858 Py_INCREF(Py_None
); resultobj
= Py_None
;
30865 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30866 PyObject
*resultobj
;
30867 wxSizer
*arg1
= (wxSizer
*) 0 ;
30868 wxWindow
*arg2
= (wxWindow
*) 0 ;
30870 PyObject
* obj0
= 0 ;
30871 PyObject
* obj1
= 0 ;
30872 char *kwnames
[] = {
30873 (char *) "self",(char *) "window", NULL
30876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
30877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30878 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30881 result
= (arg1
)->Fit(arg2
);
30883 wxPyEndAllowThreads(__tstate
);
30884 if (PyErr_Occurred()) SWIG_fail
;
30887 wxSize
* resultptr
;
30888 resultptr
= new wxSize((wxSize
&) result
);
30889 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30897 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30898 PyObject
*resultobj
;
30899 wxSizer
*arg1
= (wxSizer
*) 0 ;
30900 wxWindow
*arg2
= (wxWindow
*) 0 ;
30901 PyObject
* obj0
= 0 ;
30902 PyObject
* obj1
= 0 ;
30903 char *kwnames
[] = {
30904 (char *) "self",(char *) "window", NULL
30907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
30908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30909 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30912 (arg1
)->FitInside(arg2
);
30914 wxPyEndAllowThreads(__tstate
);
30915 if (PyErr_Occurred()) SWIG_fail
;
30917 Py_INCREF(Py_None
); resultobj
= Py_None
;
30924 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30925 PyObject
*resultobj
;
30926 wxSizer
*arg1
= (wxSizer
*) 0 ;
30927 wxWindow
*arg2
= (wxWindow
*) 0 ;
30928 PyObject
* obj0
= 0 ;
30929 PyObject
* obj1
= 0 ;
30930 char *kwnames
[] = {
30931 (char *) "self",(char *) "window", NULL
30934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30939 (arg1
)->SetSizeHints(arg2
);
30941 wxPyEndAllowThreads(__tstate
);
30942 if (PyErr_Occurred()) SWIG_fail
;
30944 Py_INCREF(Py_None
); resultobj
= Py_None
;
30951 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30952 PyObject
*resultobj
;
30953 wxSizer
*arg1
= (wxSizer
*) 0 ;
30954 wxWindow
*arg2
= (wxWindow
*) 0 ;
30955 PyObject
* obj0
= 0 ;
30956 PyObject
* obj1
= 0 ;
30957 char *kwnames
[] = {
30958 (char *) "self",(char *) "window", NULL
30961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30963 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30966 (arg1
)->SetVirtualSizeHints(arg2
);
30968 wxPyEndAllowThreads(__tstate
);
30969 if (PyErr_Occurred()) SWIG_fail
;
30971 Py_INCREF(Py_None
); resultobj
= Py_None
;
30978 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30979 PyObject
*resultobj
;
30980 wxSizer
*arg1
= (wxSizer
*) 0 ;
30981 bool arg2
= (bool) False
;
30982 PyObject
* obj0
= 0 ;
30983 PyObject
* obj1
= 0 ;
30984 char *kwnames
[] = {
30985 (char *) "self",(char *) "delete_windows", NULL
30988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30991 arg2
= PyInt_AsLong(obj1
) ? true : false;
30992 if (PyErr_Occurred()) SWIG_fail
;
30995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30996 (arg1
)->Clear(arg2
);
30998 wxPyEndAllowThreads(__tstate
);
30999 if (PyErr_Occurred()) SWIG_fail
;
31001 Py_INCREF(Py_None
); resultobj
= Py_None
;
31008 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31009 PyObject
*resultobj
;
31010 wxSizer
*arg1
= (wxSizer
*) 0 ;
31011 PyObject
* obj0
= 0 ;
31012 char *kwnames
[] = {
31013 (char *) "self", NULL
31016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31020 (arg1
)->DeleteWindows();
31022 wxPyEndAllowThreads(__tstate
);
31023 if (PyErr_Occurred()) SWIG_fail
;
31025 Py_INCREF(Py_None
); resultobj
= Py_None
;
31032 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31033 PyObject
*resultobj
;
31034 wxSizer
*arg1
= (wxSizer
*) 0 ;
31036 PyObject
* obj0
= 0 ;
31037 char *kwnames
[] = {
31038 (char *) "self", NULL
31041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
31042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31045 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
31047 wxPyEndAllowThreads(__tstate
);
31048 if (PyErr_Occurred()) SWIG_fail
;
31050 resultobj
= result
;
31057 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31058 PyObject
*resultobj
;
31059 wxSizer
*arg1
= (wxSizer
*) 0 ;
31060 PyObject
*arg2
= (PyObject
*) 0 ;
31061 bool arg3
= (bool) True
;
31062 PyObject
* obj0
= 0 ;
31063 PyObject
* obj1
= 0 ;
31064 PyObject
* obj2
= 0 ;
31065 char *kwnames
[] = {
31066 (char *) "self",(char *) "item",(char *) "show", NULL
31069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31073 arg3
= PyInt_AsLong(obj2
) ? true : false;
31074 if (PyErr_Occurred()) SWIG_fail
;
31077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31078 wxSizer_Show(arg1
,arg2
,arg3
);
31080 wxPyEndAllowThreads(__tstate
);
31081 if (PyErr_Occurred()) SWIG_fail
;
31083 Py_INCREF(Py_None
); resultobj
= Py_None
;
31090 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31091 PyObject
*resultobj
;
31092 wxSizer
*arg1
= (wxSizer
*) 0 ;
31093 PyObject
*arg2
= (PyObject
*) 0 ;
31094 PyObject
* obj0
= 0 ;
31095 PyObject
* obj1
= 0 ;
31096 char *kwnames
[] = {
31097 (char *) "self",(char *) "item", NULL
31100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
31101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31105 wxSizer_Hide(arg1
,arg2
);
31107 wxPyEndAllowThreads(__tstate
);
31108 if (PyErr_Occurred()) SWIG_fail
;
31110 Py_INCREF(Py_None
); resultobj
= Py_None
;
31117 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31118 PyObject
*resultobj
;
31119 wxSizer
*arg1
= (wxSizer
*) 0 ;
31120 PyObject
*arg2
= (PyObject
*) 0 ;
31122 PyObject
* obj0
= 0 ;
31123 PyObject
* obj1
= 0 ;
31124 char *kwnames
[] = {
31125 (char *) "self",(char *) "item", NULL
31128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
31129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31133 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
31135 wxPyEndAllowThreads(__tstate
);
31136 if (PyErr_Occurred()) SWIG_fail
;
31138 resultobj
= PyInt_FromLong((long)result
);
31145 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31146 PyObject
*resultobj
;
31147 wxSizer
*arg1
= (wxSizer
*) 0 ;
31149 PyObject
* obj0
= 0 ;
31150 PyObject
* obj1
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "self",(char *) "show", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31157 arg2
= PyInt_AsLong(obj1
) ? true : false;
31158 if (PyErr_Occurred()) SWIG_fail
;
31160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31161 (arg1
)->ShowItems(arg2
);
31163 wxPyEndAllowThreads(__tstate
);
31164 if (PyErr_Occurred()) SWIG_fail
;
31166 Py_INCREF(Py_None
); resultobj
= Py_None
;
31173 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
31175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31176 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
31178 return Py_BuildValue((char *)"");
31180 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31181 PyObject
*resultobj
;
31183 char *kwnames
[] = {
31187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
31189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31190 result
= (wxPySizer
*)new wxPySizer();
31192 wxPyEndAllowThreads(__tstate
);
31193 if (PyErr_Occurred()) SWIG_fail
;
31195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
31202 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31203 PyObject
*resultobj
;
31204 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
31205 PyObject
*arg2
= (PyObject
*) 0 ;
31206 PyObject
*arg3
= (PyObject
*) 0 ;
31207 PyObject
* obj0
= 0 ;
31208 PyObject
* obj1
= 0 ;
31209 PyObject
* obj2
= 0 ;
31210 char *kwnames
[] = {
31211 (char *) "self",(char *) "self",(char *) "_class", NULL
31214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31220 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31222 wxPyEndAllowThreads(__tstate
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 Py_INCREF(Py_None
); resultobj
= Py_None
;
31232 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
31234 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31235 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
31237 return Py_BuildValue((char *)"");
31239 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31240 PyObject
*resultobj
;
31241 int arg1
= (int) wxHORIZONTAL
;
31242 wxBoxSizer
*result
;
31243 char *kwnames
[] = {
31244 (char *) "orient", NULL
31247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
31249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31250 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
31252 wxPyEndAllowThreads(__tstate
);
31253 if (PyErr_Occurred()) SWIG_fail
;
31255 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
31262 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31263 PyObject
*resultobj
;
31264 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31266 PyObject
* obj0
= 0 ;
31267 char *kwnames
[] = {
31268 (char *) "self", NULL
31271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
31272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31275 result
= (int)(arg1
)->GetOrientation();
31277 wxPyEndAllowThreads(__tstate
);
31278 if (PyErr_Occurred()) SWIG_fail
;
31280 resultobj
= PyInt_FromLong((long)result
);
31287 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31288 PyObject
*resultobj
;
31289 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31291 PyObject
* obj0
= 0 ;
31292 char *kwnames
[] = {
31293 (char *) "self",(char *) "orient", NULL
31296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
31297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 (arg1
)->SetOrientation(arg2
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 Py_INCREF(Py_None
); resultobj
= Py_None
;
31312 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
;
31314 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31315 PyObject
* obj0
= 0 ;
31316 char *kwnames
[] = {
31317 (char *) "self", NULL
31320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31324 (arg1
)->RecalcSizes();
31326 wxPyEndAllowThreads(__tstate
);
31327 if (PyErr_Occurred()) SWIG_fail
;
31329 Py_INCREF(Py_None
); resultobj
= Py_None
;
31336 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31337 PyObject
*resultobj
;
31338 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31340 PyObject
* obj0
= 0 ;
31341 char *kwnames
[] = {
31342 (char *) "self", NULL
31345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31349 result
= (arg1
)->CalcMin();
31351 wxPyEndAllowThreads(__tstate
);
31352 if (PyErr_Occurred()) SWIG_fail
;
31355 wxSize
* resultptr
;
31356 resultptr
= new wxSize((wxSize
&) result
);
31357 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31365 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31367 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31368 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31370 return Py_BuildValue((char *)"");
31372 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31373 PyObject
*resultobj
;
31374 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31375 int arg2
= (int) wxHORIZONTAL
;
31376 wxStaticBoxSizer
*result
;
31377 PyObject
* obj0
= 0 ;
31378 char *kwnames
[] = {
31379 (char *) "box",(char *) "orient", NULL
31382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31386 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31388 wxPyEndAllowThreads(__tstate
);
31389 if (PyErr_Occurred()) SWIG_fail
;
31391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31398 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31399 PyObject
*resultobj
;
31400 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31401 wxStaticBox
*result
;
31402 PyObject
* obj0
= 0 ;
31403 char *kwnames
[] = {
31404 (char *) "self", NULL
31407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31411 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31413 wxPyEndAllowThreads(__tstate
);
31414 if (PyErr_Occurred()) SWIG_fail
;
31417 resultobj
= wxPyMake_wxObject(result
);
31425 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31426 PyObject
*resultobj
;
31427 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31428 PyObject
* obj0
= 0 ;
31429 char *kwnames
[] = {
31430 (char *) "self", NULL
31433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31437 (arg1
)->RecalcSizes();
31439 wxPyEndAllowThreads(__tstate
);
31440 if (PyErr_Occurred()) SWIG_fail
;
31442 Py_INCREF(Py_None
); resultobj
= Py_None
;
31449 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31450 PyObject
*resultobj
;
31451 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31453 PyObject
* obj0
= 0 ;
31454 char *kwnames
[] = {
31455 (char *) "self", NULL
31458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31462 result
= (arg1
)->CalcMin();
31464 wxPyEndAllowThreads(__tstate
);
31465 if (PyErr_Occurred()) SWIG_fail
;
31468 wxSize
* resultptr
;
31469 resultptr
= new wxSize((wxSize
&) result
);
31470 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31478 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31480 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31481 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31483 return Py_BuildValue((char *)"");
31485 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31486 PyObject
*resultobj
;
31487 int arg1
= (int) 1 ;
31488 int arg2
= (int) 0 ;
31489 int arg3
= (int) 0 ;
31490 int arg4
= (int) 0 ;
31491 wxGridSizer
*result
;
31492 char *kwnames
[] = {
31493 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31499 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31501 wxPyEndAllowThreads(__tstate
);
31502 if (PyErr_Occurred()) SWIG_fail
;
31504 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31511 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31512 PyObject
*resultobj
;
31513 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31514 PyObject
* obj0
= 0 ;
31515 char *kwnames
[] = {
31516 (char *) "self", NULL
31519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31523 (arg1
)->RecalcSizes();
31525 wxPyEndAllowThreads(__tstate
);
31526 if (PyErr_Occurred()) SWIG_fail
;
31528 Py_INCREF(Py_None
); resultobj
= Py_None
;
31535 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31536 PyObject
*resultobj
;
31537 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31539 PyObject
* obj0
= 0 ;
31540 char *kwnames
[] = {
31541 (char *) "self", NULL
31544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31548 result
= (arg1
)->CalcMin();
31550 wxPyEndAllowThreads(__tstate
);
31551 if (PyErr_Occurred()) SWIG_fail
;
31554 wxSize
* resultptr
;
31555 resultptr
= new wxSize((wxSize
&) result
);
31556 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31564 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31565 PyObject
*resultobj
;
31566 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31568 PyObject
* obj0
= 0 ;
31569 char *kwnames
[] = {
31570 (char *) "self",(char *) "cols", NULL
31573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
31574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31577 (arg1
)->SetCols(arg2
);
31579 wxPyEndAllowThreads(__tstate
);
31580 if (PyErr_Occurred()) SWIG_fail
;
31582 Py_INCREF(Py_None
); resultobj
= Py_None
;
31589 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31590 PyObject
*resultobj
;
31591 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31593 PyObject
* obj0
= 0 ;
31594 char *kwnames
[] = {
31595 (char *) "self",(char *) "rows", NULL
31598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
31599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31602 (arg1
)->SetRows(arg2
);
31604 wxPyEndAllowThreads(__tstate
);
31605 if (PyErr_Occurred()) SWIG_fail
;
31607 Py_INCREF(Py_None
); resultobj
= Py_None
;
31614 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31615 PyObject
*resultobj
;
31616 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31618 PyObject
* obj0
= 0 ;
31619 char *kwnames
[] = {
31620 (char *) "self",(char *) "gap", NULL
31623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31627 (arg1
)->SetVGap(arg2
);
31629 wxPyEndAllowThreads(__tstate
);
31630 if (PyErr_Occurred()) SWIG_fail
;
31632 Py_INCREF(Py_None
); resultobj
= Py_None
;
31639 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31640 PyObject
*resultobj
;
31641 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31643 PyObject
* obj0
= 0 ;
31644 char *kwnames
[] = {
31645 (char *) "self",(char *) "gap", NULL
31648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31652 (arg1
)->SetHGap(arg2
);
31654 wxPyEndAllowThreads(__tstate
);
31655 if (PyErr_Occurred()) SWIG_fail
;
31657 Py_INCREF(Py_None
); resultobj
= Py_None
;
31664 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31665 PyObject
*resultobj
;
31666 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31668 PyObject
* obj0
= 0 ;
31669 char *kwnames
[] = {
31670 (char *) "self", NULL
31673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
31674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31677 result
= (int)(arg1
)->GetCols();
31679 wxPyEndAllowThreads(__tstate
);
31680 if (PyErr_Occurred()) SWIG_fail
;
31682 resultobj
= PyInt_FromLong((long)result
);
31689 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31690 PyObject
*resultobj
;
31691 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31693 PyObject
* obj0
= 0 ;
31694 char *kwnames
[] = {
31695 (char *) "self", NULL
31698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
31699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31702 result
= (int)(arg1
)->GetRows();
31704 wxPyEndAllowThreads(__tstate
);
31705 if (PyErr_Occurred()) SWIG_fail
;
31707 resultobj
= PyInt_FromLong((long)result
);
31714 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31715 PyObject
*resultobj
;
31716 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31718 PyObject
* obj0
= 0 ;
31719 char *kwnames
[] = {
31720 (char *) "self", NULL
31723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
31724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31727 result
= (int)(arg1
)->GetVGap();
31729 wxPyEndAllowThreads(__tstate
);
31730 if (PyErr_Occurred()) SWIG_fail
;
31732 resultobj
= PyInt_FromLong((long)result
);
31739 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31740 PyObject
*resultobj
;
31741 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31743 PyObject
* obj0
= 0 ;
31744 char *kwnames
[] = {
31745 (char *) "self", NULL
31748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
31749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31752 result
= (int)(arg1
)->GetHGap();
31754 wxPyEndAllowThreads(__tstate
);
31755 if (PyErr_Occurred()) SWIG_fail
;
31757 resultobj
= PyInt_FromLong((long)result
);
31764 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31766 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31767 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
31769 return Py_BuildValue((char *)"");
31771 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
;
31773 int arg1
= (int) 1 ;
31774 int arg2
= (int) 0 ;
31775 int arg3
= (int) 0 ;
31776 int arg4
= (int) 0 ;
31777 wxFlexGridSizer
*result
;
31778 char *kwnames
[] = {
31779 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31785 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
31787 wxPyEndAllowThreads(__tstate
);
31788 if (PyErr_Occurred()) SWIG_fail
;
31790 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
31797 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31798 PyObject
*resultobj
;
31799 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31800 PyObject
* obj0
= 0 ;
31801 char *kwnames
[] = {
31802 (char *) "self", NULL
31805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31809 (arg1
)->RecalcSizes();
31811 wxPyEndAllowThreads(__tstate
);
31812 if (PyErr_Occurred()) SWIG_fail
;
31814 Py_INCREF(Py_None
); resultobj
= Py_None
;
31821 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31822 PyObject
*resultobj
;
31823 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31825 PyObject
* obj0
= 0 ;
31826 char *kwnames
[] = {
31827 (char *) "self", NULL
31830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31834 result
= (arg1
)->CalcMin();
31836 wxPyEndAllowThreads(__tstate
);
31837 if (PyErr_Occurred()) SWIG_fail
;
31840 wxSize
* resultptr
;
31841 resultptr
= new wxSize((wxSize
&) result
);
31842 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31850 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31851 PyObject
*resultobj
;
31852 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31854 int arg3
= (int) 0 ;
31855 PyObject
* obj0
= 0 ;
31856 PyObject
* obj1
= 0 ;
31857 char *kwnames
[] = {
31858 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31863 arg2
= (size_t) PyInt_AsLong(obj1
);
31864 if (PyErr_Occurred()) SWIG_fail
;
31866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31867 (arg1
)->AddGrowableRow(arg2
,arg3
);
31869 wxPyEndAllowThreads(__tstate
);
31870 if (PyErr_Occurred()) SWIG_fail
;
31872 Py_INCREF(Py_None
); resultobj
= Py_None
;
31879 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31880 PyObject
*resultobj
;
31881 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31883 PyObject
* obj0
= 0 ;
31884 PyObject
* obj1
= 0 ;
31885 char *kwnames
[] = {
31886 (char *) "self",(char *) "idx", NULL
31889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
31890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31891 arg2
= (size_t) PyInt_AsLong(obj1
);
31892 if (PyErr_Occurred()) SWIG_fail
;
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 (arg1
)->RemoveGrowableRow(arg2
);
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31900 Py_INCREF(Py_None
); resultobj
= Py_None
;
31907 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31908 PyObject
*resultobj
;
31909 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31911 int arg3
= (int) 0 ;
31912 PyObject
* obj0
= 0 ;
31913 PyObject
* obj1
= 0 ;
31914 char *kwnames
[] = {
31915 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31920 arg2
= (size_t) PyInt_AsLong(obj1
);
31921 if (PyErr_Occurred()) SWIG_fail
;
31923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31924 (arg1
)->AddGrowableCol(arg2
,arg3
);
31926 wxPyEndAllowThreads(__tstate
);
31927 if (PyErr_Occurred()) SWIG_fail
;
31929 Py_INCREF(Py_None
); resultobj
= Py_None
;
31936 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31937 PyObject
*resultobj
;
31938 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31940 PyObject
* obj0
= 0 ;
31941 PyObject
* obj1
= 0 ;
31942 char *kwnames
[] = {
31943 (char *) "self",(char *) "idx", NULL
31946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
31947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31948 arg2
= (size_t) PyInt_AsLong(obj1
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31952 (arg1
)->RemoveGrowableCol(arg2
);
31954 wxPyEndAllowThreads(__tstate
);
31955 if (PyErr_Occurred()) SWIG_fail
;
31957 Py_INCREF(Py_None
); resultobj
= Py_None
;
31964 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31965 PyObject
*resultobj
;
31966 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31968 PyObject
* obj0
= 0 ;
31969 char *kwnames
[] = {
31970 (char *) "self",(char *) "direction", NULL
31973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
31974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31977 (arg1
)->SetFlexibleDirection(arg2
);
31979 wxPyEndAllowThreads(__tstate
);
31980 if (PyErr_Occurred()) SWIG_fail
;
31982 Py_INCREF(Py_None
); resultobj
= Py_None
;
31989 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31990 PyObject
*resultobj
;
31991 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31993 PyObject
* obj0
= 0 ;
31994 char *kwnames
[] = {
31995 (char *) "self", NULL
31998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
31999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32002 result
= (int)(arg1
)->GetFlexibleDirection();
32004 wxPyEndAllowThreads(__tstate
);
32005 if (PyErr_Occurred()) SWIG_fail
;
32007 resultobj
= PyInt_FromLong((long)result
);
32014 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32015 PyObject
*resultobj
;
32016 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32018 PyObject
* obj0
= 0 ;
32019 char *kwnames
[] = {
32020 (char *) "self",(char *) "mode", NULL
32023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
32024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32027 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
32029 wxPyEndAllowThreads(__tstate
);
32030 if (PyErr_Occurred()) SWIG_fail
;
32032 Py_INCREF(Py_None
); resultobj
= Py_None
;
32039 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32040 PyObject
*resultobj
;
32041 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32043 PyObject
* obj0
= 0 ;
32044 char *kwnames
[] = {
32045 (char *) "self", NULL
32048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
32049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32052 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
32054 wxPyEndAllowThreads(__tstate
);
32055 if (PyErr_Occurred()) SWIG_fail
;
32057 resultobj
= PyInt_FromLong((long)result
);
32064 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32065 PyObject
*resultobj
;
32066 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32067 wxArrayInt
*result
;
32068 PyObject
* obj0
= 0 ;
32069 char *kwnames
[] = {
32070 (char *) "self", NULL
32073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
32074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
32079 result
= (wxArrayInt
*) &_result_ref
;
32082 wxPyEndAllowThreads(__tstate
);
32083 if (PyErr_Occurred()) SWIG_fail
;
32086 resultobj
= PyList_New(0);
32088 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32089 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32090 PyList_Append(resultobj
, val
);
32100 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32101 PyObject
*resultobj
;
32102 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32103 wxArrayInt
*result
;
32104 PyObject
* obj0
= 0 ;
32105 char *kwnames
[] = {
32106 (char *) "self", NULL
32109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
32110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32114 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
32115 result
= (wxArrayInt
*) &_result_ref
;
32118 wxPyEndAllowThreads(__tstate
);
32119 if (PyErr_Occurred()) SWIG_fail
;
32122 resultobj
= PyList_New(0);
32124 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32125 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32126 PyList_Append(resultobj
, val
);
32136 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32138 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32139 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
32141 return Py_BuildValue((char *)"");
32143 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32144 PyObject
*resultobj
;
32145 int arg1
= (int) 0 ;
32146 int arg2
= (int) 0 ;
32147 wxGBPosition
*result
;
32148 char *kwnames
[] = {
32149 (char *) "row",(char *) "col", NULL
32152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
32154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32155 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
32157 wxPyEndAllowThreads(__tstate
);
32158 if (PyErr_Occurred()) SWIG_fail
;
32160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
32167 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32168 PyObject
*resultobj
;
32169 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32171 PyObject
* obj0
= 0 ;
32172 char *kwnames
[] = {
32173 (char *) "self", NULL
32176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
32177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32180 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
32182 wxPyEndAllowThreads(__tstate
);
32183 if (PyErr_Occurred()) SWIG_fail
;
32185 resultobj
= PyInt_FromLong((long)result
);
32192 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32193 PyObject
*resultobj
;
32194 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32196 PyObject
* obj0
= 0 ;
32197 char *kwnames
[] = {
32198 (char *) "self", NULL
32201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
32202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32205 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
32207 wxPyEndAllowThreads(__tstate
);
32208 if (PyErr_Occurred()) SWIG_fail
;
32210 resultobj
= PyInt_FromLong((long)result
);
32217 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32218 PyObject
*resultobj
;
32219 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32221 PyObject
* obj0
= 0 ;
32222 char *kwnames
[] = {
32223 (char *) "self",(char *) "row", NULL
32226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
32227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32230 (arg1
)->SetRow(arg2
);
32232 wxPyEndAllowThreads(__tstate
);
32233 if (PyErr_Occurred()) SWIG_fail
;
32235 Py_INCREF(Py_None
); resultobj
= Py_None
;
32242 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32243 PyObject
*resultobj
;
32244 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32246 PyObject
* obj0
= 0 ;
32247 char *kwnames
[] = {
32248 (char *) "self",(char *) "col", NULL
32251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
32252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32255 (arg1
)->SetCol(arg2
);
32257 wxPyEndAllowThreads(__tstate
);
32258 if (PyErr_Occurred()) SWIG_fail
;
32260 Py_INCREF(Py_None
); resultobj
= Py_None
;
32267 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32268 PyObject
*resultobj
;
32269 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32270 wxGBPosition
*arg2
= 0 ;
32272 wxGBPosition temp2
;
32273 PyObject
* obj0
= 0 ;
32274 PyObject
* obj1
= 0 ;
32275 char *kwnames
[] = {
32276 (char *) "self",(char *) "p", NULL
32279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32283 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32287 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
32289 wxPyEndAllowThreads(__tstate
);
32290 if (PyErr_Occurred()) SWIG_fail
;
32292 resultobj
= PyInt_FromLong((long)result
);
32299 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32300 PyObject
*resultobj
;
32301 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32302 wxGBPosition
*arg2
= 0 ;
32304 wxGBPosition temp2
;
32305 PyObject
* obj0
= 0 ;
32306 PyObject
* obj1
= 0 ;
32307 char *kwnames
[] = {
32308 (char *) "self",(char *) "p", NULL
32311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32315 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32319 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
32321 wxPyEndAllowThreads(__tstate
);
32322 if (PyErr_Occurred()) SWIG_fail
;
32324 resultobj
= PyInt_FromLong((long)result
);
32331 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32332 PyObject
*resultobj
;
32333 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32334 int arg2
= (int) 0 ;
32335 int arg3
= (int) 0 ;
32336 PyObject
* obj0
= 0 ;
32337 char *kwnames
[] = {
32338 (char *) "self",(char *) "row",(char *) "col", NULL
32341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBPosition_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32345 wxGBPosition_Set(arg1
,arg2
,arg3
);
32347 wxPyEndAllowThreads(__tstate
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 Py_INCREF(Py_None
); resultobj
= Py_None
;
32357 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32358 PyObject
*resultobj
;
32359 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32361 PyObject
* obj0
= 0 ;
32362 char *kwnames
[] = {
32363 (char *) "self", NULL
32366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
32367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32370 result
= (PyObject
*)wxGBPosition_Get(arg1
);
32372 wxPyEndAllowThreads(__tstate
);
32373 if (PyErr_Occurred()) SWIG_fail
;
32375 resultobj
= result
;
32382 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
32384 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32385 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
32387 return Py_BuildValue((char *)"");
32389 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32390 PyObject
*resultobj
;
32391 int arg1
= (int) 1 ;
32392 int arg2
= (int) 1 ;
32394 char *kwnames
[] = {
32395 (char *) "rowspan",(char *) "colspan", NULL
32398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
32400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32401 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
32403 wxPyEndAllowThreads(__tstate
);
32404 if (PyErr_Occurred()) SWIG_fail
;
32406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
32413 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32414 PyObject
*resultobj
;
32415 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32417 PyObject
* obj0
= 0 ;
32418 char *kwnames
[] = {
32419 (char *) "self", NULL
32422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
32423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32426 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
32428 wxPyEndAllowThreads(__tstate
);
32429 if (PyErr_Occurred()) SWIG_fail
;
32431 resultobj
= PyInt_FromLong((long)result
);
32438 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32439 PyObject
*resultobj
;
32440 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32442 PyObject
* obj0
= 0 ;
32443 char *kwnames
[] = {
32444 (char *) "self", NULL
32447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
32448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32451 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
32453 wxPyEndAllowThreads(__tstate
);
32454 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= PyInt_FromLong((long)result
);
32463 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32464 PyObject
*resultobj
;
32465 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32467 PyObject
* obj0
= 0 ;
32468 char *kwnames
[] = {
32469 (char *) "self",(char *) "rowspan", NULL
32472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32476 (arg1
)->SetRowspan(arg2
);
32478 wxPyEndAllowThreads(__tstate
);
32479 if (PyErr_Occurred()) SWIG_fail
;
32481 Py_INCREF(Py_None
); resultobj
= Py_None
;
32488 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32489 PyObject
*resultobj
;
32490 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32492 PyObject
* obj0
= 0 ;
32493 char *kwnames
[] = {
32494 (char *) "self",(char *) "colspan", NULL
32497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32501 (arg1
)->SetColspan(arg2
);
32503 wxPyEndAllowThreads(__tstate
);
32504 if (PyErr_Occurred()) SWIG_fail
;
32506 Py_INCREF(Py_None
); resultobj
= Py_None
;
32513 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32514 PyObject
*resultobj
;
32515 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32516 wxGBSpan
*arg2
= 0 ;
32519 PyObject
* obj0
= 0 ;
32520 PyObject
* obj1
= 0 ;
32521 char *kwnames
[] = {
32522 (char *) "self",(char *) "o", NULL
32525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32529 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32533 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
32535 wxPyEndAllowThreads(__tstate
);
32536 if (PyErr_Occurred()) SWIG_fail
;
32538 resultobj
= PyInt_FromLong((long)result
);
32545 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32546 PyObject
*resultobj
;
32547 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32548 wxGBSpan
*arg2
= 0 ;
32551 PyObject
* obj0
= 0 ;
32552 PyObject
* obj1
= 0 ;
32553 char *kwnames
[] = {
32554 (char *) "self",(char *) "o", NULL
32557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32561 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32565 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
32567 wxPyEndAllowThreads(__tstate
);
32568 if (PyErr_Occurred()) SWIG_fail
;
32570 resultobj
= PyInt_FromLong((long)result
);
32577 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32578 PyObject
*resultobj
;
32579 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32580 int arg2
= (int) 1 ;
32581 int arg3
= (int) 1 ;
32582 PyObject
* obj0
= 0 ;
32583 char *kwnames
[] = {
32584 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBSpan_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32591 wxGBSpan_Set(arg1
,arg2
,arg3
);
32593 wxPyEndAllowThreads(__tstate
);
32594 if (PyErr_Occurred()) SWIG_fail
;
32596 Py_INCREF(Py_None
); resultobj
= Py_None
;
32603 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32604 PyObject
*resultobj
;
32605 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32607 PyObject
* obj0
= 0 ;
32608 char *kwnames
[] = {
32609 (char *) "self", NULL
32612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
32613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32616 result
= (PyObject
*)wxGBSpan_Get(arg1
);
32618 wxPyEndAllowThreads(__tstate
);
32619 if (PyErr_Occurred()) SWIG_fail
;
32621 resultobj
= result
;
32628 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
32630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32631 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
32633 return Py_BuildValue((char *)"");
32635 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
32636 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
32641 static PyObject
*_wrap_DefaultSpan_get() {
32644 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
32649 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32650 PyObject
*resultobj
;
32651 wxGBSizerItem
*result
;
32652 char *kwnames
[] = {
32656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
32658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32659 result
= (wxGBSizerItem
*)new wxGBSizerItem();
32661 wxPyEndAllowThreads(__tstate
);
32662 if (PyErr_Occurred()) SWIG_fail
;
32664 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32671 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32672 PyObject
*resultobj
;
32673 wxWindow
*arg1
= (wxWindow
*) 0 ;
32674 wxGBPosition
*arg2
= 0 ;
32675 wxGBSpan
*arg3
= 0 ;
32678 wxObject
*arg6
= (wxObject
*) 0 ;
32679 wxGBSizerItem
*result
;
32680 wxGBPosition temp2
;
32682 PyObject
* obj0
= 0 ;
32683 PyObject
* obj1
= 0 ;
32684 PyObject
* obj2
= 0 ;
32685 PyObject
* obj5
= 0 ;
32686 char *kwnames
[] = {
32687 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32694 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32698 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32700 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32703 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32705 wxPyEndAllowThreads(__tstate
);
32706 if (PyErr_Occurred()) SWIG_fail
;
32708 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32715 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32716 PyObject
*resultobj
;
32717 wxSizer
*arg1
= (wxSizer
*) 0 ;
32718 wxGBPosition
*arg2
= 0 ;
32719 wxGBSpan
*arg3
= 0 ;
32722 wxObject
*arg6
= (wxObject
*) 0 ;
32723 wxGBSizerItem
*result
;
32724 wxGBPosition temp2
;
32726 PyObject
* obj0
= 0 ;
32727 PyObject
* obj1
= 0 ;
32728 PyObject
* obj2
= 0 ;
32729 PyObject
* obj5
= 0 ;
32730 char *kwnames
[] = {
32731 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32738 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32742 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32744 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32747 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32749 wxPyEndAllowThreads(__tstate
);
32750 if (PyErr_Occurred()) SWIG_fail
;
32752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32759 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32760 PyObject
*resultobj
;
32763 wxGBPosition
*arg3
= 0 ;
32764 wxGBSpan
*arg4
= 0 ;
32767 wxObject
*arg7
= (wxObject
*) 0 ;
32768 wxGBSizerItem
*result
;
32769 wxGBPosition temp3
;
32771 PyObject
* obj2
= 0 ;
32772 PyObject
* obj3
= 0 ;
32773 PyObject
* obj6
= 0 ;
32774 char *kwnames
[] = {
32775 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32781 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32785 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32787 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32790 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32792 wxPyEndAllowThreads(__tstate
);
32793 if (PyErr_Occurred()) SWIG_fail
;
32795 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32802 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32803 PyObject
*resultobj
;
32804 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32805 wxGBPosition result
;
32806 PyObject
* obj0
= 0 ;
32807 char *kwnames
[] = {
32808 (char *) "self", NULL
32811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
32812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32815 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
32817 wxPyEndAllowThreads(__tstate
);
32818 if (PyErr_Occurred()) SWIG_fail
;
32821 wxGBPosition
* resultptr
;
32822 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32823 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32831 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32832 PyObject
*resultobj
;
32833 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32835 PyObject
* obj0
= 0 ;
32836 char *kwnames
[] = {
32837 (char *) "self", NULL
32840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
32841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32844 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
32846 wxPyEndAllowThreads(__tstate
);
32847 if (PyErr_Occurred()) SWIG_fail
;
32850 wxGBSpan
* resultptr
;
32851 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
32852 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
32860 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32861 PyObject
*resultobj
;
32862 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32863 wxGBPosition
*arg2
= 0 ;
32865 wxGBPosition temp2
;
32866 PyObject
* obj0
= 0 ;
32867 PyObject
* obj1
= 0 ;
32868 char *kwnames
[] = {
32869 (char *) "self",(char *) "pos", NULL
32872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
32873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32876 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32880 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
32882 wxPyEndAllowThreads(__tstate
);
32883 if (PyErr_Occurred()) SWIG_fail
;
32885 resultobj
= PyInt_FromLong((long)result
);
32892 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32893 PyObject
*resultobj
;
32894 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32895 wxGBSpan
*arg2
= 0 ;
32898 PyObject
* obj0
= 0 ;
32899 PyObject
* obj1
= 0 ;
32900 char *kwnames
[] = {
32901 (char *) "self",(char *) "span", NULL
32904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
32905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32908 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32912 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
32914 wxPyEndAllowThreads(__tstate
);
32915 if (PyErr_Occurred()) SWIG_fail
;
32917 resultobj
= PyInt_FromLong((long)result
);
32924 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
32925 PyObject
*resultobj
;
32926 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32927 wxGBSizerItem
*arg2
= 0 ;
32929 PyObject
* obj0
= 0 ;
32930 PyObject
* obj1
= 0 ;
32932 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
32933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32934 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32935 if (arg2
== NULL
) {
32936 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32940 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
32942 wxPyEndAllowThreads(__tstate
);
32943 if (PyErr_Occurred()) SWIG_fail
;
32945 resultobj
= PyInt_FromLong((long)result
);
32952 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
32953 PyObject
*resultobj
;
32954 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32955 wxGBPosition
*arg2
= 0 ;
32956 wxGBSpan
*arg3
= 0 ;
32958 wxGBPosition temp2
;
32960 PyObject
* obj0
= 0 ;
32961 PyObject
* obj1
= 0 ;
32962 PyObject
* obj2
= 0 ;
32964 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
32965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32968 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32972 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32981 resultobj
= PyInt_FromLong((long)result
);
32988 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
32993 argc
= PyObject_Length(args
);
32994 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
32995 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33001 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33011 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33019 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
33027 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33036 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
33040 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33043 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
33049 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
33054 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33055 PyObject
*resultobj
;
33056 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33059 PyObject
* obj0
= 0 ;
33060 PyObject
* obj1
= 0 ;
33061 PyObject
* obj2
= 0 ;
33062 char *kwnames
[] = {
33063 (char *) "self",(char *) "row",(char *) "col", NULL
33066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33069 if (arg2
== NULL
) {
33070 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33072 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33073 if (arg3
== NULL
) {
33074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33078 (arg1
)->GetEndPos(*arg2
,*arg3
);
33080 wxPyEndAllowThreads(__tstate
);
33081 if (PyErr_Occurred()) SWIG_fail
;
33083 Py_INCREF(Py_None
); resultobj
= Py_None
;
33090 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33091 PyObject
*resultobj
;
33092 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33093 wxGridBagSizer
*result
;
33094 PyObject
* obj0
= 0 ;
33095 char *kwnames
[] = {
33096 (char *) "self", NULL
33099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
33100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33103 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
33105 wxPyEndAllowThreads(__tstate
);
33106 if (PyErr_Occurred()) SWIG_fail
;
33108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
33115 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33116 PyObject
*resultobj
;
33117 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33118 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
33119 PyObject
* obj0
= 0 ;
33120 PyObject
* obj1
= 0 ;
33121 char *kwnames
[] = {
33122 (char *) "self",(char *) "sizer", NULL
33125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33127 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33130 (arg1
)->SetGBSizer(arg2
);
33132 wxPyEndAllowThreads(__tstate
);
33133 if (PyErr_Occurred()) SWIG_fail
;
33135 Py_INCREF(Py_None
); resultobj
= Py_None
;
33142 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33144 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33145 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
33147 return Py_BuildValue((char *)"");
33149 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33150 PyObject
*resultobj
;
33151 int arg1
= (int) 0 ;
33152 int arg2
= (int) 0 ;
33153 wxGridBagSizer
*result
;
33154 char *kwnames
[] = {
33155 (char *) "vgap",(char *) "hgap", NULL
33158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
33160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33161 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
33163 wxPyEndAllowThreads(__tstate
);
33164 if (PyErr_Occurred()) SWIG_fail
;
33166 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
33173 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33174 PyObject
*resultobj
;
33175 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33176 PyObject
*arg2
= (PyObject
*) 0 ;
33177 wxGBPosition
*arg3
= 0 ;
33178 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
33179 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
33180 int arg5
= (int) 0 ;
33181 int arg6
= (int) 0 ;
33182 PyObject
*arg7
= (PyObject
*) NULL
;
33184 wxGBPosition temp3
;
33186 PyObject
* obj0
= 0 ;
33187 PyObject
* obj1
= 0 ;
33188 PyObject
* obj2
= 0 ;
33189 PyObject
* obj3
= 0 ;
33190 PyObject
* obj6
= 0 ;
33191 char *kwnames
[] = {
33192 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33200 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33205 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33213 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33215 wxPyEndAllowThreads(__tstate
);
33216 if (PyErr_Occurred()) SWIG_fail
;
33218 resultobj
= PyInt_FromLong((long)result
);
33225 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33226 PyObject
*resultobj
;
33227 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33228 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33230 PyObject
* obj0
= 0 ;
33231 PyObject
* obj1
= 0 ;
33232 char *kwnames
[] = {
33233 (char *) "self",(char *) "item", NULL
33236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33238 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33241 result
= (bool)(arg1
)->Add(arg2
);
33243 wxPyEndAllowThreads(__tstate
);
33244 if (PyErr_Occurred()) SWIG_fail
;
33246 resultobj
= PyInt_FromLong((long)result
);
33253 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33254 PyObject
*resultobj
;
33255 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33257 PyObject
* obj0
= 0 ;
33258 char *kwnames
[] = {
33259 (char *) "self", NULL
33262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
33263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33266 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
33268 wxPyEndAllowThreads(__tstate
);
33269 if (PyErr_Occurred()) SWIG_fail
;
33272 wxSize
* resultptr
;
33273 resultptr
= new wxSize((wxSize
&) result
);
33274 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33282 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33283 PyObject
*resultobj
;
33284 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33287 PyObject
* obj0
= 0 ;
33288 PyObject
* obj1
= 0 ;
33289 char *kwnames
[] = {
33290 (char *) "self",(char *) "sz", NULL
33293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33297 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33301 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
33303 wxPyEndAllowThreads(__tstate
);
33304 if (PyErr_Occurred()) SWIG_fail
;
33306 Py_INCREF(Py_None
); resultobj
= Py_None
;
33313 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33314 PyObject
*resultobj
;
33315 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33316 wxWindow
*arg2
= (wxWindow
*) 0 ;
33317 wxGBPosition result
;
33318 PyObject
* obj0
= 0 ;
33319 PyObject
* obj1
= 0 ;
33321 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33326 result
= (arg1
)->GetItemPosition(arg2
);
33328 wxPyEndAllowThreads(__tstate
);
33329 if (PyErr_Occurred()) SWIG_fail
;
33332 wxGBPosition
* resultptr
;
33333 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33334 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33342 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33343 PyObject
*resultobj
;
33344 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33345 wxSizer
*arg2
= (wxSizer
*) 0 ;
33346 wxGBPosition result
;
33347 PyObject
* obj0
= 0 ;
33348 PyObject
* obj1
= 0 ;
33350 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33352 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33355 result
= (arg1
)->GetItemPosition(arg2
);
33357 wxPyEndAllowThreads(__tstate
);
33358 if (PyErr_Occurred()) SWIG_fail
;
33361 wxGBPosition
* resultptr
;
33362 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33363 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33371 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33372 PyObject
*resultobj
;
33373 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33375 wxGBPosition result
;
33376 PyObject
* obj0
= 0 ;
33377 PyObject
* obj1
= 0 ;
33379 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33381 arg2
= (size_t) PyInt_AsLong(obj1
);
33382 if (PyErr_Occurred()) SWIG_fail
;
33384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33385 result
= (arg1
)->GetItemPosition(arg2
);
33387 wxPyEndAllowThreads(__tstate
);
33388 if (PyErr_Occurred()) SWIG_fail
;
33391 wxGBPosition
* resultptr
;
33392 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33393 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33401 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
33406 argc
= PyObject_Length(args
);
33407 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33408 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33414 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33424 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33432 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
33440 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33450 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33458 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
33466 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33475 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33478 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
33483 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33488 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33489 PyObject
*resultobj
;
33490 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33491 wxWindow
*arg2
= (wxWindow
*) 0 ;
33492 wxGBPosition
*arg3
= 0 ;
33494 wxGBPosition temp3
;
33495 PyObject
* obj0
= 0 ;
33496 PyObject
* obj1
= 0 ;
33497 PyObject
* obj2
= 0 ;
33499 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33504 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33508 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33510 wxPyEndAllowThreads(__tstate
);
33511 if (PyErr_Occurred()) SWIG_fail
;
33513 resultobj
= PyInt_FromLong((long)result
);
33520 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33521 PyObject
*resultobj
;
33522 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33523 wxSizer
*arg2
= (wxSizer
*) 0 ;
33524 wxGBPosition
*arg3
= 0 ;
33526 wxGBPosition temp3
;
33527 PyObject
* obj0
= 0 ;
33528 PyObject
* obj1
= 0 ;
33529 PyObject
* obj2
= 0 ;
33531 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33533 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33536 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33540 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33542 wxPyEndAllowThreads(__tstate
);
33543 if (PyErr_Occurred()) SWIG_fail
;
33545 resultobj
= PyInt_FromLong((long)result
);
33552 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33553 PyObject
*resultobj
;
33554 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33556 wxGBPosition
*arg3
= 0 ;
33558 wxGBPosition temp3
;
33559 PyObject
* obj0
= 0 ;
33560 PyObject
* obj1
= 0 ;
33561 PyObject
* obj2
= 0 ;
33563 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33565 arg2
= (size_t) PyInt_AsLong(obj1
);
33566 if (PyErr_Occurred()) SWIG_fail
;
33569 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33578 resultobj
= PyInt_FromLong((long)result
);
33585 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
33590 argc
= PyObject_Length(args
);
33591 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33592 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33598 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33608 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33617 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33620 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
33629 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33639 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33648 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33651 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
33660 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33669 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33673 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33676 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
33682 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33687 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33688 PyObject
*resultobj
;
33689 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33690 wxWindow
*arg2
= (wxWindow
*) 0 ;
33692 PyObject
* obj0
= 0 ;
33693 PyObject
* obj1
= 0 ;
33695 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33697 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33700 result
= (arg1
)->GetItemSpan(arg2
);
33702 wxPyEndAllowThreads(__tstate
);
33703 if (PyErr_Occurred()) SWIG_fail
;
33706 wxGBSpan
* resultptr
;
33707 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33708 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33716 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33717 PyObject
*resultobj
;
33718 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33719 wxSizer
*arg2
= (wxSizer
*) 0 ;
33721 PyObject
* obj0
= 0 ;
33722 PyObject
* obj1
= 0 ;
33724 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33726 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33729 result
= (arg1
)->GetItemSpan(arg2
);
33731 wxPyEndAllowThreads(__tstate
);
33732 if (PyErr_Occurred()) SWIG_fail
;
33735 wxGBSpan
* resultptr
;
33736 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33737 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33745 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33746 PyObject
*resultobj
;
33747 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33750 PyObject
* obj0
= 0 ;
33751 PyObject
* obj1
= 0 ;
33753 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33755 arg2
= (size_t) PyInt_AsLong(obj1
);
33756 if (PyErr_Occurred()) SWIG_fail
;
33758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33759 result
= (arg1
)->GetItemSpan(arg2
);
33761 wxPyEndAllowThreads(__tstate
);
33762 if (PyErr_Occurred()) SWIG_fail
;
33765 wxGBSpan
* resultptr
;
33766 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33767 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33775 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
33780 argc
= PyObject_Length(args
);
33781 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33782 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33788 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33798 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33806 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
33814 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33824 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33832 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
33840 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33849 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33852 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
33857 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33862 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33863 PyObject
*resultobj
;
33864 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33865 wxWindow
*arg2
= (wxWindow
*) 0 ;
33866 wxGBSpan
*arg3
= 0 ;
33869 PyObject
* obj0
= 0 ;
33870 PyObject
* obj1
= 0 ;
33871 PyObject
* obj2
= 0 ;
33873 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33875 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33878 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33882 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33884 wxPyEndAllowThreads(__tstate
);
33885 if (PyErr_Occurred()) SWIG_fail
;
33887 resultobj
= PyInt_FromLong((long)result
);
33894 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33895 PyObject
*resultobj
;
33896 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33897 wxSizer
*arg2
= (wxSizer
*) 0 ;
33898 wxGBSpan
*arg3
= 0 ;
33901 PyObject
* obj0
= 0 ;
33902 PyObject
* obj1
= 0 ;
33903 PyObject
* obj2
= 0 ;
33905 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33907 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33910 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33914 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33916 wxPyEndAllowThreads(__tstate
);
33917 if (PyErr_Occurred()) SWIG_fail
;
33919 resultobj
= PyInt_FromLong((long)result
);
33926 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33927 PyObject
*resultobj
;
33928 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33930 wxGBSpan
*arg3
= 0 ;
33933 PyObject
* obj0
= 0 ;
33934 PyObject
* obj1
= 0 ;
33935 PyObject
* obj2
= 0 ;
33937 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33939 arg2
= (size_t) PyInt_AsLong(obj1
);
33940 if (PyErr_Occurred()) SWIG_fail
;
33943 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33947 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33949 wxPyEndAllowThreads(__tstate
);
33950 if (PyErr_Occurred()) SWIG_fail
;
33952 resultobj
= PyInt_FromLong((long)result
);
33959 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
33964 argc
= PyObject_Length(args
);
33965 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33966 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33972 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33982 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33991 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33994 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
34003 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34013 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34022 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34025 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
34034 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34043 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34047 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34050 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
34056 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34061 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
34062 PyObject
*resultobj
;
34063 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34064 wxWindow
*arg2
= (wxWindow
*) 0 ;
34065 wxGBSizerItem
*result
;
34066 PyObject
* obj0
= 0 ;
34067 PyObject
* obj1
= 0 ;
34069 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34071 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34074 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34076 wxPyEndAllowThreads(__tstate
);
34077 if (PyErr_Occurred()) SWIG_fail
;
34079 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34086 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
34087 PyObject
*resultobj
;
34088 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34089 wxSizer
*arg2
= (wxSizer
*) 0 ;
34090 wxGBSizerItem
*result
;
34091 PyObject
* obj0
= 0 ;
34092 PyObject
* obj1
= 0 ;
34094 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34096 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34099 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34101 wxPyEndAllowThreads(__tstate
);
34102 if (PyErr_Occurred()) SWIG_fail
;
34104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34111 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
34116 argc
= PyObject_Length(args
);
34117 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34118 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34124 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34134 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34142 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
34150 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34160 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34168 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
34173 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
34178 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34179 PyObject
*resultobj
;
34180 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34181 wxGBPosition
*arg2
= 0 ;
34182 wxGBSizerItem
*result
;
34183 wxGBPosition temp2
;
34184 PyObject
* obj0
= 0 ;
34185 PyObject
* obj1
= 0 ;
34186 char *kwnames
[] = {
34187 (char *) "self",(char *) "pos", NULL
34190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34194 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34198 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
34200 wxPyEndAllowThreads(__tstate
);
34201 if (PyErr_Occurred()) SWIG_fail
;
34203 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34210 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34211 PyObject
*resultobj
;
34212 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34213 wxPoint
*arg2
= 0 ;
34214 wxGBSizerItem
*result
;
34216 PyObject
* obj0
= 0 ;
34217 PyObject
* obj1
= 0 ;
34218 char *kwnames
[] = {
34219 (char *) "self",(char *) "pt", NULL
34222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
34223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34226 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34230 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
34232 wxPyEndAllowThreads(__tstate
);
34233 if (PyErr_Occurred()) SWIG_fail
;
34235 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34242 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34243 PyObject
*resultobj
;
34244 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34245 wxObject
*arg2
= (wxObject
*) 0 ;
34246 wxGBSizerItem
*result
;
34247 PyObject
* obj0
= 0 ;
34248 PyObject
* obj1
= 0 ;
34249 char *kwnames
[] = {
34250 (char *) "self",(char *) "userData", NULL
34253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
34254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34258 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
34260 wxPyEndAllowThreads(__tstate
);
34261 if (PyErr_Occurred()) SWIG_fail
;
34263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34270 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34271 PyObject
*resultobj
;
34272 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34273 PyObject
* obj0
= 0 ;
34274 char *kwnames
[] = {
34275 (char *) "self", NULL
34278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34282 (arg1
)->RecalcSizes();
34284 wxPyEndAllowThreads(__tstate
);
34285 if (PyErr_Occurred()) SWIG_fail
;
34287 Py_INCREF(Py_None
); resultobj
= Py_None
;
34294 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34295 PyObject
*resultobj
;
34296 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34298 PyObject
* obj0
= 0 ;
34299 char *kwnames
[] = {
34300 (char *) "self", NULL
34303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34307 result
= (arg1
)->CalcMin();
34309 wxPyEndAllowThreads(__tstate
);
34310 if (PyErr_Occurred()) SWIG_fail
;
34313 wxSize
* resultptr
;
34314 resultptr
= new wxSize((wxSize
&) result
);
34315 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34323 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
34324 PyObject
*resultobj
;
34325 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34326 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
34327 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
34329 PyObject
* obj0
= 0 ;
34330 PyObject
* obj1
= 0 ;
34331 PyObject
* obj2
= 0 ;
34333 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
34334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34335 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34337 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34341 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
34343 wxPyEndAllowThreads(__tstate
);
34344 if (PyErr_Occurred()) SWIG_fail
;
34346 resultobj
= PyInt_FromLong((long)result
);
34353 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
34354 PyObject
*resultobj
;
34355 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34356 wxGBPosition
*arg2
= 0 ;
34357 wxGBSpan
*arg3
= 0 ;
34358 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
34360 wxGBPosition temp2
;
34362 PyObject
* obj0
= 0 ;
34363 PyObject
* obj1
= 0 ;
34364 PyObject
* obj2
= 0 ;
34365 PyObject
* obj3
= 0 ;
34367 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34371 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34375 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34378 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34382 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
34384 wxPyEndAllowThreads(__tstate
);
34385 if (PyErr_Occurred()) SWIG_fail
;
34387 resultobj
= PyInt_FromLong((long)result
);
34394 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
34399 argc
= PyObject_Length(args
);
34400 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
34401 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34403 if ((argc
>= 2) && (argc
<= 3)) {
34407 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34417 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34426 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34430 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34438 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34443 if ((argc
>= 3) && (argc
<= 4)) {
34447 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34456 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
34460 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34464 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34468 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34476 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34483 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34488 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34491 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
34493 return Py_BuildValue((char *)"");
34495 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34496 PyObject
*resultobj
;
34497 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34499 wxWindow
*arg3
= (wxWindow
*) 0 ;
34501 int arg5
= (int) 0 ;
34502 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
34503 PyObject
* obj0
= 0 ;
34504 PyObject
* obj2
= 0 ;
34505 char *kwnames
[] = {
34506 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34509 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
34510 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34511 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34514 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
34516 wxPyEndAllowThreads(__tstate
);
34517 if (PyErr_Occurred()) SWIG_fail
;
34519 Py_INCREF(Py_None
); resultobj
= Py_None
;
34526 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34527 PyObject
*resultobj
;
34528 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34529 wxWindow
*arg2
= (wxWindow
*) 0 ;
34530 int arg3
= (int) 0 ;
34531 PyObject
* obj0
= 0 ;
34532 PyObject
* obj1
= 0 ;
34533 char *kwnames
[] = {
34534 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34539 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34542 (arg1
)->LeftOf(arg2
,arg3
);
34544 wxPyEndAllowThreads(__tstate
);
34545 if (PyErr_Occurred()) SWIG_fail
;
34547 Py_INCREF(Py_None
); resultobj
= Py_None
;
34554 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34555 PyObject
*resultobj
;
34556 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34557 wxWindow
*arg2
= (wxWindow
*) 0 ;
34558 int arg3
= (int) 0 ;
34559 PyObject
* obj0
= 0 ;
34560 PyObject
* obj1
= 0 ;
34561 char *kwnames
[] = {
34562 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34570 (arg1
)->RightOf(arg2
,arg3
);
34572 wxPyEndAllowThreads(__tstate
);
34573 if (PyErr_Occurred()) SWIG_fail
;
34575 Py_INCREF(Py_None
); resultobj
= Py_None
;
34582 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34583 PyObject
*resultobj
;
34584 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34585 wxWindow
*arg2
= (wxWindow
*) 0 ;
34586 int arg3
= (int) 0 ;
34587 PyObject
* obj0
= 0 ;
34588 PyObject
* obj1
= 0 ;
34589 char *kwnames
[] = {
34590 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34595 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34598 (arg1
)->Above(arg2
,arg3
);
34600 wxPyEndAllowThreads(__tstate
);
34601 if (PyErr_Occurred()) SWIG_fail
;
34603 Py_INCREF(Py_None
); resultobj
= Py_None
;
34610 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34611 PyObject
*resultobj
;
34612 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34613 wxWindow
*arg2
= (wxWindow
*) 0 ;
34614 int arg3
= (int) 0 ;
34615 PyObject
* obj0
= 0 ;
34616 PyObject
* obj1
= 0 ;
34617 char *kwnames
[] = {
34618 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34626 (arg1
)->Below(arg2
,arg3
);
34628 wxPyEndAllowThreads(__tstate
);
34629 if (PyErr_Occurred()) SWIG_fail
;
34631 Py_INCREF(Py_None
); resultobj
= Py_None
;
34638 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34639 PyObject
*resultobj
;
34640 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34641 wxWindow
*arg2
= (wxWindow
*) 0 ;
34643 int arg4
= (int) 0 ;
34644 PyObject
* obj0
= 0 ;
34645 PyObject
* obj1
= 0 ;
34646 char *kwnames
[] = {
34647 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34652 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34655 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
34657 wxPyEndAllowThreads(__tstate
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34660 Py_INCREF(Py_None
); resultobj
= Py_None
;
34667 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34668 PyObject
*resultobj
;
34669 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34670 wxWindow
*arg2
= (wxWindow
*) 0 ;
34673 PyObject
* obj0
= 0 ;
34674 PyObject
* obj1
= 0 ;
34675 char *kwnames
[] = {
34676 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34681 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34689 Py_INCREF(Py_None
); resultobj
= Py_None
;
34696 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34697 PyObject
*resultobj
;
34698 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34700 PyObject
* obj0
= 0 ;
34701 char *kwnames
[] = {
34702 (char *) "self",(char *) "val", NULL
34705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
34706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34709 (arg1
)->Absolute(arg2
);
34711 wxPyEndAllowThreads(__tstate
);
34712 if (PyErr_Occurred()) SWIG_fail
;
34714 Py_INCREF(Py_None
); resultobj
= Py_None
;
34721 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34722 PyObject
*resultobj
;
34723 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34724 PyObject
* obj0
= 0 ;
34725 char *kwnames
[] = {
34726 (char *) "self", NULL
34729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
34730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34733 (arg1
)->Unconstrained();
34735 wxPyEndAllowThreads(__tstate
);
34736 if (PyErr_Occurred()) SWIG_fail
;
34738 Py_INCREF(Py_None
); resultobj
= Py_None
;
34745 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34746 PyObject
*resultobj
;
34747 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34748 PyObject
* obj0
= 0 ;
34749 char *kwnames
[] = {
34750 (char *) "self", NULL
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
34754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 Py_INCREF(Py_None
); resultobj
= Py_None
;
34769 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
;
34771 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34773 PyObject
* obj0
= 0 ;
34774 char *kwnames
[] = {
34775 (char *) "self", NULL
34778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
34779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
34784 wxPyEndAllowThreads(__tstate
);
34785 if (PyErr_Occurred()) SWIG_fail
;
34788 resultobj
= wxPyMake_wxObject(result
);
34796 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34797 PyObject
*resultobj
;
34798 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34800 PyObject
* obj0
= 0 ;
34801 char *kwnames
[] = {
34802 (char *) "self", NULL
34805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
34806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34809 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
34811 wxPyEndAllowThreads(__tstate
);
34812 if (PyErr_Occurred()) SWIG_fail
;
34814 resultobj
= PyInt_FromLong((long)result
);
34821 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34822 PyObject
*resultobj
;
34823 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34825 PyObject
* obj0
= 0 ;
34826 char *kwnames
[] = {
34827 (char *) "self",(char *) "which", NULL
34830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
34831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34834 (arg1
)->SetEdge((wxEdge
)arg2
);
34836 wxPyEndAllowThreads(__tstate
);
34837 if (PyErr_Occurred()) SWIG_fail
;
34839 Py_INCREF(Py_None
); resultobj
= Py_None
;
34846 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34847 PyObject
*resultobj
;
34848 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34850 PyObject
* obj0
= 0 ;
34851 char *kwnames
[] = {
34852 (char *) "self",(char *) "v", NULL
34855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
34856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34859 (arg1
)->SetValue(arg2
);
34861 wxPyEndAllowThreads(__tstate
);
34862 if (PyErr_Occurred()) SWIG_fail
;
34864 Py_INCREF(Py_None
); resultobj
= Py_None
;
34871 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34872 PyObject
*resultobj
;
34873 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34875 PyObject
* obj0
= 0 ;
34876 char *kwnames
[] = {
34877 (char *) "self", NULL
34880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
34881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34884 result
= (int)(arg1
)->GetMargin();
34886 wxPyEndAllowThreads(__tstate
);
34887 if (PyErr_Occurred()) SWIG_fail
;
34889 resultobj
= PyInt_FromLong((long)result
);
34896 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34897 PyObject
*resultobj
;
34898 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34900 PyObject
* obj0
= 0 ;
34901 char *kwnames
[] = {
34902 (char *) "self",(char *) "m", NULL
34905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
34906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34909 (arg1
)->SetMargin(arg2
);
34911 wxPyEndAllowThreads(__tstate
);
34912 if (PyErr_Occurred()) SWIG_fail
;
34914 Py_INCREF(Py_None
); resultobj
= Py_None
;
34921 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34922 PyObject
*resultobj
;
34923 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34925 PyObject
* obj0
= 0 ;
34926 char *kwnames
[] = {
34927 (char *) "self", NULL
34930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
34931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34934 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
34936 wxPyEndAllowThreads(__tstate
);
34937 if (PyErr_Occurred()) SWIG_fail
;
34939 resultobj
= PyInt_FromLong((long)result
);
34946 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34947 PyObject
*resultobj
;
34948 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34950 PyObject
* obj0
= 0 ;
34951 char *kwnames
[] = {
34952 (char *) "self", NULL
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
34956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34959 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
34961 wxPyEndAllowThreads(__tstate
);
34962 if (PyErr_Occurred()) SWIG_fail
;
34964 resultobj
= PyInt_FromLong((long)result
);
34971 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34972 PyObject
*resultobj
;
34973 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34975 PyObject
* obj0
= 0 ;
34976 char *kwnames
[] = {
34977 (char *) "self", NULL
34980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
34981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34984 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
34986 wxPyEndAllowThreads(__tstate
);
34987 if (PyErr_Occurred()) SWIG_fail
;
34989 resultobj
= PyInt_FromLong((long)result
);
34996 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34997 PyObject
*resultobj
;
34998 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35000 PyObject
* obj0
= 0 ;
35001 char *kwnames
[] = {
35002 (char *) "self", NULL
35005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
35006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35009 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
35011 wxPyEndAllowThreads(__tstate
);
35012 if (PyErr_Occurred()) SWIG_fail
;
35014 resultobj
= PyInt_FromLong((long)result
);
35021 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35022 PyObject
*resultobj
;
35023 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35025 PyObject
* obj0
= 0 ;
35026 PyObject
* obj1
= 0 ;
35027 char *kwnames
[] = {
35028 (char *) "self",(char *) "d", NULL
35031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
35032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35033 arg2
= PyInt_AsLong(obj1
) ? true : false;
35034 if (PyErr_Occurred()) SWIG_fail
;
35036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35037 (arg1
)->SetDone(arg2
);
35039 wxPyEndAllowThreads(__tstate
);
35040 if (PyErr_Occurred()) SWIG_fail
;
35042 Py_INCREF(Py_None
); resultobj
= Py_None
;
35049 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35050 PyObject
*resultobj
;
35051 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35053 PyObject
* obj0
= 0 ;
35054 char *kwnames
[] = {
35055 (char *) "self", NULL
35058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
35059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35062 result
= (int)(arg1
)->GetRelationship();
35064 wxPyEndAllowThreads(__tstate
);
35065 if (PyErr_Occurred()) SWIG_fail
;
35067 resultobj
= PyInt_FromLong((long)result
);
35074 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35075 PyObject
*resultobj
;
35076 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35078 PyObject
* obj0
= 0 ;
35079 char *kwnames
[] = {
35080 (char *) "self",(char *) "r", NULL
35083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
35084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35087 (arg1
)->SetRelationship((wxRelationship
)arg2
);
35089 wxPyEndAllowThreads(__tstate
);
35090 if (PyErr_Occurred()) SWIG_fail
;
35092 Py_INCREF(Py_None
); resultobj
= Py_None
;
35099 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35100 PyObject
*resultobj
;
35101 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35102 wxWindow
*arg2
= (wxWindow
*) 0 ;
35104 PyObject
* obj0
= 0 ;
35105 PyObject
* obj1
= 0 ;
35106 char *kwnames
[] = {
35107 (char *) "self",(char *) "otherW", NULL
35110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
35111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35115 result
= (bool)(arg1
)->ResetIfWin(arg2
);
35117 wxPyEndAllowThreads(__tstate
);
35118 if (PyErr_Occurred()) SWIG_fail
;
35120 resultobj
= PyInt_FromLong((long)result
);
35127 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35128 PyObject
*resultobj
;
35129 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35130 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
35131 wxWindow
*arg3
= (wxWindow
*) 0 ;
35133 PyObject
* obj0
= 0 ;
35134 PyObject
* obj1
= 0 ;
35135 PyObject
* obj2
= 0 ;
35136 char *kwnames
[] = {
35137 (char *) "self",(char *) "constraints",(char *) "win", NULL
35140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35142 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35143 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35146 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
35148 wxPyEndAllowThreads(__tstate
);
35149 if (PyErr_Occurred()) SWIG_fail
;
35151 resultobj
= PyInt_FromLong((long)result
);
35158 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35159 PyObject
*resultobj
;
35160 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35162 wxWindow
*arg3
= (wxWindow
*) 0 ;
35163 wxWindow
*arg4
= (wxWindow
*) 0 ;
35165 PyObject
* obj0
= 0 ;
35166 PyObject
* obj2
= 0 ;
35167 PyObject
* obj3
= 0 ;
35168 char *kwnames
[] = {
35169 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
35173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35174 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35175 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35178 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
35180 wxPyEndAllowThreads(__tstate
);
35181 if (PyErr_Occurred()) SWIG_fail
;
35183 resultobj
= PyInt_FromLong((long)result
);
35190 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
35192 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35193 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
35195 return Py_BuildValue((char *)"");
35197 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35198 PyObject
*resultobj
;
35199 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35200 wxIndividualLayoutConstraint
*result
;
35201 PyObject
* obj0
= 0 ;
35202 char *kwnames
[] = {
35203 (char *) "self", NULL
35206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
35207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35208 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
35210 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35217 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35218 PyObject
*resultobj
;
35219 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35220 wxIndividualLayoutConstraint
*result
;
35221 PyObject
* obj0
= 0 ;
35222 char *kwnames
[] = {
35223 (char *) "self", NULL
35226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
35227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35228 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
35230 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35237 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35238 PyObject
*resultobj
;
35239 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35240 wxIndividualLayoutConstraint
*result
;
35241 PyObject
* obj0
= 0 ;
35242 char *kwnames
[] = {
35243 (char *) "self", NULL
35246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
35247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35248 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
35250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35257 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35258 PyObject
*resultobj
;
35259 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35260 wxIndividualLayoutConstraint
*result
;
35261 PyObject
* obj0
= 0 ;
35262 char *kwnames
[] = {
35263 (char *) "self", NULL
35266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
35267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35268 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
35270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35277 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35278 PyObject
*resultobj
;
35279 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35280 wxIndividualLayoutConstraint
*result
;
35281 PyObject
* obj0
= 0 ;
35282 char *kwnames
[] = {
35283 (char *) "self", NULL
35286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
35287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35288 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
35290 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35297 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35298 PyObject
*resultobj
;
35299 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35300 wxIndividualLayoutConstraint
*result
;
35301 PyObject
* obj0
= 0 ;
35302 char *kwnames
[] = {
35303 (char *) "self", NULL
35306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
35307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35308 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
35310 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35317 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35318 PyObject
*resultobj
;
35319 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35320 wxIndividualLayoutConstraint
*result
;
35321 PyObject
* obj0
= 0 ;
35322 char *kwnames
[] = {
35323 (char *) "self", NULL
35326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
35327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35328 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
35330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35337 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35338 PyObject
*resultobj
;
35339 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35340 wxIndividualLayoutConstraint
*result
;
35341 PyObject
* obj0
= 0 ;
35342 char *kwnames
[] = {
35343 (char *) "self", NULL
35346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
35347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35348 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
35350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35357 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35358 PyObject
*resultobj
;
35359 wxLayoutConstraints
*result
;
35360 char *kwnames
[] = {
35364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
35366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35367 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
35369 wxPyEndAllowThreads(__tstate
);
35370 if (PyErr_Occurred()) SWIG_fail
;
35372 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
35379 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35380 PyObject
*resultobj
;
35381 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35382 wxWindow
*arg2
= (wxWindow
*) 0 ;
35383 int *arg3
= (int *) 0 ;
35386 PyObject
* obj0
= 0 ;
35387 PyObject
* obj1
= 0 ;
35388 char *kwnames
[] = {
35389 (char *) "self",(char *) "win", NULL
35393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
35394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35395 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35398 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
35400 wxPyEndAllowThreads(__tstate
);
35401 if (PyErr_Occurred()) SWIG_fail
;
35403 resultobj
= PyInt_FromLong((long)result
);
35405 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
35406 resultobj
= t_output_helper(resultobj
,o
);
35414 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35415 PyObject
*resultobj
;
35416 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35418 PyObject
* obj0
= 0 ;
35419 char *kwnames
[] = {
35420 (char *) "self", NULL
35423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
35424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35427 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
35429 wxPyEndAllowThreads(__tstate
);
35430 if (PyErr_Occurred()) SWIG_fail
;
35432 resultobj
= PyInt_FromLong((long)result
);
35439 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
35441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35442 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
35444 return Py_BuildValue((char *)"");
35446 static PyMethodDef SwigMethods
[] = {
35447 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
35448 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35449 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35450 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
35451 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35452 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35453 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35454 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35455 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
35456 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
35457 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35458 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35459 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
35460 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35461 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
35462 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
35463 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
35464 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35465 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35466 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35467 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35468 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
35469 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
35470 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35471 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35472 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35473 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35474 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35475 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35476 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35477 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35478 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
35479 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35480 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
35481 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
35482 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
35483 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35484 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35485 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35486 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35487 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
35488 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
35489 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35490 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35491 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
35492 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35493 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35494 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35495 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
35496 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
35497 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
35498 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35499 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
35500 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
35501 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35502 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35503 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
35504 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35505 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
35506 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35507 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35508 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35509 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35510 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35511 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35512 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35513 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35514 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35515 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
35516 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35517 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
35518 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35519 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
35520 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
35521 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35522 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
35523 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
35524 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
35525 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
35526 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
35527 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
35528 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35529 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35530 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35531 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
35532 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
35533 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
35534 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35535 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35536 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35537 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35538 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35539 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35540 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35541 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35542 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
35543 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
35544 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
35545 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
35546 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
35547 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
35548 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
35549 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
35550 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
35551 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35552 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35553 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35554 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35555 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
35556 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
35557 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
35558 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
35559 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
35560 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35561 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35562 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
35563 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
35564 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35565 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35566 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35567 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35568 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35569 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35570 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
35571 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
35572 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
35573 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
35574 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
35575 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
35576 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
35577 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
35578 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
35579 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
35580 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
35581 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
35582 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
35583 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
35584 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
35585 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35586 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
35587 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
35588 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
35589 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
35590 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
35591 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
35592 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
35593 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35594 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35595 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
35596 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35597 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
35598 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35599 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
35600 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
35601 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
35602 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
35603 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35604 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35605 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35606 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35607 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35608 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
35609 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
35610 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35611 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
35612 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
35613 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
35614 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35615 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35616 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
35617 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
35618 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35619 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35620 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35621 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35622 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35623 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
35624 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
35625 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
35626 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35627 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35628 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35629 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
35630 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35631 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35632 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35633 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35634 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35635 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
35636 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
35637 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35638 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
35639 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35640 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
35641 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35642 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35643 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35644 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35645 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
35646 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35647 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35648 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
35649 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35650 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35651 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35652 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35653 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
35654 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35655 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
35656 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35657 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
35658 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35659 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
35660 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
35661 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
35662 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
35663 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
35664 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
35665 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
35666 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35667 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
35668 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
35669 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35670 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
35671 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
35672 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
35673 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
35674 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
35675 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
35676 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
35677 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35678 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35679 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35680 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35681 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
35682 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35683 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
35684 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
35685 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35686 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
35687 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35688 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
35689 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
35690 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
35691 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
35692 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35693 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35694 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
35695 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
35696 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
35697 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
35698 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
35699 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35700 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35701 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35702 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35703 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35704 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35705 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
35706 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
35707 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
35708 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
35709 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
35710 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
35711 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
35712 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
35713 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
35714 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35715 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
35716 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
35717 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35718 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
35719 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35720 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
35721 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
35722 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35723 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35724 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
35725 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
35726 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
35727 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35728 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35729 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
35730 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35731 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
35732 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
35733 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
35734 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
35735 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
35736 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
35737 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
35738 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
35739 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35740 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
35741 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35742 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
35743 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
35744 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
35745 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35746 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
35747 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35748 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
35749 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35750 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
35751 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35752 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
35753 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
35754 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35755 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35756 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35757 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35758 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35759 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35760 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
35761 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
35762 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35763 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
35764 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
35765 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35766 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
35767 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
35768 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
35769 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35770 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35771 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35772 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35773 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35774 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35775 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35776 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35777 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35778 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
35779 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
35780 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
35781 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
35782 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
35783 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35784 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
35785 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35786 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35787 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
35788 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35789 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35790 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
35791 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35792 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35793 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35794 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35795 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35796 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
35797 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35798 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35799 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
35800 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
35801 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35802 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
35803 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35804 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35805 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
35806 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
35807 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
35808 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
35809 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35810 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35811 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35812 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35813 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
35814 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
35815 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35816 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35817 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35818 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35819 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
35820 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35821 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
35822 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
35823 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
35824 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
35825 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
35826 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35827 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
35828 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35829 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35830 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35831 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35832 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
35833 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
35834 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
35835 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
35836 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
35837 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
35838 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
35839 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
35840 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
35841 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35842 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35843 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35844 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
35845 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
35846 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
35847 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
35848 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35849 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35850 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
35851 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35852 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35853 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
35854 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
35855 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
35856 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
35857 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35858 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35859 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35860 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35861 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35862 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35863 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35864 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35865 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35866 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35867 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35868 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35869 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35870 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35871 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35872 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35873 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35874 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35875 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
35876 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
35877 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
35878 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
35879 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
35880 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
35881 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
35882 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
35883 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35884 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35885 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35886 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35887 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
35888 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
35889 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35890 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35891 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35892 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35893 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35894 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
35895 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35896 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
35897 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35898 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
35899 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35900 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35901 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35902 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35903 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35904 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35905 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35906 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35907 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35908 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35909 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35910 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35911 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35912 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35913 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35914 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35915 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35916 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35917 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35918 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35919 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35920 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35921 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
35922 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
35923 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
35924 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35925 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35926 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35927 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35928 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35929 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
35930 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
35931 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35932 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
35934 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
35935 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35936 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35937 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35938 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
35940 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
35941 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
35944 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
35946 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
35948 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
35951 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35952 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35953 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35954 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
35955 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
35958 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35959 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
35961 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
35963 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35964 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
35966 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35967 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
35968 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35970 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35971 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35972 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35973 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
35975 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
35976 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
35978 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
35980 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
35982 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
35983 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35984 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
35985 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
35987 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
35988 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
35989 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
35990 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
35994 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35995 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
36003 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
36006 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
36008 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
36011 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
36013 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
36017 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36019 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
36021 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
36029 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36031 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
36032 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36033 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
36035 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
36039 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36043 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
36046 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
36051 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
36056 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36061 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36067 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
36073 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"PyApp_OnIdle", (PyCFunction
) _wrap_PyApp_OnIdle
, METH_VARARGS
| METH_KEYWORDS
},
36077 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36079 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36081 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36083 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36089 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36090 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
36101 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
36129 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
36134 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36137 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36142 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36144 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
36146 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36147 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36148 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36149 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36150 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
36151 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
36152 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
36153 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36154 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36155 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36156 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36157 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
36158 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
36159 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
36160 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
36161 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
36162 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36163 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36164 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36165 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36166 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36167 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
36168 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36169 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36170 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
36171 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36172 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36173 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36174 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36175 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36176 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36177 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
36178 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
36179 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36180 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36181 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
36182 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36183 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36184 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
36185 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
36186 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
36187 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
36188 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
36189 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
36190 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36191 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36192 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36193 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36194 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36195 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
36196 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
36197 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
36198 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
36199 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
36200 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36201 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36202 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36203 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36204 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36205 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36206 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36207 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36208 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36209 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36210 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36211 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36212 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36213 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36214 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36215 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
36216 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
36217 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36218 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36219 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
36220 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
36221 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
36222 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
36223 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
36224 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
36225 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
36226 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
36227 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
36228 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
36229 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
36230 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
36231 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
36232 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36233 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
36234 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
36235 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
36236 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36237 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36238 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36239 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36240 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36241 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36242 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36243 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36244 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36245 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36246 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
36247 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
36248 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36249 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36250 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
36251 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
36252 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
36253 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
36254 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
36255 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
36256 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
36257 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36258 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
36259 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
36260 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
36261 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
36262 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
36263 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36264 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36265 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36266 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36267 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
36268 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
36269 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
36270 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
36271 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
36272 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
36273 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
36274 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
36275 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
36276 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36277 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
36278 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36279 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
36280 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36281 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36282 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36283 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36284 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
36285 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36286 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36287 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36288 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36289 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36290 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36291 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
36292 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36293 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36294 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36295 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
36296 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36297 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36298 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
36299 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
36300 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
36301 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36302 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
36303 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
36304 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
36305 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36306 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36307 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
36308 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
36309 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
36310 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
36311 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36312 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
36313 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
36314 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
36315 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36316 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36317 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36318 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
36319 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
36320 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
36321 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36322 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36323 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36324 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36325 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36326 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
36327 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36328 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36329 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36330 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36331 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36332 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
36333 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36334 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
36335 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36336 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
36337 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36338 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
36339 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
36340 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
36341 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
36342 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
36343 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36344 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
36345 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36346 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36347 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
36348 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36349 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36350 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36351 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36352 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36353 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36354 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36355 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36356 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36357 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36358 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36359 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
36360 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
36361 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36362 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36363 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36364 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36365 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
36366 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36367 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
36368 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36369 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
36370 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36371 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
36372 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36373 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36374 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36375 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
36376 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
36377 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36378 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36379 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36380 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36381 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
36382 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36383 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
36384 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36385 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36386 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36387 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36388 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36389 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36390 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
36391 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36392 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36393 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36394 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
36395 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36396 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36397 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36398 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36399 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36400 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36401 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36402 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36403 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36404 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
36405 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
36406 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36407 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36408 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36409 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36410 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36411 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36412 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36413 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
36414 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36415 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
36416 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36417 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36418 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36419 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36420 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36421 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36422 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
36423 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
36424 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36425 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36426 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
36427 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36428 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36429 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36430 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36431 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36432 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36433 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36434 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36435 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36436 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36437 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
36438 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
36439 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
36440 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
36441 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
36442 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36443 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36444 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
36445 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
36446 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
36447 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36448 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36449 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36450 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
36451 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
36452 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36453 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
36454 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36455 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
36456 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
36457 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36458 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
36459 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36460 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36461 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
36462 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
36463 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36464 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36465 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36466 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36467 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36468 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
36469 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36470 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36471 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36472 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36473 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
36474 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
36475 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
36476 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36477 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36478 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
36479 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
36480 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36481 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36482 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36483 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36484 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36485 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36486 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36487 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36488 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36489 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36490 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36491 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36492 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36493 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
36494 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36495 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36496 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
36497 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
36498 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36499 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36500 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36501 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36502 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36503 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36504 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36505 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36506 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36507 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36508 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36509 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36510 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36511 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36512 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36513 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36514 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36515 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36516 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36517 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36518 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36519 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36520 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36521 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36522 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
36523 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36524 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36525 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
36526 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
36527 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
36528 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36529 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
36530 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36531 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36532 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36533 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36534 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36535 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
36536 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36537 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
36538 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36539 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36540 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
36541 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36542 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36543 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36544 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
36545 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
36546 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36547 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36548 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
36549 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
36550 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36551 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36552 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
36553 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36554 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36555 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36556 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36557 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36558 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36559 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36560 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36561 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36562 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36563 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36564 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
36565 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
36566 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
36567 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
36568 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
36569 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
36570 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
36571 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
36572 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36573 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36574 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
36575 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
36576 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
36577 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
36578 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36579 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36580 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36581 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36582 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36583 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36584 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
36585 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
36586 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
36587 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36588 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36589 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36590 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36591 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
36592 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36593 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
36594 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36595 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
36596 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
36597 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36598 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36599 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
36600 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
36601 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36602 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36603 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36604 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36605 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
36606 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
36607 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
36608 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
36609 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
36610 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
36611 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
36612 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
36613 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36614 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36615 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
36616 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
36617 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36618 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
36619 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
36620 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
36621 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
36622 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
36623 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
36624 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
36625 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
36626 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
36627 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
36628 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
36629 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36630 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
36631 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36632 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36633 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
36634 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
36635 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
36636 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
36637 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
36638 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36639 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36640 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
36641 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
36642 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36643 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
36644 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
36645 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
36646 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
36647 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
36648 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36649 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36650 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
36651 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
36652 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36653 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36654 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
36655 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
36660 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36662 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
36663 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
36665 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
36666 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
36668 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
36669 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36671 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
36672 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36674 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
36675 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36677 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36678 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36680 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36681 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36683 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
36684 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36686 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36687 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36689 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36690 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36692 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36693 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36695 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36696 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36698 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36699 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36701 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36702 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36704 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36705 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36707 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36708 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36710 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36711 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36713 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36714 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36716 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36717 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36719 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36720 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36722 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36723 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36725 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36726 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36728 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36729 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36731 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36732 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36734 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36735 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36737 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36738 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36740 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36741 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36743 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36744 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36746 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36747 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36749 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36750 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36752 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36753 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36755 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36756 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36758 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36759 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36761 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36762 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36764 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36765 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36767 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36768 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36770 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36771 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36773 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36774 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36776 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36777 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36779 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36780 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36782 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36783 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36785 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36786 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36788 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36789 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36791 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
36792 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36794 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
36795 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36797 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
36798 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36800 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36801 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36803 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36804 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36806 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36807 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36809 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36810 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36812 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36813 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36815 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36816 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36818 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36819 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36821 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36822 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36824 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36825 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36827 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36828 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36830 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
36831 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
36833 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
36834 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
36836 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
36837 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
36839 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
36840 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
36842 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
36843 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
36845 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
36846 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36848 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
36849 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
36851 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
36852 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
36854 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
36855 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36857 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
36858 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36860 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
36861 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
36863 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
36864 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
36866 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
36867 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
36869 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
36870 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
36872 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
36873 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
36875 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
36876 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
36878 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
36879 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
36881 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
36882 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
36884 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36885 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
36887 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36888 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
36890 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36891 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
36893 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36894 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36896 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36897 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36899 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36900 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36902 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36903 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36905 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36906 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36908 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36909 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36911 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36912 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36914 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36915 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36917 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36918 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36920 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36921 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36923 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36924 return (void *)((wxObject
*) ((wxSizer
*) x
));
36926 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36927 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36929 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36930 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36932 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36933 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36935 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36936 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36938 static void *_p_wxImageTo_p_wxObject(void *x
) {
36939 return (void *)((wxObject
*) ((wxImage
*) x
));
36941 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36942 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36944 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36945 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36947 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36948 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36950 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36951 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36953 static void *_p_wxControlTo_p_wxObject(void *x
) {
36954 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36956 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36957 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36959 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36960 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36962 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36963 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36965 static void *_p_wxEventTo_p_wxObject(void *x
) {
36966 return (void *)((wxObject
*) ((wxEvent
*) x
));
36968 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36969 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36971 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36972 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36974 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36975 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36977 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36978 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36980 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36981 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36983 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36984 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36986 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36987 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36989 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36990 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36992 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36995 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36996 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36998 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36999 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37001 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37002 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37004 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37005 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37007 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37008 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37010 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37011 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37013 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37014 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37016 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37017 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37019 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37020 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37022 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37023 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37025 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37026 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37028 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37029 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37031 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37032 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37034 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37035 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37037 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37038 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37040 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37041 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37043 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37044 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37046 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37047 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37049 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37050 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37052 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37053 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37055 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37056 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37058 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37059 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37061 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37062 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37064 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37065 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37067 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37068 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37070 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37071 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37073 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37074 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37076 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37077 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37079 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37080 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37082 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37083 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37085 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37088 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37089 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37091 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37092 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37094 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37095 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37097 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37098 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37100 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37101 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37103 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37104 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37106 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37107 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37109 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37110 return (void *)((wxWindow
*) ((wxControl
*) x
));
37112 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37113 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37115 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37116 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37118 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
37119 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37121 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
37122 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
37124 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
37125 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37127 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37128 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37130 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37131 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37133 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37134 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37136 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37137 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37139 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37140 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37142 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37143 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37145 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37146 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37147 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
37148 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37149 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37150 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37151 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}};
37152 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
37153 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37154 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37155 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37156 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37157 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37158 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}};
37159 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}};
37160 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
37161 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37162 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
37163 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37164 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37165 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37166 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37167 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37168 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37169 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
37170 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37171 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37172 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37173 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37174 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37175 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37176 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37177 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37178 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37179 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37180 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37181 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37182 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37183 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37184 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37185 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37186 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37187 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37188 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37189 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37190 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37191 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37192 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37193 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37194 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37195 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37196 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37197 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37198 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37199 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37200 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37201 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37202 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37203 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37204 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37205 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37206 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37207 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37208 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}};
37209 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
37210 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}};
37211 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}};
37212 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}};
37213 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}};
37214 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37215 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37216 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37217 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37218 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37219 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37220 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37221 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37222 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37223 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37224 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37225 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37226 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37227 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37228 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37229 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}};
37230 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37231 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37232 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37233 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37234 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37235 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37236 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37237 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}};
37238 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37239 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37240 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37241 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37242 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37243 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37244 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37245 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37246 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37247 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37248 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37249 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}};
37250 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37251 static swig_type_info _swigt__p_wxDropTarget
[] = {{"_p_wxDropTarget", 0, "wxDropTarget *", 0},{"_p_wxDropTarget"},{0}};
37252 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37253 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37254 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37255 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37256 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37257 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
37258 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37260 static swig_type_info
*swig_types_initial
[] = {
37261 _swigt__p_wxLayoutConstraints
,
37262 _swigt__p_wxRealPoint
,
37263 _swigt__p_wxSizerItem
,
37264 _swigt__p_wxGBSizerItem
,
37265 _swigt__p_wxScrollEvent
,
37266 _swigt__p_wxIndividualLayoutConstraint
,
37268 _swigt__p_wxBoxSizer
,
37269 _swigt__p_wxStaticBoxSizer
,
37270 _swigt__p_wxGridBagSizer
,
37271 _swigt__p_wxAcceleratorEntry
,
37272 _swigt__p_wxUpdateUIEvent
,
37275 _swigt__p_wxGridSizer
,
37276 _swigt__p_wxFlexGridSizer
,
37277 _swigt__p_wxInitDialogEvent
,
37278 _swigt__p_wxItemContainer
,
37279 _swigt__p_wxNcPaintEvent
,
37280 _swigt__p_wxPaintEvent
,
37281 _swigt__p_wxSysColourChangedEvent
,
37282 _swigt__p_wxMouseCaptureChangedEvent
,
37283 _swigt__p_wxDisplayChangedEvent
,
37284 _swigt__p_wxPaletteChangedEvent
,
37285 _swigt__p_wxControl
,
37287 _swigt__p_wxMenuBarBase
,
37288 _swigt__p_wxSetCursorEvent
,
37289 _swigt__p_wxFSFile
,
37291 _swigt__p_wxRegion
,
37292 _swigt__p_wxPoint2D
,
37296 _swigt__p_wxPySizer
,
37297 _swigt__p_wxNotifyEvent
,
37298 _swigt__p_wxPyEvent
,
37299 _swigt__p_wxPropagationDisabler
,
37300 _swigt__p_wxAppTraits
,
37301 _swigt__p_wxArrayString
,
37302 _swigt__p_wxShowEvent
,
37303 _swigt__p_wxToolTip
,
37304 _swigt__p_wxMaximizeEvent
,
37305 _swigt__p_wxIconizeEvent
,
37306 _swigt__p_wxActivateEvent
,
37307 _swigt__p_wxMoveEvent
,
37308 _swigt__p_wxSizeEvent
,
37309 _swigt__p_wxQueryNewPaletteEvent
,
37310 _swigt__p_wxWindowCreateEvent
,
37311 _swigt__p_wxIdleEvent
,
37312 _swigt__p_wxMenuItem
,
37313 _swigt__p_wxStaticBox
,
37315 _swigt__p_wxTIFFHandler
,
37316 _swigt__p_wxXPMHandler
,
37317 _swigt__p_wxPNMHandler
,
37318 _swigt__p_wxJPEGHandler
,
37319 _swigt__p_wxPCXHandler
,
37320 _swigt__p_wxGIFHandler
,
37321 _swigt__p_wxPNGHandler
,
37322 _swigt__p_wxANIHandler
,
37323 _swigt__p_wxMemoryFSHandler
,
37324 _swigt__p_wxEvtHandler
,
37325 _swigt__p_wxCURHandler
,
37326 _swigt__p_wxICOHandler
,
37327 _swigt__p_wxBMPHandler
,
37328 _swigt__p_wxImageHandler
,
37329 _swigt__p_wxFileSystemHandler
,
37330 _swigt__p_wxPyFileSystemHandler
,
37331 _swigt__p_wxInternetFSHandler
,
37332 _swigt__p_wxZipFSHandler
,
37334 _swigt__p_wxGBSpan
,
37335 _swigt__p_wxPropagateOnce
,
37336 _swigt__p_wxAcceleratorTable
,
37337 _swigt__p_wxGBPosition
,
37340 _swigt__p_wxScrollWinEvent
,
37341 _swigt__p_wxImageHistogram
,
37344 _swigt__p_wxCursor
,
37345 _swigt__p_wxObject
,
37346 _swigt__p_wxPyInputStream
,
37347 _swigt__p_wxOutputStream
,
37348 _swigt__p_wxInputStream
,
37349 _swigt__p_wxDateTime
,
37350 _swigt__p_wxKeyEvent
,
37351 _swigt__p_wxNavigationKeyEvent
,
37352 _swigt__p_wxWindowDestroyEvent
,
37353 _swigt__p_wxWindow
,
37354 _swigt__p_wxMenuBar
,
37355 _swigt__p_wxString
,
37356 _swigt__p_wxFileSystem
,
37357 _swigt__p_wxBitmap
,
37358 _swigt__p_wxMenuEvent
,
37359 _swigt__p_wxContextMenuEvent
,
37360 _swigt__p_unsigned_char
,
37361 _swigt__p_wxCloseEvent
,
37362 _swigt__p_wxEraseEvent
,
37363 _swigt__p_wxMouseEvent
,
37365 _swigt__p_wxCommandEvent
,
37366 _swigt__p_wxPyCommandEvent
,
37367 _swigt__p_wxDropTarget
,
37368 _swigt__p_wxChildFocusEvent
,
37369 _swigt__p_wxFocusEvent
,
37370 _swigt__p_wxDropFilesEvent
,
37371 _swigt__p_wxControlWithItems
,
37372 _swigt__p_wxColour
,
37373 _swigt__p_wxValidator
,
37374 _swigt__p_wxPyValidator
,
37379 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37381 static swig_const_info swig_const_table
[] = {
37382 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
37383 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
37384 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
37385 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
37386 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
37387 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
37388 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
37389 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
37390 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
37391 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
37392 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
37393 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
37394 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
37395 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
37396 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
37397 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
37398 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
37399 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
37400 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
37401 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
37402 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
37403 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
37404 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
37405 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
37406 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
37407 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
37408 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
37409 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
37410 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
37411 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
37412 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
37413 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
37414 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
37415 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
37416 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
37417 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
37418 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
37419 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
37420 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
37421 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
37422 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
37423 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
37424 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
37425 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
37426 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
37427 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
37428 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
37429 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
37430 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
37431 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
37432 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
37433 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
37434 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
37435 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
37436 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
37437 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
37438 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
37439 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
37440 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
37441 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
37442 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
37443 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
37444 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
37445 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
37446 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
37447 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
37448 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
37449 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
37450 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
37451 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
37452 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
37453 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
37454 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
37455 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
37456 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
37457 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
37458 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
37459 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
37460 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
37461 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
37462 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
37463 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
37464 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
37465 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
37466 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
37467 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
37468 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
37469 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
37470 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
37471 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
37472 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
37473 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
37474 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
37475 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
37476 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
37477 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
37478 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
37479 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
37480 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
37481 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
37482 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
37483 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
37484 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
37485 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
37486 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
37487 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
37488 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
37489 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
37490 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
37491 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
37492 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
37493 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
37494 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
37495 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
37496 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
37497 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
37498 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
37499 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
37500 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
37501 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
37502 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
37503 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
37504 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
37505 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
37506 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
37507 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
37508 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
37509 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
37510 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
37511 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
37512 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
37513 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
37514 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
37515 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
37516 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
37517 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
37518 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
37519 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
37520 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
37521 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
37522 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
37523 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
37524 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
37525 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
37526 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
37527 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
37528 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
37529 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
37530 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
37531 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
37532 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
37533 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
37534 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
37535 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
37536 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
37537 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
37538 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
37539 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
37540 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
37541 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
37542 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
37543 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
37544 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
37545 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
37546 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
37547 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
37548 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
37549 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
37550 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
37551 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
37552 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
37553 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
37554 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
37555 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
37556 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
37557 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
37558 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
37559 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
37560 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
37561 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
37562 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
37563 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
37564 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
37565 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
37566 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
37567 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
37568 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
37569 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
37570 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
37571 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
37572 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
37573 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
37574 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
37575 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
37576 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
37577 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
37578 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
37579 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
37580 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
37581 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
37582 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
37583 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
37584 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
37585 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
37586 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
37587 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
37588 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
37589 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
37590 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
37591 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
37592 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
37593 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
37594 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
37595 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
37596 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
37597 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
37598 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
37599 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
37600 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
37601 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
37602 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37603 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
37604 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
37605 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
37606 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
37607 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
37608 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
37609 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
37610 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
37611 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
37612 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
37613 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
37614 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
37615 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
37616 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
37617 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
37618 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
37619 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
37620 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
37621 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
37622 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
37623 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
37624 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
37625 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
37626 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
37627 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
37628 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
37629 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
37630 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
37631 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
37632 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
37633 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
37634 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
37635 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
37636 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
37637 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
37638 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
37639 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
37640 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
37641 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
37642 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
37643 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
37644 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
37645 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
37646 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
37647 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
37648 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
37649 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
37650 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
37651 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
37652 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
37653 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
37654 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
37655 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
37656 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
37657 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
37658 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
37659 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
37660 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
37661 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
37662 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
37663 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
37664 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
37665 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
37666 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
37667 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
37668 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
37669 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
37670 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
37671 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
37672 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
37673 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
37674 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
37675 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
37676 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
37677 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
37678 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
37679 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
37680 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
37681 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
37682 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
37683 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
37684 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
37685 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
37686 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
37687 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
37688 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
37689 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
37690 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
37691 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
37692 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
37693 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
37694 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
37695 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
37696 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
37697 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
37698 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
37699 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
37700 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
37701 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
37702 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
37703 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
37704 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
37705 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
37706 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
37707 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
37708 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
37709 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
37710 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
37711 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
37712 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
37713 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
37714 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
37715 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
37716 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
37717 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
37718 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
37719 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
37720 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
37721 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
37722 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
37723 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
37724 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
37725 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
37726 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
37727 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
37728 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
37729 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
37730 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
37731 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
37732 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
37733 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
37734 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
37735 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
37736 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
37737 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
37738 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
37739 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
37740 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
37741 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
37742 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
37743 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
37744 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
37745 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
37746 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
37747 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
37748 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
37749 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
37750 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
37751 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
37752 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
37753 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
37754 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
37755 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
37756 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
37757 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
37758 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
37759 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
37760 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
37761 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
37762 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
37763 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
37764 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
37765 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
37766 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
37767 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
37768 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
37769 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
37770 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
37771 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
37772 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
37773 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
37774 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
37775 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
37776 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
37777 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
37778 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
37779 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
37780 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
37781 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
37782 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
37783 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
37784 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
37785 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
37786 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
37787 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
37788 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
37789 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
37790 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
37791 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
37792 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
37793 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
37794 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
37795 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
37796 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
37797 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
37798 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
37799 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
37800 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
37801 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
37802 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
37803 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
37804 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
37805 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
37806 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
37807 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
37808 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
37809 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
37810 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
37811 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
37812 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
37813 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
37814 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
37815 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
37816 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
37817 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
37818 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
37819 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
37820 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
37821 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
37822 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
37823 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
37824 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
37825 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
37826 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
37827 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
37828 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
37829 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
37830 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
37831 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
37832 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
37833 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
37834 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
37835 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
37836 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
37837 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
37838 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
37839 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
37840 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
37841 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
37842 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
37843 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
37844 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
37845 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
37846 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
37847 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
37848 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
37849 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
37850 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
37851 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
37852 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
37853 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
37854 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
37855 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
37856 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
37857 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
37858 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
37859 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
37860 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
37861 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
37862 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
37863 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
37864 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
37865 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
37866 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
37867 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
37868 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
37869 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
37870 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
37871 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
37872 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
37873 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
37874 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
37875 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
37876 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
37877 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
37878 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
37879 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
37880 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
37881 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
37882 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
37883 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
37884 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
37885 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
37886 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
37887 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
37888 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
37889 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
37890 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
37891 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
37892 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
37893 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
37894 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
37895 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
37896 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
37897 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
37898 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
37899 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
37900 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
37901 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
37902 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
37903 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
37904 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
37905 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
37906 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
37907 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
37908 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
37909 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
37910 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
37911 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
37912 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
37913 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
37914 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
37915 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
37916 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
37917 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
37918 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
37919 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
37920 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
37921 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
37922 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
37923 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
37924 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
37925 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
37926 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
37927 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
37928 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
37929 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
37930 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
37931 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
37932 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
37933 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
37934 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
37935 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
37936 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
37937 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
37938 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
37939 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
37940 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
37941 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
37942 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
37943 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
37944 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
37945 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
37946 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
37947 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
37948 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
37949 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
37950 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
37951 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
37952 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
37953 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
37954 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
37955 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
37956 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
37957 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
37958 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
37959 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
37960 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
37961 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
37962 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
37963 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
37964 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
37965 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
37966 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
37967 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
37968 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
37969 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
37970 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
37971 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
37972 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
37973 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
37974 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
37975 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
37976 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
37977 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
37978 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
37979 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
37980 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
37981 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
37982 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
37983 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
37984 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
37985 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
37986 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
37987 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
37988 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
37989 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
37990 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
37991 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
37992 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
37993 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
37994 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
37995 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
37996 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
37997 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
37998 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
37999 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
38000 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
38001 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
38002 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
38003 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
38004 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
38005 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
38006 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
38007 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
38008 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
38009 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
38010 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
38011 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
38012 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
38013 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
38014 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
38015 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
38016 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
38017 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
38018 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
38019 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
38020 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
38021 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
38022 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
38023 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
38024 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
38025 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
38026 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
38027 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
38028 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
38029 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
38030 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
38031 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
38032 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
38033 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
38034 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
38035 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
38036 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
38037 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
38038 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
38039 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
38040 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
38041 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
38042 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
38043 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
38044 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
38045 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
38046 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
38047 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
38048 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
38049 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
38050 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
38051 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
38052 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
38053 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
38054 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
38055 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
38056 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
38057 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
38058 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
38059 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
38060 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
38061 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
38062 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
38063 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
38064 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
38065 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
38066 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
38067 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
38068 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
38069 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
38070 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
38071 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
38072 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
38073 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
38074 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
38075 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
38076 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
38077 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
38078 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
38079 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
38080 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
38081 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
38082 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
38083 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
38084 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
38085 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
38086 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
38087 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
38088 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
38089 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
38090 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
38091 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
38092 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
38093 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
38094 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
38095 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
38096 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
38097 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
38098 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
38099 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
38100 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
38101 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
38102 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
38103 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
38104 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
38105 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
38106 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
38107 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
38108 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
38109 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
38110 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
38111 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
38112 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
38113 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
38114 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
38115 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
38116 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
38117 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
38118 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
38119 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
38120 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
38121 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
38122 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
38123 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
38124 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
38125 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
38126 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
38127 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
38128 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
38129 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
38130 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
38131 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
38132 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
38133 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
38134 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
38135 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
38136 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
38137 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
38138 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
38139 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
38140 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
38141 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
38142 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
38143 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
38144 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
38145 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
38146 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
38147 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
38148 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
38149 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
38159 SWIGEXPORT(void) SWIG_init(void) {
38160 static PyObject
*SWIG_globals
= 0;
38161 static int typeinit
= 0;
38164 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38165 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38166 d
= PyModule_GetDict(m
);
38169 for (i
= 0; swig_types_initial
[i
]; i
++) {
38170 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38174 SWIG_InstallConstants(d
,swig_const_table
);
38177 #ifndef wxPyUSE_EXPORT
38178 // Make our API structure a CObject so other modules can import it
38179 // from this module.
38180 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
38181 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
38185 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38186 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
38187 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
38189 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38192 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38194 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
38195 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
38196 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
38197 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
38198 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
38199 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
38200 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
38201 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
38202 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
38203 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
38204 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
38205 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
38206 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
38207 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
38208 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
38209 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
38210 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
38211 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
38212 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
38213 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
38214 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
38215 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
38216 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
38217 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
38218 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
38219 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
38220 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
38221 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
38222 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
38223 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
38224 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
38225 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
38226 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
38227 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
38228 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
38229 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
38230 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
38231 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
38232 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
38233 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
38234 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
38235 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
38236 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
38237 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
38238 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
38239 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
38240 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
38241 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
38242 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
38243 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
38244 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
38245 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
38246 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
38247 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
38248 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
38249 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
38250 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
38251 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
38252 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
38253 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
38254 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
38255 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
38256 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
38257 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
38258 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
38259 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
38260 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
38261 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
38262 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
38263 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
38264 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
38265 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
38266 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
38267 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
38268 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
38269 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
38270 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
38271 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
38272 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
38273 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
38274 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
38275 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
38276 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
38277 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
38278 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
38279 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
38280 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
38281 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
38282 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
38283 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
38284 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
38285 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
38286 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
38287 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
38288 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
38289 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
38290 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
38291 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
38292 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
38293 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
38294 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
38295 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
38296 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
38297 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
38298 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
38299 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
38300 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
38301 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
38302 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
38303 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
38304 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
38305 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
38306 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
38307 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
38308 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
38309 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
38310 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
38311 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
38312 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
38313 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
38314 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
38315 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
38316 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
38318 // Initialize threading, some globals and such
38322 // Although these are defined in __version__ they need to be here too so
38323 // that an assert can be done to ensure that the wxPython and the wxWindows
38325 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
38326 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
38327 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));