1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
219 #define SWIGTYPE_p_wxRealPoint swig_types[1]
220 #define SWIGTYPE_p_wxSizerItem swig_types[2]
221 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
222 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
223 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
224 #define SWIGTYPE_p_wxSizer swig_types[6]
225 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
226 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
227 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
228 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
229 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
230 #define SWIGTYPE_p_wxMenu swig_types[12]
231 #define SWIGTYPE_p_wxEvent swig_types[13]
232 #define SWIGTYPE_p_wxGridSizer swig_types[14]
233 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
234 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
235 #define SWIGTYPE_p_wxItemContainer swig_types[17]
236 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
237 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
238 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
239 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
240 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
241 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
242 #define SWIGTYPE_p_wxControl swig_types[24]
243 #define SWIGTYPE_p_wxFont swig_types[25]
244 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
245 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
246 #define SWIGTYPE_p_wxFSFile swig_types[28]
247 #define SWIGTYPE_p_wxCaret swig_types[29]
248 #define SWIGTYPE_p_wxRegion swig_types[30]
249 #define SWIGTYPE_p_wxPoint2D swig_types[31]
250 #define SWIGTYPE_p_int swig_types[32]
251 #define SWIGTYPE_p_wxSize swig_types[33]
252 #define SWIGTYPE_p_wxDC swig_types[34]
253 #define SWIGTYPE_p_wxPySizer swig_types[35]
254 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
255 #define SWIGTYPE_p_wxPyEvent swig_types[37]
256 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
257 #define SWIGTYPE_p_wxAppTraits swig_types[39]
258 #define SWIGTYPE_p_wxArrayString swig_types[40]
259 #define SWIGTYPE_p_wxShowEvent swig_types[41]
260 #define SWIGTYPE_p_wxToolTip swig_types[42]
261 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
262 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
263 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
264 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
265 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
266 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
267 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
268 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
269 #define SWIGTYPE_p_wxMenuItem swig_types[51]
270 #define SWIGTYPE_p_wxStaticBox swig_types[52]
271 #define SWIGTYPE_p_long swig_types[53]
272 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
273 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
274 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
275 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
276 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
277 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
278 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
279 #define SWIGTYPE_p_wxANIHandler swig_types[61]
280 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
281 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
282 #define SWIGTYPE_p_wxCURHandler swig_types[64]
283 #define SWIGTYPE_p_wxICOHandler swig_types[65]
284 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
285 #define SWIGTYPE_p_wxImageHandler swig_types[67]
286 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
287 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
288 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
289 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
290 #define SWIGTYPE_p_wxRect swig_types[72]
291 #define SWIGTYPE_p_wxGBSpan swig_types[73]
292 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
293 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
294 #define SWIGTYPE_p_wxGBPosition swig_types[76]
295 #define SWIGTYPE_p_wxImage swig_types[77]
296 #define SWIGTYPE_p_wxFrame swig_types[78]
297 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
298 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
299 #define SWIGTYPE_p_byte swig_types[81]
300 #define SWIGTYPE_p_wxPoint swig_types[82]
301 #define SWIGTYPE_p_wxCursor swig_types[83]
302 #define SWIGTYPE_p_wxObject swig_types[84]
303 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
304 #define SWIGTYPE_p_wxOutputStream swig_types[86]
305 #define SWIGTYPE_p_wxInputStream swig_types[87]
306 #define SWIGTYPE_p_wxDateTime swig_types[88]
307 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
308 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
309 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
310 #define SWIGTYPE_p_wxWindow swig_types[92]
311 #define SWIGTYPE_p_wxMenuBar swig_types[93]
312 #define SWIGTYPE_p_wxString swig_types[94]
313 #define SWIGTYPE_p_wxFileSystem swig_types[95]
314 #define SWIGTYPE_p_wxBitmap swig_types[96]
315 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
316 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
317 #define SWIGTYPE_p_unsigned_char swig_types[99]
318 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
319 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
320 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
321 #define SWIGTYPE_p_wxPyApp swig_types[103]
322 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
323 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
324 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
325 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
326 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
327 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
328 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
329 #define SWIGTYPE_p_wxColour swig_types[111]
330 #define SWIGTYPE_p_wxValidator swig_types[112]
331 #define SWIGTYPE_p_wxPyValidator swig_types[113]
332 static swig_type_info
*swig_types
[115];
334 /* -------- TYPES TABLE (END) -------- */
337 /*-----------------------------------------------
339 ------------------------------------------------*/
340 #define SWIG_init init_core
342 #define SWIG_name "_core"
344 #include "wx/wxPython/wxPython_int.h"
345 #include "wx/wxPython/pyclasses.h"
348 #ifndef wxPyUSE_EXPORT
349 // Helper functions for dealing with SWIG objects and such. These are
350 // located here so they know about the SWIG types and functions declared
351 // in the wrapper code.
353 #include <wx/hashmap.h>
354 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
357 // Maintains a hashmap of className to swig_type_info pointers. Given the
358 // name of a class either looks up the type info in the cache, or scans the
359 // SWIG tables for it.
360 extern PyObject
* wxPyPtrTypeMap
;
362 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
364 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
366 if (typeInfoCache
== NULL
)
367 typeInfoCache
= new wxPyTypeInfoHashMap
;
369 wxString
name(className
);
370 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
373 // it wasn't in the cache, so look it up from SWIG
374 name
.Append(wxT(" *"));
375 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
377 // if it still wasn't found, try looking for a mapped name
382 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
383 (char*)(const char*)name
.mbc_str())) != NULL
) {
384 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
385 name
.Append(wxT(" *"));
386 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
390 // and add it to the map if found
391 (*typeInfoCache
)[className
] = swigType
;
398 // Check if a class name is a type known to SWIG
399 bool wxPyCheckSwigType(const wxChar
* className
) {
401 swig_type_info
* swigType
= wxPyFindSwigType(className
);
402 return swigType
!= NULL
;
406 // Given a pointer to a C++ object and a class name, construct a Python proxy
408 PyObject
* wxPyConstructObject(void* ptr
,
409 const wxChar
* className
,
412 swig_type_info
* swigType
= wxPyFindSwigType(className
);
413 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
415 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
419 // Extract a pointer to the wrapped C++ object from a Python proxy object.
420 // Ensures that the proxy object is of the specified (or derived) type. If
421 // not able to perform the conversion then a Python exception is set and the
422 // error should be handled properly in the caller. Returns True on success.
423 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
424 const wxChar
* className
) {
426 swig_type_info
* swigType
= wxPyFindSwigType(className
);
427 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
429 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
433 // Make a SWIGified pointer object suitable for a .this attribute
434 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
436 PyObject
* robj
= NULL
;
438 swig_type_info
* swigType
= wxPyFindSwigType(className
);
439 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
441 #ifdef SWIG_COBJECT_TYPES
442 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
448 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
449 strcpy(r
, swigType
->name
);
450 robj
= PyString_FromString(result
);
460 // Export a C API in a struct. Other modules will be able to load this from
461 // the wx.core module and will then have safe access to these functions, even if
462 // they are located in another shared library.
463 static wxPyCoreAPI API
= {
465 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
466 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
467 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
468 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
469 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
470 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
471 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
472 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
473 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
474 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
475 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
476 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
477 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
478 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
479 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
480 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
481 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
488 wxPyBeginAllowThreads
,
490 wxPyBeginBlockThreads
,
504 wxBitmap_LIST_helper
,
505 wxString_LIST_helper
,
506 wxAcceleratorEntry_LIST_helper
,
515 wxPySimple_typecheck
,
518 wxPyCBH_setCallbackInfo
,
519 wxPyCBH_findCallback
,
520 wxPyCBH_callCallback
,
521 wxPyCBH_callCallbackObj
,
529 wxArrayString2PyList_helper
,
530 wxArrayInt2PyList_helper
,
534 wxPyOORClientData_dtor
,
536 wxPyCBInputStream_create
,
539 wxPySwigInstance_Check
546 DECLARE_DEF_STRING(EmptyString
);
547 // DECLARE_DEF_STRING(PanelNameStr);
551 enum wxHotkeyModifier
559 #define wxEVT_HOTKEY 9999
562 wxString
wxObject_GetClassName(wxObject
*self
){
563 return self
->GetClassInfo()->GetClassName();
565 void wxObject_Destroy(wxObject
*self
){
570 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
573 PyObject
*wxSize_Get(wxSize
*self
){
574 wxPyBeginBlockThreads();
575 PyObject
* tup
= PyTuple_New(2);
576 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
577 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
578 wxPyEndBlockThreads();
581 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
585 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
586 wxPyBeginBlockThreads();
587 PyObject
* tup
= PyTuple_New(2);
588 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
589 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
590 wxPyEndBlockThreads();
593 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
597 PyObject
*wxPoint_Get(wxPoint
*self
){
598 wxPyBeginBlockThreads();
599 PyObject
* tup
= PyTuple_New(2);
600 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
601 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
602 wxPyEndBlockThreads();
605 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
609 self
->height
= height
;
611 PyObject
*wxRect_Get(wxRect
*self
){
612 wxPyBeginBlockThreads();
613 PyObject
* tup
= PyTuple_New(4);
614 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
615 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
616 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
617 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
618 wxPyEndBlockThreads();
622 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
625 wxRect
dest(0,0,0,0);
628 reg1
.Intersect(reg2
);
629 dest
= reg1
.GetBox();
631 if (dest
!= wxRect(0,0,0,0)) {
632 wxPyBeginBlockThreads();
633 wxRect
* newRect
= new wxRect(dest
);
634 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
635 wxPyEndBlockThreads();
643 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
649 } else if (target
== Py_None
) {
653 if (!PyTuple_Check(target
)) {
655 target
= PyTuple_New(1);
656 PyTuple_SetItem(target
, 0, o2
);
659 PyTuple_SetItem(o3
, 0, o
);
662 target
= PySequence_Concat(o2
, o3
);
669 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
673 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
674 wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
677 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
678 wxPyEndBlockThreads();
682 #include "wx/wxPython/pyistream.h"
684 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
685 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
687 return new wxPyInputStream(wxis
);
691 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
692 // We use only strings for the streams, not unicode
693 PyObject
* str
= PyObject_Str(obj
);
695 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
698 self
->Write(PyString_AS_STRING(str
),
699 PyString_GET_SIZE(str
));
703 #include "wx/wxPython/pyistream.h"
706 class wxPyFileSystemHandler
: public wxFileSystemHandler
709 wxPyFileSystemHandler() : wxFileSystemHandler() {}
711 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
712 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
713 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
714 DEC_PYCALLBACK_STRING__pure(FindNext
);
716 wxString
GetProtocol(const wxString
& location
) {
717 return wxFileSystemHandler::GetProtocol(location
);
720 wxString
GetLeftLocation(const wxString
& location
) {
721 return wxFileSystemHandler::GetLeftLocation(location
);
724 wxString
GetAnchor(const wxString
& location
) {
725 return wxFileSystemHandler::GetAnchor(location
);
728 wxString
GetRightLocation(const wxString
& location
) {
729 return wxFileSystemHandler::GetRightLocation(location
);
732 wxString
GetMimeTypeFromExt(const wxString
& location
) {
733 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
740 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
741 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
742 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
743 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
746 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
747 wxFileName fname
= wxFileSystem::URLToFileName(url
);
748 return fname
.GetFullPath();
752 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
755 wxMemoryFSHandler::AddFile(filename
, image
, type
);
758 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
759 const wxBitmap
& bitmap
,
761 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
764 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
766 wxMemoryFSHandler::AddFile(filename
,
767 // TODO: Verify data type
768 (void*)PyString_AsString(data
),
769 (size_t)PyString_Size(data
));
773 #include "wx/wxPython/pyistream.h"
775 wxImage
*new_wxImage(int width
,int height
,bool clear
){
776 if (width
> 0 && height
> 0)
777 return new wxImage(width
, height
, clear
);
781 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
782 return new wxImage(bitmap
.ConvertToImage());
784 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
785 // Copy the source data so the wxImage can clean it up later
786 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
791 memcpy(copy
, data
, width
*height
*3);
792 return new wxImage(width
, height
, copy
, False
);
794 PyObject
*wxImage_GetData(wxImage
*self
){
795 unsigned char* data
= self
->GetData();
796 int len
= self
->GetWidth() * self
->GetHeight() * 3;
798 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
801 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
802 unsigned char* dataPtr
;
804 if (! PyString_Check(data
)) {
805 PyErr_SetString(PyExc_TypeError
, "Expected string object");
809 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
810 dataPtr
= (unsigned char*) malloc(len
);
811 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
812 self
->SetData(dataPtr
);
813 // wxImage takes ownership of dataPtr...
815 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
816 unsigned char* data
= self
->GetData();
817 int len
= self
->GetWidth() * self
->GetHeight() * 3;
819 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
822 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
823 unsigned char* buffer
;
826 wxPyBeginBlockThreads();
827 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
830 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
831 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
834 self
->SetData(buffer
);
836 wxPyEndBlockThreads();
838 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
839 unsigned char* data
= self
->GetAlpha();
843 int len
= self
->GetWidth() * self
->GetHeight();
845 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
849 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
850 unsigned char* dataPtr
;
852 if (! PyString_Check(data
)) {
853 PyErr_SetString(PyExc_TypeError
, "Expected string object");
857 size_t len
= self
->GetWidth() * self
->GetHeight();
858 dataPtr
= (unsigned char*) malloc(len
);
859 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
860 self
->SetAlpha(dataPtr
);
861 // wxImage takes ownership of dataPtr...
863 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
864 unsigned char* data
= self
->GetAlpha();
865 int len
= self
->GetWidth() * self
->GetHeight();
867 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
870 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
871 unsigned char* buffer
;
874 wxPyBeginBlockThreads();
875 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
878 if (size
!= self
->GetWidth() * self
->GetHeight()) {
879 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
882 self
->SetAlpha(buffer
);
884 wxPyEndBlockThreads();
886 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
887 wxBitmap
bitmap(*self
);
890 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
891 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
892 wxBitmap
bitmap( mono
, 1 );
895 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
896 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
897 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
898 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
899 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
900 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
901 if (PyCallable_Check(func
)) {
902 self
->Connect(id
, lastId
, eventType
,
903 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
904 new wxPyCallback(func
));
906 else if (func
== Py_None
) {
907 self
->Disconnect(id
, lastId
, eventType
,
908 (wxObjectEventFunction
)
909 &wxPyCallback::EventThunker
);
912 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
915 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
916 return self
->Disconnect(id
, lastId
, eventType
,
917 (wxObjectEventFunction
)
918 &wxPyCallback::EventThunker
);
920 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
921 if (_self
&& _self
!= Py_None
) {
922 self
->SetClientObject(new wxPyOORClientData(_self
));
925 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
927 self
->SetClientObject(NULL
); // This will delete it too
931 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
933 return self
->m_uniChar
;
938 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
941 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
944 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
945 int count
= self
->GetNumberOfFiles();
946 wxString
* files
= self
->GetFiles();
947 PyObject
* list
= PyList_New(count
);
950 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
954 for (int i
=0; i
<count
; i
++) {
955 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
961 wxPyApp
*new_wxPyApp(){
962 wxPythonApp
= new wxPyApp();
966 void wxApp_CleanUp() {
971 wxPyApp
* wxGetApp() {
972 return (wxPyApp
*)wxTheApp
;
977 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
978 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
979 wxWindowList
& list
= self
->GetChildren();
980 return wxPy_ConvertList(&list
);
982 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
989 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
996 long wxWindow_GetHandle(wxWindow
*self
){
997 return wxPyGetWinHandle(self
);
1000 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1001 return wxWindow::FindWindowById(id
, parent
);
1004 wxWindow
* wxFindWindowByName( const wxString
& name
,
1005 const wxWindow
*parent
= NULL
) {
1006 return wxWindow::FindWindowByName(name
, parent
);
1009 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1010 const wxWindow
*parent
= NULL
) {
1011 return wxWindow::FindWindowByLabel(label
, parent
);
1015 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1017 wxWindow
* win
= new wxWindow
;
1019 win
->SubclassWin(hWnd
);
1022 PyErr_SetNone(PyExc_NotImplementedError
);
1028 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1029 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1030 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1032 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1034 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1035 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1036 wxMenuItemList
& list
= self
->GetMenuItems();
1037 return wxPy_ConvertList(&list
);
1040 DECLARE_DEF_STRING(ControlNameStr
);
1042 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1044 wxPyClientData
* data
= new wxPyClientData(clientData
);
1045 return self
->Append(item
, data
);
1047 return self
->Append(item
);
1049 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1051 wxPyClientData
* data
= new wxPyClientData(clientData
);
1052 return self
->Insert(item
, pos
, data
);
1054 return self
->Insert(item
, pos
);
1056 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1057 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1059 Py_INCREF(data
->m_obj
);
1066 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1067 wxPyClientData
* data
= new wxPyClientData(clientData
);
1068 self
->SetClientObject(n
, data
);
1072 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1073 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1075 Py_INCREF(data
->m_obj
);
1083 // Figure out the type of the sizer item
1085 struct wxPySizerItemInfo
{
1087 : window(NULL
), sizer(NULL
), gotSize(False
),
1088 size(wxDefaultSize
), gotPos(False
), pos(-1)
1099 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1101 wxPySizerItemInfo info
;
1103 wxSize
* sizePtr
= &size
;
1105 // Find out what the type of the item is
1107 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1112 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1116 // try wxSize or (w,h)
1117 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1118 info
.size
= *sizePtr
;
1119 info
.gotSize
= True
;
1123 if (checkIdx
&& PyInt_Check(item
)) {
1124 info
.pos
= PyInt_AsLong(item
);
1130 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1131 // no expected type, figure out what kind of error message to generate
1132 if ( !checkSize
&& !checkIdx
)
1133 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1134 else if ( checkSize
&& !checkIdx
)
1135 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1136 else if ( !checkSize
&& checkIdx
)
1137 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1139 // can this one happen?
1140 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1146 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1147 self
->SetClientObject(new wxPyOORClientData(_self
));
1149 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1151 wxPyUserData
* data
= NULL
;
1152 wxPyBeginBlockThreads();
1153 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1154 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1155 data
= new wxPyUserData(userData
);
1156 wxPyEndBlockThreads();
1158 // Now call the real Add method if a valid item type was found
1160 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1161 else if ( info
.sizer
)
1162 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1163 else if (info
.gotSize
)
1164 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1165 proportion
, flag
, border
, data
);
1167 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1169 wxPyUserData
* data
= NULL
;
1170 wxPyBeginBlockThreads();
1171 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1172 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1173 data
= new wxPyUserData(userData
);
1174 wxPyEndBlockThreads();
1176 // Now call the real Insert method if a valid item type was found
1178 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1179 else if ( info
.sizer
)
1180 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1181 else if (info
.gotSize
)
1182 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1183 proportion
, flag
, border
, data
);
1185 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1187 wxPyUserData
* data
= NULL
;
1188 wxPyBeginBlockThreads();
1189 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1190 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1191 data
= new wxPyUserData(userData
);
1192 wxPyEndBlockThreads();
1194 // Now call the real Prepend method if a valid item type was found
1196 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1197 else if ( info
.sizer
)
1198 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1199 else if (info
.gotSize
)
1200 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1201 proportion
, flag
, border
, data
);
1203 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1204 wxPyBeginBlockThreads();
1205 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1206 wxPyEndBlockThreads();
1208 return self
->Remove(info
.window
);
1209 else if ( info
.sizer
)
1210 return self
->Remove(info
.sizer
);
1211 else if ( info
.gotPos
)
1212 return self
->Remove(info
.pos
);
1216 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1217 wxPyBeginBlockThreads();
1218 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1219 wxPyEndBlockThreads();
1221 self
->SetItemMinSize(info
.window
, size
);
1222 else if ( info
.sizer
)
1223 self
->SetItemMinSize(info
.sizer
, size
);
1224 else if ( info
.gotPos
)
1225 self
->SetItemMinSize(info
.pos
, size
);
1227 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1228 wxSizerItemList
& list
= self
->GetChildren();
1229 return wxPy_ConvertList(&list
);
1231 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1232 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1234 self
->Show(info
.window
, show
);
1235 else if ( info
.sizer
)
1236 self
->Show(info
.sizer
, show
);
1238 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1239 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1241 self
->Hide(info
.window
);
1242 else if ( info
.sizer
)
1243 self
->Hide(info
.sizer
);
1245 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1246 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1248 return self
->IsShown(info
.window
);
1249 else if ( info
.sizer
)
1250 return self
->IsShown(info
.sizer
);
1256 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1257 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1258 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1263 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1265 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1268 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1270 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1274 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1278 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1279 wxPyBeginBlockThreads();
1280 PyObject
* tup
= PyTuple_New(2);
1281 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1282 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1283 wxPyEndBlockThreads();
1286 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1287 self
->SetRowspan(rowspan
);
1288 self
->SetColspan(colspan
);
1290 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1291 wxPyBeginBlockThreads();
1292 PyObject
* tup
= PyTuple_New(2);
1293 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1294 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1295 wxPyEndBlockThreads();
1298 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1300 wxPyUserData
* data
= NULL
;
1301 wxPyBeginBlockThreads();
1302 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1303 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1304 data
= new wxPyUserData(userData
);
1305 wxPyEndBlockThreads();
1307 // Now call the real Add method if a valid item type was found
1309 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1310 else if ( info
.sizer
)
1311 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1312 else if (info
.gotSize
)
1313 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1314 pos
, span
, flag
, border
, data
);
1322 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1323 PyObject
*resultobj
;
1324 wxObject
*arg1
= (wxObject
*) 0 ;
1326 PyObject
* obj0
= 0 ;
1328 (char *) "self", NULL
1331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1335 result
= wxObject_GetClassName(arg1
);
1337 wxPyEndAllowThreads(__tstate
);
1338 if (PyErr_Occurred()) SWIG_fail
;
1342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1353 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1354 PyObject
*resultobj
;
1355 wxObject
*arg1
= (wxObject
*) 0 ;
1356 PyObject
* obj0
= 0 ;
1358 (char *) "self", NULL
1361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1365 wxObject_Destroy(arg1
);
1367 wxPyEndAllowThreads(__tstate
);
1368 if (PyErr_Occurred()) SWIG_fail
;
1370 Py_INCREF(Py_None
); resultobj
= Py_None
;
1377 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1379 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1380 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1382 return Py_BuildValue((char *)"");
1384 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1385 PyObject
*resultobj
;
1386 wxSize
*arg1
= (wxSize
*) 0 ;
1388 PyObject
* obj0
= 0 ;
1390 (char *) "self",(char *) "x", NULL
1393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1395 if (arg1
) (arg1
)->x
= arg2
;
1397 Py_INCREF(Py_None
); resultobj
= Py_None
;
1404 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1405 PyObject
*resultobj
;
1406 wxSize
*arg1
= (wxSize
*) 0 ;
1408 PyObject
* obj0
= 0 ;
1410 (char *) "self", NULL
1413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1415 result
= (int) ((arg1
)->x
);
1417 resultobj
= PyInt_FromLong((long)result
);
1424 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1425 PyObject
*resultobj
;
1426 wxSize
*arg1
= (wxSize
*) 0 ;
1428 PyObject
* obj0
= 0 ;
1430 (char *) "self",(char *) "y", NULL
1433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1435 if (arg1
) (arg1
)->y
= arg2
;
1437 Py_INCREF(Py_None
); resultobj
= Py_None
;
1444 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1445 PyObject
*resultobj
;
1446 wxSize
*arg1
= (wxSize
*) 0 ;
1448 PyObject
* obj0
= 0 ;
1450 (char *) "self", NULL
1453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1455 result
= (int) ((arg1
)->y
);
1457 resultobj
= PyInt_FromLong((long)result
);
1464 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1465 PyObject
*resultobj
;
1466 int arg1
= (int) 0 ;
1467 int arg2
= (int) 0 ;
1470 (char *) "w",(char *) "h", NULL
1473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1476 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1478 wxPyEndAllowThreads(__tstate
);
1479 if (PyErr_Occurred()) SWIG_fail
;
1481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1488 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1489 PyObject
*resultobj
;
1490 wxSize
*arg1
= (wxSize
*) 0 ;
1491 PyObject
* obj0
= 0 ;
1493 (char *) "self", NULL
1496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1502 wxPyEndAllowThreads(__tstate
);
1503 if (PyErr_Occurred()) SWIG_fail
;
1505 Py_INCREF(Py_None
); resultobj
= Py_None
;
1512 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1513 PyObject
*resultobj
;
1514 wxSize
*arg1
= (wxSize
*) 0 ;
1518 PyObject
* obj0
= 0 ;
1519 PyObject
* obj1
= 0 ;
1521 (char *) "self",(char *) "sz", NULL
1524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1528 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1532 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1534 wxPyEndAllowThreads(__tstate
);
1535 if (PyErr_Occurred()) SWIG_fail
;
1537 resultobj
= PyInt_FromLong((long)result
);
1544 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1545 PyObject
*resultobj
;
1546 wxSize
*arg1
= (wxSize
*) 0 ;
1550 PyObject
* obj0
= 0 ;
1551 PyObject
* obj1
= 0 ;
1553 (char *) "self",(char *) "sz", NULL
1556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1560 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1564 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1566 wxPyEndAllowThreads(__tstate
);
1567 if (PyErr_Occurred()) SWIG_fail
;
1569 resultobj
= PyInt_FromLong((long)result
);
1576 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1577 PyObject
*resultobj
;
1578 wxSize
*arg1
= (wxSize
*) 0 ;
1582 PyObject
* obj0
= 0 ;
1583 PyObject
* obj1
= 0 ;
1585 (char *) "self",(char *) "sz", NULL
1588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1592 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1596 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1598 wxPyEndAllowThreads(__tstate
);
1599 if (PyErr_Occurred()) SWIG_fail
;
1603 resultptr
= new wxSize((wxSize
&) result
);
1604 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1612 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1613 PyObject
*resultobj
;
1614 wxSize
*arg1
= (wxSize
*) 0 ;
1618 PyObject
* obj0
= 0 ;
1619 PyObject
* obj1
= 0 ;
1621 (char *) "self",(char *) "sz", NULL
1624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1628 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1632 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1634 wxPyEndAllowThreads(__tstate
);
1635 if (PyErr_Occurred()) SWIG_fail
;
1639 resultptr
= new wxSize((wxSize
&) result
);
1640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1648 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1649 PyObject
*resultobj
;
1650 wxSize
*arg1
= (wxSize
*) 0 ;
1653 PyObject
* obj0
= 0 ;
1654 PyObject
* obj1
= 0 ;
1656 (char *) "self",(char *) "sz", NULL
1659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1663 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1667 (arg1
)->IncTo((wxSize
const &)*arg2
);
1669 wxPyEndAllowThreads(__tstate
);
1670 if (PyErr_Occurred()) SWIG_fail
;
1672 Py_INCREF(Py_None
); resultobj
= Py_None
;
1679 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1680 PyObject
*resultobj
;
1681 wxSize
*arg1
= (wxSize
*) 0 ;
1684 PyObject
* obj0
= 0 ;
1685 PyObject
* obj1
= 0 ;
1687 (char *) "self",(char *) "sz", NULL
1690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1694 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1698 (arg1
)->DecTo((wxSize
const &)*arg2
);
1700 wxPyEndAllowThreads(__tstate
);
1701 if (PyErr_Occurred()) SWIG_fail
;
1703 Py_INCREF(Py_None
); resultobj
= Py_None
;
1710 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1711 PyObject
*resultobj
;
1712 wxSize
*arg1
= (wxSize
*) 0 ;
1715 PyObject
* obj0
= 0 ;
1717 (char *) "self",(char *) "w",(char *) "h", NULL
1720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1724 (arg1
)->Set(arg2
,arg3
);
1726 wxPyEndAllowThreads(__tstate
);
1727 if (PyErr_Occurred()) SWIG_fail
;
1729 Py_INCREF(Py_None
); resultobj
= Py_None
;
1736 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1737 PyObject
*resultobj
;
1738 wxSize
*arg1
= (wxSize
*) 0 ;
1740 PyObject
* obj0
= 0 ;
1742 (char *) "self",(char *) "w", NULL
1745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1749 (arg1
)->SetWidth(arg2
);
1751 wxPyEndAllowThreads(__tstate
);
1752 if (PyErr_Occurred()) SWIG_fail
;
1754 Py_INCREF(Py_None
); resultobj
= Py_None
;
1761 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1762 PyObject
*resultobj
;
1763 wxSize
*arg1
= (wxSize
*) 0 ;
1765 PyObject
* obj0
= 0 ;
1767 (char *) "self",(char *) "h", NULL
1770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1774 (arg1
)->SetHeight(arg2
);
1776 wxPyEndAllowThreads(__tstate
);
1777 if (PyErr_Occurred()) SWIG_fail
;
1779 Py_INCREF(Py_None
); resultobj
= Py_None
;
1786 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1787 PyObject
*resultobj
;
1788 wxSize
*arg1
= (wxSize
*) 0 ;
1790 PyObject
* obj0
= 0 ;
1792 (char *) "self", NULL
1795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1799 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1801 wxPyEndAllowThreads(__tstate
);
1802 if (PyErr_Occurred()) SWIG_fail
;
1804 resultobj
= PyInt_FromLong((long)result
);
1811 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1812 PyObject
*resultobj
;
1813 wxSize
*arg1
= (wxSize
*) 0 ;
1815 PyObject
* obj0
= 0 ;
1817 (char *) "self", NULL
1820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1824 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1826 wxPyEndAllowThreads(__tstate
);
1827 if (PyErr_Occurred()) SWIG_fail
;
1829 resultobj
= PyInt_FromLong((long)result
);
1836 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1837 PyObject
*resultobj
;
1838 wxSize
*arg1
= (wxSize
*) 0 ;
1840 PyObject
* obj0
= 0 ;
1842 (char *) "self", NULL
1845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
1846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1849 result
= (PyObject
*)wxSize_Get(arg1
);
1851 wxPyEndAllowThreads(__tstate
);
1852 if (PyErr_Occurred()) SWIG_fail
;
1861 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1864 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1866 return Py_BuildValue((char *)"");
1868 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1869 PyObject
*resultobj
;
1870 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1872 PyObject
* obj0
= 0 ;
1874 (char *) "self",(char *) "x", NULL
1877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1879 if (arg1
) (arg1
)->x
= arg2
;
1881 Py_INCREF(Py_None
); resultobj
= Py_None
;
1888 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1889 PyObject
*resultobj
;
1890 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1892 PyObject
* obj0
= 0 ;
1894 (char *) "self", NULL
1897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1899 result
= (double) ((arg1
)->x
);
1901 resultobj
= PyFloat_FromDouble(result
);
1908 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1909 PyObject
*resultobj
;
1910 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1912 PyObject
* obj0
= 0 ;
1914 (char *) "self",(char *) "y", NULL
1917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1919 if (arg1
) (arg1
)->y
= arg2
;
1921 Py_INCREF(Py_None
); resultobj
= Py_None
;
1928 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1929 PyObject
*resultobj
;
1930 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1932 PyObject
* obj0
= 0 ;
1934 (char *) "self", NULL
1937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1939 result
= (double) ((arg1
)->y
);
1941 resultobj
= PyFloat_FromDouble(result
);
1948 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1949 PyObject
*resultobj
;
1950 double arg1
= (double) 0.0 ;
1951 double arg2
= (double) 0.0 ;
1952 wxRealPoint
*result
;
1954 (char *) "x",(char *) "y", NULL
1957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
1959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1960 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
1962 wxPyEndAllowThreads(__tstate
);
1963 if (PyErr_Occurred()) SWIG_fail
;
1965 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
1972 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1973 PyObject
*resultobj
;
1974 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1975 PyObject
* obj0
= 0 ;
1977 (char *) "self", NULL
1980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
1981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1986 wxPyEndAllowThreads(__tstate
);
1987 if (PyErr_Occurred()) SWIG_fail
;
1989 Py_INCREF(Py_None
); resultobj
= Py_None
;
1996 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1997 PyObject
*resultobj
;
1998 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1999 wxRealPoint
*arg2
= 0 ;
2002 PyObject
* obj0
= 0 ;
2003 PyObject
* obj1
= 0 ;
2005 (char *) "self",(char *) "pt", NULL
2008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2012 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2016 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2018 wxPyEndAllowThreads(__tstate
);
2019 if (PyErr_Occurred()) SWIG_fail
;
2021 resultobj
= PyInt_FromLong((long)result
);
2028 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2029 PyObject
*resultobj
;
2030 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2031 wxRealPoint
*arg2
= 0 ;
2034 PyObject
* obj0
= 0 ;
2035 PyObject
* obj1
= 0 ;
2037 (char *) "self",(char *) "pt", NULL
2040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2044 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2048 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2050 wxPyEndAllowThreads(__tstate
);
2051 if (PyErr_Occurred()) SWIG_fail
;
2053 resultobj
= PyInt_FromLong((long)result
);
2060 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2061 PyObject
*resultobj
;
2062 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2063 wxRealPoint
*arg2
= 0 ;
2066 PyObject
* obj0
= 0 ;
2067 PyObject
* obj1
= 0 ;
2069 (char *) "self",(char *) "pt", NULL
2072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2076 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2080 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2082 wxPyEndAllowThreads(__tstate
);
2083 if (PyErr_Occurred()) SWIG_fail
;
2086 wxRealPoint
* resultptr
;
2087 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2088 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2096 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2097 PyObject
*resultobj
;
2098 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2099 wxRealPoint
*arg2
= 0 ;
2102 PyObject
* obj0
= 0 ;
2103 PyObject
* obj1
= 0 ;
2105 (char *) "self",(char *) "pt", NULL
2108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2112 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2116 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2118 wxPyEndAllowThreads(__tstate
);
2119 if (PyErr_Occurred()) SWIG_fail
;
2122 wxRealPoint
* resultptr
;
2123 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2124 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2132 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2133 PyObject
*resultobj
;
2134 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2137 PyObject
* obj0
= 0 ;
2139 (char *) "self",(char *) "x",(char *) "y", NULL
2142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2146 wxRealPoint_Set(arg1
,arg2
,arg3
);
2148 wxPyEndAllowThreads(__tstate
);
2149 if (PyErr_Occurred()) SWIG_fail
;
2151 Py_INCREF(Py_None
); resultobj
= Py_None
;
2158 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2159 PyObject
*resultobj
;
2160 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2162 PyObject
* obj0
= 0 ;
2164 (char *) "self", NULL
2167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2171 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2173 wxPyEndAllowThreads(__tstate
);
2174 if (PyErr_Occurred()) SWIG_fail
;
2183 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2186 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2188 return Py_BuildValue((char *)"");
2190 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2191 PyObject
*resultobj
;
2192 wxPoint
*arg1
= (wxPoint
*) 0 ;
2194 PyObject
* obj0
= 0 ;
2196 (char *) "self",(char *) "x", NULL
2199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2201 if (arg1
) (arg1
)->x
= arg2
;
2203 Py_INCREF(Py_None
); resultobj
= Py_None
;
2210 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2211 PyObject
*resultobj
;
2212 wxPoint
*arg1
= (wxPoint
*) 0 ;
2214 PyObject
* obj0
= 0 ;
2216 (char *) "self", NULL
2219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2221 result
= (int) ((arg1
)->x
);
2223 resultobj
= PyInt_FromLong((long)result
);
2230 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2231 PyObject
*resultobj
;
2232 wxPoint
*arg1
= (wxPoint
*) 0 ;
2234 PyObject
* obj0
= 0 ;
2236 (char *) "self",(char *) "y", NULL
2239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2241 if (arg1
) (arg1
)->y
= arg2
;
2243 Py_INCREF(Py_None
); resultobj
= Py_None
;
2250 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2251 PyObject
*resultobj
;
2252 wxPoint
*arg1
= (wxPoint
*) 0 ;
2254 PyObject
* obj0
= 0 ;
2256 (char *) "self", NULL
2259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2261 result
= (int) ((arg1
)->y
);
2263 resultobj
= PyInt_FromLong((long)result
);
2270 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2271 PyObject
*resultobj
;
2272 int arg1
= (int) 0 ;
2273 int arg2
= (int) 0 ;
2276 (char *) "x",(char *) "y", NULL
2279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2282 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2284 wxPyEndAllowThreads(__tstate
);
2285 if (PyErr_Occurred()) SWIG_fail
;
2287 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2294 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2295 PyObject
*resultobj
;
2296 wxPoint
*arg1
= (wxPoint
*) 0 ;
2297 PyObject
* obj0
= 0 ;
2299 (char *) "self", NULL
2302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2308 wxPyEndAllowThreads(__tstate
);
2309 if (PyErr_Occurred()) SWIG_fail
;
2311 Py_INCREF(Py_None
); resultobj
= Py_None
;
2318 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2319 PyObject
*resultobj
;
2320 wxPoint
*arg1
= (wxPoint
*) 0 ;
2324 PyObject
* obj0
= 0 ;
2325 PyObject
* obj1
= 0 ;
2327 (char *) "self",(char *) "pt", NULL
2330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2334 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2338 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2340 wxPyEndAllowThreads(__tstate
);
2341 if (PyErr_Occurred()) SWIG_fail
;
2343 resultobj
= PyInt_FromLong((long)result
);
2350 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2351 PyObject
*resultobj
;
2352 wxPoint
*arg1
= (wxPoint
*) 0 ;
2356 PyObject
* obj0
= 0 ;
2357 PyObject
* obj1
= 0 ;
2359 (char *) "self",(char *) "pt", NULL
2362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2366 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2370 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2372 wxPyEndAllowThreads(__tstate
);
2373 if (PyErr_Occurred()) SWIG_fail
;
2375 resultobj
= PyInt_FromLong((long)result
);
2382 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2383 PyObject
*resultobj
;
2384 wxPoint
*arg1
= (wxPoint
*) 0 ;
2388 PyObject
* obj0
= 0 ;
2389 PyObject
* obj1
= 0 ;
2391 (char *) "self",(char *) "pt", NULL
2394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2402 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2404 wxPyEndAllowThreads(__tstate
);
2405 if (PyErr_Occurred()) SWIG_fail
;
2408 wxPoint
* resultptr
;
2409 resultptr
= new wxPoint((wxPoint
&) result
);
2410 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2418 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2419 PyObject
*resultobj
;
2420 wxPoint
*arg1
= (wxPoint
*) 0 ;
2424 PyObject
* obj0
= 0 ;
2425 PyObject
* obj1
= 0 ;
2427 (char *) "self",(char *) "pt", NULL
2430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2434 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2438 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2440 wxPyEndAllowThreads(__tstate
);
2441 if (PyErr_Occurred()) SWIG_fail
;
2444 wxPoint
* resultptr
;
2445 resultptr
= new wxPoint((wxPoint
&) result
);
2446 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2454 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2455 PyObject
*resultobj
;
2456 wxPoint
*arg1
= (wxPoint
*) 0 ;
2460 PyObject
* obj0
= 0 ;
2461 PyObject
* obj1
= 0 ;
2463 (char *) "self",(char *) "pt", NULL
2466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2470 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2475 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2476 result
= (wxPoint
*) &_result_ref
;
2479 wxPyEndAllowThreads(__tstate
);
2480 if (PyErr_Occurred()) SWIG_fail
;
2482 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2489 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2490 PyObject
*resultobj
;
2491 wxPoint
*arg1
= (wxPoint
*) 0 ;
2495 PyObject
* obj0
= 0 ;
2496 PyObject
* obj1
= 0 ;
2498 (char *) "self",(char *) "pt", NULL
2501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2505 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2510 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2511 result
= (wxPoint
*) &_result_ref
;
2514 wxPyEndAllowThreads(__tstate
);
2515 if (PyErr_Occurred()) SWIG_fail
;
2517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2524 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2525 PyObject
*resultobj
;
2526 wxPoint
*arg1
= (wxPoint
*) 0 ;
2529 PyObject
* obj0
= 0 ;
2531 (char *) "self",(char *) "x",(char *) "y", NULL
2534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2538 wxPoint_Set(arg1
,arg2
,arg3
);
2540 wxPyEndAllowThreads(__tstate
);
2541 if (PyErr_Occurred()) SWIG_fail
;
2543 Py_INCREF(Py_None
); resultobj
= Py_None
;
2550 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2551 PyObject
*resultobj
;
2552 wxPoint
*arg1
= (wxPoint
*) 0 ;
2554 PyObject
* obj0
= 0 ;
2556 (char *) "self", NULL
2559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2563 result
= (PyObject
*)wxPoint_Get(arg1
);
2565 wxPyEndAllowThreads(__tstate
);
2566 if (PyErr_Occurred()) SWIG_fail
;
2575 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2577 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2578 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2580 return Py_BuildValue((char *)"");
2582 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2583 PyObject
*resultobj
;
2584 int arg1
= (int) 0 ;
2585 int arg2
= (int) 0 ;
2586 int arg3
= (int) 0 ;
2587 int arg4
= (int) 0 ;
2590 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2596 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2598 wxPyEndAllowThreads(__tstate
);
2599 if (PyErr_Occurred()) SWIG_fail
;
2601 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2608 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2609 PyObject
*resultobj
;
2615 PyObject
* obj0
= 0 ;
2616 PyObject
* obj1
= 0 ;
2618 (char *) "topLeft",(char *) "bottomRight", NULL
2621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2624 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2628 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2632 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2634 wxPyEndAllowThreads(__tstate
);
2635 if (PyErr_Occurred()) SWIG_fail
;
2637 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2644 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2645 PyObject
*resultobj
;
2651 PyObject
* obj0
= 0 ;
2652 PyObject
* obj1
= 0 ;
2654 (char *) "pos",(char *) "size", NULL
2657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2660 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2664 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2668 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2670 wxPyEndAllowThreads(__tstate
);
2671 if (PyErr_Occurred()) SWIG_fail
;
2673 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2680 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2681 PyObject
*resultobj
;
2682 wxRect
*arg1
= (wxRect
*) 0 ;
2683 PyObject
* obj0
= 0 ;
2685 (char *) "self", NULL
2688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2694 wxPyEndAllowThreads(__tstate
);
2695 if (PyErr_Occurred()) SWIG_fail
;
2697 Py_INCREF(Py_None
); resultobj
= Py_None
;
2704 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2705 PyObject
*resultobj
;
2706 wxRect
*arg1
= (wxRect
*) 0 ;
2708 PyObject
* obj0
= 0 ;
2710 (char *) "self", NULL
2713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2717 result
= (int)((wxRect
const *)arg1
)->GetX();
2719 wxPyEndAllowThreads(__tstate
);
2720 if (PyErr_Occurred()) SWIG_fail
;
2722 resultobj
= PyInt_FromLong((long)result
);
2729 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2730 PyObject
*resultobj
;
2731 wxRect
*arg1
= (wxRect
*) 0 ;
2733 PyObject
* obj0
= 0 ;
2735 (char *) "self",(char *) "x", NULL
2738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2744 wxPyEndAllowThreads(__tstate
);
2745 if (PyErr_Occurred()) SWIG_fail
;
2747 Py_INCREF(Py_None
); resultobj
= Py_None
;
2754 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2755 PyObject
*resultobj
;
2756 wxRect
*arg1
= (wxRect
*) 0 ;
2758 PyObject
* obj0
= 0 ;
2760 (char *) "self", NULL
2763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2767 result
= (int)(arg1
)->GetY();
2769 wxPyEndAllowThreads(__tstate
);
2770 if (PyErr_Occurred()) SWIG_fail
;
2772 resultobj
= PyInt_FromLong((long)result
);
2779 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2780 PyObject
*resultobj
;
2781 wxRect
*arg1
= (wxRect
*) 0 ;
2783 PyObject
* obj0
= 0 ;
2785 (char *) "self",(char *) "y", NULL
2788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2794 wxPyEndAllowThreads(__tstate
);
2795 if (PyErr_Occurred()) SWIG_fail
;
2797 Py_INCREF(Py_None
); resultobj
= Py_None
;
2804 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2805 PyObject
*resultobj
;
2806 wxRect
*arg1
= (wxRect
*) 0 ;
2808 PyObject
* obj0
= 0 ;
2810 (char *) "self", NULL
2813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2817 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2819 wxPyEndAllowThreads(__tstate
);
2820 if (PyErr_Occurred()) SWIG_fail
;
2822 resultobj
= PyInt_FromLong((long)result
);
2829 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2830 PyObject
*resultobj
;
2831 wxRect
*arg1
= (wxRect
*) 0 ;
2833 PyObject
* obj0
= 0 ;
2835 (char *) "self",(char *) "w", NULL
2838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2842 (arg1
)->SetWidth(arg2
);
2844 wxPyEndAllowThreads(__tstate
);
2845 if (PyErr_Occurred()) SWIG_fail
;
2847 Py_INCREF(Py_None
); resultobj
= Py_None
;
2854 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2855 PyObject
*resultobj
;
2856 wxRect
*arg1
= (wxRect
*) 0 ;
2858 PyObject
* obj0
= 0 ;
2860 (char *) "self", NULL
2863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2867 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2869 wxPyEndAllowThreads(__tstate
);
2870 if (PyErr_Occurred()) SWIG_fail
;
2872 resultobj
= PyInt_FromLong((long)result
);
2879 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2880 PyObject
*resultobj
;
2881 wxRect
*arg1
= (wxRect
*) 0 ;
2883 PyObject
* obj0
= 0 ;
2885 (char *) "self",(char *) "h", NULL
2888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2892 (arg1
)->SetHeight(arg2
);
2894 wxPyEndAllowThreads(__tstate
);
2895 if (PyErr_Occurred()) SWIG_fail
;
2897 Py_INCREF(Py_None
); resultobj
= Py_None
;
2904 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2905 PyObject
*resultobj
;
2906 wxRect
*arg1
= (wxRect
*) 0 ;
2908 PyObject
* obj0
= 0 ;
2910 (char *) "self", NULL
2913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2917 result
= ((wxRect
const *)arg1
)->GetPosition();
2919 wxPyEndAllowThreads(__tstate
);
2920 if (PyErr_Occurred()) SWIG_fail
;
2923 wxPoint
* resultptr
;
2924 resultptr
= new wxPoint((wxPoint
&) result
);
2925 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2933 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2934 PyObject
*resultobj
;
2935 wxRect
*arg1
= (wxRect
*) 0 ;
2938 PyObject
* obj0
= 0 ;
2939 PyObject
* obj1
= 0 ;
2941 (char *) "self",(char *) "p", NULL
2944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2948 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2952 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
2954 wxPyEndAllowThreads(__tstate
);
2955 if (PyErr_Occurred()) SWIG_fail
;
2957 Py_INCREF(Py_None
); resultobj
= Py_None
;
2964 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2965 PyObject
*resultobj
;
2966 wxRect
*arg1
= (wxRect
*) 0 ;
2968 PyObject
* obj0
= 0 ;
2970 (char *) "self", NULL
2973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
2974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2977 result
= ((wxRect
const *)arg1
)->GetSize();
2979 wxPyEndAllowThreads(__tstate
);
2980 if (PyErr_Occurred()) SWIG_fail
;
2984 resultptr
= new wxSize((wxSize
&) result
);
2985 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
2993 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2994 PyObject
*resultobj
;
2995 wxRect
*arg1
= (wxRect
*) 0 ;
2998 PyObject
* obj0
= 0 ;
2999 PyObject
* obj1
= 0 ;
3001 (char *) "self",(char *) "s", NULL
3004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3008 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3012 (arg1
)->SetSize((wxSize
const &)*arg2
);
3014 wxPyEndAllowThreads(__tstate
);
3015 if (PyErr_Occurred()) SWIG_fail
;
3017 Py_INCREF(Py_None
); resultobj
= Py_None
;
3024 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3025 PyObject
*resultobj
;
3026 wxRect
*arg1
= (wxRect
*) 0 ;
3028 PyObject
* obj0
= 0 ;
3030 (char *) "self", NULL
3033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3037 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3039 wxPyEndAllowThreads(__tstate
);
3040 if (PyErr_Occurred()) SWIG_fail
;
3042 resultobj
= PyInt_FromLong((long)result
);
3049 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3050 PyObject
*resultobj
;
3051 wxRect
*arg1
= (wxRect
*) 0 ;
3053 PyObject
* obj0
= 0 ;
3055 (char *) "self", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3062 result
= (int)((wxRect
const *)arg1
)->GetTop();
3064 wxPyEndAllowThreads(__tstate
);
3065 if (PyErr_Occurred()) SWIG_fail
;
3067 resultobj
= PyInt_FromLong((long)result
);
3074 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3075 PyObject
*resultobj
;
3076 wxRect
*arg1
= (wxRect
*) 0 ;
3078 PyObject
* obj0
= 0 ;
3080 (char *) "self", NULL
3083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3087 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3089 wxPyEndAllowThreads(__tstate
);
3090 if (PyErr_Occurred()) SWIG_fail
;
3092 resultobj
= PyInt_FromLong((long)result
);
3099 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3100 PyObject
*resultobj
;
3101 wxRect
*arg1
= (wxRect
*) 0 ;
3103 PyObject
* obj0
= 0 ;
3105 (char *) "self", NULL
3108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3112 result
= (int)((wxRect
const *)arg1
)->GetRight();
3114 wxPyEndAllowThreads(__tstate
);
3115 if (PyErr_Occurred()) SWIG_fail
;
3117 resultobj
= PyInt_FromLong((long)result
);
3124 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3125 PyObject
*resultobj
;
3126 wxRect
*arg1
= (wxRect
*) 0 ;
3128 PyObject
* obj0
= 0 ;
3130 (char *) "self",(char *) "left", NULL
3133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3137 (arg1
)->SetLeft(arg2
);
3139 wxPyEndAllowThreads(__tstate
);
3140 if (PyErr_Occurred()) SWIG_fail
;
3142 Py_INCREF(Py_None
); resultobj
= Py_None
;
3149 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3150 PyObject
*resultobj
;
3151 wxRect
*arg1
= (wxRect
*) 0 ;
3153 PyObject
* obj0
= 0 ;
3155 (char *) "self",(char *) "right", NULL
3158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3162 (arg1
)->SetRight(arg2
);
3164 wxPyEndAllowThreads(__tstate
);
3165 if (PyErr_Occurred()) SWIG_fail
;
3167 Py_INCREF(Py_None
); resultobj
= Py_None
;
3174 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3175 PyObject
*resultobj
;
3176 wxRect
*arg1
= (wxRect
*) 0 ;
3178 PyObject
* obj0
= 0 ;
3180 (char *) "self",(char *) "top", NULL
3183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3187 (arg1
)->SetTop(arg2
);
3189 wxPyEndAllowThreads(__tstate
);
3190 if (PyErr_Occurred()) SWIG_fail
;
3192 Py_INCREF(Py_None
); resultobj
= Py_None
;
3199 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3200 PyObject
*resultobj
;
3201 wxRect
*arg1
= (wxRect
*) 0 ;
3203 PyObject
* obj0
= 0 ;
3205 (char *) "self",(char *) "bottom", NULL
3208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3212 (arg1
)->SetBottom(arg2
);
3214 wxPyEndAllowThreads(__tstate
);
3215 if (PyErr_Occurred()) SWIG_fail
;
3217 Py_INCREF(Py_None
); resultobj
= Py_None
;
3224 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3225 PyObject
*resultobj
;
3226 wxRect
*arg1
= (wxRect
*) 0 ;
3230 PyObject
* obj0
= 0 ;
3232 (char *) "self",(char *) "dx",(char *) "dy", NULL
3235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3238 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3240 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3241 result
= (wxRect
*) &_result_ref
;
3244 wxPyEndAllowThreads(__tstate
);
3245 if (PyErr_Occurred()) SWIG_fail
;
3247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3254 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3255 PyObject
*resultobj
;
3256 wxRect
*arg1
= (wxRect
*) 0 ;
3260 PyObject
* obj0
= 0 ;
3262 (char *) "self",(char *) "dx",(char *) "dy", NULL
3265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3270 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3271 result
= (wxRect
*) &_result_ref
;
3274 wxPyEndAllowThreads(__tstate
);
3275 if (PyErr_Occurred()) SWIG_fail
;
3277 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3284 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3285 PyObject
*resultobj
;
3286 wxRect
*arg1
= (wxRect
*) 0 ;
3289 PyObject
* obj0
= 0 ;
3291 (char *) "self",(char *) "dx",(char *) "dy", NULL
3294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3298 (arg1
)->Offset(arg2
,arg3
);
3300 wxPyEndAllowThreads(__tstate
);
3301 if (PyErr_Occurred()) SWIG_fail
;
3303 Py_INCREF(Py_None
); resultobj
= Py_None
;
3310 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3311 PyObject
*resultobj
;
3312 wxRect
*arg1
= (wxRect
*) 0 ;
3315 PyObject
* obj0
= 0 ;
3316 PyObject
* obj1
= 0 ;
3318 (char *) "self",(char *) "pt", NULL
3321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3325 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3329 (arg1
)->Offset((wxPoint
const &)*arg2
);
3331 wxPyEndAllowThreads(__tstate
);
3332 if (PyErr_Occurred()) SWIG_fail
;
3334 Py_INCREF(Py_None
); resultobj
= Py_None
;
3341 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3342 PyObject
*resultobj
;
3343 wxRect
*arg1
= (wxRect
*) 0 ;
3347 PyObject
* obj0
= 0 ;
3348 PyObject
* obj1
= 0 ;
3350 (char *) "self",(char *) "rect", NULL
3353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3357 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3362 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3363 result
= (wxRect
*) &_result_ref
;
3366 wxPyEndAllowThreads(__tstate
);
3367 if (PyErr_Occurred()) SWIG_fail
;
3369 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3376 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3377 PyObject
*resultobj
;
3378 wxRect
*arg1
= (wxRect
*) 0 ;
3382 PyObject
* obj0
= 0 ;
3383 PyObject
* obj1
= 0 ;
3385 (char *) "self",(char *) "rect", NULL
3388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3392 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3396 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3398 wxPyEndAllowThreads(__tstate
);
3399 if (PyErr_Occurred()) SWIG_fail
;
3403 resultptr
= new wxRect((wxRect
&) result
);
3404 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3412 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3413 PyObject
*resultobj
;
3414 wxRect
*arg1
= (wxRect
*) 0 ;
3418 PyObject
* obj0
= 0 ;
3419 PyObject
* obj1
= 0 ;
3421 (char *) "self",(char *) "rect", NULL
3424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3428 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3433 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3434 result
= (wxRect
*) &_result_ref
;
3437 wxPyEndAllowThreads(__tstate
);
3438 if (PyErr_Occurred()) SWIG_fail
;
3440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3447 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3448 PyObject
*resultobj
;
3449 wxRect
*arg1
= (wxRect
*) 0 ;
3453 PyObject
* obj0
= 0 ;
3454 PyObject
* obj1
= 0 ;
3456 (char *) "self",(char *) "rect", NULL
3459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3463 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3467 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3469 wxPyEndAllowThreads(__tstate
);
3470 if (PyErr_Occurred()) SWIG_fail
;
3472 resultobj
= PyInt_FromLong((long)result
);
3479 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3480 PyObject
*resultobj
;
3481 wxRect
*arg1
= (wxRect
*) 0 ;
3485 PyObject
* obj0
= 0 ;
3486 PyObject
* obj1
= 0 ;
3488 (char *) "self",(char *) "rect", NULL
3491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3495 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3499 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3501 wxPyEndAllowThreads(__tstate
);
3502 if (PyErr_Occurred()) SWIG_fail
;
3504 resultobj
= PyInt_FromLong((long)result
);
3511 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3512 PyObject
*resultobj
;
3513 wxRect
*arg1
= (wxRect
*) 0 ;
3517 PyObject
* obj0
= 0 ;
3519 (char *) "self",(char *) "x",(char *) "y", NULL
3522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3526 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3528 wxPyEndAllowThreads(__tstate
);
3529 if (PyErr_Occurred()) SWIG_fail
;
3531 resultobj
= PyInt_FromLong((long)result
);
3538 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3539 PyObject
*resultobj
;
3540 wxRect
*arg1
= (wxRect
*) 0 ;
3544 PyObject
* obj0
= 0 ;
3545 PyObject
* obj1
= 0 ;
3547 (char *) "self",(char *) "pt", NULL
3550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3554 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3558 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3560 wxPyEndAllowThreads(__tstate
);
3561 if (PyErr_Occurred()) SWIG_fail
;
3563 resultobj
= PyInt_FromLong((long)result
);
3570 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3571 PyObject
*resultobj
;
3572 wxRect
*arg1
= (wxRect
*) 0 ;
3576 PyObject
* obj0
= 0 ;
3577 PyObject
* obj1
= 0 ;
3579 (char *) "self",(char *) "rect", NULL
3582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3586 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3590 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3592 wxPyEndAllowThreads(__tstate
);
3593 if (PyErr_Occurred()) SWIG_fail
;
3595 resultobj
= PyInt_FromLong((long)result
);
3602 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3603 PyObject
*resultobj
;
3604 wxRect
*arg1
= (wxRect
*) 0 ;
3606 PyObject
* obj0
= 0 ;
3608 (char *) "self",(char *) "x", NULL
3611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3613 if (arg1
) (arg1
)->x
= arg2
;
3615 Py_INCREF(Py_None
); resultobj
= Py_None
;
3622 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3623 PyObject
*resultobj
;
3624 wxRect
*arg1
= (wxRect
*) 0 ;
3626 PyObject
* obj0
= 0 ;
3628 (char *) "self", NULL
3631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3633 result
= (int) ((arg1
)->x
);
3635 resultobj
= PyInt_FromLong((long)result
);
3642 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3643 PyObject
*resultobj
;
3644 wxRect
*arg1
= (wxRect
*) 0 ;
3646 PyObject
* obj0
= 0 ;
3648 (char *) "self",(char *) "y", NULL
3651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3653 if (arg1
) (arg1
)->y
= arg2
;
3655 Py_INCREF(Py_None
); resultobj
= Py_None
;
3662 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3663 PyObject
*resultobj
;
3664 wxRect
*arg1
= (wxRect
*) 0 ;
3666 PyObject
* obj0
= 0 ;
3668 (char *) "self", NULL
3671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3673 result
= (int) ((arg1
)->y
);
3675 resultobj
= PyInt_FromLong((long)result
);
3682 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3683 PyObject
*resultobj
;
3684 wxRect
*arg1
= (wxRect
*) 0 ;
3686 PyObject
* obj0
= 0 ;
3688 (char *) "self",(char *) "width", NULL
3691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3693 if (arg1
) (arg1
)->width
= arg2
;
3695 Py_INCREF(Py_None
); resultobj
= Py_None
;
3702 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3703 PyObject
*resultobj
;
3704 wxRect
*arg1
= (wxRect
*) 0 ;
3706 PyObject
* obj0
= 0 ;
3708 (char *) "self", NULL
3711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3712 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3713 result
= (int) ((arg1
)->width
);
3715 resultobj
= PyInt_FromLong((long)result
);
3722 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3723 PyObject
*resultobj
;
3724 wxRect
*arg1
= (wxRect
*) 0 ;
3726 PyObject
* obj0
= 0 ;
3728 (char *) "self",(char *) "height", NULL
3731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3733 if (arg1
) (arg1
)->height
= arg2
;
3735 Py_INCREF(Py_None
); resultobj
= Py_None
;
3742 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3743 PyObject
*resultobj
;
3744 wxRect
*arg1
= (wxRect
*) 0 ;
3746 PyObject
* obj0
= 0 ;
3748 (char *) "self", NULL
3751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3753 result
= (int) ((arg1
)->height
);
3755 resultobj
= PyInt_FromLong((long)result
);
3762 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3763 PyObject
*resultobj
;
3764 wxRect
*arg1
= (wxRect
*) 0 ;
3765 int arg2
= (int) 0 ;
3766 int arg3
= (int) 0 ;
3767 int arg4
= (int) 0 ;
3768 int arg5
= (int) 0 ;
3769 PyObject
* obj0
= 0 ;
3771 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3778 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3780 wxPyEndAllowThreads(__tstate
);
3781 if (PyErr_Occurred()) SWIG_fail
;
3783 Py_INCREF(Py_None
); resultobj
= Py_None
;
3790 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3791 PyObject
*resultobj
;
3792 wxRect
*arg1
= (wxRect
*) 0 ;
3794 PyObject
* obj0
= 0 ;
3796 (char *) "self", NULL
3799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
3800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3803 result
= (PyObject
*)wxRect_Get(arg1
);
3805 wxPyEndAllowThreads(__tstate
);
3806 if (PyErr_Occurred()) SWIG_fail
;
3815 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3817 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3818 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3820 return Py_BuildValue((char *)"");
3822 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3823 PyObject
*resultobj
;
3824 wxRect
*arg1
= (wxRect
*) 0 ;
3825 wxRect
*arg2
= (wxRect
*) 0 ;
3827 PyObject
* obj0
= 0 ;
3828 PyObject
* obj1
= 0 ;
3830 (char *) "r1",(char *) "r2", NULL
3833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3838 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3840 wxPyEndAllowThreads(__tstate
);
3841 if (PyErr_Occurred()) SWIG_fail
;
3850 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3851 PyObject
*resultobj
;
3852 double arg1
= (double) 0.0 ;
3853 double arg2
= (double) 0.0 ;
3856 (char *) "x",(char *) "y", NULL
3859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3862 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3864 wxPyEndAllowThreads(__tstate
);
3865 if (PyErr_Occurred()) SWIG_fail
;
3867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3874 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3875 PyObject
*resultobj
;
3876 wxPoint2D
*arg1
= 0 ;
3879 PyObject
* obj0
= 0 ;
3884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
3887 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
3893 wxPyEndAllowThreads(__tstate
);
3894 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3903 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3904 PyObject
*resultobj
;
3908 PyObject
* obj0
= 0 ;
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
3916 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3920 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
3922 wxPyEndAllowThreads(__tstate
);
3923 if (PyErr_Occurred()) SWIG_fail
;
3925 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3932 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3933 PyObject
*resultobj
;
3934 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3935 int *arg2
= (int *) 0 ;
3936 int *arg3
= (int *) 0 ;
3939 PyObject
* obj0
= 0 ;
3941 (char *) "self", NULL
3946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
3947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3950 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
3952 wxPyEndAllowThreads(__tstate
);
3953 if (PyErr_Occurred()) SWIG_fail
;
3955 Py_INCREF(Py_None
); resultobj
= Py_None
;
3957 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3958 resultobj
= t_output_helper(resultobj
,o
);
3961 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3962 resultobj
= t_output_helper(resultobj
,o
);
3970 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3971 PyObject
*resultobj
;
3972 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3973 int *arg2
= (int *) 0 ;
3974 int *arg3
= (int *) 0 ;
3977 PyObject
* obj0
= 0 ;
3979 (char *) "self", NULL
3984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
3985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3988 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 Py_INCREF(Py_None
); resultobj
= Py_None
;
3995 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3996 resultobj
= t_output_helper(resultobj
,o
);
3999 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4000 resultobj
= t_output_helper(resultobj
,o
);
4008 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4009 PyObject
*resultobj
;
4010 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4012 PyObject
* obj0
= 0 ;
4014 (char *) "self", NULL
4017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4021 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= PyFloat_FromDouble(result
);
4033 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4034 PyObject
*resultobj
;
4035 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4037 PyObject
* obj0
= 0 ;
4039 (char *) "self", NULL
4042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4046 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4048 wxPyEndAllowThreads(__tstate
);
4049 if (PyErr_Occurred()) SWIG_fail
;
4051 resultobj
= PyFloat_FromDouble(result
);
4058 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4059 PyObject
*resultobj
;
4060 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4062 PyObject
* obj0
= 0 ;
4064 (char *) "self",(char *) "length", NULL
4067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4071 (arg1
)->SetVectorLength(arg2
);
4073 wxPyEndAllowThreads(__tstate
);
4074 if (PyErr_Occurred()) SWIG_fail
;
4076 Py_INCREF(Py_None
); resultobj
= Py_None
;
4083 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4084 PyObject
*resultobj
;
4085 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4087 PyObject
* obj0
= 0 ;
4089 (char *) "self",(char *) "degrees", NULL
4092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4096 (arg1
)->SetVectorAngle(arg2
);
4098 wxPyEndAllowThreads(__tstate
);
4099 if (PyErr_Occurred()) SWIG_fail
;
4101 Py_INCREF(Py_None
); resultobj
= Py_None
;
4108 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4109 PyObject
*resultobj
;
4110 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4111 wxPoint2D
*arg2
= 0 ;
4114 PyObject
* obj0
= 0 ;
4115 PyObject
* obj1
= 0 ;
4117 (char *) "self",(char *) "pt", NULL
4120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4124 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4128 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4130 wxPyEndAllowThreads(__tstate
);
4131 if (PyErr_Occurred()) SWIG_fail
;
4133 resultobj
= PyFloat_FromDouble(result
);
4140 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4141 PyObject
*resultobj
;
4142 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4143 wxPoint2D
*arg2
= 0 ;
4146 PyObject
* obj0
= 0 ;
4147 PyObject
* obj1
= 0 ;
4149 (char *) "self",(char *) "pt", NULL
4152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4156 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= PyFloat_FromDouble(result
);
4172 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4175 wxPoint2D
*arg2
= 0 ;
4178 PyObject
* obj0
= 0 ;
4179 PyObject
* obj1
= 0 ;
4181 (char *) "self",(char *) "vec", NULL
4184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4188 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4192 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4194 wxPyEndAllowThreads(__tstate
);
4195 if (PyErr_Occurred()) SWIG_fail
;
4197 resultobj
= PyFloat_FromDouble(result
);
4204 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4205 PyObject
*resultobj
;
4206 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4207 wxPoint2D
*arg2
= 0 ;
4210 PyObject
* obj0
= 0 ;
4211 PyObject
* obj1
= 0 ;
4213 (char *) "self",(char *) "vec", NULL
4216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4220 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4224 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4226 wxPyEndAllowThreads(__tstate
);
4227 if (PyErr_Occurred()) SWIG_fail
;
4229 resultobj
= PyFloat_FromDouble(result
);
4236 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4237 PyObject
*resultobj
;
4238 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4240 PyObject
* obj0
= 0 ;
4242 (char *) "self", NULL
4245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4249 result
= (arg1
)->operator -();
4251 wxPyEndAllowThreads(__tstate
);
4252 if (PyErr_Occurred()) SWIG_fail
;
4255 wxPoint2D
* resultptr
;
4256 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4257 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4265 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4266 PyObject
*resultobj
;
4267 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4268 wxPoint2D
*arg2
= 0 ;
4271 PyObject
* obj0
= 0 ;
4272 PyObject
* obj1
= 0 ;
4274 (char *) "self",(char *) "pt", NULL
4277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4281 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4286 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4287 result
= (wxPoint2D
*) &_result_ref
;
4290 wxPyEndAllowThreads(__tstate
);
4291 if (PyErr_Occurred()) SWIG_fail
;
4293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4300 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4301 PyObject
*resultobj
;
4302 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4303 wxPoint2D
*arg2
= 0 ;
4306 PyObject
* obj0
= 0 ;
4307 PyObject
* obj1
= 0 ;
4309 (char *) "self",(char *) "pt", NULL
4312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4316 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4321 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4322 result
= (wxPoint2D
*) &_result_ref
;
4325 wxPyEndAllowThreads(__tstate
);
4326 if (PyErr_Occurred()) SWIG_fail
;
4328 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4335 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4336 PyObject
*resultobj
;
4337 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4338 wxPoint2D
*arg2
= 0 ;
4341 PyObject
* obj0
= 0 ;
4342 PyObject
* obj1
= 0 ;
4344 (char *) "self",(char *) "pt", NULL
4347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4351 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4356 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4357 result
= (wxPoint2D
*) &_result_ref
;
4360 wxPyEndAllowThreads(__tstate
);
4361 if (PyErr_Occurred()) SWIG_fail
;
4363 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4370 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4371 PyObject
*resultobj
;
4372 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4373 wxPoint2D
*arg2
= 0 ;
4376 PyObject
* obj0
= 0 ;
4377 PyObject
* obj1
= 0 ;
4379 (char *) "self",(char *) "pt", NULL
4382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4386 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4392 result
= (wxPoint2D
*) &_result_ref
;
4395 wxPyEndAllowThreads(__tstate
);
4396 if (PyErr_Occurred()) SWIG_fail
;
4398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4405 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4406 PyObject
*resultobj
;
4407 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4408 wxPoint2D
*arg2
= 0 ;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4414 (char *) "self",(char *) "pt", NULL
4417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4421 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4425 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4427 wxPyEndAllowThreads(__tstate
);
4428 if (PyErr_Occurred()) SWIG_fail
;
4430 resultobj
= PyInt_FromLong((long)result
);
4437 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4438 PyObject
*resultobj
;
4439 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4440 wxPoint2D
*arg2
= 0 ;
4443 PyObject
* obj0
= 0 ;
4444 PyObject
* obj1
= 0 ;
4446 (char *) "self",(char *) "pt", NULL
4449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4453 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4457 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= PyInt_FromLong((long)result
);
4469 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
;
4471 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4473 PyObject
* obj0
= 0 ;
4475 (char *) "self",(char *) "m_x", NULL
4478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4480 if (arg1
) (arg1
)->m_x
= arg2
;
4482 Py_INCREF(Py_None
); resultobj
= Py_None
;
4489 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4490 PyObject
*resultobj
;
4491 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4493 PyObject
* obj0
= 0 ;
4495 (char *) "self", NULL
4498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4500 result
= (double) ((arg1
)->m_x
);
4502 resultobj
= PyFloat_FromDouble(result
);
4509 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4510 PyObject
*resultobj
;
4511 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4513 PyObject
* obj0
= 0 ;
4515 (char *) "self",(char *) "m_y", NULL
4518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4520 if (arg1
) (arg1
)->m_y
= arg2
;
4522 Py_INCREF(Py_None
); resultobj
= Py_None
;
4529 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4530 PyObject
*resultobj
;
4531 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4533 PyObject
* obj0
= 0 ;
4535 (char *) "self", NULL
4538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4540 result
= (double) ((arg1
)->m_y
);
4542 resultobj
= PyFloat_FromDouble(result
);
4549 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4550 PyObject
*resultobj
;
4551 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4552 double arg2
= (double) 0 ;
4553 double arg3
= (double) 0 ;
4554 PyObject
* obj0
= 0 ;
4556 (char *) "self",(char *) "x",(char *) "y", NULL
4559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4563 wxPoint2D_Set(arg1
,arg2
,arg3
);
4565 wxPyEndAllowThreads(__tstate
);
4566 if (PyErr_Occurred()) SWIG_fail
;
4568 Py_INCREF(Py_None
); resultobj
= Py_None
;
4575 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4576 PyObject
*resultobj
;
4577 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4579 PyObject
* obj0
= 0 ;
4581 (char *) "self", NULL
4584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
4585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4588 result
= (PyObject
*)wxPoint2D_Get(arg1
);
4590 wxPyEndAllowThreads(__tstate
);
4591 if (PyErr_Occurred()) SWIG_fail
;
4600 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4602 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4603 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4605 return Py_BuildValue((char *)"");
4607 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4608 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4613 static PyObject
*_wrap_DefaultPosition_get() {
4616 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4621 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4622 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4627 static PyObject
*_wrap_DefaultSize_get() {
4630 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4635 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4636 PyObject
*resultobj
;
4637 PyObject
*arg1
= (PyObject
*) 0 ;
4638 wxPyInputStream
*result
;
4639 PyObject
* obj0
= 0 ;
4644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4648 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4650 wxPyEndAllowThreads(__tstate
);
4651 if (PyErr_Occurred()) SWIG_fail
;
4653 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4660 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4661 PyObject
*resultobj
;
4662 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4663 PyObject
* obj0
= 0 ;
4665 (char *) "self", NULL
4668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4674 wxPyEndAllowThreads(__tstate
);
4675 if (PyErr_Occurred()) SWIG_fail
;
4677 Py_INCREF(Py_None
); resultobj
= Py_None
;
4684 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4685 PyObject
*resultobj
;
4686 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4689 (char *) "self", NULL
4692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4698 wxPyEndAllowThreads(__tstate
);
4699 if (PyErr_Occurred()) SWIG_fail
;
4701 Py_INCREF(Py_None
); resultobj
= Py_None
;
4708 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4709 PyObject
*resultobj
;
4710 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4712 PyObject
* obj0
= 0 ;
4714 (char *) "self", NULL
4717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (bool)(arg1
)->eof();
4723 wxPyEndAllowThreads(__tstate
);
4724 if (PyErr_Occurred()) SWIG_fail
;
4726 resultobj
= PyInt_FromLong((long)result
);
4733 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4734 PyObject
*resultobj
;
4735 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4736 int arg2
= (int) -1 ;
4738 PyObject
* obj0
= 0 ;
4740 (char *) "self",(char *) "size", NULL
4743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4747 result
= (PyObject
*)(arg1
)->read(arg2
);
4749 wxPyEndAllowThreads(__tstate
);
4750 if (PyErr_Occurred()) SWIG_fail
;
4759 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4760 PyObject
*resultobj
;
4761 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4762 int arg2
= (int) -1 ;
4764 PyObject
* obj0
= 0 ;
4766 (char *) "self",(char *) "size", NULL
4769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4773 result
= (PyObject
*)(arg1
)->readline(arg2
);
4775 wxPyEndAllowThreads(__tstate
);
4776 if (PyErr_Occurred()) SWIG_fail
;
4785 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4786 PyObject
*resultobj
;
4787 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4788 int arg2
= (int) -1 ;
4790 PyObject
* obj0
= 0 ;
4792 (char *) "self",(char *) "sizehint", NULL
4795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4799 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4811 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4812 PyObject
*resultobj
;
4813 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4815 int arg3
= (int) 0 ;
4816 PyObject
* obj0
= 0 ;
4818 (char *) "self",(char *) "offset",(char *) "whence", NULL
4821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4825 (arg1
)->seek(arg2
,arg3
);
4827 wxPyEndAllowThreads(__tstate
);
4828 if (PyErr_Occurred()) SWIG_fail
;
4830 Py_INCREF(Py_None
); resultobj
= Py_None
;
4837 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4838 PyObject
*resultobj
;
4839 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4841 PyObject
* obj0
= 0 ;
4843 (char *) "self", NULL
4846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4850 result
= (int)(arg1
)->tell();
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= PyInt_FromLong((long)result
);
4862 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4863 PyObject
*resultobj
;
4864 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4866 PyObject
* obj0
= 0 ;
4868 (char *) "self", NULL
4871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
4872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4875 result
= (char)(arg1
)->Peek();
4877 wxPyEndAllowThreads(__tstate
);
4878 if (PyErr_Occurred()) SWIG_fail
;
4880 resultobj
= Py_BuildValue((char*)"c",result
);
4887 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4888 PyObject
*resultobj
;
4889 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4891 PyObject
* obj0
= 0 ;
4893 (char *) "self", NULL
4896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
4897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 result
= (char)(arg1
)->GetC();
4902 wxPyEndAllowThreads(__tstate
);
4903 if (PyErr_Occurred()) SWIG_fail
;
4905 resultobj
= Py_BuildValue((char*)"c",result
);
4912 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4913 PyObject
*resultobj
;
4914 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4916 PyObject
* obj0
= 0 ;
4918 (char *) "self", NULL
4921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
4922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4925 result
= (size_t)(arg1
)->LastRead();
4927 wxPyEndAllowThreads(__tstate
);
4928 if (PyErr_Occurred()) SWIG_fail
;
4930 resultobj
= PyInt_FromLong((long)result
);
4937 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4938 PyObject
*resultobj
;
4939 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4941 PyObject
* obj0
= 0 ;
4943 (char *) "self", NULL
4946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
4947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4950 result
= (bool)(arg1
)->CanRead();
4952 wxPyEndAllowThreads(__tstate
);
4953 if (PyErr_Occurred()) SWIG_fail
;
4955 resultobj
= PyInt_FromLong((long)result
);
4962 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4963 PyObject
*resultobj
;
4964 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4966 PyObject
* obj0
= 0 ;
4968 (char *) "self", NULL
4971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
4972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4975 result
= (bool)(arg1
)->Eof();
4977 wxPyEndAllowThreads(__tstate
);
4978 if (PyErr_Occurred()) SWIG_fail
;
4980 resultobj
= PyInt_FromLong((long)result
);
4987 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4988 PyObject
*resultobj
;
4989 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4992 PyObject
* obj0
= 0 ;
4994 (char *) "self",(char *) "c", NULL
4997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
4998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5001 result
= (bool)(arg1
)->Ungetch(arg2
);
5003 wxPyEndAllowThreads(__tstate
);
5004 if (PyErr_Occurred()) SWIG_fail
;
5006 resultobj
= PyInt_FromLong((long)result
);
5013 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5014 PyObject
*resultobj
;
5015 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5017 int arg3
= (int) wxFromStart
;
5019 PyObject
* obj0
= 0 ;
5021 (char *) "self",(char *) "pos",(char *) "mode", NULL
5024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5028 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5030 wxPyEndAllowThreads(__tstate
);
5031 if (PyErr_Occurred()) SWIG_fail
;
5033 resultobj
= PyInt_FromLong((long)result
);
5040 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5041 PyObject
*resultobj
;
5042 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5044 PyObject
* obj0
= 0 ;
5046 (char *) "self", NULL
5049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (long)(arg1
)->TellI();
5055 wxPyEndAllowThreads(__tstate
);
5056 if (PyErr_Occurred()) SWIG_fail
;
5058 resultobj
= PyInt_FromLong((long)result
);
5065 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5067 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5068 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5070 return Py_BuildValue((char *)"");
5072 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
;
5074 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5075 PyObject
*arg2
= (PyObject
*) 0 ;
5076 PyObject
* obj0
= 0 ;
5077 PyObject
* obj1
= 0 ;
5079 (char *) "self",(char *) "obj", NULL
5082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5087 wxOutputStream_write(arg1
,arg2
);
5089 wxPyEndAllowThreads(__tstate
);
5090 if (PyErr_Occurred()) SWIG_fail
;
5092 Py_INCREF(Py_None
); resultobj
= Py_None
;
5099 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5102 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5104 return Py_BuildValue((char *)"");
5106 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5107 PyObject
*resultobj
;
5108 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5109 wxString
*arg2
= 0 ;
5110 wxString
*arg3
= 0 ;
5111 wxString
*arg4
= 0 ;
5114 wxPyInputStream
*temp1
;
5116 bool temp2
= False
;
5117 bool temp3
= False
;
5118 bool temp4
= False
;
5120 PyObject
* obj0
= 0 ;
5121 PyObject
* obj1
= 0 ;
5122 PyObject
* obj2
= 0 ;
5123 PyObject
* obj3
= 0 ;
5124 PyObject
* obj4
= 0 ;
5126 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5129 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5131 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5132 arg1
= temp1
->m_wxis
;
5135 PyErr_Clear(); // clear the failure of the wxPyConvert above
5136 arg1
= wxPyCBInputStream_create(obj0
, False
);
5138 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5145 arg2
= wxString_in_helper(obj1
);
5146 if (arg2
== NULL
) SWIG_fail
;
5150 arg3
= wxString_in_helper(obj2
);
5151 if (arg3
== NULL
) SWIG_fail
;
5155 arg4
= wxString_in_helper(obj3
);
5156 if (arg4
== NULL
) SWIG_fail
;
5159 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5163 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5165 wxPyEndAllowThreads(__tstate
);
5166 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= wxPyMake_wxObject(result
);
5209 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5210 PyObject
*resultobj
;
5211 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5214 (char *) "self", NULL
5217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5223 wxPyEndAllowThreads(__tstate
);
5224 if (PyErr_Occurred()) SWIG_fail
;
5226 Py_INCREF(Py_None
); resultobj
= Py_None
;
5233 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5234 PyObject
*resultobj
;
5235 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5236 wxInputStream
*result
;
5237 PyObject
* obj0
= 0 ;
5239 (char *) "self", NULL
5242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5246 result
= (wxInputStream
*)(arg1
)->GetStream();
5248 wxPyEndAllowThreads(__tstate
);
5249 if (PyErr_Occurred()) SWIG_fail
;
5252 wxPyInputStream
* _ptr
= NULL
;
5255 _ptr
= new wxPyInputStream(result
);
5257 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5265 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5266 PyObject
*resultobj
;
5267 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5269 PyObject
* obj0
= 0 ;
5271 (char *) "self", NULL
5274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5279 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5280 result
= (wxString
*) &_result_ref
;
5283 wxPyEndAllowThreads(__tstate
);
5284 if (PyErr_Occurred()) SWIG_fail
;
5286 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5293 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5294 PyObject
*resultobj
;
5295 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5297 PyObject
* obj0
= 0 ;
5299 (char *) "self", NULL
5302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5307 wxString
const &_result_ref
= (arg1
)->GetLocation();
5308 result
= (wxString
*) &_result_ref
;
5311 wxPyEndAllowThreads(__tstate
);
5312 if (PyErr_Occurred()) SWIG_fail
;
5314 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5321 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5322 PyObject
*resultobj
;
5323 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5325 PyObject
* obj0
= 0 ;
5327 (char *) "self", NULL
5330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5335 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5336 result
= (wxString
*) &_result_ref
;
5339 wxPyEndAllowThreads(__tstate
);
5340 if (PyErr_Occurred()) SWIG_fail
;
5342 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5349 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5350 PyObject
*resultobj
;
5351 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5353 PyObject
* obj0
= 0 ;
5355 (char *) "self", NULL
5358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5359 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5361 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5362 result
= (arg1
)->GetModificationTime();
5364 wxPyEndAllowThreads(__tstate
);
5365 if (PyErr_Occurred()) SWIG_fail
;
5368 wxDateTime
* resultptr
;
5369 resultptr
= new wxDateTime((wxDateTime
&) result
);
5370 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5378 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5381 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5383 return Py_BuildValue((char *)"");
5385 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5387 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5388 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5390 return Py_BuildValue((char *)"");
5392 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5393 PyObject
*resultobj
;
5394 wxPyFileSystemHandler
*result
;
5399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5402 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5404 wxPyEndAllowThreads(__tstate
);
5405 if (PyErr_Occurred()) SWIG_fail
;
5407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5414 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5415 PyObject
*resultobj
;
5416 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5417 PyObject
*arg2
= (PyObject
*) 0 ;
5418 PyObject
*arg3
= (PyObject
*) 0 ;
5419 PyObject
* obj0
= 0 ;
5420 PyObject
* obj1
= 0 ;
5421 PyObject
* obj2
= 0 ;
5423 (char *) "self",(char *) "self",(char *) "_class", NULL
5426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5434 wxPyEndAllowThreads(__tstate
);
5435 if (PyErr_Occurred()) SWIG_fail
;
5437 Py_INCREF(Py_None
); resultobj
= Py_None
;
5444 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5445 PyObject
*resultobj
;
5446 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5447 wxString
*arg2
= 0 ;
5449 bool temp2
= False
;
5450 PyObject
* obj0
= 0 ;
5451 PyObject
* obj1
= 0 ;
5453 (char *) "self",(char *) "location", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5459 arg2
= wxString_in_helper(obj1
);
5460 if (arg2
== NULL
) SWIG_fail
;
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5467 wxPyEndAllowThreads(__tstate
);
5468 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= PyInt_FromLong((long)result
);
5485 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5486 PyObject
*resultobj
;
5487 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5488 wxFileSystem
*arg2
= 0 ;
5489 wxString
*arg3
= 0 ;
5491 bool temp3
= False
;
5492 PyObject
* obj0
= 0 ;
5493 PyObject
* obj1
= 0 ;
5494 PyObject
* obj2
= 0 ;
5496 (char *) "self",(char *) "fs",(char *) "location", NULL
5499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5501 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5506 arg3
= wxString_in_helper(obj2
);
5507 if (arg3
== NULL
) SWIG_fail
;
5511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5512 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5514 wxPyEndAllowThreads(__tstate
);
5515 if (PyErr_Occurred()) SWIG_fail
;
5518 resultobj
= wxPyMake_wxObject(result
);
5534 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5535 PyObject
*resultobj
;
5536 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5537 wxString
*arg2
= 0 ;
5538 int arg3
= (int) 0 ;
5540 bool temp2
= False
;
5541 PyObject
* obj0
= 0 ;
5542 PyObject
* obj1
= 0 ;
5544 (char *) "self",(char *) "spec",(char *) "flags", NULL
5547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5550 arg2
= wxString_in_helper(obj1
);
5551 if (arg2
== NULL
) SWIG_fail
;
5555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5556 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5558 wxPyEndAllowThreads(__tstate
);
5559 if (PyErr_Occurred()) SWIG_fail
;
5563 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5565 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5582 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5583 PyObject
*resultobj
;
5584 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5586 PyObject
* obj0
= 0 ;
5588 (char *) "self", NULL
5591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5595 result
= (arg1
)->FindNext();
5597 wxPyEndAllowThreads(__tstate
);
5598 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5604 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5613 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5614 PyObject
*resultobj
;
5615 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5616 wxString
*arg2
= 0 ;
5618 bool temp2
= False
;
5619 PyObject
* obj0
= 0 ;
5620 PyObject
* obj1
= 0 ;
5622 (char *) "self",(char *) "location", NULL
5625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5628 arg2
= wxString_in_helper(obj1
);
5629 if (arg2
== NULL
) SWIG_fail
;
5633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5634 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5636 wxPyEndAllowThreads(__tstate
);
5637 if (PyErr_Occurred()) SWIG_fail
;
5641 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5643 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5660 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5661 PyObject
*resultobj
;
5662 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5663 wxString
*arg2
= 0 ;
5665 bool temp2
= False
;
5666 PyObject
* obj0
= 0 ;
5667 PyObject
* obj1
= 0 ;
5669 (char *) "self",(char *) "location", NULL
5672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5675 arg2
= wxString_in_helper(obj1
);
5676 if (arg2
== NULL
) SWIG_fail
;
5680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5681 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5683 wxPyEndAllowThreads(__tstate
);
5684 if (PyErr_Occurred()) SWIG_fail
;
5688 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5690 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5707 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5708 PyObject
*resultobj
;
5709 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5710 wxString
*arg2
= 0 ;
5712 bool temp2
= False
;
5713 PyObject
* obj0
= 0 ;
5714 PyObject
* obj1
= 0 ;
5716 (char *) "self",(char *) "location", NULL
5719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5722 arg2
= wxString_in_helper(obj1
);
5723 if (arg2
== NULL
) SWIG_fail
;
5727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5728 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5754 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5755 PyObject
*resultobj
;
5756 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5757 wxString
*arg2
= 0 ;
5759 bool temp2
= False
;
5760 PyObject
* obj0
= 0 ;
5761 PyObject
* obj1
= 0 ;
5763 (char *) "self",(char *) "location", NULL
5766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5769 arg2
= wxString_in_helper(obj1
);
5770 if (arg2
== NULL
) SWIG_fail
;
5774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5775 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5784 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5801 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5802 PyObject
*resultobj
;
5803 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5804 wxString
*arg2
= 0 ;
5806 bool temp2
= False
;
5807 PyObject
* obj0
= 0 ;
5808 PyObject
* obj1
= 0 ;
5810 (char *) "self",(char *) "location", NULL
5813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5816 arg2
= wxString_in_helper(obj1
);
5817 if (arg2
== NULL
) SWIG_fail
;
5821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5822 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5824 wxPyEndAllowThreads(__tstate
);
5825 if (PyErr_Occurred()) SWIG_fail
;
5829 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5831 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5848 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5850 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5851 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5853 return Py_BuildValue((char *)"");
5855 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5856 PyObject
*resultobj
;
5857 wxFileSystem
*result
;
5862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (wxFileSystem
*)new wxFileSystem();
5867 wxPyEndAllowThreads(__tstate
);
5868 if (PyErr_Occurred()) SWIG_fail
;
5871 resultobj
= wxPyMake_wxObject(result
);
5879 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5880 PyObject
*resultobj
;
5881 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5882 PyObject
* obj0
= 0 ;
5884 (char *) "self", NULL
5887 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
5888 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5893 wxPyEndAllowThreads(__tstate
);
5894 if (PyErr_Occurred()) SWIG_fail
;
5896 Py_INCREF(Py_None
); resultobj
= Py_None
;
5903 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5904 PyObject
*resultobj
;
5905 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5906 wxString
*arg2
= 0 ;
5907 bool arg3
= (bool) False
;
5908 bool temp2
= False
;
5909 PyObject
* obj0
= 0 ;
5910 PyObject
* obj1
= 0 ;
5911 PyObject
* obj2
= 0 ;
5913 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5919 arg2
= wxString_in_helper(obj1
);
5920 if (arg2
== NULL
) SWIG_fail
;
5924 arg3
= PyInt_AsLong(obj2
) ? true : false;
5925 if (PyErr_Occurred()) SWIG_fail
;
5928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5929 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5934 Py_INCREF(Py_None
); resultobj
= Py_None
;
5949 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5950 PyObject
*resultobj
;
5951 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5953 PyObject
* obj0
= 0 ;
5955 (char *) "self", NULL
5958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
5959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5962 result
= (arg1
)->GetPath();
5964 wxPyEndAllowThreads(__tstate
);
5965 if (PyErr_Occurred()) SWIG_fail
;
5969 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5971 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5980 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5981 PyObject
*resultobj
;
5982 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5983 wxString
*arg2
= 0 ;
5985 bool temp2
= False
;
5986 PyObject
* obj0
= 0 ;
5987 PyObject
* obj1
= 0 ;
5989 (char *) "self",(char *) "location", NULL
5992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5995 arg2
= wxString_in_helper(obj1
);
5996 if (arg2
== NULL
) SWIG_fail
;
6000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6001 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6003 wxPyEndAllowThreads(__tstate
);
6004 if (PyErr_Occurred()) SWIG_fail
;
6007 resultobj
= wxPyMake_wxObject(result
);
6023 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6024 PyObject
*resultobj
;
6025 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6026 wxString
*arg2
= 0 ;
6027 int arg3
= (int) 0 ;
6029 bool temp2
= False
;
6030 PyObject
* obj0
= 0 ;
6031 PyObject
* obj1
= 0 ;
6033 (char *) "self",(char *) "spec",(char *) "flags", NULL
6036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6037 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6039 arg2
= wxString_in_helper(obj1
);
6040 if (arg2
== NULL
) SWIG_fail
;
6044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6045 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6047 wxPyEndAllowThreads(__tstate
);
6048 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6054 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6071 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6072 PyObject
*resultobj
;
6073 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6075 PyObject
* obj0
= 0 ;
6077 (char *) "self", NULL
6080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6084 result
= (arg1
)->FindNext();
6086 wxPyEndAllowThreads(__tstate
);
6087 if (PyErr_Occurred()) SWIG_fail
;
6091 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6093 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6102 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6103 PyObject
*resultobj
;
6104 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6105 PyObject
* obj0
= 0 ;
6107 (char *) "handler", NULL
6110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6114 wxFileSystem::AddHandler(arg1
);
6116 wxPyEndAllowThreads(__tstate
);
6117 if (PyErr_Occurred()) SWIG_fail
;
6119 Py_INCREF(Py_None
); resultobj
= Py_None
;
6126 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6127 PyObject
*resultobj
;
6132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6135 wxFileSystem::CleanUpHandlers();
6137 wxPyEndAllowThreads(__tstate
);
6138 if (PyErr_Occurred()) SWIG_fail
;
6140 Py_INCREF(Py_None
); resultobj
= Py_None
;
6147 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6148 PyObject
*resultobj
;
6149 wxString
*arg1
= 0 ;
6151 bool temp1
= False
;
6152 PyObject
* obj0
= 0 ;
6154 (char *) "filename", NULL
6157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6159 arg1
= wxString_in_helper(obj0
);
6160 if (arg1
== NULL
) SWIG_fail
;
6164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6165 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6172 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6174 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6191 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6193 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6194 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6196 return Py_BuildValue((char *)"");
6198 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6199 PyObject
*resultobj
;
6200 wxString
*arg1
= 0 ;
6202 bool temp1
= False
;
6203 PyObject
* obj0
= 0 ;
6205 (char *) "url", NULL
6208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6210 arg1
= wxString_in_helper(obj0
);
6211 if (arg1
== NULL
) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6242 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6243 PyObject
*resultobj
;
6244 wxInternetFSHandler
*result
;
6249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6252 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6254 wxPyEndAllowThreads(__tstate
);
6255 if (PyErr_Occurred()) SWIG_fail
;
6257 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6264 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6265 PyObject
*resultobj
;
6266 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6267 wxString
*arg2
= 0 ;
6269 bool temp2
= False
;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6273 (char *) "self",(char *) "location", NULL
6276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6279 arg2
= wxString_in_helper(obj1
);
6280 if (arg2
== NULL
) SWIG_fail
;
6284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6285 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6287 wxPyEndAllowThreads(__tstate
);
6288 if (PyErr_Occurred()) SWIG_fail
;
6290 resultobj
= PyInt_FromLong((long)result
);
6305 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6306 PyObject
*resultobj
;
6307 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6308 wxFileSystem
*arg2
= 0 ;
6309 wxString
*arg3
= 0 ;
6311 bool temp3
= False
;
6312 PyObject
* obj0
= 0 ;
6313 PyObject
* obj1
= 0 ;
6314 PyObject
* obj2
= 0 ;
6316 (char *) "self",(char *) "fs",(char *) "location", NULL
6319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6326 arg3
= wxString_in_helper(obj2
);
6327 if (arg3
== NULL
) SWIG_fail
;
6331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6332 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6334 wxPyEndAllowThreads(__tstate
);
6335 if (PyErr_Occurred()) SWIG_fail
;
6338 resultobj
= wxPyMake_wxObject(result
);
6354 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6356 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6357 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6359 return Py_BuildValue((char *)"");
6361 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6362 PyObject
*resultobj
;
6363 wxZipFSHandler
*result
;
6368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6371 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6373 wxPyEndAllowThreads(__tstate
);
6374 if (PyErr_Occurred()) SWIG_fail
;
6376 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6383 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6384 PyObject
*resultobj
;
6385 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6386 wxString
*arg2
= 0 ;
6388 bool temp2
= False
;
6389 PyObject
* obj0
= 0 ;
6390 PyObject
* obj1
= 0 ;
6392 (char *) "self",(char *) "location", NULL
6395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6398 arg2
= wxString_in_helper(obj1
);
6399 if (arg2
== NULL
) SWIG_fail
;
6403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6404 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6406 wxPyEndAllowThreads(__tstate
);
6407 if (PyErr_Occurred()) SWIG_fail
;
6409 resultobj
= PyInt_FromLong((long)result
);
6424 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6425 PyObject
*resultobj
;
6426 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6427 wxFileSystem
*arg2
= 0 ;
6428 wxString
*arg3
= 0 ;
6430 bool temp3
= False
;
6431 PyObject
* obj0
= 0 ;
6432 PyObject
* obj1
= 0 ;
6433 PyObject
* obj2
= 0 ;
6435 (char *) "self",(char *) "fs",(char *) "location", NULL
6438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6442 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6445 arg3
= wxString_in_helper(obj2
);
6446 if (arg3
== NULL
) SWIG_fail
;
6450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6451 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6453 wxPyEndAllowThreads(__tstate
);
6454 if (PyErr_Occurred()) SWIG_fail
;
6457 resultobj
= wxPyMake_wxObject(result
);
6473 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6474 PyObject
*resultobj
;
6475 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6476 wxString
*arg2
= 0 ;
6477 int arg3
= (int) 0 ;
6479 bool temp2
= False
;
6480 PyObject
* obj0
= 0 ;
6481 PyObject
* obj1
= 0 ;
6483 (char *) "self",(char *) "spec",(char *) "flags", NULL
6486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6489 arg2
= wxString_in_helper(obj1
);
6490 if (arg2
== NULL
) SWIG_fail
;
6494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6495 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6497 wxPyEndAllowThreads(__tstate
);
6498 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6504 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6521 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6522 PyObject
*resultobj
;
6523 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6525 PyObject
* obj0
= 0 ;
6527 (char *) "self", NULL
6530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6534 result
= (arg1
)->FindNext();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6543 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6552 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6554 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6555 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6557 return Py_BuildValue((char *)"");
6559 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6560 PyObject
*resultobj
;
6561 wxString
*arg1
= 0 ;
6564 bool temp1
= False
;
6565 PyObject
* obj0
= 0 ;
6566 PyObject
* obj1
= 0 ;
6568 (char *) "filename",(char *) "image",(char *) "type", NULL
6571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6573 arg1
= wxString_in_helper(obj0
);
6574 if (arg1
== NULL
) SWIG_fail
;
6577 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6579 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6588 Py_INCREF(Py_None
); resultobj
= Py_None
;
6603 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6604 PyObject
*resultobj
;
6605 wxString
*arg1
= 0 ;
6606 wxBitmap
*arg2
= 0 ;
6608 bool temp1
= False
;
6609 PyObject
* obj0
= 0 ;
6610 PyObject
* obj1
= 0 ;
6612 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6617 arg1
= wxString_in_helper(obj0
);
6618 if (arg1
== NULL
) SWIG_fail
;
6621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6632 Py_INCREF(Py_None
); resultobj
= Py_None
;
6647 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6648 PyObject
*resultobj
;
6649 wxString
*arg1
= 0 ;
6650 PyObject
*arg2
= (PyObject
*) 0 ;
6651 bool temp1
= False
;
6652 PyObject
* obj0
= 0 ;
6653 PyObject
* obj1
= 0 ;
6655 (char *) "filename",(char *) "data", NULL
6658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6660 arg1
= wxString_in_helper(obj0
);
6661 if (arg1
== NULL
) SWIG_fail
;
6666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6667 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 Py_INCREF(Py_None
); resultobj
= Py_None
;
6687 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6688 PyObject
*resultobj
;
6689 wxMemoryFSHandler
*result
;
6694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6697 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6709 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
;
6711 wxString
*arg1
= 0 ;
6712 bool temp1
= False
;
6713 PyObject
* obj0
= 0 ;
6715 (char *) "filename", NULL
6718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6720 arg1
= wxString_in_helper(obj0
);
6721 if (arg1
== NULL
) SWIG_fail
;
6725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6726 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6728 wxPyEndAllowThreads(__tstate
);
6729 if (PyErr_Occurred()) SWIG_fail
;
6731 Py_INCREF(Py_None
); resultobj
= Py_None
;
6746 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6747 PyObject
*resultobj
;
6748 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6749 wxString
*arg2
= 0 ;
6751 bool temp2
= False
;
6752 PyObject
* obj0
= 0 ;
6753 PyObject
* obj1
= 0 ;
6755 (char *) "self",(char *) "location", NULL
6758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6761 arg2
= wxString_in_helper(obj1
);
6762 if (arg2
== NULL
) SWIG_fail
;
6766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6767 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= PyInt_FromLong((long)result
);
6787 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6788 PyObject
*resultobj
;
6789 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6790 wxFileSystem
*arg2
= 0 ;
6791 wxString
*arg3
= 0 ;
6793 bool temp3
= False
;
6794 PyObject
* obj0
= 0 ;
6795 PyObject
* obj1
= 0 ;
6796 PyObject
* obj2
= 0 ;
6798 (char *) "self",(char *) "fs",(char *) "location", NULL
6801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6803 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6805 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6808 arg3
= wxString_in_helper(obj2
);
6809 if (arg3
== NULL
) SWIG_fail
;
6813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6814 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6816 wxPyEndAllowThreads(__tstate
);
6817 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= wxPyMake_wxObject(result
);
6836 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6837 PyObject
*resultobj
;
6838 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6839 wxString
*arg2
= 0 ;
6840 int arg3
= (int) 0 ;
6842 bool temp2
= False
;
6843 PyObject
* obj0
= 0 ;
6844 PyObject
* obj1
= 0 ;
6846 (char *) "self",(char *) "spec",(char *) "flags", NULL
6849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6852 arg2
= wxString_in_helper(obj1
);
6853 if (arg2
== NULL
) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6884 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
;
6886 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6888 PyObject
* obj0
= 0 ;
6890 (char *) "self", NULL
6893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6894 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6897 result
= (arg1
)->FindNext();
6899 wxPyEndAllowThreads(__tstate
);
6900 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6906 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6915 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6917 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6918 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
6920 return Py_BuildValue((char *)"");
6922 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6923 PyObject
*resultobj
;
6924 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6926 PyObject
* obj0
= 0 ;
6928 (char *) "self", NULL
6931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
6932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6935 result
= (arg1
)->GetName();
6937 wxPyEndAllowThreads(__tstate
);
6938 if (PyErr_Occurred()) SWIG_fail
;
6942 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6944 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6953 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6954 PyObject
*resultobj
;
6955 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6957 PyObject
* obj0
= 0 ;
6959 (char *) "self", NULL
6962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
6963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6966 result
= (arg1
)->GetExtension();
6968 wxPyEndAllowThreads(__tstate
);
6969 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6975 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6984 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6985 PyObject
*resultobj
;
6986 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6990 (char *) "self", NULL
6993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
6994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6997 result
= (long)(arg1
)->GetType();
6999 wxPyEndAllowThreads(__tstate
);
7000 if (PyErr_Occurred()) SWIG_fail
;
7002 resultobj
= PyInt_FromLong((long)result
);
7009 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7010 PyObject
*resultobj
;
7011 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7013 PyObject
* obj0
= 0 ;
7015 (char *) "self", NULL
7018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7022 result
= (arg1
)->GetMimeType();
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7029 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7031 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7040 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
;
7042 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7043 wxString
*arg2
= 0 ;
7045 bool temp2
= False
;
7046 PyObject
* obj0
= 0 ;
7047 PyObject
* obj1
= 0 ;
7049 (char *) "self",(char *) "name", NULL
7052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7055 arg2
= wxString_in_helper(obj1
);
7056 if (arg2
== NULL
) SWIG_fail
;
7060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7061 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7063 wxPyEndAllowThreads(__tstate
);
7064 if (PyErr_Occurred()) SWIG_fail
;
7066 resultobj
= PyInt_FromLong((long)result
);
7081 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7082 PyObject
*resultobj
;
7083 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7084 wxString
*arg2
= 0 ;
7085 bool temp2
= False
;
7086 PyObject
* obj0
= 0 ;
7087 PyObject
* obj1
= 0 ;
7089 (char *) "self",(char *) "name", NULL
7092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7095 arg2
= wxString_in_helper(obj1
);
7096 if (arg2
== NULL
) SWIG_fail
;
7100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7101 (arg1
)->SetName((wxString
const &)*arg2
);
7103 wxPyEndAllowThreads(__tstate
);
7104 if (PyErr_Occurred()) SWIG_fail
;
7106 Py_INCREF(Py_None
); resultobj
= Py_None
;
7121 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7122 PyObject
*resultobj
;
7123 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7124 wxString
*arg2
= 0 ;
7125 bool temp2
= False
;
7126 PyObject
* obj0
= 0 ;
7127 PyObject
* obj1
= 0 ;
7129 (char *) "self",(char *) "extension", NULL
7132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7135 arg2
= wxString_in_helper(obj1
);
7136 if (arg2
== NULL
) SWIG_fail
;
7140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7141 (arg1
)->SetExtension((wxString
const &)*arg2
);
7143 wxPyEndAllowThreads(__tstate
);
7144 if (PyErr_Occurred()) SWIG_fail
;
7146 Py_INCREF(Py_None
); resultobj
= Py_None
;
7161 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7162 PyObject
*resultobj
;
7163 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7165 PyObject
* obj0
= 0 ;
7167 (char *) "self",(char *) "type", NULL
7170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7174 (arg1
)->SetType(arg2
);
7176 wxPyEndAllowThreads(__tstate
);
7177 if (PyErr_Occurred()) SWIG_fail
;
7179 Py_INCREF(Py_None
); resultobj
= Py_None
;
7186 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7187 PyObject
*resultobj
;
7188 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7189 wxString
*arg2
= 0 ;
7190 bool temp2
= False
;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7194 (char *) "self",(char *) "mimetype", NULL
7197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7200 arg2
= wxString_in_helper(obj1
);
7201 if (arg2
== NULL
) SWIG_fail
;
7205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7206 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7208 wxPyEndAllowThreads(__tstate
);
7209 if (PyErr_Occurred()) SWIG_fail
;
7211 Py_INCREF(Py_None
); resultobj
= Py_None
;
7226 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7228 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7229 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7231 return Py_BuildValue((char *)"");
7233 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7234 PyObject
*resultobj
;
7235 wxImageHistogram
*result
;
7240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7243 result
= (wxImageHistogram
*)new wxImageHistogram();
7245 wxPyEndAllowThreads(__tstate
);
7246 if (PyErr_Occurred()) SWIG_fail
;
7248 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7255 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7256 PyObject
*resultobj
;
7257 unsigned char arg1
;
7258 unsigned char arg2
;
7259 unsigned char arg3
;
7260 unsigned long result
;
7261 PyObject
* obj0
= 0 ;
7262 PyObject
* obj1
= 0 ;
7263 PyObject
* obj2
= 0 ;
7265 (char *) "r",(char *) "g",(char *) "b", NULL
7268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7269 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7270 if (PyErr_Occurred()) SWIG_fail
;
7271 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7273 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7277 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7279 wxPyEndAllowThreads(__tstate
);
7280 if (PyErr_Occurred()) SWIG_fail
;
7282 resultobj
= PyInt_FromLong((long)result
);
7289 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7290 PyObject
*resultobj
;
7291 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7292 unsigned char *arg2
= (unsigned char *) 0 ;
7293 unsigned char *arg3
= (unsigned char *) 0 ;
7294 unsigned char *arg4
= (unsigned char *) 0 ;
7295 unsigned char arg5
= (unsigned char) 1 ;
7296 unsigned char arg6
= (unsigned char) 0 ;
7297 unsigned char arg7
= (unsigned char) 0 ;
7299 unsigned char temp2
;
7300 unsigned char temp3
;
7301 unsigned char temp4
;
7302 PyObject
* obj0
= 0 ;
7303 PyObject
* obj1
= 0 ;
7304 PyObject
* obj2
= 0 ;
7305 PyObject
* obj3
= 0 ;
7307 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7316 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7317 if (PyErr_Occurred()) SWIG_fail
;
7320 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7321 if (PyErr_Occurred()) SWIG_fail
;
7324 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7325 if (PyErr_Occurred()) SWIG_fail
;
7328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7329 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7331 wxPyEndAllowThreads(__tstate
);
7332 if (PyErr_Occurred()) SWIG_fail
;
7334 resultobj
= PyInt_FromLong((long)result
);
7336 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7337 resultobj
= t_output_helper(resultobj
,o
);
7340 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7341 resultobj
= t_output_helper(resultobj
,o
);
7344 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7345 resultobj
= t_output_helper(resultobj
,o
);
7353 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7355 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7356 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7358 return Py_BuildValue((char *)"");
7360 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7361 PyObject
*resultobj
;
7362 wxString
*arg1
= 0 ;
7363 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7364 int arg3
= (int) -1 ;
7366 bool temp1
= False
;
7367 PyObject
* obj0
= 0 ;
7369 (char *) "name",(char *) "type",(char *) "index", NULL
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7374 arg1
= wxString_in_helper(obj0
);
7375 if (arg1
== NULL
) SWIG_fail
;
7379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7380 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7382 wxPyEndAllowThreads(__tstate
);
7383 if (PyErr_Occurred()) SWIG_fail
;
7385 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7400 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7401 PyObject
*resultobj
;
7402 wxImage
*arg1
= (wxImage
*) 0 ;
7403 PyObject
* obj0
= 0 ;
7405 (char *) "self", NULL
7408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7414 wxPyEndAllowThreads(__tstate
);
7415 if (PyErr_Occurred()) SWIG_fail
;
7417 Py_INCREF(Py_None
); resultobj
= Py_None
;
7424 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7425 PyObject
*resultobj
;
7426 wxString
*arg1
= 0 ;
7427 wxString
*arg2
= 0 ;
7428 int arg3
= (int) -1 ;
7430 bool temp1
= False
;
7431 bool temp2
= False
;
7432 PyObject
* obj0
= 0 ;
7433 PyObject
* obj1
= 0 ;
7435 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7440 arg1
= wxString_in_helper(obj0
);
7441 if (arg1
== NULL
) SWIG_fail
;
7445 arg2
= wxString_in_helper(obj1
);
7446 if (arg2
== NULL
) SWIG_fail
;
7450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7451 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7453 wxPyEndAllowThreads(__tstate
);
7454 if (PyErr_Occurred()) SWIG_fail
;
7456 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7479 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7480 PyObject
*resultobj
;
7481 wxInputStream
*arg1
= 0 ;
7482 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7483 int arg3
= (int) -1 ;
7485 wxPyInputStream
*temp1
;
7487 PyObject
* obj0
= 0 ;
7489 (char *) "stream",(char *) "type",(char *) "index", NULL
7492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7494 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7495 arg1
= temp1
->m_wxis
;
7498 PyErr_Clear(); // clear the failure of the wxPyConvert above
7499 arg1
= wxPyCBInputStream_create(obj0
, False
);
7501 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7509 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7511 wxPyEndAllowThreads(__tstate
);
7512 if (PyErr_Occurred()) SWIG_fail
;
7514 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7529 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7530 PyObject
*resultobj
;
7531 wxInputStream
*arg1
= 0 ;
7532 wxString
*arg2
= 0 ;
7533 int arg3
= (int) -1 ;
7535 wxPyInputStream
*temp1
;
7537 bool temp2
= False
;
7538 PyObject
* obj0
= 0 ;
7539 PyObject
* obj1
= 0 ;
7541 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7546 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7547 arg1
= temp1
->m_wxis
;
7550 PyErr_Clear(); // clear the failure of the wxPyConvert above
7551 arg1
= wxPyCBInputStream_create(obj0
, False
);
7553 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7560 arg2
= wxString_in_helper(obj1
);
7561 if (arg2
== NULL
) SWIG_fail
;
7565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7566 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7568 wxPyEndAllowThreads(__tstate
);
7569 if (PyErr_Occurred()) SWIG_fail
;
7571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7594 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7595 PyObject
*resultobj
;
7596 int arg1
= (int) 0 ;
7597 int arg2
= (int) 0 ;
7598 bool arg3
= (bool) True
;
7600 PyObject
* obj2
= 0 ;
7602 (char *) "width",(char *) "height",(char *) "clear", NULL
7605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7607 arg3
= PyInt_AsLong(obj2
) ? true : false;
7608 if (PyErr_Occurred()) SWIG_fail
;
7611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7612 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7614 wxPyEndAllowThreads(__tstate
);
7615 if (PyErr_Occurred()) SWIG_fail
;
7617 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7624 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7625 PyObject
*resultobj
;
7626 wxBitmap
*arg1
= 0 ;
7628 PyObject
* obj0
= 0 ;
7630 (char *) "bitmap", NULL
7633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7640 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7642 wxPyEndAllowThreads(__tstate
);
7643 if (PyErr_Occurred()) SWIG_fail
;
7645 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7652 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7653 PyObject
*resultobj
;
7656 unsigned char *arg3
= (unsigned char *) 0 ;
7658 PyObject
* obj2
= 0 ;
7660 (char *) "width",(char *) "height",(char *) "data", NULL
7663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7664 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7667 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7669 wxPyEndAllowThreads(__tstate
);
7670 if (PyErr_Occurred()) SWIG_fail
;
7672 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7679 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7680 PyObject
*resultobj
;
7681 wxImage
*arg1
= (wxImage
*) 0 ;
7684 PyObject
* obj0
= 0 ;
7686 (char *) "self",(char *) "width",(char *) "height", NULL
7689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7693 (arg1
)->Create(arg2
,arg3
);
7695 wxPyEndAllowThreads(__tstate
);
7696 if (PyErr_Occurred()) SWIG_fail
;
7698 Py_INCREF(Py_None
); resultobj
= Py_None
;
7705 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7706 PyObject
*resultobj
;
7707 wxImage
*arg1
= (wxImage
*) 0 ;
7708 PyObject
* obj0
= 0 ;
7710 (char *) "self", NULL
7713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7719 wxPyEndAllowThreads(__tstate
);
7720 if (PyErr_Occurred()) SWIG_fail
;
7722 Py_INCREF(Py_None
); resultobj
= Py_None
;
7729 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7730 PyObject
*resultobj
;
7731 wxImage
*arg1
= (wxImage
*) 0 ;
7734 SwigValueWrapper
< wxImage
> result
;
7735 PyObject
* obj0
= 0 ;
7737 (char *) "self",(char *) "width",(char *) "height", NULL
7740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (arg1
)->Scale(arg2
,arg3
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7750 wxImage
* resultptr
;
7751 resultptr
= new wxImage((wxImage
&) result
);
7752 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7760 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7761 PyObject
*resultobj
;
7762 wxImage
*arg1
= (wxImage
*) 0 ;
7765 SwigValueWrapper
< wxImage
> result
;
7766 PyObject
* obj0
= 0 ;
7768 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7775 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7777 wxPyEndAllowThreads(__tstate
);
7778 if (PyErr_Occurred()) SWIG_fail
;
7781 wxImage
* resultptr
;
7782 resultptr
= new wxImage((wxImage
&) result
);
7783 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7791 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7792 PyObject
*resultobj
;
7793 wxImage
*arg1
= (wxImage
*) 0 ;
7797 PyObject
* obj0
= 0 ;
7799 (char *) "self",(char *) "width",(char *) "height", NULL
7802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7807 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7808 result
= (wxImage
*) &_result_ref
;
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7821 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
;
7823 wxImage
*arg1
= (wxImage
*) 0 ;
7826 unsigned char arg4
;
7827 unsigned char arg5
;
7828 unsigned char arg6
;
7829 PyObject
* obj0
= 0 ;
7830 PyObject
* obj3
= 0 ;
7831 PyObject
* obj4
= 0 ;
7832 PyObject
* obj5
= 0 ;
7834 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7839 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7840 if (PyErr_Occurred()) SWIG_fail
;
7841 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7843 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7847 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7849 wxPyEndAllowThreads(__tstate
);
7850 if (PyErr_Occurred()) SWIG_fail
;
7852 Py_INCREF(Py_None
); resultobj
= Py_None
;
7859 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7860 PyObject
*resultobj
;
7861 wxImage
*arg1
= (wxImage
*) 0 ;
7864 unsigned char result
;
7865 PyObject
* obj0
= 0 ;
7867 (char *) "self",(char *) "x",(char *) "y", NULL
7870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7874 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
7876 wxPyEndAllowThreads(__tstate
);
7877 if (PyErr_Occurred()) SWIG_fail
;
7879 resultobj
= PyInt_FromLong((long)result
);
7886 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7887 PyObject
*resultobj
;
7888 wxImage
*arg1
= (wxImage
*) 0 ;
7891 unsigned char result
;
7892 PyObject
* obj0
= 0 ;
7894 (char *) "self",(char *) "x",(char *) "y", NULL
7897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7901 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
7903 wxPyEndAllowThreads(__tstate
);
7904 if (PyErr_Occurred()) SWIG_fail
;
7906 resultobj
= PyInt_FromLong((long)result
);
7913 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7914 PyObject
*resultobj
;
7915 wxImage
*arg1
= (wxImage
*) 0 ;
7918 unsigned char result
;
7919 PyObject
* obj0
= 0 ;
7921 (char *) "self",(char *) "x",(char *) "y", NULL
7924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7928 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
7930 wxPyEndAllowThreads(__tstate
);
7931 if (PyErr_Occurred()) SWIG_fail
;
7933 resultobj
= PyInt_FromLong((long)result
);
7940 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7941 PyObject
*resultobj
;
7942 wxImage
*arg1
= (wxImage
*) 0 ;
7945 unsigned char arg4
;
7946 PyObject
* obj0
= 0 ;
7947 PyObject
* obj3
= 0 ;
7949 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7954 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7955 if (PyErr_Occurred()) SWIG_fail
;
7957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7958 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
7960 wxPyEndAllowThreads(__tstate
);
7961 if (PyErr_Occurred()) SWIG_fail
;
7963 Py_INCREF(Py_None
); resultobj
= Py_None
;
7970 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7971 PyObject
*resultobj
;
7972 wxImage
*arg1
= (wxImage
*) 0 ;
7975 unsigned char result
;
7976 PyObject
* obj0
= 0 ;
7978 (char *) "self",(char *) "x",(char *) "y", NULL
7981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7985 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
7987 wxPyEndAllowThreads(__tstate
);
7988 if (PyErr_Occurred()) SWIG_fail
;
7990 resultobj
= PyInt_FromLong((long)result
);
7997 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7998 PyObject
*resultobj
;
7999 wxImage
*arg1
= (wxImage
*) 0 ;
8001 PyObject
* obj0
= 0 ;
8003 (char *) "self", NULL
8006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8010 result
= (bool)(arg1
)->HasAlpha();
8012 wxPyEndAllowThreads(__tstate
);
8013 if (PyErr_Occurred()) SWIG_fail
;
8015 resultobj
= PyInt_FromLong((long)result
);
8022 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8023 PyObject
*resultobj
;
8024 wxImage
*arg1
= (wxImage
*) 0 ;
8025 byte
*arg2
= (byte
*) 0 ;
8026 byte
*arg3
= (byte
*) 0 ;
8027 byte
*arg4
= (byte
*) 0 ;
8028 byte arg5
= (byte
) 0 ;
8029 byte arg6
= (byte
) 0 ;
8030 byte arg7
= (byte
) 0 ;
8035 PyObject
* obj0
= 0 ;
8036 PyObject
* obj1
= 0 ;
8037 PyObject
* obj2
= 0 ;
8038 PyObject
* obj3
= 0 ;
8040 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8049 arg5
= (byte
) PyInt_AsLong(obj1
);
8050 if (PyErr_Occurred()) SWIG_fail
;
8053 arg6
= (byte
) PyInt_AsLong(obj2
);
8054 if (PyErr_Occurred()) SWIG_fail
;
8057 arg7
= (byte
) PyInt_AsLong(obj3
);
8058 if (PyErr_Occurred()) SWIG_fail
;
8061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8062 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8064 wxPyEndAllowThreads(__tstate
);
8065 if (PyErr_Occurred()) SWIG_fail
;
8067 resultobj
= PyInt_FromLong((long)result
);
8069 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8070 resultobj
= t_output_helper(resultobj
,o
);
8073 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8074 resultobj
= t_output_helper(resultobj
,o
);
8077 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8078 resultobj
= t_output_helper(resultobj
,o
);
8086 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8087 PyObject
*resultobj
;
8088 wxImage
*arg1
= (wxImage
*) 0 ;
8094 PyObject
* obj0
= 0 ;
8095 PyObject
* obj1
= 0 ;
8096 PyObject
* obj2
= 0 ;
8097 PyObject
* obj3
= 0 ;
8098 PyObject
* obj4
= 0 ;
8100 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8105 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8107 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8109 arg3
= (byte
) PyInt_AsLong(obj2
);
8110 if (PyErr_Occurred()) SWIG_fail
;
8111 arg4
= (byte
) PyInt_AsLong(obj3
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8113 arg5
= (byte
) PyInt_AsLong(obj4
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= PyInt_FromLong((long)result
);
8129 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxString
*arg1
= 0 ;
8133 bool temp1
= False
;
8134 PyObject
* obj0
= 0 ;
8136 (char *) "name", NULL
8139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8141 arg1
= wxString_in_helper(obj0
);
8142 if (arg1
== NULL
) SWIG_fail
;
8146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8147 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8149 wxPyEndAllowThreads(__tstate
);
8150 if (PyErr_Occurred()) SWIG_fail
;
8152 resultobj
= PyInt_FromLong((long)result
);
8167 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8168 PyObject
*resultobj
;
8169 wxString
*arg1
= 0 ;
8170 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8172 bool temp1
= False
;
8173 PyObject
* obj0
= 0 ;
8175 (char *) "name",(char *) "type", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8180 arg1
= wxString_in_helper(obj0
);
8181 if (arg1
== NULL
) SWIG_fail
;
8185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8186 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8188 wxPyEndAllowThreads(__tstate
);
8189 if (PyErr_Occurred()) SWIG_fail
;
8191 resultobj
= PyInt_FromLong((long)result
);
8206 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8207 PyObject
*resultobj
;
8208 wxImage
*arg1
= (wxImage
*) 0 ;
8209 wxString
*arg2
= 0 ;
8210 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8211 int arg4
= (int) -1 ;
8213 bool temp2
= False
;
8214 PyObject
* obj0
= 0 ;
8215 PyObject
* obj1
= 0 ;
8217 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8223 arg2
= wxString_in_helper(obj1
);
8224 if (arg2
== NULL
) SWIG_fail
;
8228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8229 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8231 wxPyEndAllowThreads(__tstate
);
8232 if (PyErr_Occurred()) SWIG_fail
;
8234 resultobj
= PyInt_FromLong((long)result
);
8249 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8250 PyObject
*resultobj
;
8251 wxImage
*arg1
= (wxImage
*) 0 ;
8252 wxString
*arg2
= 0 ;
8253 wxString
*arg3
= 0 ;
8254 int arg4
= (int) -1 ;
8256 bool temp2
= False
;
8257 bool temp3
= False
;
8258 PyObject
* obj0
= 0 ;
8259 PyObject
* obj1
= 0 ;
8260 PyObject
* obj2
= 0 ;
8262 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8268 arg2
= wxString_in_helper(obj1
);
8269 if (arg2
== NULL
) SWIG_fail
;
8273 arg3
= wxString_in_helper(obj2
);
8274 if (arg3
== NULL
) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= PyInt_FromLong((long)result
);
8307 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8308 PyObject
*resultobj
;
8309 wxImage
*arg1
= (wxImage
*) 0 ;
8310 wxString
*arg2
= 0 ;
8313 bool temp2
= False
;
8314 PyObject
* obj0
= 0 ;
8315 PyObject
* obj1
= 0 ;
8317 (char *) "self",(char *) "name",(char *) "type", NULL
8320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8323 arg2
= wxString_in_helper(obj1
);
8324 if (arg2
== NULL
) SWIG_fail
;
8328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8329 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8331 wxPyEndAllowThreads(__tstate
);
8332 if (PyErr_Occurred()) SWIG_fail
;
8334 resultobj
= PyInt_FromLong((long)result
);
8349 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8350 PyObject
*resultobj
;
8351 wxImage
*arg1
= (wxImage
*) 0 ;
8352 wxString
*arg2
= 0 ;
8353 wxString
*arg3
= 0 ;
8355 bool temp2
= False
;
8356 bool temp3
= False
;
8357 PyObject
* obj0
= 0 ;
8358 PyObject
* obj1
= 0 ;
8359 PyObject
* obj2
= 0 ;
8361 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8367 arg2
= wxString_in_helper(obj1
);
8368 if (arg2
== NULL
) SWIG_fail
;
8372 arg3
= wxString_in_helper(obj2
);
8373 if (arg3
== NULL
) SWIG_fail
;
8377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8378 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8380 wxPyEndAllowThreads(__tstate
);
8381 if (PyErr_Occurred()) SWIG_fail
;
8383 resultobj
= PyInt_FromLong((long)result
);
8406 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8407 PyObject
*resultobj
;
8408 wxInputStream
*arg1
= 0 ;
8410 wxPyInputStream
*temp1
;
8412 PyObject
* obj0
= 0 ;
8414 (char *) "stream", NULL
8417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8419 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8420 arg1
= temp1
->m_wxis
;
8423 PyErr_Clear(); // clear the failure of the wxPyConvert above
8424 arg1
= wxPyCBInputStream_create(obj0
, False
);
8426 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8434 result
= (bool)wxImage::CanRead(*arg1
);
8436 wxPyEndAllowThreads(__tstate
);
8437 if (PyErr_Occurred()) SWIG_fail
;
8439 resultobj
= PyInt_FromLong((long)result
);
8454 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8455 PyObject
*resultobj
;
8456 wxImage
*arg1
= (wxImage
*) 0 ;
8457 wxInputStream
*arg2
= 0 ;
8458 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8459 int arg4
= (int) -1 ;
8461 wxPyInputStream
*temp2
;
8463 PyObject
* obj0
= 0 ;
8464 PyObject
* obj1
= 0 ;
8466 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8472 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8473 arg2
= temp2
->m_wxis
;
8476 PyErr_Clear(); // clear the failure of the wxPyConvert above
8477 arg2
= wxPyCBInputStream_create(obj1
, False
);
8479 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8489 wxPyEndAllowThreads(__tstate
);
8490 if (PyErr_Occurred()) SWIG_fail
;
8492 resultobj
= PyInt_FromLong((long)result
);
8507 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8508 PyObject
*resultobj
;
8509 wxImage
*arg1
= (wxImage
*) 0 ;
8510 wxInputStream
*arg2
= 0 ;
8511 wxString
*arg3
= 0 ;
8512 int arg4
= (int) -1 ;
8514 wxPyInputStream
*temp2
;
8516 bool temp3
= False
;
8517 PyObject
* obj0
= 0 ;
8518 PyObject
* obj1
= 0 ;
8519 PyObject
* obj2
= 0 ;
8521 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8527 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8528 arg2
= temp2
->m_wxis
;
8531 PyErr_Clear(); // clear the failure of the wxPyConvert above
8532 arg2
= wxPyCBInputStream_create(obj1
, False
);
8534 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8541 arg3
= wxString_in_helper(obj2
);
8542 if (arg3
== NULL
) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8549 wxPyEndAllowThreads(__tstate
);
8550 if (PyErr_Occurred()) SWIG_fail
;
8552 resultobj
= PyInt_FromLong((long)result
);
8575 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8576 PyObject
*resultobj
;
8577 wxImage
*arg1
= (wxImage
*) 0 ;
8579 PyObject
* obj0
= 0 ;
8581 (char *) "self", NULL
8584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8588 result
= (bool)(arg1
)->Ok();
8590 wxPyEndAllowThreads(__tstate
);
8591 if (PyErr_Occurred()) SWIG_fail
;
8593 resultobj
= PyInt_FromLong((long)result
);
8600 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8601 PyObject
*resultobj
;
8602 wxImage
*arg1
= (wxImage
*) 0 ;
8604 PyObject
* obj0
= 0 ;
8606 (char *) "self", NULL
8609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8613 result
= (int)(arg1
)->GetWidth();
8615 wxPyEndAllowThreads(__tstate
);
8616 if (PyErr_Occurred()) SWIG_fail
;
8618 resultobj
= PyInt_FromLong((long)result
);
8625 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8626 PyObject
*resultobj
;
8627 wxImage
*arg1
= (wxImage
*) 0 ;
8629 PyObject
* obj0
= 0 ;
8631 (char *) "self", NULL
8634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8638 result
= (int)(arg1
)->GetHeight();
8640 wxPyEndAllowThreads(__tstate
);
8641 if (PyErr_Occurred()) SWIG_fail
;
8643 resultobj
= PyInt_FromLong((long)result
);
8650 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8651 PyObject
*resultobj
;
8652 wxImage
*arg1
= (wxImage
*) 0 ;
8654 SwigValueWrapper
< wxImage
> result
;
8656 PyObject
* obj0
= 0 ;
8657 PyObject
* obj1
= 0 ;
8659 (char *) "self",(char *) "rect", NULL
8662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8666 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8670 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8672 wxPyEndAllowThreads(__tstate
);
8673 if (PyErr_Occurred()) SWIG_fail
;
8676 wxImage
* resultptr
;
8677 resultptr
= new wxImage((wxImage
&) result
);
8678 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8686 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8687 PyObject
*resultobj
;
8688 wxImage
*arg1
= (wxImage
*) 0 ;
8689 SwigValueWrapper
< wxImage
> result
;
8690 PyObject
* obj0
= 0 ;
8692 (char *) "self", NULL
8695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8699 result
= (arg1
)->Copy();
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8705 wxImage
* resultptr
;
8706 resultptr
= new wxImage((wxImage
&) result
);
8707 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8715 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8716 PyObject
*resultobj
;
8717 wxImage
*arg1
= (wxImage
*) 0 ;
8721 PyObject
* obj0
= 0 ;
8722 PyObject
* obj1
= 0 ;
8724 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8731 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8735 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8737 wxPyEndAllowThreads(__tstate
);
8738 if (PyErr_Occurred()) SWIG_fail
;
8740 Py_INCREF(Py_None
); resultobj
= Py_None
;
8747 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8748 PyObject
*resultobj
;
8749 wxImage
*arg1
= (wxImage
*) 0 ;
8751 PyObject
* obj0
= 0 ;
8753 (char *) "self", NULL
8756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8760 result
= (PyObject
*)wxImage_GetData(arg1
);
8762 wxPyEndAllowThreads(__tstate
);
8763 if (PyErr_Occurred()) SWIG_fail
;
8772 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8773 PyObject
*resultobj
;
8774 wxImage
*arg1
= (wxImage
*) 0 ;
8775 PyObject
*arg2
= (PyObject
*) 0 ;
8776 PyObject
* obj0
= 0 ;
8777 PyObject
* obj1
= 0 ;
8779 (char *) "self",(char *) "data", NULL
8782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8787 wxImage_SetData(arg1
,arg2
);
8789 wxPyEndAllowThreads(__tstate
);
8790 if (PyErr_Occurred()) SWIG_fail
;
8792 Py_INCREF(Py_None
); resultobj
= Py_None
;
8799 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8800 PyObject
*resultobj
;
8801 wxImage
*arg1
= (wxImage
*) 0 ;
8803 PyObject
* obj0
= 0 ;
8805 (char *) "self", NULL
8808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8812 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8814 wxPyEndAllowThreads(__tstate
);
8815 if (PyErr_Occurred()) SWIG_fail
;
8824 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8825 PyObject
*resultobj
;
8826 wxImage
*arg1
= (wxImage
*) 0 ;
8827 PyObject
*arg2
= (PyObject
*) 0 ;
8828 PyObject
* obj0
= 0 ;
8829 PyObject
* obj1
= 0 ;
8831 (char *) "self",(char *) "data", NULL
8834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 wxImage_SetDataBuffer(arg1
,arg2
);
8841 wxPyEndAllowThreads(__tstate
);
8842 if (PyErr_Occurred()) SWIG_fail
;
8844 Py_INCREF(Py_None
); resultobj
= Py_None
;
8851 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8852 PyObject
*resultobj
;
8853 wxImage
*arg1
= (wxImage
*) 0 ;
8855 PyObject
* obj0
= 0 ;
8857 (char *) "self", NULL
8860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
8866 wxPyEndAllowThreads(__tstate
);
8867 if (PyErr_Occurred()) SWIG_fail
;
8876 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8877 PyObject
*resultobj
;
8878 wxImage
*arg1
= (wxImage
*) 0 ;
8879 PyObject
*arg2
= (PyObject
*) 0 ;
8880 PyObject
* obj0
= 0 ;
8881 PyObject
* obj1
= 0 ;
8883 (char *) "self",(char *) "data", NULL
8886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
8887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8891 wxImage_SetAlphaData(arg1
,arg2
);
8893 wxPyEndAllowThreads(__tstate
);
8894 if (PyErr_Occurred()) SWIG_fail
;
8896 Py_INCREF(Py_None
); resultobj
= Py_None
;
8903 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8904 PyObject
*resultobj
;
8905 wxImage
*arg1
= (wxImage
*) 0 ;
8907 PyObject
* obj0
= 0 ;
8909 (char *) "self", NULL
8912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
8913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8916 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8928 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
;
8930 wxImage
*arg1
= (wxImage
*) 0 ;
8931 PyObject
*arg2
= (PyObject
*) 0 ;
8932 PyObject
* obj0
= 0 ;
8933 PyObject
* obj1
= 0 ;
8935 (char *) "self",(char *) "data", NULL
8938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8943 wxImage_SetAlphaBuffer(arg1
,arg2
);
8945 wxPyEndAllowThreads(__tstate
);
8946 if (PyErr_Occurred()) SWIG_fail
;
8948 Py_INCREF(Py_None
); resultobj
= Py_None
;
8955 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8956 PyObject
*resultobj
;
8957 wxImage
*arg1
= (wxImage
*) 0 ;
8958 unsigned char arg2
;
8959 unsigned char arg3
;
8960 unsigned char arg4
;
8961 PyObject
* obj0
= 0 ;
8962 PyObject
* obj1
= 0 ;
8963 PyObject
* obj2
= 0 ;
8964 PyObject
* obj3
= 0 ;
8966 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8971 arg2
= (unsigned char) PyInt_AsLong(obj1
);
8972 if (PyErr_Occurred()) SWIG_fail
;
8973 arg3
= (unsigned char) PyInt_AsLong(obj2
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8975 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8979 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
8981 wxPyEndAllowThreads(__tstate
);
8982 if (PyErr_Occurred()) SWIG_fail
;
8984 Py_INCREF(Py_None
); resultobj
= Py_None
;
8991 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8992 PyObject
*resultobj
;
8993 wxImage
*arg1
= (wxImage
*) 0 ;
8994 unsigned char result
;
8995 PyObject
* obj0
= 0 ;
8997 (char *) "self", NULL
9000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9004 result
= (unsigned char)(arg1
)->GetMaskRed();
9006 wxPyEndAllowThreads(__tstate
);
9007 if (PyErr_Occurred()) SWIG_fail
;
9009 resultobj
= PyInt_FromLong((long)result
);
9016 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9017 PyObject
*resultobj
;
9018 wxImage
*arg1
= (wxImage
*) 0 ;
9019 unsigned char result
;
9020 PyObject
* obj0
= 0 ;
9022 (char *) "self", NULL
9025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9029 result
= (unsigned char)(arg1
)->GetMaskGreen();
9031 wxPyEndAllowThreads(__tstate
);
9032 if (PyErr_Occurred()) SWIG_fail
;
9034 resultobj
= PyInt_FromLong((long)result
);
9041 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9042 PyObject
*resultobj
;
9043 wxImage
*arg1
= (wxImage
*) 0 ;
9044 unsigned char result
;
9045 PyObject
* obj0
= 0 ;
9047 (char *) "self", NULL
9050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9054 result
= (unsigned char)(arg1
)->GetMaskBlue();
9056 wxPyEndAllowThreads(__tstate
);
9057 if (PyErr_Occurred()) SWIG_fail
;
9059 resultobj
= PyInt_FromLong((long)result
);
9066 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9067 PyObject
*resultobj
;
9068 wxImage
*arg1
= (wxImage
*) 0 ;
9069 bool arg2
= (bool) True
;
9070 PyObject
* obj0
= 0 ;
9071 PyObject
* obj1
= 0 ;
9073 (char *) "self",(char *) "mask", NULL
9076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9079 arg2
= PyInt_AsLong(obj1
) ? true : false;
9080 if (PyErr_Occurred()) SWIG_fail
;
9083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9084 (arg1
)->SetMask(arg2
);
9086 wxPyEndAllowThreads(__tstate
);
9087 if (PyErr_Occurred()) SWIG_fail
;
9089 Py_INCREF(Py_None
); resultobj
= Py_None
;
9096 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9097 PyObject
*resultobj
;
9098 wxImage
*arg1
= (wxImage
*) 0 ;
9100 PyObject
* obj0
= 0 ;
9102 (char *) "self", NULL
9105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9109 result
= (bool)(arg1
)->HasMask();
9111 wxPyEndAllowThreads(__tstate
);
9112 if (PyErr_Occurred()) SWIG_fail
;
9114 resultobj
= PyInt_FromLong((long)result
);
9121 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9122 PyObject
*resultobj
;
9123 wxImage
*arg1
= (wxImage
*) 0 ;
9126 bool arg4
= (bool) True
;
9127 wxPoint
*arg5
= (wxPoint
*) NULL
;
9128 SwigValueWrapper
< wxImage
> result
;
9130 PyObject
* obj0
= 0 ;
9131 PyObject
* obj2
= 0 ;
9132 PyObject
* obj3
= 0 ;
9133 PyObject
* obj4
= 0 ;
9135 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9142 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9145 arg4
= PyInt_AsLong(obj3
) ? true : false;
9146 if (PyErr_Occurred()) SWIG_fail
;
9149 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9155 wxPyEndAllowThreads(__tstate
);
9156 if (PyErr_Occurred()) SWIG_fail
;
9159 wxImage
* resultptr
;
9160 resultptr
= new wxImage((wxImage
&) result
);
9161 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9169 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9170 PyObject
*resultobj
;
9171 wxImage
*arg1
= (wxImage
*) 0 ;
9172 bool arg2
= (bool) True
;
9173 SwigValueWrapper
< wxImage
> result
;
9174 PyObject
* obj0
= 0 ;
9175 PyObject
* obj1
= 0 ;
9177 (char *) "self",(char *) "clockwise", NULL
9180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9183 arg2
= PyInt_AsLong(obj1
) ? true : false;
9184 if (PyErr_Occurred()) SWIG_fail
;
9187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9188 result
= (arg1
)->Rotate90(arg2
);
9190 wxPyEndAllowThreads(__tstate
);
9191 if (PyErr_Occurred()) SWIG_fail
;
9194 wxImage
* resultptr
;
9195 resultptr
= new wxImage((wxImage
&) result
);
9196 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9204 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9205 PyObject
*resultobj
;
9206 wxImage
*arg1
= (wxImage
*) 0 ;
9207 bool arg2
= (bool) True
;
9208 SwigValueWrapper
< wxImage
> result
;
9209 PyObject
* obj0
= 0 ;
9210 PyObject
* obj1
= 0 ;
9212 (char *) "self",(char *) "horizontally", NULL
9215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9218 arg2
= PyInt_AsLong(obj1
) ? true : false;
9219 if (PyErr_Occurred()) SWIG_fail
;
9222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9223 result
= (arg1
)->Mirror(arg2
);
9225 wxPyEndAllowThreads(__tstate
);
9226 if (PyErr_Occurred()) SWIG_fail
;
9229 wxImage
* resultptr
;
9230 resultptr
= new wxImage((wxImage
&) result
);
9231 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9239 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9240 PyObject
*resultobj
;
9241 wxImage
*arg1
= (wxImage
*) 0 ;
9242 unsigned char arg2
;
9243 unsigned char arg3
;
9244 unsigned char arg4
;
9245 unsigned char arg5
;
9246 unsigned char arg6
;
9247 unsigned char arg7
;
9248 PyObject
* obj0
= 0 ;
9249 PyObject
* obj1
= 0 ;
9250 PyObject
* obj2
= 0 ;
9251 PyObject
* obj3
= 0 ;
9252 PyObject
* obj4
= 0 ;
9253 PyObject
* obj5
= 0 ;
9254 PyObject
* obj6
= 0 ;
9256 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9261 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9262 if (PyErr_Occurred()) SWIG_fail
;
9263 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9265 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9267 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9269 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9271 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9275 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9277 wxPyEndAllowThreads(__tstate
);
9278 if (PyErr_Occurred()) SWIG_fail
;
9280 Py_INCREF(Py_None
); resultobj
= Py_None
;
9287 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9288 PyObject
*resultobj
;
9289 wxImage
*arg1
= (wxImage
*) 0 ;
9290 unsigned char arg2
;
9291 unsigned char arg3
;
9292 unsigned char arg4
;
9293 SwigValueWrapper
< wxImage
> result
;
9294 PyObject
* obj0
= 0 ;
9295 PyObject
* obj1
= 0 ;
9296 PyObject
* obj2
= 0 ;
9297 PyObject
* obj3
= 0 ;
9299 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9304 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9305 if (PyErr_Occurred()) SWIG_fail
;
9306 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9308 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9312 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9314 wxPyEndAllowThreads(__tstate
);
9315 if (PyErr_Occurred()) SWIG_fail
;
9318 wxImage
* resultptr
;
9319 resultptr
= new wxImage((wxImage
&) result
);
9320 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9328 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
;
9330 wxImage
*arg1
= (wxImage
*) 0 ;
9331 wxString
*arg2
= 0 ;
9332 wxString
*arg3
= 0 ;
9333 bool temp2
= False
;
9334 bool temp3
= False
;
9335 PyObject
* obj0
= 0 ;
9336 PyObject
* obj1
= 0 ;
9337 PyObject
* obj2
= 0 ;
9339 (char *) "self",(char *) "name",(char *) "value", NULL
9342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9345 arg2
= wxString_in_helper(obj1
);
9346 if (arg2
== NULL
) SWIG_fail
;
9350 arg3
= wxString_in_helper(obj2
);
9351 if (arg3
== NULL
) SWIG_fail
;
9355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9356 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9358 wxPyEndAllowThreads(__tstate
);
9359 if (PyErr_Occurred()) SWIG_fail
;
9361 Py_INCREF(Py_None
); resultobj
= Py_None
;
9384 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9385 PyObject
*resultobj
;
9386 wxImage
*arg1
= (wxImage
*) 0 ;
9387 wxString
*arg2
= 0 ;
9389 bool temp2
= False
;
9390 PyObject
* obj0
= 0 ;
9391 PyObject
* obj1
= 0 ;
9393 (char *) "self",(char *) "name",(char *) "value", NULL
9396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9399 arg2
= wxString_in_helper(obj1
);
9400 if (arg2
== NULL
) SWIG_fail
;
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9407 wxPyEndAllowThreads(__tstate
);
9408 if (PyErr_Occurred()) SWIG_fail
;
9410 Py_INCREF(Py_None
); resultobj
= Py_None
;
9425 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9426 PyObject
*resultobj
;
9427 wxImage
*arg1
= (wxImage
*) 0 ;
9428 wxString
*arg2
= 0 ;
9430 bool temp2
= False
;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9434 (char *) "self",(char *) "name", NULL
9437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9440 arg2
= wxString_in_helper(obj1
);
9441 if (arg2
== NULL
) SWIG_fail
;
9445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9446 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9453 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9455 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9472 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9473 PyObject
*resultobj
;
9474 wxImage
*arg1
= (wxImage
*) 0 ;
9475 wxString
*arg2
= 0 ;
9477 bool temp2
= False
;
9478 PyObject
* obj0
= 0 ;
9479 PyObject
* obj1
= 0 ;
9481 (char *) "self",(char *) "name", NULL
9484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9487 arg2
= wxString_in_helper(obj1
);
9488 if (arg2
== NULL
) SWIG_fail
;
9492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9493 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9495 wxPyEndAllowThreads(__tstate
);
9496 if (PyErr_Occurred()) SWIG_fail
;
9498 resultobj
= PyInt_FromLong((long)result
);
9513 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9514 PyObject
*resultobj
;
9515 wxImage
*arg1
= (wxImage
*) 0 ;
9516 wxString
*arg2
= 0 ;
9518 bool temp2
= False
;
9519 PyObject
* obj0
= 0 ;
9520 PyObject
* obj1
= 0 ;
9522 (char *) "self",(char *) "name", NULL
9525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9528 arg2
= wxString_in_helper(obj1
);
9529 if (arg2
== NULL
) SWIG_fail
;
9533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9534 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= PyInt_FromLong((long)result
);
9554 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9555 PyObject
*resultobj
;
9556 wxImage
*arg1
= (wxImage
*) 0 ;
9557 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9558 unsigned long result
;
9559 PyObject
* obj0
= 0 ;
9560 PyObject
* obj1
= 0 ;
9562 (char *) "self",(char *) "stopafter", NULL
9565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9568 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9569 if (PyErr_Occurred()) SWIG_fail
;
9572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9573 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9575 wxPyEndAllowThreads(__tstate
);
9576 if (PyErr_Occurred()) SWIG_fail
;
9578 resultobj
= PyInt_FromLong((long)result
);
9585 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9586 PyObject
*resultobj
;
9587 wxImage
*arg1
= (wxImage
*) 0 ;
9588 wxImageHistogram
*arg2
= 0 ;
9589 unsigned long result
;
9590 PyObject
* obj0
= 0 ;
9591 PyObject
* obj1
= 0 ;
9593 (char *) "self",(char *) "h", NULL
9596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9598 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9604 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9606 wxPyEndAllowThreads(__tstate
);
9607 if (PyErr_Occurred()) SWIG_fail
;
9609 resultobj
= PyInt_FromLong((long)result
);
9616 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9617 PyObject
*resultobj
;
9618 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9619 PyObject
* obj0
= 0 ;
9621 (char *) "handler", NULL
9624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9628 wxImage::AddHandler(arg1
);
9630 wxPyEndAllowThreads(__tstate
);
9631 if (PyErr_Occurred()) SWIG_fail
;
9633 Py_INCREF(Py_None
); resultobj
= Py_None
;
9640 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9641 PyObject
*resultobj
;
9642 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9643 PyObject
* obj0
= 0 ;
9645 (char *) "handler", NULL
9648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9652 wxImage::InsertHandler(arg1
);
9654 wxPyEndAllowThreads(__tstate
);
9655 if (PyErr_Occurred()) SWIG_fail
;
9657 Py_INCREF(Py_None
); resultobj
= Py_None
;
9664 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9665 PyObject
*resultobj
;
9666 wxString
*arg1
= 0 ;
9668 bool temp1
= False
;
9669 PyObject
* obj0
= 0 ;
9671 (char *) "name", NULL
9674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9676 arg1
= wxString_in_helper(obj0
);
9677 if (arg1
== NULL
) SWIG_fail
;
9681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9682 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9684 wxPyEndAllowThreads(__tstate
);
9685 if (PyErr_Occurred()) SWIG_fail
;
9687 resultobj
= PyInt_FromLong((long)result
);
9702 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9703 PyObject
*resultobj
;
9709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9712 result
= wxImage::GetImageExtWildcard();
9714 wxPyEndAllowThreads(__tstate
);
9715 if (PyErr_Occurred()) SWIG_fail
;
9719 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9721 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9730 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9731 PyObject
*resultobj
;
9732 wxImage
*arg1
= (wxImage
*) 0 ;
9734 PyObject
* obj0
= 0 ;
9736 (char *) "self", NULL
9739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9743 result
= wxImage_ConvertToBitmap(arg1
);
9745 wxPyEndAllowThreads(__tstate
);
9746 if (PyErr_Occurred()) SWIG_fail
;
9749 wxBitmap
* resultptr
;
9750 resultptr
= new wxBitmap((wxBitmap
&) result
);
9751 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9759 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
;
9761 wxImage
*arg1
= (wxImage
*) 0 ;
9762 unsigned char arg2
;
9763 unsigned char arg3
;
9764 unsigned char arg4
;
9766 PyObject
* obj0
= 0 ;
9767 PyObject
* obj1
= 0 ;
9768 PyObject
* obj2
= 0 ;
9769 PyObject
* obj3
= 0 ;
9771 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9776 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9777 if (PyErr_Occurred()) SWIG_fail
;
9778 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9780 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9790 wxBitmap
* resultptr
;
9791 resultptr
= new wxBitmap((wxBitmap
&) result
);
9792 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9800 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9802 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9803 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9805 return Py_BuildValue((char *)"");
9807 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9808 PyObject
*resultobj
;
9813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9816 wxInitAllImageHandlers();
9818 wxPyEndAllowThreads(__tstate
);
9819 if (PyErr_Occurred()) SWIG_fail
;
9821 Py_INCREF(Py_None
); resultobj
= Py_None
;
9828 static int _wrap_NullImage_set(PyObject
*_val
) {
9829 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9834 static PyObject
*_wrap_NullImage_get() {
9837 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9842 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9843 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9848 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9853 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9855 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9862 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9863 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9868 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9873 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9875 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9882 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
9883 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9888 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9893 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9895 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9902 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
9903 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9908 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
9913 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9915 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9922 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
9923 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9928 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9933 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9935 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9942 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9943 PyObject
*resultobj
;
9944 wxBMPHandler
*result
;
9949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
9951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9952 result
= (wxBMPHandler
*)new wxBMPHandler();
9954 wxPyEndAllowThreads(__tstate
);
9955 if (PyErr_Occurred()) SWIG_fail
;
9957 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
9964 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9967 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
9969 return Py_BuildValue((char *)"");
9971 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9972 PyObject
*resultobj
;
9973 wxICOHandler
*result
;
9978 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
9980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9981 result
= (wxICOHandler
*)new wxICOHandler();
9983 wxPyEndAllowThreads(__tstate
);
9984 if (PyErr_Occurred()) SWIG_fail
;
9986 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
9993 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9995 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9996 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
9998 return Py_BuildValue((char *)"");
10000 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10001 PyObject
*resultobj
;
10002 wxCURHandler
*result
;
10003 char *kwnames
[] = {
10007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10010 result
= (wxCURHandler
*)new wxCURHandler();
10012 wxPyEndAllowThreads(__tstate
);
10013 if (PyErr_Occurred()) SWIG_fail
;
10015 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10022 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10024 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10025 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10027 return Py_BuildValue((char *)"");
10029 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10030 PyObject
*resultobj
;
10031 wxANIHandler
*result
;
10032 char *kwnames
[] = {
10036 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10039 result
= (wxANIHandler
*)new wxANIHandler();
10041 wxPyEndAllowThreads(__tstate
);
10042 if (PyErr_Occurred()) SWIG_fail
;
10044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10051 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10054 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10056 return Py_BuildValue((char *)"");
10058 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10059 PyObject
*resultobj
;
10060 wxPNGHandler
*result
;
10061 char *kwnames
[] = {
10065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10068 result
= (wxPNGHandler
*)new wxPNGHandler();
10070 wxPyEndAllowThreads(__tstate
);
10071 if (PyErr_Occurred()) SWIG_fail
;
10073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10080 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10082 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10083 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10085 return Py_BuildValue((char *)"");
10087 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10088 PyObject
*resultobj
;
10089 wxGIFHandler
*result
;
10090 char *kwnames
[] = {
10094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10097 result
= (wxGIFHandler
*)new wxGIFHandler();
10099 wxPyEndAllowThreads(__tstate
);
10100 if (PyErr_Occurred()) SWIG_fail
;
10102 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10109 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10111 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10112 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10114 return Py_BuildValue((char *)"");
10116 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10117 PyObject
*resultobj
;
10118 wxPCXHandler
*result
;
10119 char *kwnames
[] = {
10123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10126 result
= (wxPCXHandler
*)new wxPCXHandler();
10128 wxPyEndAllowThreads(__tstate
);
10129 if (PyErr_Occurred()) SWIG_fail
;
10131 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10138 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10140 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10141 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10143 return Py_BuildValue((char *)"");
10145 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10146 PyObject
*resultobj
;
10147 wxJPEGHandler
*result
;
10148 char *kwnames
[] = {
10152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10155 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10157 wxPyEndAllowThreads(__tstate
);
10158 if (PyErr_Occurred()) SWIG_fail
;
10160 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10167 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10169 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10170 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10172 return Py_BuildValue((char *)"");
10174 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10175 PyObject
*resultobj
;
10176 wxPNMHandler
*result
;
10177 char *kwnames
[] = {
10181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10184 result
= (wxPNMHandler
*)new wxPNMHandler();
10186 wxPyEndAllowThreads(__tstate
);
10187 if (PyErr_Occurred()) SWIG_fail
;
10189 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10196 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10198 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10199 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10201 return Py_BuildValue((char *)"");
10203 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10204 PyObject
*resultobj
;
10205 wxXPMHandler
*result
;
10206 char *kwnames
[] = {
10210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10213 result
= (wxXPMHandler
*)new wxXPMHandler();
10215 wxPyEndAllowThreads(__tstate
);
10216 if (PyErr_Occurred()) SWIG_fail
;
10218 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10225 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10227 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10228 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10230 return Py_BuildValue((char *)"");
10232 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10233 PyObject
*resultobj
;
10234 wxTIFFHandler
*result
;
10235 char *kwnames
[] = {
10239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10242 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10244 wxPyEndAllowThreads(__tstate
);
10245 if (PyErr_Occurred()) SWIG_fail
;
10247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10254 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10256 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10257 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10259 return Py_BuildValue((char *)"");
10261 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10262 PyObject
*resultobj
;
10263 wxEvtHandler
*result
;
10264 char *kwnames
[] = {
10268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10271 result
= (wxEvtHandler
*)new wxEvtHandler();
10273 wxPyEndAllowThreads(__tstate
);
10274 if (PyErr_Occurred()) SWIG_fail
;
10277 resultobj
= wxPyMake_wxObject(result
);
10285 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10286 PyObject
*resultobj
;
10287 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10288 wxEvtHandler
*result
;
10289 PyObject
* obj0
= 0 ;
10290 char *kwnames
[] = {
10291 (char *) "self", NULL
10294 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10295 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10298 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10300 wxPyEndAllowThreads(__tstate
);
10301 if (PyErr_Occurred()) SWIG_fail
;
10304 resultobj
= wxPyMake_wxObject(result
);
10312 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10313 PyObject
*resultobj
;
10314 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10315 wxEvtHandler
*result
;
10316 PyObject
* obj0
= 0 ;
10317 char *kwnames
[] = {
10318 (char *) "self", NULL
10321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10325 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10327 wxPyEndAllowThreads(__tstate
);
10328 if (PyErr_Occurred()) SWIG_fail
;
10331 resultobj
= wxPyMake_wxObject(result
);
10339 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10340 PyObject
*resultobj
;
10341 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10342 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10343 PyObject
* obj0
= 0 ;
10344 PyObject
* obj1
= 0 ;
10345 char *kwnames
[] = {
10346 (char *) "self",(char *) "handler", NULL
10349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10351 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10354 (arg1
)->SetNextHandler(arg2
);
10356 wxPyEndAllowThreads(__tstate
);
10357 if (PyErr_Occurred()) SWIG_fail
;
10359 Py_INCREF(Py_None
); resultobj
= Py_None
;
10366 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10367 PyObject
*resultobj
;
10368 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10369 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10370 PyObject
* obj0
= 0 ;
10371 PyObject
* obj1
= 0 ;
10372 char *kwnames
[] = {
10373 (char *) "self",(char *) "handler", NULL
10376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10378 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10381 (arg1
)->SetPreviousHandler(arg2
);
10383 wxPyEndAllowThreads(__tstate
);
10384 if (PyErr_Occurred()) SWIG_fail
;
10386 Py_INCREF(Py_None
); resultobj
= Py_None
;
10393 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10397 PyObject
* obj0
= 0 ;
10398 char *kwnames
[] = {
10399 (char *) "self", NULL
10402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10406 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10408 wxPyEndAllowThreads(__tstate
);
10409 if (PyErr_Occurred()) SWIG_fail
;
10411 resultobj
= PyInt_FromLong((long)result
);
10418 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10419 PyObject
*resultobj
;
10420 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10422 PyObject
* obj0
= 0 ;
10423 PyObject
* obj1
= 0 ;
10424 char *kwnames
[] = {
10425 (char *) "self",(char *) "enabled", NULL
10428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10430 arg2
= PyInt_AsLong(obj1
) ? true : false;
10431 if (PyErr_Occurred()) SWIG_fail
;
10433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10434 (arg1
)->SetEvtHandlerEnabled(arg2
);
10436 wxPyEndAllowThreads(__tstate
);
10437 if (PyErr_Occurred()) SWIG_fail
;
10439 Py_INCREF(Py_None
); resultobj
= Py_None
;
10446 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10447 PyObject
*resultobj
;
10448 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10449 wxEvent
*arg2
= 0 ;
10451 PyObject
* obj0
= 0 ;
10452 PyObject
* obj1
= 0 ;
10453 char *kwnames
[] = {
10454 (char *) "self",(char *) "event", NULL
10457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10459 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10460 if (arg2
== NULL
) {
10461 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10465 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10467 wxPyEndAllowThreads(__tstate
);
10468 if (PyErr_Occurred()) SWIG_fail
;
10470 resultobj
= PyInt_FromLong((long)result
);
10477 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10478 PyObject
*resultobj
;
10479 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10480 wxEvent
*arg2
= 0 ;
10481 PyObject
* obj0
= 0 ;
10482 PyObject
* obj1
= 0 ;
10483 char *kwnames
[] = {
10484 (char *) "self",(char *) "event", NULL
10487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10490 if (arg2
== NULL
) {
10491 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10495 (arg1
)->AddPendingEvent(*arg2
);
10497 wxPyEndAllowThreads(__tstate
);
10498 if (PyErr_Occurred()) SWIG_fail
;
10500 Py_INCREF(Py_None
); resultobj
= Py_None
;
10507 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10508 PyObject
*resultobj
;
10509 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10510 PyObject
* obj0
= 0 ;
10511 char *kwnames
[] = {
10512 (char *) "self", NULL
10515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 (arg1
)->ProcessPendingEvents();
10521 wxPyEndAllowThreads(__tstate
);
10522 if (PyErr_Occurred()) SWIG_fail
;
10524 Py_INCREF(Py_None
); resultobj
= Py_None
;
10531 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10532 PyObject
*resultobj
;
10533 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10537 PyObject
*arg5
= (PyObject
*) 0 ;
10538 PyObject
* obj0
= 0 ;
10539 PyObject
* obj4
= 0 ;
10540 char *kwnames
[] = {
10541 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10549 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10551 wxPyEndAllowThreads(__tstate
);
10552 if (PyErr_Occurred()) SWIG_fail
;
10554 Py_INCREF(Py_None
); resultobj
= Py_None
;
10561 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10562 PyObject
*resultobj
;
10563 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10565 int arg3
= (int) -1 ;
10566 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10568 PyObject
* obj0
= 0 ;
10569 char *kwnames
[] = {
10570 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10577 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= PyInt_FromLong((long)result
);
10589 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10590 PyObject
*resultobj
;
10591 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10592 PyObject
*arg2
= (PyObject
*) 0 ;
10593 PyObject
* obj0
= 0 ;
10594 PyObject
* obj1
= 0 ;
10595 char *kwnames
[] = {
10596 (char *) "self",(char *) "_self", NULL
10599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10604 wxEvtHandler__setOORInfo(arg1
,arg2
);
10606 wxPyEndAllowThreads(__tstate
);
10607 if (PyErr_Occurred()) SWIG_fail
;
10609 Py_INCREF(Py_None
); resultobj
= Py_None
;
10616 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10618 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10619 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10621 return Py_BuildValue((char *)"");
10623 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10624 PyObject
*resultobj
;
10625 wxEventType result
;
10626 char *kwnames
[] = {
10630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10633 result
= (wxEventType
)wxNewEventType();
10635 wxPyEndAllowThreads(__tstate
);
10636 if (PyErr_Occurred()) SWIG_fail
;
10638 resultobj
= PyInt_FromLong((long)result
);
10645 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10646 PyObject
*resultobj
;
10647 wxEvent
*arg1
= (wxEvent
*) 0 ;
10648 PyObject
* obj0
= 0 ;
10649 char *kwnames
[] = {
10650 (char *) "self", NULL
10653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10659 wxPyEndAllowThreads(__tstate
);
10660 if (PyErr_Occurred()) SWIG_fail
;
10662 Py_INCREF(Py_None
); resultobj
= Py_None
;
10669 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10670 PyObject
*resultobj
;
10671 wxEvent
*arg1
= (wxEvent
*) 0 ;
10673 PyObject
* obj0
= 0 ;
10674 char *kwnames
[] = {
10675 (char *) "self",(char *) "typ", NULL
10678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10682 (arg1
)->SetEventType(arg2
);
10684 wxPyEndAllowThreads(__tstate
);
10685 if (PyErr_Occurred()) SWIG_fail
;
10687 Py_INCREF(Py_None
); resultobj
= Py_None
;
10694 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10695 PyObject
*resultobj
;
10696 wxEvent
*arg1
= (wxEvent
*) 0 ;
10697 wxEventType result
;
10698 PyObject
* obj0
= 0 ;
10699 char *kwnames
[] = {
10700 (char *) "self", NULL
10703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10707 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10709 wxPyEndAllowThreads(__tstate
);
10710 if (PyErr_Occurred()) SWIG_fail
;
10712 resultobj
= PyInt_FromLong((long)result
);
10719 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10720 PyObject
*resultobj
;
10721 wxEvent
*arg1
= (wxEvent
*) 0 ;
10723 PyObject
* obj0
= 0 ;
10724 char *kwnames
[] = {
10725 (char *) "self", NULL
10728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10732 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10734 wxPyEndAllowThreads(__tstate
);
10735 if (PyErr_Occurred()) SWIG_fail
;
10738 resultobj
= wxPyMake_wxObject(result
);
10746 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10747 PyObject
*resultobj
;
10748 wxEvent
*arg1
= (wxEvent
*) 0 ;
10749 wxObject
*arg2
= (wxObject
*) 0 ;
10750 PyObject
* obj0
= 0 ;
10751 PyObject
* obj1
= 0 ;
10752 char *kwnames
[] = {
10753 (char *) "self",(char *) "obj", NULL
10756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10758 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10761 (arg1
)->SetEventObject(arg2
);
10763 wxPyEndAllowThreads(__tstate
);
10764 if (PyErr_Occurred()) SWIG_fail
;
10766 Py_INCREF(Py_None
); resultobj
= Py_None
;
10773 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10774 PyObject
*resultobj
;
10775 wxEvent
*arg1
= (wxEvent
*) 0 ;
10777 PyObject
* obj0
= 0 ;
10778 char *kwnames
[] = {
10779 (char *) "self", NULL
10782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10786 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10788 wxPyEndAllowThreads(__tstate
);
10789 if (PyErr_Occurred()) SWIG_fail
;
10791 resultobj
= PyInt_FromLong((long)result
);
10798 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10799 PyObject
*resultobj
;
10800 wxEvent
*arg1
= (wxEvent
*) 0 ;
10801 long arg2
= (long) 0 ;
10802 PyObject
* obj0
= 0 ;
10803 char *kwnames
[] = {
10804 (char *) "self",(char *) "ts", NULL
10807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10811 (arg1
)->SetTimestamp(arg2
);
10813 wxPyEndAllowThreads(__tstate
);
10814 if (PyErr_Occurred()) SWIG_fail
;
10816 Py_INCREF(Py_None
); resultobj
= Py_None
;
10823 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10824 PyObject
*resultobj
;
10825 wxEvent
*arg1
= (wxEvent
*) 0 ;
10827 PyObject
* obj0
= 0 ;
10828 char *kwnames
[] = {
10829 (char *) "self", NULL
10832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10836 result
= (int)((wxEvent
const *)arg1
)->GetId();
10838 wxPyEndAllowThreads(__tstate
);
10839 if (PyErr_Occurred()) SWIG_fail
;
10841 resultobj
= PyInt_FromLong((long)result
);
10848 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10849 PyObject
*resultobj
;
10850 wxEvent
*arg1
= (wxEvent
*) 0 ;
10852 PyObject
* obj0
= 0 ;
10853 char *kwnames
[] = {
10854 (char *) "self",(char *) "Id", NULL
10857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10861 (arg1
)->SetId(arg2
);
10863 wxPyEndAllowThreads(__tstate
);
10864 if (PyErr_Occurred()) SWIG_fail
;
10866 Py_INCREF(Py_None
); resultobj
= Py_None
;
10873 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10874 PyObject
*resultobj
;
10875 wxEvent
*arg1
= (wxEvent
*) 0 ;
10877 PyObject
* obj0
= 0 ;
10878 char *kwnames
[] = {
10879 (char *) "self", NULL
10882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
10883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10886 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
10888 wxPyEndAllowThreads(__tstate
);
10889 if (PyErr_Occurred()) SWIG_fail
;
10891 resultobj
= PyInt_FromLong((long)result
);
10898 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10899 PyObject
*resultobj
;
10900 wxEvent
*arg1
= (wxEvent
*) 0 ;
10901 bool arg2
= (bool) True
;
10902 PyObject
* obj0
= 0 ;
10903 PyObject
* obj1
= 0 ;
10904 char *kwnames
[] = {
10905 (char *) "self",(char *) "skip", NULL
10908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
10909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10911 arg2
= PyInt_AsLong(obj1
) ? true : false;
10912 if (PyErr_Occurred()) SWIG_fail
;
10915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10916 (arg1
)->Skip(arg2
);
10918 wxPyEndAllowThreads(__tstate
);
10919 if (PyErr_Occurred()) SWIG_fail
;
10921 Py_INCREF(Py_None
); resultobj
= Py_None
;
10928 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10929 PyObject
*resultobj
;
10930 wxEvent
*arg1
= (wxEvent
*) 0 ;
10932 PyObject
* obj0
= 0 ;
10933 char *kwnames
[] = {
10934 (char *) "self", NULL
10937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
10938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
10943 wxPyEndAllowThreads(__tstate
);
10944 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= PyInt_FromLong((long)result
);
10953 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10954 PyObject
*resultobj
;
10955 wxEvent
*arg1
= (wxEvent
*) 0 ;
10957 PyObject
* obj0
= 0 ;
10958 char *kwnames
[] = {
10959 (char *) "self", NULL
10962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
10963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10966 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
10968 wxPyEndAllowThreads(__tstate
);
10969 if (PyErr_Occurred()) SWIG_fail
;
10971 resultobj
= PyInt_FromLong((long)result
);
10978 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10979 PyObject
*resultobj
;
10980 wxEvent
*arg1
= (wxEvent
*) 0 ;
10982 PyObject
* obj0
= 0 ;
10983 char *kwnames
[] = {
10984 (char *) "self", NULL
10987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
10988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10991 result
= (int)(arg1
)->StopPropagation();
10993 wxPyEndAllowThreads(__tstate
);
10994 if (PyErr_Occurred()) SWIG_fail
;
10996 resultobj
= PyInt_FromLong((long)result
);
11003 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11004 PyObject
*resultobj
;
11005 wxEvent
*arg1
= (wxEvent
*) 0 ;
11007 PyObject
* obj0
= 0 ;
11008 char *kwnames
[] = {
11009 (char *) "self",(char *) "propagationLevel", NULL
11012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11016 (arg1
)->ResumePropagation(arg2
);
11018 wxPyEndAllowThreads(__tstate
);
11019 if (PyErr_Occurred()) SWIG_fail
;
11021 Py_INCREF(Py_None
); resultobj
= Py_None
;
11028 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11029 PyObject
*resultobj
;
11030 wxEvent
*arg1
= (wxEvent
*) 0 ;
11032 PyObject
* obj0
= 0 ;
11033 char *kwnames
[] = {
11034 (char *) "self", NULL
11037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11041 result
= (wxEvent
*)(arg1
)->Clone();
11043 wxPyEndAllowThreads(__tstate
);
11044 if (PyErr_Occurred()) SWIG_fail
;
11046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11053 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11056 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11058 return Py_BuildValue((char *)"");
11060 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxEvent
*arg1
= 0 ;
11063 wxPropagationDisabler
*result
;
11064 PyObject
* obj0
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "event", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11071 if (arg1
== NULL
) {
11072 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11076 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11078 wxPyEndAllowThreads(__tstate
);
11079 if (PyErr_Occurred()) SWIG_fail
;
11081 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11088 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11089 PyObject
*resultobj
;
11090 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11091 PyObject
* obj0
= 0 ;
11092 char *kwnames
[] = {
11093 (char *) "self", NULL
11096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 wxPyEndAllowThreads(__tstate
);
11103 if (PyErr_Occurred()) SWIG_fail
;
11105 Py_INCREF(Py_None
); resultobj
= Py_None
;
11112 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11115 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11117 return Py_BuildValue((char *)"");
11119 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11120 PyObject
*resultobj
;
11121 wxEvent
*arg1
= 0 ;
11122 wxPropagateOnce
*result
;
11123 PyObject
* obj0
= 0 ;
11124 char *kwnames
[] = {
11125 (char *) "event", NULL
11128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11130 if (arg1
== NULL
) {
11131 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11135 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11147 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
;
11149 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11150 PyObject
* obj0
= 0 ;
11151 char *kwnames
[] = {
11152 (char *) "self", NULL
11155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11161 wxPyEndAllowThreads(__tstate
);
11162 if (PyErr_Occurred()) SWIG_fail
;
11164 Py_INCREF(Py_None
); resultobj
= Py_None
;
11171 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11173 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11174 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11176 return Py_BuildValue((char *)"");
11178 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11179 PyObject
*resultobj
;
11180 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11181 int arg2
= (int) 0 ;
11182 wxCommandEvent
*result
;
11183 char *kwnames
[] = {
11184 (char *) "commandType",(char *) "winid", NULL
11187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11190 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11192 wxPyEndAllowThreads(__tstate
);
11193 if (PyErr_Occurred()) SWIG_fail
;
11195 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11202 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11203 PyObject
*resultobj
;
11204 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11206 PyObject
* obj0
= 0 ;
11207 char *kwnames
[] = {
11208 (char *) "self", NULL
11211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11215 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11217 wxPyEndAllowThreads(__tstate
);
11218 if (PyErr_Occurred()) SWIG_fail
;
11220 resultobj
= PyInt_FromLong((long)result
);
11227 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11228 PyObject
*resultobj
;
11229 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11230 wxString
*arg2
= 0 ;
11231 bool temp2
= False
;
11232 PyObject
* obj0
= 0 ;
11233 PyObject
* obj1
= 0 ;
11234 char *kwnames
[] = {
11235 (char *) "self",(char *) "s", NULL
11238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11241 arg2
= wxString_in_helper(obj1
);
11242 if (arg2
== NULL
) SWIG_fail
;
11246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11247 (arg1
)->SetString((wxString
const &)*arg2
);
11249 wxPyEndAllowThreads(__tstate
);
11250 if (PyErr_Occurred()) SWIG_fail
;
11252 Py_INCREF(Py_None
); resultobj
= Py_None
;
11267 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11268 PyObject
*resultobj
;
11269 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11271 PyObject
* obj0
= 0 ;
11272 char *kwnames
[] = {
11273 (char *) "self", NULL
11276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11280 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11282 wxPyEndAllowThreads(__tstate
);
11283 if (PyErr_Occurred()) SWIG_fail
;
11287 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11289 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11298 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11299 PyObject
*resultobj
;
11300 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11302 PyObject
* obj0
= 0 ;
11303 char *kwnames
[] = {
11304 (char *) "self", NULL
11307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11311 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11313 wxPyEndAllowThreads(__tstate
);
11314 if (PyErr_Occurred()) SWIG_fail
;
11316 resultobj
= PyInt_FromLong((long)result
);
11323 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11324 PyObject
*resultobj
;
11325 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11327 PyObject
* obj0
= 0 ;
11328 char *kwnames
[] = {
11329 (char *) "self", NULL
11332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11336 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11338 wxPyEndAllowThreads(__tstate
);
11339 if (PyErr_Occurred()) SWIG_fail
;
11341 resultobj
= PyInt_FromLong((long)result
);
11348 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11349 PyObject
*resultobj
;
11350 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11352 PyObject
* obj0
= 0 ;
11353 char *kwnames
[] = {
11354 (char *) "self",(char *) "extraLong", NULL
11357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11361 (arg1
)->SetExtraLong(arg2
);
11363 wxPyEndAllowThreads(__tstate
);
11364 if (PyErr_Occurred()) SWIG_fail
;
11366 Py_INCREF(Py_None
); resultobj
= Py_None
;
11373 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11374 PyObject
*resultobj
;
11375 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11377 PyObject
* obj0
= 0 ;
11378 char *kwnames
[] = {
11379 (char *) "self", NULL
11382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11386 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11388 wxPyEndAllowThreads(__tstate
);
11389 if (PyErr_Occurred()) SWIG_fail
;
11391 resultobj
= PyInt_FromLong((long)result
);
11398 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11399 PyObject
*resultobj
;
11400 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11402 PyObject
* obj0
= 0 ;
11403 char *kwnames
[] = {
11404 (char *) "self",(char *) "i", NULL
11407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11411 (arg1
)->SetInt(arg2
);
11413 wxPyEndAllowThreads(__tstate
);
11414 if (PyErr_Occurred()) SWIG_fail
;
11416 Py_INCREF(Py_None
); resultobj
= Py_None
;
11423 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11424 PyObject
*resultobj
;
11425 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11427 PyObject
* obj0
= 0 ;
11428 char *kwnames
[] = {
11429 (char *) "self", NULL
11432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11438 wxPyEndAllowThreads(__tstate
);
11439 if (PyErr_Occurred()) SWIG_fail
;
11441 resultobj
= PyInt_FromLong((long)result
);
11448 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11449 PyObject
*resultobj
;
11450 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 char *kwnames
[] = {
11454 (char *) "self", NULL
11457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11461 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11463 wxPyEndAllowThreads(__tstate
);
11464 if (PyErr_Occurred()) SWIG_fail
;
11466 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11473 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11476 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11478 return Py_BuildValue((char *)"");
11480 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11483 int arg2
= (int) 0 ;
11484 wxNotifyEvent
*result
;
11485 char *kwnames
[] = {
11486 (char *) "commandType",(char *) "winid", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11492 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11494 wxPyEndAllowThreads(__tstate
);
11495 if (PyErr_Occurred()) SWIG_fail
;
11497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11504 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11505 PyObject
*resultobj
;
11506 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11507 PyObject
* obj0
= 0 ;
11508 char *kwnames
[] = {
11509 (char *) "self", NULL
11512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 wxPyEndAllowThreads(__tstate
);
11519 if (PyErr_Occurred()) SWIG_fail
;
11521 Py_INCREF(Py_None
); resultobj
= Py_None
;
11528 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11529 PyObject
*resultobj
;
11530 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11531 PyObject
* obj0
= 0 ;
11532 char *kwnames
[] = {
11533 (char *) "self", NULL
11536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11542 wxPyEndAllowThreads(__tstate
);
11543 if (PyErr_Occurred()) SWIG_fail
;
11545 Py_INCREF(Py_None
); resultobj
= Py_None
;
11552 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11553 PyObject
*resultobj
;
11554 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11556 PyObject
* obj0
= 0 ;
11557 char *kwnames
[] = {
11558 (char *) "self", NULL
11561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 result
= (bool)(arg1
)->IsAllowed();
11567 wxPyEndAllowThreads(__tstate
);
11568 if (PyErr_Occurred()) SWIG_fail
;
11570 resultobj
= PyInt_FromLong((long)result
);
11577 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11580 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11582 return Py_BuildValue((char *)"");
11584 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11585 PyObject
*resultobj
;
11586 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11587 int arg2
= (int) 0 ;
11588 int arg3
= (int) 0 ;
11589 int arg4
= (int) 0 ;
11590 wxScrollEvent
*result
;
11591 char *kwnames
[] = {
11592 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11598 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11600 wxPyEndAllowThreads(__tstate
);
11601 if (PyErr_Occurred()) SWIG_fail
;
11603 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11610 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11611 PyObject
*resultobj
;
11612 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11614 PyObject
* obj0
= 0 ;
11615 char *kwnames
[] = {
11616 (char *) "self", NULL
11619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11623 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11625 wxPyEndAllowThreads(__tstate
);
11626 if (PyErr_Occurred()) SWIG_fail
;
11628 resultobj
= PyInt_FromLong((long)result
);
11635 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11636 PyObject
*resultobj
;
11637 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11639 PyObject
* obj0
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11648 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 resultobj
= PyInt_FromLong((long)result
);
11660 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11664 PyObject
* obj0
= 0 ;
11665 char *kwnames
[] = {
11666 (char *) "self",(char *) "orient", NULL
11669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11673 (arg1
)->SetOrientation(arg2
);
11675 wxPyEndAllowThreads(__tstate
);
11676 if (PyErr_Occurred()) SWIG_fail
;
11678 Py_INCREF(Py_None
); resultobj
= Py_None
;
11685 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11686 PyObject
*resultobj
;
11687 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11689 PyObject
* obj0
= 0 ;
11690 char *kwnames
[] = {
11691 (char *) "self",(char *) "pos", NULL
11694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11698 (arg1
)->SetPosition(arg2
);
11700 wxPyEndAllowThreads(__tstate
);
11701 if (PyErr_Occurred()) SWIG_fail
;
11703 Py_INCREF(Py_None
); resultobj
= Py_None
;
11710 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11712 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11713 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11715 return Py_BuildValue((char *)"");
11717 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11718 PyObject
*resultobj
;
11719 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11720 int arg2
= (int) 0 ;
11721 int arg3
= (int) 0 ;
11722 wxScrollWinEvent
*result
;
11723 char *kwnames
[] = {
11724 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11742 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= PyInt_FromLong((long)result
);
11767 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11771 PyObject
* obj0
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= PyInt_FromLong((long)result
);
11792 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self",(char *) "orient", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 (arg1
)->SetOrientation(arg2
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 Py_INCREF(Py_None
); resultobj
= Py_None
;
11817 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11821 PyObject
* obj0
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "pos", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 (arg1
)->SetPosition(arg2
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 Py_INCREF(Py_None
); resultobj
= Py_None
;
11842 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11845 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11847 return Py_BuildValue((char *)"");
11849 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11852 wxMouseEvent
*result
;
11853 char *kwnames
[] = {
11854 (char *) "mouseType", NULL
11857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11860 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11862 wxPyEndAllowThreads(__tstate
);
11863 if (PyErr_Occurred()) SWIG_fail
;
11866 resultobj
= wxPyMake_wxObject(result
);
11874 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= PyInt_FromLong((long)result
);
11899 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11902 int arg2
= (int) wxMOUSE_BTN_ANY
;
11904 PyObject
* obj0
= 0 ;
11905 char *kwnames
[] = {
11906 (char *) "self",(char *) "but", NULL
11909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
11910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11913 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
11915 wxPyEndAllowThreads(__tstate
);
11916 if (PyErr_Occurred()) SWIG_fail
;
11918 resultobj
= PyInt_FromLong((long)result
);
11925 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11926 PyObject
*resultobj
;
11927 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11928 int arg2
= (int) wxMOUSE_BTN_ANY
;
11930 PyObject
* obj0
= 0 ;
11931 char *kwnames
[] = {
11932 (char *) "self",(char *) "but", NULL
11935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
11936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11939 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
11941 wxPyEndAllowThreads(__tstate
);
11942 if (PyErr_Occurred()) SWIG_fail
;
11944 resultobj
= PyInt_FromLong((long)result
);
11951 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11952 PyObject
*resultobj
;
11953 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11954 int arg2
= (int) wxMOUSE_BTN_ANY
;
11956 PyObject
* obj0
= 0 ;
11957 char *kwnames
[] = {
11958 (char *) "self",(char *) "but", NULL
11961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
11962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11965 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
11967 wxPyEndAllowThreads(__tstate
);
11968 if (PyErr_Occurred()) SWIG_fail
;
11970 resultobj
= PyInt_FromLong((long)result
);
11977 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11978 PyObject
*resultobj
;
11979 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11982 PyObject
* obj0
= 0 ;
11983 char *kwnames
[] = {
11984 (char *) "self",(char *) "but", NULL
11987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
11988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11991 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
11993 wxPyEndAllowThreads(__tstate
);
11994 if (PyErr_Occurred()) SWIG_fail
;
11996 resultobj
= PyInt_FromLong((long)result
);
12003 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12004 PyObject
*resultobj
;
12005 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12008 PyObject
* obj0
= 0 ;
12009 char *kwnames
[] = {
12010 (char *) "self",(char *) "but", NULL
12013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12017 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12019 wxPyEndAllowThreads(__tstate
);
12020 if (PyErr_Occurred()) SWIG_fail
;
12022 resultobj
= PyInt_FromLong((long)result
);
12029 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12030 PyObject
*resultobj
;
12031 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12033 PyObject
* obj0
= 0 ;
12034 char *kwnames
[] = {
12035 (char *) "self", NULL
12038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12042 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12044 wxPyEndAllowThreads(__tstate
);
12045 if (PyErr_Occurred()) SWIG_fail
;
12047 resultobj
= PyInt_FromLong((long)result
);
12054 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12055 PyObject
*resultobj
;
12056 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12058 PyObject
* obj0
= 0 ;
12059 char *kwnames
[] = {
12060 (char *) "self", NULL
12063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12067 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12069 wxPyEndAllowThreads(__tstate
);
12070 if (PyErr_Occurred()) SWIG_fail
;
12072 resultobj
= PyInt_FromLong((long)result
);
12079 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12080 PyObject
*resultobj
;
12081 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12083 PyObject
* obj0
= 0 ;
12084 char *kwnames
[] = {
12085 (char *) "self", NULL
12088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12092 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12094 wxPyEndAllowThreads(__tstate
);
12095 if (PyErr_Occurred()) SWIG_fail
;
12097 resultobj
= PyInt_FromLong((long)result
);
12104 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12105 PyObject
*resultobj
;
12106 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12108 PyObject
* obj0
= 0 ;
12109 char *kwnames
[] = {
12110 (char *) "self", NULL
12113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12117 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12119 wxPyEndAllowThreads(__tstate
);
12120 if (PyErr_Occurred()) SWIG_fail
;
12122 resultobj
= PyInt_FromLong((long)result
);
12129 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12130 PyObject
*resultobj
;
12131 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12133 PyObject
* obj0
= 0 ;
12134 char *kwnames
[] = {
12135 (char *) "self", NULL
12138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= PyInt_FromLong((long)result
);
12154 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12155 PyObject
*resultobj
;
12156 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12158 PyObject
* obj0
= 0 ;
12159 char *kwnames
[] = {
12160 (char *) "self", NULL
12163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12167 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12169 wxPyEndAllowThreads(__tstate
);
12170 if (PyErr_Occurred()) SWIG_fail
;
12172 resultobj
= PyInt_FromLong((long)result
);
12179 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12180 PyObject
*resultobj
;
12181 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12183 PyObject
* obj0
= 0 ;
12184 char *kwnames
[] = {
12185 (char *) "self", NULL
12188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12192 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12194 wxPyEndAllowThreads(__tstate
);
12195 if (PyErr_Occurred()) SWIG_fail
;
12197 resultobj
= PyInt_FromLong((long)result
);
12204 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12205 PyObject
*resultobj
;
12206 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12208 PyObject
* obj0
= 0 ;
12209 char *kwnames
[] = {
12210 (char *) "self", NULL
12213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12217 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12219 wxPyEndAllowThreads(__tstate
);
12220 if (PyErr_Occurred()) SWIG_fail
;
12222 resultobj
= PyInt_FromLong((long)result
);
12229 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12230 PyObject
*resultobj
;
12231 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12233 PyObject
* obj0
= 0 ;
12234 char *kwnames
[] = {
12235 (char *) "self", NULL
12238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12242 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12244 wxPyEndAllowThreads(__tstate
);
12245 if (PyErr_Occurred()) SWIG_fail
;
12247 resultobj
= PyInt_FromLong((long)result
);
12254 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12255 PyObject
*resultobj
;
12256 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12258 PyObject
* obj0
= 0 ;
12259 char *kwnames
[] = {
12260 (char *) "self", NULL
12263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12267 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12269 wxPyEndAllowThreads(__tstate
);
12270 if (PyErr_Occurred()) SWIG_fail
;
12272 resultobj
= PyInt_FromLong((long)result
);
12279 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12280 PyObject
*resultobj
;
12281 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12283 PyObject
* obj0
= 0 ;
12284 char *kwnames
[] = {
12285 (char *) "self", NULL
12288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12292 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12294 wxPyEndAllowThreads(__tstate
);
12295 if (PyErr_Occurred()) SWIG_fail
;
12297 resultobj
= PyInt_FromLong((long)result
);
12304 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12305 PyObject
*resultobj
;
12306 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12308 PyObject
* obj0
= 0 ;
12309 char *kwnames
[] = {
12310 (char *) "self", NULL
12313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12317 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= PyInt_FromLong((long)result
);
12329 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12330 PyObject
*resultobj
;
12331 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12333 PyObject
* obj0
= 0 ;
12334 char *kwnames
[] = {
12335 (char *) "self", NULL
12338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12342 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12344 wxPyEndAllowThreads(__tstate
);
12345 if (PyErr_Occurred()) SWIG_fail
;
12347 resultobj
= PyInt_FromLong((long)result
);
12354 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12355 PyObject
*resultobj
;
12356 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12358 PyObject
* obj0
= 0 ;
12359 char *kwnames
[] = {
12360 (char *) "self", NULL
12363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12367 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12369 wxPyEndAllowThreads(__tstate
);
12370 if (PyErr_Occurred()) SWIG_fail
;
12372 resultobj
= PyInt_FromLong((long)result
);
12379 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12380 PyObject
*resultobj
;
12381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12383 PyObject
* obj0
= 0 ;
12384 char *kwnames
[] = {
12385 (char *) "self", NULL
12388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12392 result
= (bool)(arg1
)->LeftIsDown();
12394 wxPyEndAllowThreads(__tstate
);
12395 if (PyErr_Occurred()) SWIG_fail
;
12397 resultobj
= PyInt_FromLong((long)result
);
12404 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12405 PyObject
*resultobj
;
12406 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12408 PyObject
* obj0
= 0 ;
12409 char *kwnames
[] = {
12410 (char *) "self", NULL
12413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12417 result
= (bool)(arg1
)->MiddleIsDown();
12419 wxPyEndAllowThreads(__tstate
);
12420 if (PyErr_Occurred()) SWIG_fail
;
12422 resultobj
= PyInt_FromLong((long)result
);
12429 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12430 PyObject
*resultobj
;
12431 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12433 PyObject
* obj0
= 0 ;
12434 char *kwnames
[] = {
12435 (char *) "self", NULL
12438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12442 result
= (bool)(arg1
)->RightIsDown();
12444 wxPyEndAllowThreads(__tstate
);
12445 if (PyErr_Occurred()) SWIG_fail
;
12447 resultobj
= PyInt_FromLong((long)result
);
12454 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12455 PyObject
*resultobj
;
12456 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12458 PyObject
* obj0
= 0 ;
12459 char *kwnames
[] = {
12460 (char *) "self", NULL
12463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12467 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= PyInt_FromLong((long)result
);
12479 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
;
12481 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12483 PyObject
* obj0
= 0 ;
12484 char *kwnames
[] = {
12485 (char *) "self", NULL
12488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12492 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12494 wxPyEndAllowThreads(__tstate
);
12495 if (PyErr_Occurred()) SWIG_fail
;
12497 resultobj
= PyInt_FromLong((long)result
);
12504 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12505 PyObject
*resultobj
;
12506 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12508 PyObject
* obj0
= 0 ;
12509 char *kwnames
[] = {
12510 (char *) "self", NULL
12513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12517 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12519 wxPyEndAllowThreads(__tstate
);
12520 if (PyErr_Occurred()) SWIG_fail
;
12522 resultobj
= PyInt_FromLong((long)result
);
12529 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12530 PyObject
*resultobj
;
12531 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12533 PyObject
* obj0
= 0 ;
12534 char *kwnames
[] = {
12535 (char *) "self", NULL
12538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12542 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12544 wxPyEndAllowThreads(__tstate
);
12545 if (PyErr_Occurred()) SWIG_fail
;
12547 resultobj
= PyInt_FromLong((long)result
);
12554 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12555 PyObject
*resultobj
;
12556 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12558 PyObject
* obj0
= 0 ;
12559 char *kwnames
[] = {
12560 (char *) "self", NULL
12563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12567 result
= (arg1
)->GetPosition();
12569 wxPyEndAllowThreads(__tstate
);
12570 if (PyErr_Occurred()) SWIG_fail
;
12573 wxPoint
* resultptr
;
12574 resultptr
= new wxPoint((wxPoint
&) result
);
12575 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12583 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12584 PyObject
*resultobj
;
12585 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12586 long *arg2
= (long *) 0 ;
12587 long *arg3
= (long *) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12601 (arg1
)->GetPosition(arg2
,arg3
);
12603 wxPyEndAllowThreads(__tstate
);
12604 if (PyErr_Occurred()) SWIG_fail
;
12606 Py_INCREF(Py_None
); resultobj
= Py_None
;
12608 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12609 resultobj
= t_output_helper(resultobj
,o
);
12612 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12613 resultobj
= t_output_helper(resultobj
,o
);
12621 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12622 PyObject
*resultobj
;
12623 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12626 PyObject
* obj0
= 0 ;
12627 PyObject
* obj1
= 0 ;
12628 char *kwnames
[] = {
12629 (char *) "self",(char *) "dc", NULL
12632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12635 if (arg2
== NULL
) {
12636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12640 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12642 wxPyEndAllowThreads(__tstate
);
12643 if (PyErr_Occurred()) SWIG_fail
;
12646 wxPoint
* resultptr
;
12647 resultptr
= new wxPoint((wxPoint
&) result
);
12648 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12656 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12657 PyObject
*resultobj
;
12658 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12660 PyObject
* obj0
= 0 ;
12661 char *kwnames
[] = {
12662 (char *) "self", NULL
12665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12669 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
12671 wxPyEndAllowThreads(__tstate
);
12672 if (PyErr_Occurred()) SWIG_fail
;
12674 resultobj
= PyInt_FromLong((long)result
);
12681 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12682 PyObject
*resultobj
;
12683 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12685 PyObject
* obj0
= 0 ;
12686 char *kwnames
[] = {
12687 (char *) "self", NULL
12690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12694 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= PyInt_FromLong((long)result
);
12706 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12707 PyObject
*resultobj
;
12708 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12710 PyObject
* obj0
= 0 ;
12711 char *kwnames
[] = {
12712 (char *) "self", NULL
12715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12719 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12721 wxPyEndAllowThreads(__tstate
);
12722 if (PyErr_Occurred()) SWIG_fail
;
12724 resultobj
= PyInt_FromLong((long)result
);
12731 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12732 PyObject
*resultobj
;
12733 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12735 PyObject
* obj0
= 0 ;
12736 char *kwnames
[] = {
12737 (char *) "self", NULL
12740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12744 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12746 wxPyEndAllowThreads(__tstate
);
12747 if (PyErr_Occurred()) SWIG_fail
;
12749 resultobj
= PyInt_FromLong((long)result
);
12756 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12757 PyObject
*resultobj
;
12758 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12760 PyObject
* obj0
= 0 ;
12761 char *kwnames
[] = {
12762 (char *) "self", NULL
12765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12769 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12771 wxPyEndAllowThreads(__tstate
);
12772 if (PyErr_Occurred()) SWIG_fail
;
12774 resultobj
= PyInt_FromLong((long)result
);
12781 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12782 PyObject
*resultobj
;
12783 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12785 PyObject
* obj0
= 0 ;
12786 char *kwnames
[] = {
12787 (char *) "self", NULL
12790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= PyInt_FromLong((long)result
);
12806 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
;
12808 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12810 PyObject
* obj0
= 0 ;
12811 char *kwnames
[] = {
12812 (char *) "self",(char *) "m_x", NULL
12815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12817 if (arg1
) (arg1
)->m_x
= arg2
;
12819 Py_INCREF(Py_None
); resultobj
= Py_None
;
12826 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12827 PyObject
*resultobj
;
12828 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12830 PyObject
* obj0
= 0 ;
12831 char *kwnames
[] = {
12832 (char *) "self", NULL
12835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12837 result
= (int) ((arg1
)->m_x
);
12839 resultobj
= PyInt_FromLong((long)result
);
12846 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12847 PyObject
*resultobj
;
12848 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12850 PyObject
* obj0
= 0 ;
12851 char *kwnames
[] = {
12852 (char *) "self",(char *) "m_y", NULL
12855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12857 if (arg1
) (arg1
)->m_y
= arg2
;
12859 Py_INCREF(Py_None
); resultobj
= Py_None
;
12866 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12867 PyObject
*resultobj
;
12868 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12870 PyObject
* obj0
= 0 ;
12871 char *kwnames
[] = {
12872 (char *) "self", NULL
12875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
12876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12877 result
= (int) ((arg1
)->m_y
);
12879 resultobj
= PyInt_FromLong((long)result
);
12886 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12887 PyObject
*resultobj
;
12888 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12890 PyObject
* obj0
= 0 ;
12891 PyObject
* obj1
= 0 ;
12892 char *kwnames
[] = {
12893 (char *) "self",(char *) "m_leftDown", NULL
12896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12898 arg2
= PyInt_AsLong(obj1
) ? true : false;
12899 if (PyErr_Occurred()) SWIG_fail
;
12900 if (arg1
) (arg1
)->m_leftDown
= arg2
;
12902 Py_INCREF(Py_None
); resultobj
= Py_None
;
12909 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12910 PyObject
*resultobj
;
12911 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12913 PyObject
* obj0
= 0 ;
12914 char *kwnames
[] = {
12915 (char *) "self", NULL
12918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
12919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12920 result
= (bool) ((arg1
)->m_leftDown
);
12922 resultobj
= PyInt_FromLong((long)result
);
12929 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12930 PyObject
*resultobj
;
12931 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12933 PyObject
* obj0
= 0 ;
12934 PyObject
* obj1
= 0 ;
12935 char *kwnames
[] = {
12936 (char *) "self",(char *) "m_middleDown", NULL
12939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12941 arg2
= PyInt_AsLong(obj1
) ? true : false;
12942 if (PyErr_Occurred()) SWIG_fail
;
12943 if (arg1
) (arg1
)->m_middleDown
= arg2
;
12945 Py_INCREF(Py_None
); resultobj
= Py_None
;
12952 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12953 PyObject
*resultobj
;
12954 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12956 PyObject
* obj0
= 0 ;
12957 char *kwnames
[] = {
12958 (char *) "self", NULL
12961 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
12962 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12963 result
= (bool) ((arg1
)->m_middleDown
);
12965 resultobj
= PyInt_FromLong((long)result
);
12972 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12973 PyObject
*resultobj
;
12974 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12976 PyObject
* obj0
= 0 ;
12977 PyObject
* obj1
= 0 ;
12978 char *kwnames
[] = {
12979 (char *) "self",(char *) "m_rightDown", NULL
12982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12984 arg2
= PyInt_AsLong(obj1
) ? true : false;
12985 if (PyErr_Occurred()) SWIG_fail
;
12986 if (arg1
) (arg1
)->m_rightDown
= arg2
;
12988 Py_INCREF(Py_None
); resultobj
= Py_None
;
12995 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12996 PyObject
*resultobj
;
12997 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12999 PyObject
* obj0
= 0 ;
13000 char *kwnames
[] = {
13001 (char *) "self", NULL
13004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13006 result
= (bool) ((arg1
)->m_rightDown
);
13008 resultobj
= PyInt_FromLong((long)result
);
13015 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13016 PyObject
*resultobj
;
13017 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13019 PyObject
* obj0
= 0 ;
13020 PyObject
* obj1
= 0 ;
13021 char *kwnames
[] = {
13022 (char *) "self",(char *) "m_controlDown", NULL
13025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13027 arg2
= PyInt_AsLong(obj1
) ? true : false;
13028 if (PyErr_Occurred()) SWIG_fail
;
13029 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13031 Py_INCREF(Py_None
); resultobj
= Py_None
;
13038 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13039 PyObject
*resultobj
;
13040 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13042 PyObject
* obj0
= 0 ;
13043 char *kwnames
[] = {
13044 (char *) "self", NULL
13047 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13049 result
= (bool) ((arg1
)->m_controlDown
);
13051 resultobj
= PyInt_FromLong((long)result
);
13058 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13059 PyObject
*resultobj
;
13060 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13062 PyObject
* obj0
= 0 ;
13063 PyObject
* obj1
= 0 ;
13064 char *kwnames
[] = {
13065 (char *) "self",(char *) "m_shiftDown", NULL
13068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13070 arg2
= PyInt_AsLong(obj1
) ? true : false;
13071 if (PyErr_Occurred()) SWIG_fail
;
13072 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13074 Py_INCREF(Py_None
); resultobj
= Py_None
;
13081 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13082 PyObject
*resultobj
;
13083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13085 PyObject
* obj0
= 0 ;
13086 char *kwnames
[] = {
13087 (char *) "self", NULL
13090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13092 result
= (bool) ((arg1
)->m_shiftDown
);
13094 resultobj
= PyInt_FromLong((long)result
);
13101 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13102 PyObject
*resultobj
;
13103 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13105 PyObject
* obj0
= 0 ;
13106 PyObject
* obj1
= 0 ;
13107 char *kwnames
[] = {
13108 (char *) "self",(char *) "m_altDown", NULL
13111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13113 arg2
= PyInt_AsLong(obj1
) ? true : false;
13114 if (PyErr_Occurred()) SWIG_fail
;
13115 if (arg1
) (arg1
)->m_altDown
= arg2
;
13117 Py_INCREF(Py_None
); resultobj
= Py_None
;
13124 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13125 PyObject
*resultobj
;
13126 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13128 PyObject
* obj0
= 0 ;
13129 char *kwnames
[] = {
13130 (char *) "self", NULL
13133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13135 result
= (bool) ((arg1
)->m_altDown
);
13137 resultobj
= PyInt_FromLong((long)result
);
13144 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13145 PyObject
*resultobj
;
13146 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13148 PyObject
* obj0
= 0 ;
13149 PyObject
* obj1
= 0 ;
13150 char *kwnames
[] = {
13151 (char *) "self",(char *) "m_metaDown", NULL
13154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13156 arg2
= PyInt_AsLong(obj1
) ? true : false;
13157 if (PyErr_Occurred()) SWIG_fail
;
13158 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13160 Py_INCREF(Py_None
); resultobj
= Py_None
;
13167 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13168 PyObject
*resultobj
;
13169 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13171 PyObject
* obj0
= 0 ;
13172 char *kwnames
[] = {
13173 (char *) "self", NULL
13176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13178 result
= (bool) ((arg1
)->m_metaDown
);
13180 resultobj
= PyInt_FromLong((long)result
);
13187 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13188 PyObject
*resultobj
;
13189 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13191 PyObject
* obj0
= 0 ;
13192 char *kwnames
[] = {
13193 (char *) "self",(char *) "m_wheelRotation", NULL
13196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13198 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13200 Py_INCREF(Py_None
); resultobj
= Py_None
;
13207 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13208 PyObject
*resultobj
;
13209 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13211 PyObject
* obj0
= 0 ;
13212 char *kwnames
[] = {
13213 (char *) "self", NULL
13216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13218 result
= (int) ((arg1
)->m_wheelRotation
);
13220 resultobj
= PyInt_FromLong((long)result
);
13227 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13228 PyObject
*resultobj
;
13229 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13231 PyObject
* obj0
= 0 ;
13232 char *kwnames
[] = {
13233 (char *) "self",(char *) "m_wheelDelta", NULL
13236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13238 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13240 Py_INCREF(Py_None
); resultobj
= Py_None
;
13247 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13248 PyObject
*resultobj
;
13249 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13251 PyObject
* obj0
= 0 ;
13252 char *kwnames
[] = {
13253 (char *) "self", NULL
13256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13258 result
= (int) ((arg1
)->m_wheelDelta
);
13260 resultobj
= PyInt_FromLong((long)result
);
13267 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13268 PyObject
*resultobj
;
13269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13271 PyObject
* obj0
= 0 ;
13272 char *kwnames
[] = {
13273 (char *) "self",(char *) "m_linesPerAction", NULL
13276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13278 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13280 Py_INCREF(Py_None
); resultobj
= Py_None
;
13287 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13288 PyObject
*resultobj
;
13289 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13291 PyObject
* obj0
= 0 ;
13292 char *kwnames
[] = {
13293 (char *) "self", NULL
13296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13298 result
= (int) ((arg1
)->m_linesPerAction
);
13300 resultobj
= PyInt_FromLong((long)result
);
13307 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13309 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13310 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13312 return Py_BuildValue((char *)"");
13314 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13315 PyObject
*resultobj
;
13316 int arg1
= (int) 0 ;
13317 int arg2
= (int) 0 ;
13318 wxSetCursorEvent
*result
;
13319 char *kwnames
[] = {
13320 (char *) "x",(char *) "y", NULL
13323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13326 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13328 wxPyEndAllowThreads(__tstate
);
13329 if (PyErr_Occurred()) SWIG_fail
;
13331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13338 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13339 PyObject
*resultobj
;
13340 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13342 PyObject
* obj0
= 0 ;
13343 char *kwnames
[] = {
13344 (char *) "self", NULL
13347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13351 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
13353 wxPyEndAllowThreads(__tstate
);
13354 if (PyErr_Occurred()) SWIG_fail
;
13356 resultobj
= PyInt_FromLong((long)result
);
13363 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13364 PyObject
*resultobj
;
13365 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13367 PyObject
* obj0
= 0 ;
13368 char *kwnames
[] = {
13369 (char *) "self", NULL
13372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13376 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
13378 wxPyEndAllowThreads(__tstate
);
13379 if (PyErr_Occurred()) SWIG_fail
;
13381 resultobj
= PyInt_FromLong((long)result
);
13388 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13389 PyObject
*resultobj
;
13390 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13391 wxCursor
*arg2
= 0 ;
13392 PyObject
* obj0
= 0 ;
13393 PyObject
* obj1
= 0 ;
13394 char *kwnames
[] = {
13395 (char *) "self",(char *) "cursor", NULL
13398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13401 if (arg2
== NULL
) {
13402 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13406 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13408 wxPyEndAllowThreads(__tstate
);
13409 if (PyErr_Occurred()) SWIG_fail
;
13411 Py_INCREF(Py_None
); resultobj
= Py_None
;
13418 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13419 PyObject
*resultobj
;
13420 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13422 PyObject
* obj0
= 0 ;
13423 char *kwnames
[] = {
13424 (char *) "self", NULL
13427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13432 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13433 result
= (wxCursor
*) &_result_ref
;
13436 wxPyEndAllowThreads(__tstate
);
13437 if (PyErr_Occurred()) SWIG_fail
;
13439 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13446 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13450 PyObject
* obj0
= 0 ;
13451 char *kwnames
[] = {
13452 (char *) "self", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13461 wxPyEndAllowThreads(__tstate
);
13462 if (PyErr_Occurred()) SWIG_fail
;
13464 resultobj
= PyInt_FromLong((long)result
);
13471 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13473 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13474 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13476 return Py_BuildValue((char *)"");
13478 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13479 PyObject
*resultobj
;
13480 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13481 wxKeyEvent
*result
;
13482 char *kwnames
[] = {
13483 (char *) "keyType", NULL
13486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13489 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13491 wxPyEndAllowThreads(__tstate
);
13492 if (PyErr_Occurred()) SWIG_fail
;
13494 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13501 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13502 PyObject
*resultobj
;
13503 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13505 PyObject
* obj0
= 0 ;
13506 char *kwnames
[] = {
13507 (char *) "self", NULL
13510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13514 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13516 wxPyEndAllowThreads(__tstate
);
13517 if (PyErr_Occurred()) SWIG_fail
;
13519 resultobj
= PyInt_FromLong((long)result
);
13526 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13527 PyObject
*resultobj
;
13528 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13530 PyObject
* obj0
= 0 ;
13531 char *kwnames
[] = {
13532 (char *) "self", NULL
13535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13539 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13541 wxPyEndAllowThreads(__tstate
);
13542 if (PyErr_Occurred()) SWIG_fail
;
13544 resultobj
= PyInt_FromLong((long)result
);
13551 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13552 PyObject
*resultobj
;
13553 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13555 PyObject
* obj0
= 0 ;
13556 char *kwnames
[] = {
13557 (char *) "self", NULL
13560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13566 wxPyEndAllowThreads(__tstate
);
13567 if (PyErr_Occurred()) SWIG_fail
;
13569 resultobj
= PyInt_FromLong((long)result
);
13576 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13577 PyObject
*resultobj
;
13578 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13580 PyObject
* obj0
= 0 ;
13581 char *kwnames
[] = {
13582 (char *) "self", NULL
13585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13589 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13591 wxPyEndAllowThreads(__tstate
);
13592 if (PyErr_Occurred()) SWIG_fail
;
13594 resultobj
= PyInt_FromLong((long)result
);
13601 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13602 PyObject
*resultobj
;
13603 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13605 PyObject
* obj0
= 0 ;
13606 char *kwnames
[] = {
13607 (char *) "self", NULL
13610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13614 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13616 wxPyEndAllowThreads(__tstate
);
13617 if (PyErr_Occurred()) SWIG_fail
;
13619 resultobj
= PyInt_FromLong((long)result
);
13626 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13627 PyObject
*resultobj
;
13628 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13630 PyObject
* obj0
= 0 ;
13631 char *kwnames
[] = {
13632 (char *) "self", NULL
13635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13639 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13641 wxPyEndAllowThreads(__tstate
);
13642 if (PyErr_Occurred()) SWIG_fail
;
13644 resultobj
= PyInt_FromLong((long)result
);
13651 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13652 PyObject
*resultobj
;
13653 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13655 PyObject
* obj0
= 0 ;
13656 char *kwnames
[] = {
13657 (char *) "self", NULL
13660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13664 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13666 wxPyEndAllowThreads(__tstate
);
13667 if (PyErr_Occurred()) SWIG_fail
;
13669 resultobj
= PyInt_FromLong((long)result
);
13676 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13677 PyObject
*resultobj
;
13678 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13679 unsigned int result
;
13680 PyObject
* obj0
= 0 ;
13681 char *kwnames
[] = {
13682 (char *) "self", NULL
13685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13689 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13691 wxPyEndAllowThreads(__tstate
);
13692 if (PyErr_Occurred()) SWIG_fail
;
13694 resultobj
= PyInt_FromLong((long)result
);
13701 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13702 PyObject
*resultobj
;
13703 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13704 unsigned int result
;
13705 PyObject
* obj0
= 0 ;
13706 char *kwnames
[] = {
13707 (char *) "self", NULL
13710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13714 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13716 wxPyEndAllowThreads(__tstate
);
13717 if (PyErr_Occurred()) SWIG_fail
;
13719 resultobj
= PyInt_FromLong((long)result
);
13726 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13727 PyObject
*resultobj
;
13728 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13730 PyObject
* obj0
= 0 ;
13731 char *kwnames
[] = {
13732 (char *) "self", NULL
13735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 result
= (arg1
)->GetPosition();
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13745 wxPoint
* resultptr
;
13746 resultptr
= new wxPoint((wxPoint
&) result
);
13747 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13755 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13756 PyObject
*resultobj
;
13757 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13758 long *arg2
= (long *) 0 ;
13759 long *arg3
= (long *) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self", NULL
13769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13773 (arg1
)->GetPosition(arg2
,arg3
);
13775 wxPyEndAllowThreads(__tstate
);
13776 if (PyErr_Occurred()) SWIG_fail
;
13778 Py_INCREF(Py_None
); resultobj
= Py_None
;
13780 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13781 resultobj
= t_output_helper(resultobj
,o
);
13784 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13785 resultobj
= t_output_helper(resultobj
,o
);
13793 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13794 PyObject
*resultobj
;
13795 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13797 PyObject
* obj0
= 0 ;
13798 char *kwnames
[] = {
13799 (char *) "self", NULL
13802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13806 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
13808 wxPyEndAllowThreads(__tstate
);
13809 if (PyErr_Occurred()) SWIG_fail
;
13811 resultobj
= PyInt_FromLong((long)result
);
13818 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13819 PyObject
*resultobj
;
13820 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13822 PyObject
* obj0
= 0 ;
13823 char *kwnames
[] = {
13824 (char *) "self", NULL
13827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13831 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
13833 wxPyEndAllowThreads(__tstate
);
13834 if (PyErr_Occurred()) SWIG_fail
;
13836 resultobj
= PyInt_FromLong((long)result
);
13843 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13844 PyObject
*resultobj
;
13845 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13847 PyObject
* obj0
= 0 ;
13848 char *kwnames
[] = {
13849 (char *) "self",(char *) "m_x", NULL
13852 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13853 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13854 if (arg1
) (arg1
)->m_x
= arg2
;
13856 Py_INCREF(Py_None
); resultobj
= Py_None
;
13863 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13864 PyObject
*resultobj
;
13865 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13867 PyObject
* obj0
= 0 ;
13868 char *kwnames
[] = {
13869 (char *) "self", NULL
13872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
13873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13874 result
= (int) ((arg1
)->m_x
);
13876 resultobj
= PyInt_FromLong((long)result
);
13883 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13884 PyObject
*resultobj
;
13885 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13887 PyObject
* obj0
= 0 ;
13888 char *kwnames
[] = {
13889 (char *) "self",(char *) "m_y", NULL
13892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13894 if (arg1
) (arg1
)->m_y
= arg2
;
13896 Py_INCREF(Py_None
); resultobj
= Py_None
;
13903 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13904 PyObject
*resultobj
;
13905 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13907 PyObject
* obj0
= 0 ;
13908 char *kwnames
[] = {
13909 (char *) "self", NULL
13912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13914 result
= (int) ((arg1
)->m_y
);
13916 resultobj
= PyInt_FromLong((long)result
);
13923 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13924 PyObject
*resultobj
;
13925 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13927 PyObject
* obj0
= 0 ;
13928 char *kwnames
[] = {
13929 (char *) "self",(char *) "m_keyCode", NULL
13932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13934 if (arg1
) (arg1
)->m_keyCode
= arg2
;
13936 Py_INCREF(Py_None
); resultobj
= Py_None
;
13943 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13944 PyObject
*resultobj
;
13945 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13947 PyObject
* obj0
= 0 ;
13948 char *kwnames
[] = {
13949 (char *) "self", NULL
13952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
13953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13954 result
= (long) ((arg1
)->m_keyCode
);
13956 resultobj
= PyInt_FromLong((long)result
);
13963 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13964 PyObject
*resultobj
;
13965 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13967 PyObject
* obj0
= 0 ;
13968 PyObject
* obj1
= 0 ;
13969 char *kwnames
[] = {
13970 (char *) "self",(char *) "m_controlDown", NULL
13973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13975 arg2
= PyInt_AsLong(obj1
) ? true : false;
13976 if (PyErr_Occurred()) SWIG_fail
;
13977 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13979 Py_INCREF(Py_None
); resultobj
= Py_None
;
13986 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13987 PyObject
*resultobj
;
13988 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13990 PyObject
* obj0
= 0 ;
13991 char *kwnames
[] = {
13992 (char *) "self", NULL
13995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13997 result
= (bool) ((arg1
)->m_controlDown
);
13999 resultobj
= PyInt_FromLong((long)result
);
14006 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14007 PyObject
*resultobj
;
14008 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14010 PyObject
* obj0
= 0 ;
14011 PyObject
* obj1
= 0 ;
14012 char *kwnames
[] = {
14013 (char *) "self",(char *) "m_shiftDown", NULL
14016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14018 arg2
= PyInt_AsLong(obj1
) ? true : false;
14019 if (PyErr_Occurred()) SWIG_fail
;
14020 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14022 Py_INCREF(Py_None
); resultobj
= Py_None
;
14029 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14030 PyObject
*resultobj
;
14031 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14033 PyObject
* obj0
= 0 ;
14034 char *kwnames
[] = {
14035 (char *) "self", NULL
14038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14040 result
= (bool) ((arg1
)->m_shiftDown
);
14042 resultobj
= PyInt_FromLong((long)result
);
14049 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14050 PyObject
*resultobj
;
14051 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14053 PyObject
* obj0
= 0 ;
14054 PyObject
* obj1
= 0 ;
14055 char *kwnames
[] = {
14056 (char *) "self",(char *) "m_altDown", NULL
14059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14061 arg2
= PyInt_AsLong(obj1
) ? true : false;
14062 if (PyErr_Occurred()) SWIG_fail
;
14063 if (arg1
) (arg1
)->m_altDown
= arg2
;
14065 Py_INCREF(Py_None
); resultobj
= Py_None
;
14072 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14073 PyObject
*resultobj
;
14074 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14076 PyObject
* obj0
= 0 ;
14077 char *kwnames
[] = {
14078 (char *) "self", NULL
14081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14083 result
= (bool) ((arg1
)->m_altDown
);
14085 resultobj
= PyInt_FromLong((long)result
);
14092 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14093 PyObject
*resultobj
;
14094 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14096 PyObject
* obj0
= 0 ;
14097 PyObject
* obj1
= 0 ;
14098 char *kwnames
[] = {
14099 (char *) "self",(char *) "m_metaDown", NULL
14102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14104 arg2
= PyInt_AsLong(obj1
) ? true : false;
14105 if (PyErr_Occurred()) SWIG_fail
;
14106 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14108 Py_INCREF(Py_None
); resultobj
= Py_None
;
14115 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14116 PyObject
*resultobj
;
14117 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14119 PyObject
* obj0
= 0 ;
14120 char *kwnames
[] = {
14121 (char *) "self", NULL
14124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14126 result
= (bool) ((arg1
)->m_metaDown
);
14128 resultobj
= PyInt_FromLong((long)result
);
14135 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14136 PyObject
*resultobj
;
14137 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14139 PyObject
* obj0
= 0 ;
14140 PyObject
* obj1
= 0 ;
14141 char *kwnames
[] = {
14142 (char *) "self",(char *) "m_scanCode", NULL
14145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14147 arg2
= PyInt_AsLong(obj1
) ? true : false;
14148 if (PyErr_Occurred()) SWIG_fail
;
14149 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14151 Py_INCREF(Py_None
); resultobj
= Py_None
;
14158 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14159 PyObject
*resultobj
;
14160 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14162 PyObject
* obj0
= 0 ;
14163 char *kwnames
[] = {
14164 (char *) "self", NULL
14167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14169 result
= (bool) ((arg1
)->m_scanCode
);
14171 resultobj
= PyInt_FromLong((long)result
);
14178 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14179 PyObject
*resultobj
;
14180 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14181 unsigned int arg2
;
14182 PyObject
* obj0
= 0 ;
14183 PyObject
* obj1
= 0 ;
14184 char *kwnames
[] = {
14185 (char *) "self",(char *) "m_rawCode", NULL
14188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14190 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14191 if (PyErr_Occurred()) SWIG_fail
;
14192 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14194 Py_INCREF(Py_None
); resultobj
= Py_None
;
14201 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
;
14203 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14204 unsigned int result
;
14205 PyObject
* obj0
= 0 ;
14206 char *kwnames
[] = {
14207 (char *) "self", NULL
14210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14212 result
= (unsigned int) ((arg1
)->m_rawCode
);
14214 resultobj
= PyInt_FromLong((long)result
);
14221 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14222 PyObject
*resultobj
;
14223 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14224 unsigned int arg2
;
14225 PyObject
* obj0
= 0 ;
14226 PyObject
* obj1
= 0 ;
14227 char *kwnames
[] = {
14228 (char *) "self",(char *) "m_rawFlags", NULL
14231 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14232 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14233 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14234 if (PyErr_Occurred()) SWIG_fail
;
14235 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14237 Py_INCREF(Py_None
); resultobj
= Py_None
;
14244 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14245 PyObject
*resultobj
;
14246 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14247 unsigned int result
;
14248 PyObject
* obj0
= 0 ;
14249 char *kwnames
[] = {
14250 (char *) "self", NULL
14253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14255 result
= (unsigned int) ((arg1
)->m_rawFlags
);
14257 resultobj
= PyInt_FromLong((long)result
);
14264 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14266 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14267 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14269 return Py_BuildValue((char *)"");
14271 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14272 PyObject
*resultobj
;
14273 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14274 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14275 int arg2
= (int) 0 ;
14276 wxSizeEvent
*result
;
14278 PyObject
* obj0
= 0 ;
14279 char *kwnames
[] = {
14280 (char *) "sz",(char *) "winid", NULL
14283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14287 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14304 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14305 PyObject
*resultobj
;
14306 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14308 PyObject
* obj0
= 0 ;
14309 char *kwnames
[] = {
14310 (char *) "self", NULL
14313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14319 wxPyEndAllowThreads(__tstate
);
14320 if (PyErr_Occurred()) SWIG_fail
;
14323 wxSize
* resultptr
;
14324 resultptr
= new wxSize((wxSize
&) result
);
14325 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14333 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14346 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14348 wxPyEndAllowThreads(__tstate
);
14349 if (PyErr_Occurred()) SWIG_fail
;
14352 wxRect
* resultptr
;
14353 resultptr
= new wxRect((wxRect
&) result
);
14354 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14362 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14363 PyObject
*resultobj
;
14364 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14367 PyObject
* obj0
= 0 ;
14368 PyObject
* obj1
= 0 ;
14369 char *kwnames
[] = {
14370 (char *) "self",(char *) "rect", NULL
14373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14375 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14379 (arg1
)->SetRect(arg2
);
14381 wxPyEndAllowThreads(__tstate
);
14382 if (PyErr_Occurred()) SWIG_fail
;
14384 Py_INCREF(Py_None
); resultobj
= Py_None
;
14391 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14392 PyObject
*resultobj
;
14393 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14396 PyObject
* obj0
= 0 ;
14397 PyObject
* obj1
= 0 ;
14398 char *kwnames
[] = {
14399 (char *) "self",(char *) "size", NULL
14402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14404 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14408 wxSizeEvent_SetSize(arg1
,arg2
);
14410 wxPyEndAllowThreads(__tstate
);
14411 if (PyErr_Occurred()) SWIG_fail
;
14413 Py_INCREF(Py_None
); resultobj
= Py_None
;
14420 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14421 PyObject
*resultobj
;
14422 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14423 wxSize
*arg2
= (wxSize
*) 0 ;
14424 PyObject
* obj0
= 0 ;
14425 PyObject
* obj1
= 0 ;
14426 char *kwnames
[] = {
14427 (char *) "self",(char *) "m_size", NULL
14430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14433 if (arg1
) (arg1
)->m_size
= *arg2
;
14435 Py_INCREF(Py_None
); resultobj
= Py_None
;
14442 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14443 PyObject
*resultobj
;
14444 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14446 PyObject
* obj0
= 0 ;
14447 char *kwnames
[] = {
14448 (char *) "self", NULL
14451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14453 result
= (wxSize
*)& ((arg1
)->m_size
);
14455 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14462 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14463 PyObject
*resultobj
;
14464 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14465 wxRect
*arg2
= (wxRect
*) 0 ;
14466 PyObject
* obj0
= 0 ;
14467 PyObject
* obj1
= 0 ;
14468 char *kwnames
[] = {
14469 (char *) "self",(char *) "m_rect", NULL
14472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14474 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14475 if (arg1
) (arg1
)->m_rect
= *arg2
;
14477 Py_INCREF(Py_None
); resultobj
= Py_None
;
14484 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14485 PyObject
*resultobj
;
14486 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14488 PyObject
* obj0
= 0 ;
14489 char *kwnames
[] = {
14490 (char *) "self", NULL
14493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14495 result
= (wxRect
*)& ((arg1
)->m_rect
);
14497 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14504 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14506 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14507 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14509 return Py_BuildValue((char *)"");
14511 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14512 PyObject
*resultobj
;
14513 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14514 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14515 int arg2
= (int) 0 ;
14516 wxMoveEvent
*result
;
14518 PyObject
* obj0
= 0 ;
14519 char *kwnames
[] = {
14520 (char *) "pos",(char *) "winid", NULL
14523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14527 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14532 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14534 wxPyEndAllowThreads(__tstate
);
14535 if (PyErr_Occurred()) SWIG_fail
;
14537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14544 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14545 PyObject
*resultobj
;
14546 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14548 PyObject
* obj0
= 0 ;
14549 char *kwnames
[] = {
14550 (char *) "self", NULL
14553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14557 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14559 wxPyEndAllowThreads(__tstate
);
14560 if (PyErr_Occurred()) SWIG_fail
;
14563 wxPoint
* resultptr
;
14564 resultptr
= new wxPoint((wxPoint
&) result
);
14565 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14573 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14574 PyObject
*resultobj
;
14575 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14577 PyObject
* obj0
= 0 ;
14578 char *kwnames
[] = {
14579 (char *) "self", NULL
14582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14586 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14588 wxPyEndAllowThreads(__tstate
);
14589 if (PyErr_Occurred()) SWIG_fail
;
14592 wxRect
* resultptr
;
14593 resultptr
= new wxRect((wxRect
&) result
);
14594 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14602 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14603 PyObject
*resultobj
;
14604 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14607 PyObject
* obj0
= 0 ;
14608 PyObject
* obj1
= 0 ;
14609 char *kwnames
[] = {
14610 (char *) "self",(char *) "rect", NULL
14613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14615 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14619 (arg1
)->SetRect(arg2
);
14621 wxPyEndAllowThreads(__tstate
);
14622 if (PyErr_Occurred()) SWIG_fail
;
14624 Py_INCREF(Py_None
); resultobj
= Py_None
;
14631 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14632 PyObject
*resultobj
;
14633 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14636 PyObject
* obj0
= 0 ;
14637 PyObject
* obj1
= 0 ;
14638 char *kwnames
[] = {
14639 (char *) "self",(char *) "pos", NULL
14642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14644 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14648 wxMoveEvent_SetPosition(arg1
,arg2
);
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 Py_INCREF(Py_None
); resultobj
= Py_None
;
14660 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
;
14662 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14663 wxPoint
*arg2
= (wxPoint
*) 0 ;
14664 PyObject
* obj0
= 0 ;
14665 PyObject
* obj1
= 0 ;
14666 char *kwnames
[] = {
14667 (char *) "self",(char *) "m_pos", NULL
14670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14672 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14673 if (arg1
) (arg1
)->m_pos
= *arg2
;
14675 Py_INCREF(Py_None
); resultobj
= Py_None
;
14682 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14683 PyObject
*resultobj
;
14684 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14686 PyObject
* obj0
= 0 ;
14687 char *kwnames
[] = {
14688 (char *) "self", NULL
14691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14693 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14695 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14702 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14703 PyObject
*resultobj
;
14704 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14705 wxRect
*arg2
= (wxRect
*) 0 ;
14706 PyObject
* obj0
= 0 ;
14707 PyObject
* obj1
= 0 ;
14708 char *kwnames
[] = {
14709 (char *) "self",(char *) "m_rect", NULL
14712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14714 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14715 if (arg1
) (arg1
)->m_rect
= *arg2
;
14717 Py_INCREF(Py_None
); resultobj
= Py_None
;
14724 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14725 PyObject
*resultobj
;
14726 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14728 PyObject
* obj0
= 0 ;
14729 char *kwnames
[] = {
14730 (char *) "self", NULL
14733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14735 result
= (wxRect
*)& ((arg1
)->m_rect
);
14737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14744 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14746 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14747 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14749 return Py_BuildValue((char *)"");
14751 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14752 PyObject
*resultobj
;
14753 int arg1
= (int) 0 ;
14754 wxPaintEvent
*result
;
14755 char *kwnames
[] = {
14756 (char *) "Id", NULL
14759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14762 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14764 wxPyEndAllowThreads(__tstate
);
14765 if (PyErr_Occurred()) SWIG_fail
;
14767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14774 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14776 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14777 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14779 return Py_BuildValue((char *)"");
14781 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14782 PyObject
*resultobj
;
14783 int arg1
= (int) 0 ;
14784 wxNcPaintEvent
*result
;
14785 char *kwnames
[] = {
14786 (char *) "winid", NULL
14789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14792 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14794 wxPyEndAllowThreads(__tstate
);
14795 if (PyErr_Occurred()) SWIG_fail
;
14797 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14804 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14807 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14809 return Py_BuildValue((char *)"");
14811 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14812 PyObject
*resultobj
;
14813 int arg1
= (int) 0 ;
14814 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14815 wxEraseEvent
*result
;
14816 PyObject
* obj1
= 0 ;
14817 char *kwnames
[] = {
14818 (char *) "Id",(char *) "dc", NULL
14821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14827 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14829 wxPyEndAllowThreads(__tstate
);
14830 if (PyErr_Occurred()) SWIG_fail
;
14832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14839 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14840 PyObject
*resultobj
;
14841 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14843 PyObject
* obj0
= 0 ;
14844 char *kwnames
[] = {
14845 (char *) "self", NULL
14848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14854 wxPyEndAllowThreads(__tstate
);
14855 if (PyErr_Occurred()) SWIG_fail
;
14858 resultobj
= wxPyMake_wxObject(result
);
14866 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14869 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
14871 return Py_BuildValue((char *)"");
14873 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14874 PyObject
*resultobj
;
14875 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14876 int arg2
= (int) 0 ;
14877 wxFocusEvent
*result
;
14878 char *kwnames
[] = {
14879 (char *) "type",(char *) "winid", NULL
14882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
14884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14885 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
14887 wxPyEndAllowThreads(__tstate
);
14888 if (PyErr_Occurred()) SWIG_fail
;
14890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
14897 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14898 PyObject
*resultobj
;
14899 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14901 PyObject
* obj0
= 0 ;
14902 char *kwnames
[] = {
14903 (char *) "self", NULL
14906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14910 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
14912 wxPyEndAllowThreads(__tstate
);
14913 if (PyErr_Occurred()) SWIG_fail
;
14916 resultobj
= wxPyMake_wxObject(result
);
14924 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14925 PyObject
*resultobj
;
14926 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14927 wxWindow
*arg2
= (wxWindow
*) 0 ;
14928 PyObject
* obj0
= 0 ;
14929 PyObject
* obj1
= 0 ;
14930 char *kwnames
[] = {
14931 (char *) "self",(char *) "win", NULL
14934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14936 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14939 (arg1
)->SetWindow(arg2
);
14941 wxPyEndAllowThreads(__tstate
);
14942 if (PyErr_Occurred()) SWIG_fail
;
14944 Py_INCREF(Py_None
); resultobj
= Py_None
;
14951 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14953 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14954 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
14956 return Py_BuildValue((char *)"");
14958 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14959 PyObject
*resultobj
;
14960 wxWindow
*arg1
= (wxWindow
*) NULL
;
14961 wxChildFocusEvent
*result
;
14962 PyObject
* obj0
= 0 ;
14963 char *kwnames
[] = {
14964 (char *) "win", NULL
14967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
14969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14973 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
14975 wxPyEndAllowThreads(__tstate
);
14976 if (PyErr_Occurred()) SWIG_fail
;
14978 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
14985 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14986 PyObject
*resultobj
;
14987 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
14989 PyObject
* obj0
= 0 ;
14990 char *kwnames
[] = {
14991 (char *) "self", NULL
14994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14998 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15000 wxPyEndAllowThreads(__tstate
);
15001 if (PyErr_Occurred()) SWIG_fail
;
15004 resultobj
= wxPyMake_wxObject(result
);
15012 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15014 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15015 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15017 return Py_BuildValue((char *)"");
15019 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15020 PyObject
*resultobj
;
15021 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15022 bool arg2
= (bool) True
;
15023 int arg3
= (int) 0 ;
15024 wxActivateEvent
*result
;
15025 PyObject
* obj1
= 0 ;
15026 char *kwnames
[] = {
15027 (char *) "type",(char *) "active",(char *) "Id", NULL
15030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15032 arg2
= PyInt_AsLong(obj1
) ? true : false;
15033 if (PyErr_Occurred()) SWIG_fail
;
15036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15037 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15039 wxPyEndAllowThreads(__tstate
);
15040 if (PyErr_Occurred()) SWIG_fail
;
15042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15049 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15050 PyObject
*resultobj
;
15051 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15053 PyObject
* obj0
= 0 ;
15054 char *kwnames
[] = {
15055 (char *) "self", NULL
15058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15062 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15064 wxPyEndAllowThreads(__tstate
);
15065 if (PyErr_Occurred()) SWIG_fail
;
15067 resultobj
= PyInt_FromLong((long)result
);
15074 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15077 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15079 return Py_BuildValue((char *)"");
15081 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15082 PyObject
*resultobj
;
15083 int arg1
= (int) 0 ;
15084 wxInitDialogEvent
*result
;
15085 char *kwnames
[] = {
15086 (char *) "Id", NULL
15089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15092 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15094 wxPyEndAllowThreads(__tstate
);
15095 if (PyErr_Occurred()) SWIG_fail
;
15097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15104 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15107 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15109 return Py_BuildValue((char *)"");
15111 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15112 PyObject
*resultobj
;
15113 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15114 int arg2
= (int) 0 ;
15115 wxMenu
*arg3
= (wxMenu
*) NULL
;
15116 wxMenuEvent
*result
;
15117 PyObject
* obj2
= 0 ;
15118 char *kwnames
[] = {
15119 (char *) "type",(char *) "winid",(char *) "menu", NULL
15122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15124 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15130 wxPyEndAllowThreads(__tstate
);
15131 if (PyErr_Occurred()) SWIG_fail
;
15133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15140 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15141 PyObject
*resultobj
;
15142 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15144 PyObject
* obj0
= 0 ;
15145 char *kwnames
[] = {
15146 (char *) "self", NULL
15149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15153 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15155 wxPyEndAllowThreads(__tstate
);
15156 if (PyErr_Occurred()) SWIG_fail
;
15158 resultobj
= PyInt_FromLong((long)result
);
15165 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15166 PyObject
*resultobj
;
15167 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15169 PyObject
* obj0
= 0 ;
15170 char *kwnames
[] = {
15171 (char *) "self", NULL
15174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15178 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15180 wxPyEndAllowThreads(__tstate
);
15181 if (PyErr_Occurred()) SWIG_fail
;
15183 resultobj
= PyInt_FromLong((long)result
);
15190 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15191 PyObject
*resultobj
;
15192 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15194 PyObject
* obj0
= 0 ;
15195 char *kwnames
[] = {
15196 (char *) "self", NULL
15199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15203 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15205 wxPyEndAllowThreads(__tstate
);
15206 if (PyErr_Occurred()) SWIG_fail
;
15209 resultobj
= wxPyMake_wxObject(result
);
15217 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15219 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15220 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15222 return Py_BuildValue((char *)"");
15224 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15225 PyObject
*resultobj
;
15226 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15227 int arg2
= (int) 0 ;
15228 wxCloseEvent
*result
;
15229 char *kwnames
[] = {
15230 (char *) "type",(char *) "winid", NULL
15233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15236 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15238 wxPyEndAllowThreads(__tstate
);
15239 if (PyErr_Occurred()) SWIG_fail
;
15241 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15248 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15249 PyObject
*resultobj
;
15250 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 PyObject
* obj1
= 0 ;
15254 char *kwnames
[] = {
15255 (char *) "self",(char *) "logOff", NULL
15258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15260 arg2
= PyInt_AsLong(obj1
) ? true : false;
15261 if (PyErr_Occurred()) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 (arg1
)->SetLoggingOff(arg2
);
15266 wxPyEndAllowThreads(__tstate
);
15267 if (PyErr_Occurred()) SWIG_fail
;
15269 Py_INCREF(Py_None
); resultobj
= Py_None
;
15276 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15277 PyObject
*resultobj
;
15278 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15280 PyObject
* obj0
= 0 ;
15281 char *kwnames
[] = {
15282 (char *) "self", NULL
15285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15289 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15291 wxPyEndAllowThreads(__tstate
);
15292 if (PyErr_Occurred()) SWIG_fail
;
15294 resultobj
= PyInt_FromLong((long)result
);
15301 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15302 PyObject
*resultobj
;
15303 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15304 bool arg2
= (bool) True
;
15305 PyObject
* obj0
= 0 ;
15306 PyObject
* obj1
= 0 ;
15307 char *kwnames
[] = {
15308 (char *) "self",(char *) "veto", NULL
15311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15314 arg2
= PyInt_AsLong(obj1
) ? true : false;
15315 if (PyErr_Occurred()) SWIG_fail
;
15318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15319 (arg1
)->Veto(arg2
);
15321 wxPyEndAllowThreads(__tstate
);
15322 if (PyErr_Occurred()) SWIG_fail
;
15324 Py_INCREF(Py_None
); resultobj
= Py_None
;
15331 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15332 PyObject
*resultobj
;
15333 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15335 PyObject
* obj0
= 0 ;
15336 PyObject
* obj1
= 0 ;
15337 char *kwnames
[] = {
15338 (char *) "self",(char *) "canVeto", NULL
15341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15343 arg2
= PyInt_AsLong(obj1
) ? true : false;
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15347 (arg1
)->SetCanVeto(arg2
);
15349 wxPyEndAllowThreads(__tstate
);
15350 if (PyErr_Occurred()) SWIG_fail
;
15352 Py_INCREF(Py_None
); resultobj
= Py_None
;
15359 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15360 PyObject
*resultobj
;
15361 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15363 PyObject
* obj0
= 0 ;
15364 char *kwnames
[] = {
15365 (char *) "self", NULL
15368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15372 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15374 wxPyEndAllowThreads(__tstate
);
15375 if (PyErr_Occurred()) SWIG_fail
;
15377 resultobj
= PyInt_FromLong((long)result
);
15384 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15385 PyObject
*resultobj
;
15386 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15388 PyObject
* obj0
= 0 ;
15389 char *kwnames
[] = {
15390 (char *) "self", NULL
15393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15397 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15399 wxPyEndAllowThreads(__tstate
);
15400 if (PyErr_Occurred()) SWIG_fail
;
15402 resultobj
= PyInt_FromLong((long)result
);
15409 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15411 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15412 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15414 return Py_BuildValue((char *)"");
15416 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15417 PyObject
*resultobj
;
15418 int arg1
= (int) 0 ;
15419 bool arg2
= (bool) False
;
15420 wxShowEvent
*result
;
15421 PyObject
* obj1
= 0 ;
15422 char *kwnames
[] = {
15423 (char *) "winid",(char *) "show", NULL
15426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15428 arg2
= PyInt_AsLong(obj1
) ? true : false;
15429 if (PyErr_Occurred()) SWIG_fail
;
15432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15433 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15445 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15446 PyObject
*resultobj
;
15447 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15449 PyObject
* obj0
= 0 ;
15450 PyObject
* obj1
= 0 ;
15451 char *kwnames
[] = {
15452 (char *) "self",(char *) "show", NULL
15455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15457 arg2
= PyInt_AsLong(obj1
) ? true : false;
15458 if (PyErr_Occurred()) SWIG_fail
;
15460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15461 (arg1
)->SetShow(arg2
);
15463 wxPyEndAllowThreads(__tstate
);
15464 if (PyErr_Occurred()) SWIG_fail
;
15466 Py_INCREF(Py_None
); resultobj
= Py_None
;
15473 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15474 PyObject
*resultobj
;
15475 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15477 PyObject
* obj0
= 0 ;
15478 char *kwnames
[] = {
15479 (char *) "self", NULL
15482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15486 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15488 wxPyEndAllowThreads(__tstate
);
15489 if (PyErr_Occurred()) SWIG_fail
;
15491 resultobj
= PyInt_FromLong((long)result
);
15498 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15500 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15501 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15503 return Py_BuildValue((char *)"");
15505 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15506 PyObject
*resultobj
;
15507 int arg1
= (int) 0 ;
15508 bool arg2
= (bool) True
;
15509 wxIconizeEvent
*result
;
15510 PyObject
* obj1
= 0 ;
15511 char *kwnames
[] = {
15512 (char *) "id",(char *) "iconized", NULL
15515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15517 arg2
= PyInt_AsLong(obj1
) ? true : false;
15518 if (PyErr_Occurred()) SWIG_fail
;
15521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15522 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15524 wxPyEndAllowThreads(__tstate
);
15525 if (PyErr_Occurred()) SWIG_fail
;
15527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15534 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15535 PyObject
*resultobj
;
15536 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15538 PyObject
* obj0
= 0 ;
15539 char *kwnames
[] = {
15540 (char *) "self", NULL
15543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15547 result
= (bool)(arg1
)->Iconized();
15549 wxPyEndAllowThreads(__tstate
);
15550 if (PyErr_Occurred()) SWIG_fail
;
15552 resultobj
= PyInt_FromLong((long)result
);
15559 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15561 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15562 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15564 return Py_BuildValue((char *)"");
15566 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15567 PyObject
*resultobj
;
15568 int arg1
= (int) 0 ;
15569 wxMaximizeEvent
*result
;
15570 char *kwnames
[] = {
15571 (char *) "id", NULL
15574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15577 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15579 wxPyEndAllowThreads(__tstate
);
15580 if (PyErr_Occurred()) SWIG_fail
;
15582 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15589 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15591 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15592 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15594 return Py_BuildValue((char *)"");
15596 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15597 PyObject
*resultobj
;
15598 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15600 PyObject
* obj0
= 0 ;
15601 char *kwnames
[] = {
15602 (char *) "self", NULL
15605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15609 result
= (arg1
)->GetPosition();
15611 wxPyEndAllowThreads(__tstate
);
15612 if (PyErr_Occurred()) SWIG_fail
;
15615 wxPoint
* resultptr
;
15616 resultptr
= new wxPoint((wxPoint
&) result
);
15617 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15625 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15626 PyObject
*resultobj
;
15627 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15629 PyObject
* obj0
= 0 ;
15630 char *kwnames
[] = {
15631 (char *) "self", NULL
15634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15638 result
= (int)(arg1
)->GetNumberOfFiles();
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= PyInt_FromLong((long)result
);
15650 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15651 PyObject
*resultobj
;
15652 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15654 PyObject
* obj0
= 0 ;
15655 char *kwnames
[] = {
15656 (char *) "self", NULL
15659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15663 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15665 wxPyEndAllowThreads(__tstate
);
15666 if (PyErr_Occurred()) SWIG_fail
;
15668 resultobj
= result
;
15675 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15677 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15678 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15680 return Py_BuildValue((char *)"");
15682 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15683 PyObject
*resultobj
;
15684 int arg1
= (int) 0 ;
15685 wxUpdateUIEvent
*result
;
15686 char *kwnames
[] = {
15687 (char *) "commandId", NULL
15690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15693 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15695 wxPyEndAllowThreads(__tstate
);
15696 if (PyErr_Occurred()) SWIG_fail
;
15698 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15705 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15706 PyObject
*resultobj
;
15707 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15709 PyObject
* obj0
= 0 ;
15710 char *kwnames
[] = {
15711 (char *) "self", NULL
15714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15718 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15720 wxPyEndAllowThreads(__tstate
);
15721 if (PyErr_Occurred()) SWIG_fail
;
15723 resultobj
= PyInt_FromLong((long)result
);
15730 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15731 PyObject
*resultobj
;
15732 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15734 PyObject
* obj0
= 0 ;
15735 char *kwnames
[] = {
15736 (char *) "self", NULL
15739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15743 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15745 wxPyEndAllowThreads(__tstate
);
15746 if (PyErr_Occurred()) SWIG_fail
;
15748 resultobj
= PyInt_FromLong((long)result
);
15755 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15756 PyObject
*resultobj
;
15757 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15759 PyObject
* obj0
= 0 ;
15760 char *kwnames
[] = {
15761 (char *) "self", NULL
15764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15768 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15770 wxPyEndAllowThreads(__tstate
);
15771 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15777 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15786 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15787 PyObject
*resultobj
;
15788 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15790 PyObject
* obj0
= 0 ;
15791 char *kwnames
[] = {
15792 (char *) "self", NULL
15795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15799 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15801 wxPyEndAllowThreads(__tstate
);
15802 if (PyErr_Occurred()) SWIG_fail
;
15804 resultobj
= PyInt_FromLong((long)result
);
15811 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15812 PyObject
*resultobj
;
15813 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15815 PyObject
* obj0
= 0 ;
15816 char *kwnames
[] = {
15817 (char *) "self", NULL
15820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15824 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15826 wxPyEndAllowThreads(__tstate
);
15827 if (PyErr_Occurred()) SWIG_fail
;
15829 resultobj
= PyInt_FromLong((long)result
);
15836 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15837 PyObject
*resultobj
;
15838 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15840 PyObject
* obj0
= 0 ;
15841 char *kwnames
[] = {
15842 (char *) "self", NULL
15845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
15846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
15851 wxPyEndAllowThreads(__tstate
);
15852 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= PyInt_FromLong((long)result
);
15861 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15862 PyObject
*resultobj
;
15863 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15865 PyObject
* obj0
= 0 ;
15866 PyObject
* obj1
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self",(char *) "check", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
15872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15873 arg2
= PyInt_AsLong(obj1
) ? true : false;
15874 if (PyErr_Occurred()) SWIG_fail
;
15876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15877 (arg1
)->Check(arg2
);
15879 wxPyEndAllowThreads(__tstate
);
15880 if (PyErr_Occurred()) SWIG_fail
;
15882 Py_INCREF(Py_None
); resultobj
= Py_None
;
15889 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15890 PyObject
*resultobj
;
15891 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15893 PyObject
* obj0
= 0 ;
15894 PyObject
* obj1
= 0 ;
15895 char *kwnames
[] = {
15896 (char *) "self",(char *) "enable", NULL
15899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15901 arg2
= PyInt_AsLong(obj1
) ? true : false;
15902 if (PyErr_Occurred()) SWIG_fail
;
15904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15905 (arg1
)->Enable(arg2
);
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 Py_INCREF(Py_None
); resultobj
= Py_None
;
15917 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
;
15919 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15920 wxString
*arg2
= 0 ;
15921 bool temp2
= False
;
15922 PyObject
* obj0
= 0 ;
15923 PyObject
* obj1
= 0 ;
15924 char *kwnames
[] = {
15925 (char *) "self",(char *) "text", NULL
15928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15931 arg2
= wxString_in_helper(obj1
);
15932 if (arg2
== NULL
) SWIG_fail
;
15936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15937 (arg1
)->SetText((wxString
const &)*arg2
);
15939 wxPyEndAllowThreads(__tstate
);
15940 if (PyErr_Occurred()) SWIG_fail
;
15942 Py_INCREF(Py_None
); resultobj
= Py_None
;
15957 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15958 PyObject
*resultobj
;
15960 char *kwnames
[] = {
15961 (char *) "updateInterval", NULL
15964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
15966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15967 wxUpdateUIEvent::SetUpdateInterval(arg1
);
15969 wxPyEndAllowThreads(__tstate
);
15970 if (PyErr_Occurred()) SWIG_fail
;
15972 Py_INCREF(Py_None
); resultobj
= Py_None
;
15979 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15980 PyObject
*resultobj
;
15982 char *kwnames
[] = {
15986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
15988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15989 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
15991 wxPyEndAllowThreads(__tstate
);
15992 if (PyErr_Occurred()) SWIG_fail
;
15994 resultobj
= PyInt_FromLong((long)result
);
16001 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16002 PyObject
*resultobj
;
16003 wxWindow
*arg1
= (wxWindow
*) 0 ;
16005 PyObject
* obj0
= 0 ;
16006 char *kwnames
[] = {
16007 (char *) "win", NULL
16010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16014 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16016 wxPyEndAllowThreads(__tstate
);
16017 if (PyErr_Occurred()) SWIG_fail
;
16019 resultobj
= PyInt_FromLong((long)result
);
16026 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16027 PyObject
*resultobj
;
16028 char *kwnames
[] = {
16032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16035 wxUpdateUIEvent::ResetUpdateTime();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16040 Py_INCREF(Py_None
); resultobj
= Py_None
;
16047 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16048 PyObject
*resultobj
;
16050 char *kwnames
[] = {
16051 (char *) "mode", NULL
16054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16057 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16059 wxPyEndAllowThreads(__tstate
);
16060 if (PyErr_Occurred()) SWIG_fail
;
16062 Py_INCREF(Py_None
); resultobj
= Py_None
;
16069 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16070 PyObject
*resultobj
;
16072 char *kwnames
[] = {
16076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 result
= (int)wxUpdateUIEvent::GetMode();
16081 wxPyEndAllowThreads(__tstate
);
16082 if (PyErr_Occurred()) SWIG_fail
;
16084 resultobj
= PyInt_FromLong((long)result
);
16091 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16093 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16094 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16096 return Py_BuildValue((char *)"");
16098 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16099 PyObject
*resultobj
;
16100 wxSysColourChangedEvent
*result
;
16101 char *kwnames
[] = {
16105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16108 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16110 wxPyEndAllowThreads(__tstate
);
16111 if (PyErr_Occurred()) SWIG_fail
;
16113 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16120 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16122 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16123 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16125 return Py_BuildValue((char *)"");
16127 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16128 PyObject
*resultobj
;
16129 int arg1
= (int) 0 ;
16130 wxWindow
*arg2
= (wxWindow
*) NULL
;
16131 wxMouseCaptureChangedEvent
*result
;
16132 PyObject
* obj1
= 0 ;
16133 char *kwnames
[] = {
16134 (char *) "winid",(char *) "gainedCapture", NULL
16137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16139 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16143 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16145 wxPyEndAllowThreads(__tstate
);
16146 if (PyErr_Occurred()) SWIG_fail
;
16148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16155 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16156 PyObject
*resultobj
;
16157 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16159 PyObject
* obj0
= 0 ;
16160 char *kwnames
[] = {
16161 (char *) "self", NULL
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16168 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16170 wxPyEndAllowThreads(__tstate
);
16171 if (PyErr_Occurred()) SWIG_fail
;
16174 resultobj
= wxPyMake_wxObject(result
);
16182 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16184 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16185 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16187 return Py_BuildValue((char *)"");
16189 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16190 PyObject
*resultobj
;
16191 wxDisplayChangedEvent
*result
;
16192 char *kwnames
[] = {
16196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16199 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16201 wxPyEndAllowThreads(__tstate
);
16202 if (PyErr_Occurred()) SWIG_fail
;
16204 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16211 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16213 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16214 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16216 return Py_BuildValue((char *)"");
16218 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16219 PyObject
*resultobj
;
16220 int arg1
= (int) 0 ;
16221 wxPaletteChangedEvent
*result
;
16222 char *kwnames
[] = {
16223 (char *) "id", NULL
16226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16229 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16231 wxPyEndAllowThreads(__tstate
);
16232 if (PyErr_Occurred()) SWIG_fail
;
16234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16241 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16242 PyObject
*resultobj
;
16243 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16244 wxWindow
*arg2
= (wxWindow
*) 0 ;
16245 PyObject
* obj0
= 0 ;
16246 PyObject
* obj1
= 0 ;
16247 char *kwnames
[] = {
16248 (char *) "self",(char *) "win", NULL
16251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16253 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16256 (arg1
)->SetChangedWindow(arg2
);
16258 wxPyEndAllowThreads(__tstate
);
16259 if (PyErr_Occurred()) SWIG_fail
;
16261 Py_INCREF(Py_None
); resultobj
= Py_None
;
16268 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16269 PyObject
*resultobj
;
16270 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16272 PyObject
* obj0
= 0 ;
16273 char *kwnames
[] = {
16274 (char *) "self", NULL
16277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16281 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16283 wxPyEndAllowThreads(__tstate
);
16284 if (PyErr_Occurred()) SWIG_fail
;
16287 resultobj
= wxPyMake_wxObject(result
);
16295 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16297 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16298 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16300 return Py_BuildValue((char *)"");
16302 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16303 PyObject
*resultobj
;
16304 int arg1
= (int) 0 ;
16305 wxQueryNewPaletteEvent
*result
;
16306 char *kwnames
[] = {
16307 (char *) "winid", NULL
16310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16313 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16315 wxPyEndAllowThreads(__tstate
);
16316 if (PyErr_Occurred()) SWIG_fail
;
16318 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16325 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16326 PyObject
*resultobj
;
16327 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16329 PyObject
* obj0
= 0 ;
16330 PyObject
* obj1
= 0 ;
16331 char *kwnames
[] = {
16332 (char *) "self",(char *) "realized", NULL
16335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16337 arg2
= PyInt_AsLong(obj1
) ? true : false;
16338 if (PyErr_Occurred()) SWIG_fail
;
16340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16341 (arg1
)->SetPaletteRealized(arg2
);
16343 wxPyEndAllowThreads(__tstate
);
16344 if (PyErr_Occurred()) SWIG_fail
;
16346 Py_INCREF(Py_None
); resultobj
= Py_None
;
16353 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16354 PyObject
*resultobj
;
16355 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16357 PyObject
* obj0
= 0 ;
16358 char *kwnames
[] = {
16359 (char *) "self", NULL
16362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16366 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16368 wxPyEndAllowThreads(__tstate
);
16369 if (PyErr_Occurred()) SWIG_fail
;
16371 resultobj
= PyInt_FromLong((long)result
);
16378 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16380 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16381 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16383 return Py_BuildValue((char *)"");
16385 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16386 PyObject
*resultobj
;
16387 wxNavigationKeyEvent
*result
;
16388 char *kwnames
[] = {
16392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16395 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16397 wxPyEndAllowThreads(__tstate
);
16398 if (PyErr_Occurred()) SWIG_fail
;
16400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16407 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16408 PyObject
*resultobj
;
16409 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16411 PyObject
* obj0
= 0 ;
16412 char *kwnames
[] = {
16413 (char *) "self", NULL
16416 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16420 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16422 wxPyEndAllowThreads(__tstate
);
16423 if (PyErr_Occurred()) SWIG_fail
;
16425 resultobj
= PyInt_FromLong((long)result
);
16432 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16433 PyObject
*resultobj
;
16434 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16436 PyObject
* obj0
= 0 ;
16437 PyObject
* obj1
= 0 ;
16438 char *kwnames
[] = {
16439 (char *) "self",(char *) "bForward", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16443 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16444 arg2
= PyInt_AsLong(obj1
) ? true : false;
16445 if (PyErr_Occurred()) SWIG_fail
;
16447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16448 (arg1
)->SetDirection(arg2
);
16450 wxPyEndAllowThreads(__tstate
);
16451 if (PyErr_Occurred()) SWIG_fail
;
16453 Py_INCREF(Py_None
); resultobj
= Py_None
;
16460 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16461 PyObject
*resultobj
;
16462 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16464 PyObject
* obj0
= 0 ;
16465 char *kwnames
[] = {
16466 (char *) "self", NULL
16469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 resultobj
= PyInt_FromLong((long)result
);
16485 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 PyObject
* obj1
= 0 ;
16491 char *kwnames
[] = {
16492 (char *) "self",(char *) "bIs", NULL
16495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16497 arg2
= PyInt_AsLong(obj1
) ? true : false;
16498 if (PyErr_Occurred()) SWIG_fail
;
16500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16501 (arg1
)->SetWindowChange(arg2
);
16503 wxPyEndAllowThreads(__tstate
);
16504 if (PyErr_Occurred()) SWIG_fail
;
16506 Py_INCREF(Py_None
); resultobj
= Py_None
;
16513 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16514 PyObject
*resultobj
;
16515 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16517 PyObject
* obj0
= 0 ;
16518 char *kwnames
[] = {
16519 (char *) "self", NULL
16522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16526 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16528 wxPyEndAllowThreads(__tstate
);
16529 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= wxPyMake_wxObject(result
);
16540 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16541 PyObject
*resultobj
;
16542 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16543 wxWindow
*arg2
= (wxWindow
*) 0 ;
16544 PyObject
* obj0
= 0 ;
16545 PyObject
* obj1
= 0 ;
16546 char *kwnames
[] = {
16547 (char *) "self",(char *) "win", NULL
16550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16555 (arg1
)->SetCurrentFocus(arg2
);
16557 wxPyEndAllowThreads(__tstate
);
16558 if (PyErr_Occurred()) SWIG_fail
;
16560 Py_INCREF(Py_None
); resultobj
= Py_None
;
16567 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16569 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16570 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16572 return Py_BuildValue((char *)"");
16574 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16575 PyObject
*resultobj
;
16576 wxWindow
*arg1
= (wxWindow
*) NULL
;
16577 wxWindowCreateEvent
*result
;
16578 PyObject
* obj0
= 0 ;
16579 char *kwnames
[] = {
16580 (char *) "win", NULL
16583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16589 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16591 wxPyEndAllowThreads(__tstate
);
16592 if (PyErr_Occurred()) SWIG_fail
;
16594 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16601 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16602 PyObject
*resultobj
;
16603 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16605 PyObject
* obj0
= 0 ;
16606 char *kwnames
[] = {
16607 (char *) "self", NULL
16610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16614 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16616 wxPyEndAllowThreads(__tstate
);
16617 if (PyErr_Occurred()) SWIG_fail
;
16620 resultobj
= wxPyMake_wxObject(result
);
16628 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16630 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16631 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16633 return Py_BuildValue((char *)"");
16635 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16636 PyObject
*resultobj
;
16637 wxWindow
*arg1
= (wxWindow
*) NULL
;
16638 wxWindowDestroyEvent
*result
;
16639 PyObject
* obj0
= 0 ;
16640 char *kwnames
[] = {
16641 (char *) "win", NULL
16644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16650 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16652 wxPyEndAllowThreads(__tstate
);
16653 if (PyErr_Occurred()) SWIG_fail
;
16655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16662 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16663 PyObject
*resultobj
;
16664 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16666 PyObject
* obj0
= 0 ;
16667 char *kwnames
[] = {
16668 (char *) "self", NULL
16671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16675 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16677 wxPyEndAllowThreads(__tstate
);
16678 if (PyErr_Occurred()) SWIG_fail
;
16681 resultobj
= wxPyMake_wxObject(result
);
16689 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16692 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16694 return Py_BuildValue((char *)"");
16696 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16697 PyObject
*resultobj
;
16698 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16699 int arg2
= (int) 0 ;
16700 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16701 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16702 wxContextMenuEvent
*result
;
16704 PyObject
* obj2
= 0 ;
16705 char *kwnames
[] = {
16706 (char *) "type",(char *) "winid",(char *) "pt", NULL
16709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16713 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16718 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16720 wxPyEndAllowThreads(__tstate
);
16721 if (PyErr_Occurred()) SWIG_fail
;
16723 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16730 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16731 PyObject
*resultobj
;
16732 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16734 PyObject
* obj0
= 0 ;
16735 char *kwnames
[] = {
16736 (char *) "self", NULL
16739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16744 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16745 result
= (wxPoint
*) &_result_ref
;
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16758 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16759 PyObject
*resultobj
;
16760 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16761 wxPoint
*arg2
= 0 ;
16763 PyObject
* obj0
= 0 ;
16764 PyObject
* obj1
= 0 ;
16765 char *kwnames
[] = {
16766 (char *) "self",(char *) "pos", NULL
16769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16773 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16777 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16779 wxPyEndAllowThreads(__tstate
);
16780 if (PyErr_Occurred()) SWIG_fail
;
16782 Py_INCREF(Py_None
); resultobj
= Py_None
;
16789 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16791 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16792 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16794 return Py_BuildValue((char *)"");
16796 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16797 PyObject
*resultobj
;
16798 wxIdleEvent
*result
;
16799 char *kwnames
[] = {
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16806 result
= (wxIdleEvent
*)new wxIdleEvent();
16808 wxPyEndAllowThreads(__tstate
);
16809 if (PyErr_Occurred()) SWIG_fail
;
16811 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16818 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16819 PyObject
*resultobj
;
16820 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16821 bool arg2
= (bool) True
;
16822 PyObject
* obj0
= 0 ;
16823 PyObject
* obj1
= 0 ;
16824 char *kwnames
[] = {
16825 (char *) "self",(char *) "needMore", NULL
16828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16831 arg2
= PyInt_AsLong(obj1
) ? true : false;
16832 if (PyErr_Occurred()) SWIG_fail
;
16835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16836 (arg1
)->RequestMore(arg2
);
16838 wxPyEndAllowThreads(__tstate
);
16839 if (PyErr_Occurred()) SWIG_fail
;
16841 Py_INCREF(Py_None
); resultobj
= Py_None
;
16848 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16849 PyObject
*resultobj
;
16850 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16852 PyObject
* obj0
= 0 ;
16853 char *kwnames
[] = {
16854 (char *) "self", NULL
16857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16861 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= PyInt_FromLong((long)result
);
16873 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16874 PyObject
*resultobj
;
16876 char *kwnames
[] = {
16877 (char *) "mode", NULL
16880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16883 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
16885 wxPyEndAllowThreads(__tstate
);
16886 if (PyErr_Occurred()) SWIG_fail
;
16888 Py_INCREF(Py_None
); resultobj
= Py_None
;
16895 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16896 PyObject
*resultobj
;
16898 char *kwnames
[] = {
16902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
16904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16905 result
= (int)wxIdleEvent::GetMode();
16907 wxPyEndAllowThreads(__tstate
);
16908 if (PyErr_Occurred()) SWIG_fail
;
16910 resultobj
= PyInt_FromLong((long)result
);
16917 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16918 PyObject
*resultobj
;
16919 wxWindow
*arg1
= (wxWindow
*) 0 ;
16921 PyObject
* obj0
= 0 ;
16922 char *kwnames
[] = {
16923 (char *) "win", NULL
16926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
16927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16930 result
= (bool)wxIdleEvent::CanSend(arg1
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= PyInt_FromLong((long)result
);
16942 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16944 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16945 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
16947 return Py_BuildValue((char *)"");
16949 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16950 PyObject
*resultobj
;
16951 int arg1
= (int) 0 ;
16952 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
16954 char *kwnames
[] = {
16955 (char *) "winid",(char *) "commandType", NULL
16958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16961 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
16963 wxPyEndAllowThreads(__tstate
);
16964 if (PyErr_Occurred()) SWIG_fail
;
16966 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
16973 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16974 PyObject
*resultobj
;
16975 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
16976 PyObject
* obj0
= 0 ;
16977 char *kwnames
[] = {
16978 (char *) "self", NULL
16981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
16982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16987 wxPyEndAllowThreads(__tstate
);
16988 if (PyErr_Occurred()) SWIG_fail
;
16990 Py_INCREF(Py_None
); resultobj
= Py_None
;
16997 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16998 PyObject
*resultobj
;
16999 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17000 PyObject
*arg2
= (PyObject
*) 0 ;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 char *kwnames
[] = {
17004 (char *) "self",(char *) "self", NULL
17007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17012 (arg1
)->SetSelf(arg2
);
17014 wxPyEndAllowThreads(__tstate
);
17015 if (PyErr_Occurred()) SWIG_fail
;
17017 Py_INCREF(Py_None
); resultobj
= Py_None
;
17024 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17025 PyObject
*resultobj
;
17026 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17028 PyObject
* obj0
= 0 ;
17029 char *kwnames
[] = {
17030 (char *) "self", NULL
17033 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17034 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (PyObject
*)(arg1
)->GetSelf();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= result
;
17049 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17051 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17052 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17054 return Py_BuildValue((char *)"");
17056 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17057 PyObject
*resultobj
;
17058 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17059 int arg2
= (int) 0 ;
17060 wxPyCommandEvent
*result
;
17061 char *kwnames
[] = {
17062 (char *) "commandType",(char *) "id", NULL
17065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17068 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17070 wxPyEndAllowThreads(__tstate
);
17071 if (PyErr_Occurred()) SWIG_fail
;
17073 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17080 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17081 PyObject
*resultobj
;
17082 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17083 PyObject
* obj0
= 0 ;
17084 char *kwnames
[] = {
17085 (char *) "self", NULL
17088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17094 wxPyEndAllowThreads(__tstate
);
17095 if (PyErr_Occurred()) SWIG_fail
;
17097 Py_INCREF(Py_None
); resultobj
= Py_None
;
17104 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17105 PyObject
*resultobj
;
17106 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17107 PyObject
*arg2
= (PyObject
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 PyObject
* obj1
= 0 ;
17110 char *kwnames
[] = {
17111 (char *) "self",(char *) "self", NULL
17114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 (arg1
)->SetSelf(arg2
);
17121 wxPyEndAllowThreads(__tstate
);
17122 if (PyErr_Occurred()) SWIG_fail
;
17124 Py_INCREF(Py_None
); resultobj
= Py_None
;
17131 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17132 PyObject
*resultobj
;
17133 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17135 PyObject
* obj0
= 0 ;
17136 char *kwnames
[] = {
17137 (char *) "self", NULL
17140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 result
= (PyObject
*)(arg1
)->GetSelf();
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 resultobj
= result
;
17156 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17158 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17159 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17161 return Py_BuildValue((char *)"");
17163 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17164 PyObject
*resultobj
;
17166 char *kwnames
[] = {
17170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17173 result
= (wxPyApp
*)new_wxPyApp();
17175 wxPyEndAllowThreads(__tstate
);
17176 if (PyErr_Occurred()) SWIG_fail
;
17179 resultobj
= wxPyMake_wxObject(result
);
17187 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17188 PyObject
*resultobj
;
17189 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17190 PyObject
* obj0
= 0 ;
17191 char *kwnames
[] = {
17192 (char *) "self", NULL
17195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 Py_INCREF(Py_None
); resultobj
= Py_None
;
17211 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17212 PyObject
*resultobj
;
17213 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17214 PyObject
*arg2
= (PyObject
*) 0 ;
17215 PyObject
*arg3
= (PyObject
*) 0 ;
17216 PyObject
* obj0
= 0 ;
17217 PyObject
* obj1
= 0 ;
17218 PyObject
* obj2
= 0 ;
17219 char *kwnames
[] = {
17220 (char *) "self",(char *) "self",(char *) "_class", NULL
17223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17229 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17234 Py_INCREF(Py_None
); resultobj
= Py_None
;
17241 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17242 PyObject
*resultobj
;
17243 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17245 PyObject
* obj0
= 0 ;
17246 char *kwnames
[] = {
17247 (char *) "self", NULL
17250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17254 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17256 wxPyEndAllowThreads(__tstate
);
17257 if (PyErr_Occurred()) SWIG_fail
;
17261 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17263 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17272 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17273 PyObject
*resultobj
;
17274 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17275 wxString
*arg2
= 0 ;
17276 bool temp2
= False
;
17277 PyObject
* obj0
= 0 ;
17278 PyObject
* obj1
= 0 ;
17279 char *kwnames
[] = {
17280 (char *) "self",(char *) "name", NULL
17283 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17284 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17286 arg2
= wxString_in_helper(obj1
);
17287 if (arg2
== NULL
) SWIG_fail
;
17291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17292 (arg1
)->SetAppName((wxString
const &)*arg2
);
17294 wxPyEndAllowThreads(__tstate
);
17295 if (PyErr_Occurred()) SWIG_fail
;
17297 Py_INCREF(Py_None
); resultobj
= Py_None
;
17312 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17313 PyObject
*resultobj
;
17314 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17316 PyObject
* obj0
= 0 ;
17317 char *kwnames
[] = {
17318 (char *) "self", NULL
17321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17327 wxPyEndAllowThreads(__tstate
);
17328 if (PyErr_Occurred()) SWIG_fail
;
17332 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17334 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17343 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17346 wxString
*arg2
= 0 ;
17347 bool temp2
= False
;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 char *kwnames
[] = {
17351 (char *) "self",(char *) "name", NULL
17354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17357 arg2
= wxString_in_helper(obj1
);
17358 if (arg2
== NULL
) SWIG_fail
;
17362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17363 (arg1
)->SetClassName((wxString
const &)*arg2
);
17365 wxPyEndAllowThreads(__tstate
);
17366 if (PyErr_Occurred()) SWIG_fail
;
17368 Py_INCREF(Py_None
); resultobj
= Py_None
;
17383 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17384 PyObject
*resultobj
;
17385 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17387 PyObject
* obj0
= 0 ;
17388 char *kwnames
[] = {
17389 (char *) "self", NULL
17392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17397 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17398 result
= (wxString
*) &_result_ref
;
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17411 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17412 PyObject
*resultobj
;
17413 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17414 wxString
*arg2
= 0 ;
17415 bool temp2
= False
;
17416 PyObject
* obj0
= 0 ;
17417 PyObject
* obj1
= 0 ;
17418 char *kwnames
[] = {
17419 (char *) "self",(char *) "name", NULL
17422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17425 arg2
= wxString_in_helper(obj1
);
17426 if (arg2
== NULL
) SWIG_fail
;
17430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17431 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17433 wxPyEndAllowThreads(__tstate
);
17434 if (PyErr_Occurred()) SWIG_fail
;
17436 Py_INCREF(Py_None
); resultobj
= Py_None
;
17451 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17452 PyObject
*resultobj
;
17453 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17454 wxAppTraits
*result
;
17455 PyObject
* obj0
= 0 ;
17456 char *kwnames
[] = {
17457 (char *) "self", NULL
17460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17464 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17466 wxPyEndAllowThreads(__tstate
);
17467 if (PyErr_Occurred()) SWIG_fail
;
17469 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17476 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17477 PyObject
*resultobj
;
17478 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17479 PyObject
* obj0
= 0 ;
17480 char *kwnames
[] = {
17481 (char *) "self", NULL
17484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17488 (arg1
)->ProcessPendingEvents();
17490 wxPyEndAllowThreads(__tstate
);
17491 if (PyErr_Occurred()) SWIG_fail
;
17493 Py_INCREF(Py_None
); resultobj
= Py_None
;
17500 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17501 PyObject
*resultobj
;
17502 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17503 bool arg2
= (bool) False
;
17505 PyObject
* obj0
= 0 ;
17506 PyObject
* obj1
= 0 ;
17507 char *kwnames
[] = {
17508 (char *) "self",(char *) "onlyIfNeeded", NULL
17511 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17512 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17514 arg2
= PyInt_AsLong(obj1
) ? true : false;
17515 if (PyErr_Occurred()) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 result
= (bool)(arg1
)->Yield(arg2
);
17521 wxPyEndAllowThreads(__tstate
);
17522 if (PyErr_Occurred()) SWIG_fail
;
17524 resultobj
= PyInt_FromLong((long)result
);
17531 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17532 PyObject
*resultobj
;
17533 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17534 PyObject
* obj0
= 0 ;
17535 char *kwnames
[] = {
17536 (char *) "self", NULL
17539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17543 (arg1
)->WakeUpIdle();
17545 wxPyEndAllowThreads(__tstate
);
17546 if (PyErr_Occurred()) SWIG_fail
;
17548 Py_INCREF(Py_None
); resultobj
= Py_None
;
17555 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17556 PyObject
*resultobj
;
17557 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17559 PyObject
* obj0
= 0 ;
17560 char *kwnames
[] = {
17561 (char *) "self", NULL
17564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17568 result
= (int)(arg1
)->MainLoop();
17570 wxPyEndAllowThreads(__tstate
);
17571 if (PyErr_Occurred()) SWIG_fail
;
17573 resultobj
= PyInt_FromLong((long)result
);
17580 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17581 PyObject
*resultobj
;
17582 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17583 PyObject
* obj0
= 0 ;
17584 char *kwnames
[] = {
17585 (char *) "self", NULL
17588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17594 wxPyEndAllowThreads(__tstate
);
17595 if (PyErr_Occurred()) SWIG_fail
;
17597 Py_INCREF(Py_None
); resultobj
= Py_None
;
17604 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17605 PyObject
*resultobj
;
17606 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17607 PyObject
* obj0
= 0 ;
17608 char *kwnames
[] = {
17609 (char *) "self", NULL
17612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17616 (arg1
)->ExitMainLoop();
17618 wxPyEndAllowThreads(__tstate
);
17619 if (PyErr_Occurred()) SWIG_fail
;
17621 Py_INCREF(Py_None
); resultobj
= Py_None
;
17628 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
;
17630 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17632 PyObject
* obj0
= 0 ;
17633 char *kwnames
[] = {
17634 (char *) "self", NULL
17637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17641 result
= (bool)(arg1
)->Pending();
17643 wxPyEndAllowThreads(__tstate
);
17644 if (PyErr_Occurred()) SWIG_fail
;
17646 resultobj
= PyInt_FromLong((long)result
);
17653 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17654 PyObject
*resultobj
;
17655 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17657 PyObject
* obj0
= 0 ;
17658 char *kwnames
[] = {
17659 (char *) "self", NULL
17662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17666 result
= (bool)(arg1
)->Dispatch();
17668 wxPyEndAllowThreads(__tstate
);
17669 if (PyErr_Occurred()) SWIG_fail
;
17671 resultobj
= PyInt_FromLong((long)result
);
17678 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17679 PyObject
*resultobj
;
17680 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17682 PyObject
* obj0
= 0 ;
17683 char *kwnames
[] = {
17684 (char *) "self", NULL
17687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17691 result
= (bool)(arg1
)->ProcessIdle();
17693 wxPyEndAllowThreads(__tstate
);
17694 if (PyErr_Occurred()) SWIG_fail
;
17696 resultobj
= PyInt_FromLong((long)result
);
17703 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17704 PyObject
*resultobj
;
17705 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17706 wxWindow
*arg2
= (wxWindow
*) 0 ;
17707 wxIdleEvent
*arg3
= 0 ;
17709 PyObject
* obj0
= 0 ;
17710 PyObject
* obj1
= 0 ;
17711 PyObject
* obj2
= 0 ;
17712 char *kwnames
[] = {
17713 (char *) "self",(char *) "win",(char *) "event", NULL
17716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17719 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17720 if (arg3
== NULL
) {
17721 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17725 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17727 wxPyEndAllowThreads(__tstate
);
17728 if (PyErr_Occurred()) SWIG_fail
;
17730 resultobj
= PyInt_FromLong((long)result
);
17737 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17738 PyObject
*resultobj
;
17739 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17741 PyObject
* obj0
= 0 ;
17742 char *kwnames
[] = {
17743 (char *) "self", NULL
17746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17750 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17755 resultobj
= PyInt_FromLong((long)result
);
17762 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17763 PyObject
*resultobj
;
17764 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17765 wxWindow
*arg2
= (wxWindow
*) 0 ;
17766 PyObject
* obj0
= 0 ;
17767 PyObject
* obj1
= 0 ;
17768 char *kwnames
[] = {
17769 (char *) "self",(char *) "win", NULL
17772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17777 (arg1
)->SetTopWindow(arg2
);
17779 wxPyEndAllowThreads(__tstate
);
17780 if (PyErr_Occurred()) SWIG_fail
;
17782 Py_INCREF(Py_None
); resultobj
= Py_None
;
17789 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17790 PyObject
*resultobj
;
17791 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17793 PyObject
* obj0
= 0 ;
17794 char *kwnames
[] = {
17795 (char *) "self", NULL
17798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17802 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17804 wxPyEndAllowThreads(__tstate
);
17805 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= wxPyMake_wxObject(result
);
17816 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 PyObject
* obj1
= 0 ;
17822 char *kwnames
[] = {
17823 (char *) "self",(char *) "flag", NULL
17826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17828 arg2
= PyInt_AsLong(obj1
) ? true : false;
17829 if (PyErr_Occurred()) SWIG_fail
;
17831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17832 (arg1
)->SetExitOnFrameDelete(arg2
);
17834 wxPyEndAllowThreads(__tstate
);
17835 if (PyErr_Occurred()) SWIG_fail
;
17837 Py_INCREF(Py_None
); resultobj
= Py_None
;
17844 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17845 PyObject
*resultobj
;
17846 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17848 PyObject
* obj0
= 0 ;
17849 char *kwnames
[] = {
17850 (char *) "self", NULL
17853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
17854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17857 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
17859 wxPyEndAllowThreads(__tstate
);
17860 if (PyErr_Occurred()) SWIG_fail
;
17862 resultobj
= PyInt_FromLong((long)result
);
17869 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17870 PyObject
*resultobj
;
17871 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17873 PyObject
* obj0
= 0 ;
17874 PyObject
* obj1
= 0 ;
17875 char *kwnames
[] = {
17876 (char *) "self",(char *) "flag", NULL
17879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
17880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17881 arg2
= PyInt_AsLong(obj1
) ? true : false;
17882 if (PyErr_Occurred()) SWIG_fail
;
17884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17885 (arg1
)->SetUseBestVisual(arg2
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 Py_INCREF(Py_None
); resultobj
= Py_None
;
17897 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17898 PyObject
*resultobj
;
17899 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17901 PyObject
* obj0
= 0 ;
17902 char *kwnames
[] = {
17903 (char *) "self", NULL
17906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
17907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17910 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
17912 wxPyEndAllowThreads(__tstate
);
17913 if (PyErr_Occurred()) SWIG_fail
;
17915 resultobj
= PyInt_FromLong((long)result
);
17922 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17923 PyObject
*resultobj
;
17924 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17926 PyObject
* obj0
= 0 ;
17927 char *kwnames
[] = {
17928 (char *) "self",(char *) "mode", NULL
17931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
17932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17935 (arg1
)->SetPrintMode(arg2
);
17937 wxPyEndAllowThreads(__tstate
);
17938 if (PyErr_Occurred()) SWIG_fail
;
17940 Py_INCREF(Py_None
); resultobj
= Py_None
;
17947 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17948 PyObject
*resultobj
;
17949 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17951 PyObject
* obj0
= 0 ;
17952 char *kwnames
[] = {
17953 (char *) "self", NULL
17956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17960 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
17962 wxPyEndAllowThreads(__tstate
);
17963 if (PyErr_Occurred()) SWIG_fail
;
17965 resultobj
= PyInt_FromLong((long)result
);
17972 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17973 PyObject
*resultobj
;
17974 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17976 PyObject
* obj0
= 0 ;
17977 char *kwnames
[] = {
17978 (char *) "self",(char *) "mode", NULL
17981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
17982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17985 (arg1
)->SetAssertMode(arg2
);
17987 wxPyEndAllowThreads(__tstate
);
17988 if (PyErr_Occurred()) SWIG_fail
;
17990 Py_INCREF(Py_None
); resultobj
= Py_None
;
17997 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17998 PyObject
*resultobj
;
17999 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18001 PyObject
* obj0
= 0 ;
18002 char *kwnames
[] = {
18003 (char *) "self", NULL
18006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18010 result
= (int)(arg1
)->GetAssertMode();
18012 wxPyEndAllowThreads(__tstate
);
18013 if (PyErr_Occurred()) SWIG_fail
;
18015 resultobj
= PyInt_FromLong((long)result
);
18022 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18023 PyObject
*resultobj
;
18025 char *kwnames
[] = {
18029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18032 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18034 wxPyEndAllowThreads(__tstate
);
18035 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= PyInt_FromLong((long)result
);
18044 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18045 PyObject
*resultobj
;
18047 char *kwnames
[] = {
18051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18054 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18056 wxPyEndAllowThreads(__tstate
);
18057 if (PyErr_Occurred()) SWIG_fail
;
18059 resultobj
= PyInt_FromLong((long)result
);
18066 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18067 PyObject
*resultobj
;
18069 char *kwnames
[] = {
18073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18076 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18078 wxPyEndAllowThreads(__tstate
);
18079 if (PyErr_Occurred()) SWIG_fail
;
18081 resultobj
= PyInt_FromLong((long)result
);
18088 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18089 PyObject
*resultobj
;
18091 char *kwnames
[] = {
18095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (long)wxPyApp::GetMacExitMenuItemId();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= PyInt_FromLong((long)result
);
18110 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18113 char *kwnames
[] = {
18117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18120 result
= wxPyApp::GetMacHelpMenuTitleName();
18122 wxPyEndAllowThreads(__tstate
);
18123 if (PyErr_Occurred()) SWIG_fail
;
18127 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18129 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18138 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18139 PyObject
*resultobj
;
18141 PyObject
* obj0
= 0 ;
18142 char *kwnames
[] = {
18143 (char *) "val", NULL
18146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18147 arg1
= PyInt_AsLong(obj0
) ? true : false;
18148 if (PyErr_Occurred()) SWIG_fail
;
18150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18151 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18153 wxPyEndAllowThreads(__tstate
);
18154 if (PyErr_Occurred()) SWIG_fail
;
18156 Py_INCREF(Py_None
); resultobj
= Py_None
;
18163 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18164 PyObject
*resultobj
;
18166 char *kwnames
[] = {
18167 (char *) "val", NULL
18170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18173 wxPyApp::SetMacAboutMenuItemId(arg1
);
18175 wxPyEndAllowThreads(__tstate
);
18176 if (PyErr_Occurred()) SWIG_fail
;
18178 Py_INCREF(Py_None
); resultobj
= Py_None
;
18185 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18186 PyObject
*resultobj
;
18188 char *kwnames
[] = {
18189 (char *) "val", NULL
18192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18195 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18197 wxPyEndAllowThreads(__tstate
);
18198 if (PyErr_Occurred()) SWIG_fail
;
18200 Py_INCREF(Py_None
); resultobj
= Py_None
;
18207 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18208 PyObject
*resultobj
;
18210 char *kwnames
[] = {
18211 (char *) "val", NULL
18214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18217 wxPyApp::SetMacExitMenuItemId(arg1
);
18219 wxPyEndAllowThreads(__tstate
);
18220 if (PyErr_Occurred()) SWIG_fail
;
18222 Py_INCREF(Py_None
); resultobj
= Py_None
;
18229 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18230 PyObject
*resultobj
;
18231 wxString
*arg1
= 0 ;
18232 bool temp1
= False
;
18233 PyObject
* obj0
= 0 ;
18234 char *kwnames
[] = {
18235 (char *) "val", NULL
18238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18240 arg1
= wxString_in_helper(obj0
);
18241 if (arg1
== NULL
) SWIG_fail
;
18245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18246 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 Py_INCREF(Py_None
); resultobj
= Py_None
;
18266 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18267 PyObject
*resultobj
;
18268 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18269 PyObject
* obj0
= 0 ;
18270 char *kwnames
[] = {
18271 (char *) "self", NULL
18274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18278 (arg1
)->_BootstrapApp();
18280 wxPyEndAllowThreads(__tstate
);
18281 if (PyErr_Occurred()) SWIG_fail
;
18283 Py_INCREF(Py_None
); resultobj
= Py_None
;
18290 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18291 PyObject
*resultobj
;
18293 char *kwnames
[] = {
18297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18300 result
= (int)wxPyApp::GetComCtl32Version();
18302 wxPyEndAllowThreads(__tstate
);
18303 if (PyErr_Occurred()) SWIG_fail
;
18305 resultobj
= PyInt_FromLong((long)result
);
18312 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18315 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18317 return Py_BuildValue((char *)"");
18319 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18320 PyObject
*resultobj
;
18321 char *kwnames
[] = {
18325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18330 wxPyEndAllowThreads(__tstate
);
18331 if (PyErr_Occurred()) SWIG_fail
;
18333 Py_INCREF(Py_None
); resultobj
= Py_None
;
18340 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18341 PyObject
*resultobj
;
18343 char *kwnames
[] = {
18347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18350 result
= (bool)wxYield();
18352 wxPyEndAllowThreads(__tstate
);
18353 if (PyErr_Occurred()) SWIG_fail
;
18355 resultobj
= PyInt_FromLong((long)result
);
18362 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18363 PyObject
*resultobj
;
18365 char *kwnames
[] = {
18369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18372 result
= (bool)wxYieldIfNeeded();
18374 wxPyEndAllowThreads(__tstate
);
18375 if (PyErr_Occurred()) SWIG_fail
;
18377 resultobj
= PyInt_FromLong((long)result
);
18384 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18385 PyObject
*resultobj
;
18386 wxWindow
*arg1
= (wxWindow
*) NULL
;
18387 bool arg2
= (bool) False
;
18389 PyObject
* obj0
= 0 ;
18390 PyObject
* obj1
= 0 ;
18391 char *kwnames
[] = {
18392 (char *) "win",(char *) "onlyIfNeeded", NULL
18395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18400 arg2
= PyInt_AsLong(obj1
) ? true : false;
18401 if (PyErr_Occurred()) SWIG_fail
;
18404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18405 result
= (bool)wxSafeYield(arg1
,arg2
);
18407 wxPyEndAllowThreads(__tstate
);
18408 if (PyErr_Occurred()) SWIG_fail
;
18410 resultobj
= PyInt_FromLong((long)result
);
18417 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18418 PyObject
*resultobj
;
18419 char *kwnames
[] = {
18423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18431 Py_INCREF(Py_None
); resultobj
= Py_None
;
18438 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18439 PyObject
*resultobj
;
18440 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18441 wxEvent
*arg2
= 0 ;
18442 PyObject
* obj0
= 0 ;
18443 PyObject
* obj1
= 0 ;
18444 char *kwnames
[] = {
18445 (char *) "dest",(char *) "event", NULL
18448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18450 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18451 if (arg2
== NULL
) {
18452 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18456 wxPostEvent(arg1
,*arg2
);
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 Py_INCREF(Py_None
); resultobj
= Py_None
;
18468 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18469 PyObject
*resultobj
;
18470 char *kwnames
[] = {
18474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18482 Py_INCREF(Py_None
); resultobj
= Py_None
;
18489 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18490 PyObject
*resultobj
;
18492 char *kwnames
[] = {
18496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18499 result
= (wxPyApp
*)wxGetApp();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18505 resultobj
= wxPyMake_wxObject(result
);
18513 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18514 PyObject
*resultobj
;
18515 int arg1
= (int) 0 ;
18516 int arg2
= (int) 0 ;
18517 int arg3
= (int) 0 ;
18518 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
18519 wxAcceleratorEntry
*result
;
18520 PyObject
* obj3
= 0 ;
18521 char *kwnames
[] = {
18522 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
18527 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18531 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
18533 wxPyEndAllowThreads(__tstate
);
18534 if (PyErr_Occurred()) SWIG_fail
;
18536 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
18543 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18544 PyObject
*resultobj
;
18545 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18546 PyObject
* obj0
= 0 ;
18547 char *kwnames
[] = {
18548 (char *) "self", NULL
18551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
18552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18557 wxPyEndAllowThreads(__tstate
);
18558 if (PyErr_Occurred()) SWIG_fail
;
18560 Py_INCREF(Py_None
); resultobj
= Py_None
;
18567 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18568 PyObject
*resultobj
;
18569 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18573 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
18574 PyObject
* obj0
= 0 ;
18575 PyObject
* obj4
= 0 ;
18576 char *kwnames
[] = {
18577 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
18581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18583 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18587 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18589 wxPyEndAllowThreads(__tstate
);
18590 if (PyErr_Occurred()) SWIG_fail
;
18592 Py_INCREF(Py_None
); resultobj
= Py_None
;
18599 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18600 PyObject
*resultobj
;
18601 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18602 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
18603 PyObject
* obj0
= 0 ;
18604 PyObject
* obj1
= 0 ;
18605 char *kwnames
[] = {
18606 (char *) "self",(char *) "item", NULL
18609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18614 (arg1
)->SetMenuItem(arg2
);
18616 wxPyEndAllowThreads(__tstate
);
18617 if (PyErr_Occurred()) SWIG_fail
;
18619 Py_INCREF(Py_None
); resultobj
= Py_None
;
18626 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18627 PyObject
*resultobj
;
18628 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18629 wxMenuItem
*result
;
18630 PyObject
* obj0
= 0 ;
18631 char *kwnames
[] = {
18632 (char *) "self", NULL
18635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
18636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18639 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
18641 wxPyEndAllowThreads(__tstate
);
18642 if (PyErr_Occurred()) SWIG_fail
;
18645 resultobj
= wxPyMake_wxObject(result
);
18653 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18654 PyObject
*resultobj
;
18655 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18657 PyObject
* obj0
= 0 ;
18658 char *kwnames
[] = {
18659 (char *) "self", NULL
18662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
18663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18666 result
= (int)(arg1
)->GetFlags();
18668 wxPyEndAllowThreads(__tstate
);
18669 if (PyErr_Occurred()) SWIG_fail
;
18671 resultobj
= PyInt_FromLong((long)result
);
18678 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18679 PyObject
*resultobj
;
18680 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18682 PyObject
* obj0
= 0 ;
18683 char *kwnames
[] = {
18684 (char *) "self", NULL
18687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18691 result
= (int)(arg1
)->GetKeyCode();
18693 wxPyEndAllowThreads(__tstate
);
18694 if (PyErr_Occurred()) SWIG_fail
;
18696 resultobj
= PyInt_FromLong((long)result
);
18703 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18704 PyObject
*resultobj
;
18705 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18707 PyObject
* obj0
= 0 ;
18708 char *kwnames
[] = {
18709 (char *) "self", NULL
18712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
18713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18716 result
= (int)(arg1
)->GetCommand();
18718 wxPyEndAllowThreads(__tstate
);
18719 if (PyErr_Occurred()) SWIG_fail
;
18721 resultobj
= PyInt_FromLong((long)result
);
18728 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
18730 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18731 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
18733 return Py_BuildValue((char *)"");
18735 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18736 PyObject
*resultobj
;
18738 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
18739 wxAcceleratorTable
*result
;
18740 PyObject
* obj0
= 0 ;
18741 char *kwnames
[] = {
18745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18747 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
18748 if (arg2
) arg1
= PyList_Size(obj0
);
18752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18753 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
18755 wxPyEndAllowThreads(__tstate
);
18756 if (PyErr_Occurred()) SWIG_fail
;
18758 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
18771 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18772 PyObject
*resultobj
;
18773 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18774 PyObject
* obj0
= 0 ;
18775 char *kwnames
[] = {
18776 (char *) "self", NULL
18779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18785 wxPyEndAllowThreads(__tstate
);
18786 if (PyErr_Occurred()) SWIG_fail
;
18788 Py_INCREF(Py_None
); resultobj
= Py_None
;
18795 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18796 PyObject
*resultobj
;
18797 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18799 PyObject
* obj0
= 0 ;
18800 char *kwnames
[] = {
18801 (char *) "self", NULL
18804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
18805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18808 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
18810 wxPyEndAllowThreads(__tstate
);
18811 if (PyErr_Occurred()) SWIG_fail
;
18813 resultobj
= PyInt_FromLong((long)result
);
18820 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
18822 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18823 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
18825 return Py_BuildValue((char *)"");
18827 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
18828 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
18833 static PyObject
*_wrap_NullAcceleratorTable_get() {
18836 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
18841 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxString
*arg1
= 0 ;
18844 wxAcceleratorEntry
*result
;
18845 bool temp1
= False
;
18846 PyObject
* obj0
= 0 ;
18847 char *kwnames
[] = {
18848 (char *) "label", NULL
18851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
18853 arg1
= wxString_in_helper(obj0
);
18854 if (arg1
== NULL
) SWIG_fail
;
18858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18859 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
18861 wxPyEndAllowThreads(__tstate
);
18862 if (PyErr_Occurred()) SWIG_fail
;
18864 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
18879 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
18880 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
18885 static PyObject
*_wrap_PanelNameStr_get() {
18890 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18892 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18899 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18900 PyObject
*resultobj
;
18901 wxWindow
*arg1
= (wxWindow
*) 0 ;
18903 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18904 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18905 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18906 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18907 long arg5
= (long) 0 ;
18908 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18909 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18913 bool temp6
= False
;
18914 PyObject
* obj0
= 0 ;
18915 PyObject
* obj2
= 0 ;
18916 PyObject
* obj3
= 0 ;
18917 PyObject
* obj5
= 0 ;
18918 char *kwnames
[] = {
18919 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18927 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18933 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18938 arg6
= wxString_in_helper(obj5
);
18939 if (arg6
== NULL
) SWIG_fail
;
18944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18945 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18947 wxPyEndAllowThreads(__tstate
);
18948 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= wxPyMake_wxObject(result
);
18967 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18968 PyObject
*resultobj
;
18970 char *kwnames
[] = {
18974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
18976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18977 result
= (wxWindow
*)new wxWindow();
18979 wxPyEndAllowThreads(__tstate
);
18980 if (PyErr_Occurred()) SWIG_fail
;
18983 resultobj
= wxPyMake_wxObject(result
);
18991 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18992 PyObject
*resultobj
;
18993 wxWindow
*arg1
= (wxWindow
*) 0 ;
18994 wxWindow
*arg2
= (wxWindow
*) 0 ;
18996 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18997 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
18998 wxSize
const &arg5_defvalue
= wxDefaultSize
;
18999 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19000 long arg6
= (long) 0 ;
19001 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19002 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19006 bool temp7
= False
;
19007 PyObject
* obj0
= 0 ;
19008 PyObject
* obj1
= 0 ;
19009 PyObject
* obj3
= 0 ;
19010 PyObject
* obj4
= 0 ;
19011 PyObject
* obj6
= 0 ;
19012 char *kwnames
[] = {
19013 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19018 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19022 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19028 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19033 arg7
= wxString_in_helper(obj6
);
19034 if (arg7
== NULL
) SWIG_fail
;
19039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19040 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= PyInt_FromLong((long)result
);
19060 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19061 PyObject
*resultobj
;
19062 wxWindow
*arg1
= (wxWindow
*) 0 ;
19063 bool arg2
= (bool) False
;
19065 PyObject
* obj0
= 0 ;
19066 PyObject
* obj1
= 0 ;
19067 char *kwnames
[] = {
19068 (char *) "self",(char *) "force", NULL
19071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
19072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19074 arg2
= PyInt_AsLong(obj1
) ? true : false;
19075 if (PyErr_Occurred()) SWIG_fail
;
19078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19079 result
= (bool)(arg1
)->Close(arg2
);
19081 wxPyEndAllowThreads(__tstate
);
19082 if (PyErr_Occurred()) SWIG_fail
;
19084 resultobj
= PyInt_FromLong((long)result
);
19091 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19092 PyObject
*resultobj
;
19093 wxWindow
*arg1
= (wxWindow
*) 0 ;
19095 PyObject
* obj0
= 0 ;
19096 char *kwnames
[] = {
19097 (char *) "self", NULL
19100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
19101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19104 result
= (bool)(arg1
)->Destroy();
19106 wxPyEndAllowThreads(__tstate
);
19107 if (PyErr_Occurred()) SWIG_fail
;
19109 resultobj
= PyInt_FromLong((long)result
);
19116 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19117 PyObject
*resultobj
;
19118 wxWindow
*arg1
= (wxWindow
*) 0 ;
19120 PyObject
* obj0
= 0 ;
19121 char *kwnames
[] = {
19122 (char *) "self", NULL
19125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
19126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= (bool)(arg1
)->DestroyChildren();
19131 wxPyEndAllowThreads(__tstate
);
19132 if (PyErr_Occurred()) SWIG_fail
;
19134 resultobj
= PyInt_FromLong((long)result
);
19141 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19142 PyObject
*resultobj
;
19143 wxWindow
*arg1
= (wxWindow
*) 0 ;
19145 PyObject
* obj0
= 0 ;
19146 char *kwnames
[] = {
19147 (char *) "self", NULL
19150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
19151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19154 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= PyInt_FromLong((long)result
);
19166 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19167 PyObject
*resultobj
;
19168 wxWindow
*arg1
= (wxWindow
*) 0 ;
19169 wxString
*arg2
= 0 ;
19170 bool temp2
= False
;
19171 PyObject
* obj0
= 0 ;
19172 PyObject
* obj1
= 0 ;
19173 char *kwnames
[] = {
19174 (char *) "self",(char *) "title", NULL
19177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
19178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19180 arg2
= wxString_in_helper(obj1
);
19181 if (arg2
== NULL
) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetTitle((wxString
const &)*arg2
);
19188 wxPyEndAllowThreads(__tstate
);
19189 if (PyErr_Occurred()) SWIG_fail
;
19191 Py_INCREF(Py_None
); resultobj
= Py_None
;
19206 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19207 PyObject
*resultobj
;
19208 wxWindow
*arg1
= (wxWindow
*) 0 ;
19210 PyObject
* obj0
= 0 ;
19211 char *kwnames
[] = {
19212 (char *) "self", NULL
19215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
19216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19219 result
= ((wxWindow
const *)arg1
)->GetTitle();
19221 wxPyEndAllowThreads(__tstate
);
19222 if (PyErr_Occurred()) SWIG_fail
;
19226 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19228 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19237 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19238 PyObject
*resultobj
;
19239 wxWindow
*arg1
= (wxWindow
*) 0 ;
19240 wxString
*arg2
= 0 ;
19241 bool temp2
= False
;
19242 PyObject
* obj0
= 0 ;
19243 PyObject
* obj1
= 0 ;
19244 char *kwnames
[] = {
19245 (char *) "self",(char *) "label", NULL
19248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19251 arg2
= wxString_in_helper(obj1
);
19252 if (arg2
== NULL
) SWIG_fail
;
19256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19257 (arg1
)->SetLabel((wxString
const &)*arg2
);
19259 wxPyEndAllowThreads(__tstate
);
19260 if (PyErr_Occurred()) SWIG_fail
;
19262 Py_INCREF(Py_None
); resultobj
= Py_None
;
19277 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19278 PyObject
*resultobj
;
19279 wxWindow
*arg1
= (wxWindow
*) 0 ;
19281 PyObject
* obj0
= 0 ;
19282 char *kwnames
[] = {
19283 (char *) "self", NULL
19286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
19287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19290 result
= ((wxWindow
const *)arg1
)->GetLabel();
19292 wxPyEndAllowThreads(__tstate
);
19293 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19308 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19309 PyObject
*resultobj
;
19310 wxWindow
*arg1
= (wxWindow
*) 0 ;
19311 wxString
*arg2
= 0 ;
19312 bool temp2
= False
;
19313 PyObject
* obj0
= 0 ;
19314 PyObject
* obj1
= 0 ;
19315 char *kwnames
[] = {
19316 (char *) "self",(char *) "name", NULL
19319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
19320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19322 arg2
= wxString_in_helper(obj1
);
19323 if (arg2
== NULL
) SWIG_fail
;
19327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19328 (arg1
)->SetName((wxString
const &)*arg2
);
19330 wxPyEndAllowThreads(__tstate
);
19331 if (PyErr_Occurred()) SWIG_fail
;
19333 Py_INCREF(Py_None
); resultobj
= Py_None
;
19348 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19349 PyObject
*resultobj
;
19350 wxWindow
*arg1
= (wxWindow
*) 0 ;
19352 PyObject
* obj0
= 0 ;
19353 char *kwnames
[] = {
19354 (char *) "self", NULL
19357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19361 result
= ((wxWindow
const *)arg1
)->GetName();
19363 wxPyEndAllowThreads(__tstate
);
19364 if (PyErr_Occurred()) SWIG_fail
;
19368 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19370 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19379 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19380 PyObject
*resultobj
;
19381 wxWindow
*arg1
= (wxWindow
*) 0 ;
19383 PyObject
* obj0
= 0 ;
19384 char *kwnames
[] = {
19385 (char *) "self",(char *) "winid", NULL
19388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19392 (arg1
)->SetId(arg2
);
19394 wxPyEndAllowThreads(__tstate
);
19395 if (PyErr_Occurred()) SWIG_fail
;
19397 Py_INCREF(Py_None
); resultobj
= Py_None
;
19404 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19405 PyObject
*resultobj
;
19406 wxWindow
*arg1
= (wxWindow
*) 0 ;
19408 PyObject
* obj0
= 0 ;
19409 char *kwnames
[] = {
19410 (char *) "self", NULL
19413 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19414 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19417 result
= (int)((wxWindow
const *)arg1
)->GetId();
19419 wxPyEndAllowThreads(__tstate
);
19420 if (PyErr_Occurred()) SWIG_fail
;
19422 resultobj
= PyInt_FromLong((long)result
);
19429 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19430 PyObject
*resultobj
;
19432 char *kwnames
[] = {
19436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19439 result
= (int)wxWindow::NewControlId();
19441 wxPyEndAllowThreads(__tstate
);
19442 if (PyErr_Occurred()) SWIG_fail
;
19444 resultobj
= PyInt_FromLong((long)result
);
19451 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19452 PyObject
*resultobj
;
19455 char *kwnames
[] = {
19456 (char *) "winid", NULL
19459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19462 result
= (int)wxWindow::NextControlId(arg1
);
19464 wxPyEndAllowThreads(__tstate
);
19465 if (PyErr_Occurred()) SWIG_fail
;
19467 resultobj
= PyInt_FromLong((long)result
);
19474 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19475 PyObject
*resultobj
;
19478 char *kwnames
[] = {
19479 (char *) "winid", NULL
19482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19485 result
= (int)wxWindow::PrevControlId(arg1
);
19487 wxPyEndAllowThreads(__tstate
);
19488 if (PyErr_Occurred()) SWIG_fail
;
19490 resultobj
= PyInt_FromLong((long)result
);
19497 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19498 PyObject
*resultobj
;
19499 wxWindow
*arg1
= (wxWindow
*) 0 ;
19502 PyObject
* obj0
= 0 ;
19503 PyObject
* obj1
= 0 ;
19504 char *kwnames
[] = {
19505 (char *) "self",(char *) "size", NULL
19508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19512 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 (arg1
)->SetSize((wxSize
const &)*arg2
);
19518 wxPyEndAllowThreads(__tstate
);
19519 if (PyErr_Occurred()) SWIG_fail
;
19521 Py_INCREF(Py_None
); resultobj
= Py_None
;
19528 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19529 PyObject
*resultobj
;
19530 wxWindow
*arg1
= (wxWindow
*) 0 ;
19535 int arg6
= (int) wxSIZE_AUTO
;
19536 PyObject
* obj0
= 0 ;
19537 char *kwnames
[] = {
19538 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19547 wxPyEndAllowThreads(__tstate
);
19548 if (PyErr_Occurred()) SWIG_fail
;
19550 Py_INCREF(Py_None
); resultobj
= Py_None
;
19557 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19558 PyObject
*resultobj
;
19559 wxWindow
*arg1
= (wxWindow
*) 0 ;
19561 int arg3
= (int) wxSIZE_AUTO
;
19563 PyObject
* obj0
= 0 ;
19564 PyObject
* obj1
= 0 ;
19565 char *kwnames
[] = {
19566 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19573 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 Py_INCREF(Py_None
); resultobj
= Py_None
;
19589 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19591 wxWindow
*arg1
= (wxWindow
*) 0 ;
19594 PyObject
* obj0
= 0 ;
19595 char *kwnames
[] = {
19596 (char *) "self",(char *) "width",(char *) "height", NULL
19599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19603 (arg1
)->SetSize(arg2
,arg3
);
19605 wxPyEndAllowThreads(__tstate
);
19606 if (PyErr_Occurred()) SWIG_fail
;
19608 Py_INCREF(Py_None
); resultobj
= Py_None
;
19615 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19616 PyObject
*resultobj
;
19617 wxWindow
*arg1
= (wxWindow
*) 0 ;
19618 wxPoint
*arg2
= 0 ;
19619 int arg3
= (int) wxSIZE_USE_EXISTING
;
19621 PyObject
* obj0
= 0 ;
19622 PyObject
* obj1
= 0 ;
19623 char *kwnames
[] = {
19624 (char *) "self",(char *) "pt",(char *) "flags", NULL
19627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19631 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19635 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19637 wxPyEndAllowThreads(__tstate
);
19638 if (PyErr_Occurred()) SWIG_fail
;
19640 Py_INCREF(Py_None
); resultobj
= Py_None
;
19647 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19648 PyObject
*resultobj
;
19649 wxWindow
*arg1
= (wxWindow
*) 0 ;
19652 int arg4
= (int) wxSIZE_USE_EXISTING
;
19653 PyObject
* obj0
= 0 ;
19654 char *kwnames
[] = {
19655 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19658 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19662 (arg1
)->Move(arg2
,arg3
,arg4
);
19664 wxPyEndAllowThreads(__tstate
);
19665 if (PyErr_Occurred()) SWIG_fail
;
19667 Py_INCREF(Py_None
); resultobj
= Py_None
;
19674 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19675 PyObject
*resultobj
;
19676 wxWindow
*arg1
= (wxWindow
*) 0 ;
19677 PyObject
* obj0
= 0 ;
19678 char *kwnames
[] = {
19679 (char *) "self", NULL
19682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19688 wxPyEndAllowThreads(__tstate
);
19689 if (PyErr_Occurred()) SWIG_fail
;
19691 Py_INCREF(Py_None
); resultobj
= Py_None
;
19698 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19699 PyObject
*resultobj
;
19700 wxWindow
*arg1
= (wxWindow
*) 0 ;
19701 PyObject
* obj0
= 0 ;
19702 char *kwnames
[] = {
19703 (char *) "self", NULL
19706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19712 wxPyEndAllowThreads(__tstate
);
19713 if (PyErr_Occurred()) SWIG_fail
;
19715 Py_INCREF(Py_None
); resultobj
= Py_None
;
19722 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19723 PyObject
*resultobj
;
19724 wxWindow
*arg1
= (wxWindow
*) 0 ;
19727 PyObject
* obj0
= 0 ;
19728 PyObject
* obj1
= 0 ;
19729 char *kwnames
[] = {
19730 (char *) "self",(char *) "size", NULL
19733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19737 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 Py_INCREF(Py_None
); resultobj
= Py_None
;
19753 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxWindow
*arg1
= (wxWindow
*) 0 ;
19758 PyObject
* obj0
= 0 ;
19759 char *kwnames
[] = {
19760 (char *) "self",(char *) "width",(char *) "height", NULL
19763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19767 (arg1
)->SetClientSize(arg2
,arg3
);
19769 wxPyEndAllowThreads(__tstate
);
19770 if (PyErr_Occurred()) SWIG_fail
;
19772 Py_INCREF(Py_None
); resultobj
= Py_None
;
19779 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19780 PyObject
*resultobj
;
19781 wxWindow
*arg1
= (wxWindow
*) 0 ;
19784 PyObject
* obj0
= 0 ;
19785 PyObject
* obj1
= 0 ;
19786 char *kwnames
[] = {
19787 (char *) "self",(char *) "rect", NULL
19790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19794 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19798 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19800 wxPyEndAllowThreads(__tstate
);
19801 if (PyErr_Occurred()) SWIG_fail
;
19803 Py_INCREF(Py_None
); resultobj
= Py_None
;
19810 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19811 PyObject
*resultobj
;
19812 wxWindow
*arg1
= (wxWindow
*) 0 ;
19814 PyObject
* obj0
= 0 ;
19815 char *kwnames
[] = {
19816 (char *) "self", NULL
19819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19823 result
= (arg1
)->GetPosition();
19825 wxPyEndAllowThreads(__tstate
);
19826 if (PyErr_Occurred()) SWIG_fail
;
19829 wxPoint
* resultptr
;
19830 resultptr
= new wxPoint((wxPoint
&) result
);
19831 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19839 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
;
19841 wxWindow
*arg1
= (wxWindow
*) 0 ;
19842 int *arg2
= (int *) 0 ;
19843 int *arg3
= (int *) 0 ;
19846 PyObject
* obj0
= 0 ;
19847 char *kwnames
[] = {
19848 (char *) "self", NULL
19853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19857 (arg1
)->GetPosition(arg2
,arg3
);
19859 wxPyEndAllowThreads(__tstate
);
19860 if (PyErr_Occurred()) SWIG_fail
;
19862 Py_INCREF(Py_None
); resultobj
= Py_None
;
19864 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19865 resultobj
= t_output_helper(resultobj
,o
);
19868 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19869 resultobj
= t_output_helper(resultobj
,o
);
19877 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19878 PyObject
*resultobj
;
19879 wxWindow
*arg1
= (wxWindow
*) 0 ;
19881 PyObject
* obj0
= 0 ;
19882 char *kwnames
[] = {
19883 (char *) "self", NULL
19886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
19887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19890 result
= ((wxWindow
const *)arg1
)->GetSize();
19892 wxPyEndAllowThreads(__tstate
);
19893 if (PyErr_Occurred()) SWIG_fail
;
19896 wxSize
* resultptr
;
19897 resultptr
= new wxSize((wxSize
&) result
);
19898 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19906 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19907 PyObject
*resultobj
;
19908 wxWindow
*arg1
= (wxWindow
*) 0 ;
19909 int *arg2
= (int *) 0 ;
19910 int *arg3
= (int *) 0 ;
19913 PyObject
* obj0
= 0 ;
19914 char *kwnames
[] = {
19915 (char *) "self", NULL
19920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
19921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19924 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
19926 wxPyEndAllowThreads(__tstate
);
19927 if (PyErr_Occurred()) SWIG_fail
;
19929 Py_INCREF(Py_None
); resultobj
= Py_None
;
19931 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19932 resultobj
= t_output_helper(resultobj
,o
);
19935 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19936 resultobj
= t_output_helper(resultobj
,o
);
19944 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19945 PyObject
*resultobj
;
19946 wxWindow
*arg1
= (wxWindow
*) 0 ;
19948 PyObject
* obj0
= 0 ;
19949 char *kwnames
[] = {
19950 (char *) "self", NULL
19953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
19954 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19957 result
= ((wxWindow
const *)arg1
)->GetRect();
19959 wxPyEndAllowThreads(__tstate
);
19960 if (PyErr_Occurred()) SWIG_fail
;
19963 wxRect
* resultptr
;
19964 resultptr
= new wxRect((wxRect
&) result
);
19965 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19973 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19974 PyObject
*resultobj
;
19975 wxWindow
*arg1
= (wxWindow
*) 0 ;
19977 PyObject
* obj0
= 0 ;
19978 char *kwnames
[] = {
19979 (char *) "self", NULL
19982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
19983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19986 result
= ((wxWindow
const *)arg1
)->GetClientSize();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19992 wxSize
* resultptr
;
19993 resultptr
= new wxSize((wxSize
&) result
);
19994 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20002 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20003 PyObject
*resultobj
;
20004 wxWindow
*arg1
= (wxWindow
*) 0 ;
20005 int *arg2
= (int *) 0 ;
20006 int *arg3
= (int *) 0 ;
20009 PyObject
* obj0
= 0 ;
20010 char *kwnames
[] = {
20011 (char *) "self", NULL
20016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
20017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20020 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
20022 wxPyEndAllowThreads(__tstate
);
20023 if (PyErr_Occurred()) SWIG_fail
;
20025 Py_INCREF(Py_None
); resultobj
= Py_None
;
20027 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20028 resultobj
= t_output_helper(resultobj
,o
);
20031 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20032 resultobj
= t_output_helper(resultobj
,o
);
20040 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20041 PyObject
*resultobj
;
20042 wxWindow
*arg1
= (wxWindow
*) 0 ;
20044 PyObject
* obj0
= 0 ;
20045 char *kwnames
[] = {
20046 (char *) "self", NULL
20049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
20050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20053 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
20055 wxPyEndAllowThreads(__tstate
);
20056 if (PyErr_Occurred()) SWIG_fail
;
20059 wxPoint
* resultptr
;
20060 resultptr
= new wxPoint((wxPoint
&) result
);
20061 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20069 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20070 PyObject
*resultobj
;
20071 wxWindow
*arg1
= (wxWindow
*) 0 ;
20073 PyObject
* obj0
= 0 ;
20074 char *kwnames
[] = {
20075 (char *) "self", NULL
20078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
20079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20082 result
= ((wxWindow
const *)arg1
)->GetClientRect();
20084 wxPyEndAllowThreads(__tstate
);
20085 if (PyErr_Occurred()) SWIG_fail
;
20088 wxRect
* resultptr
;
20089 resultptr
= new wxRect((wxRect
&) result
);
20090 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20098 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20099 PyObject
*resultobj
;
20100 wxWindow
*arg1
= (wxWindow
*) 0 ;
20102 PyObject
* obj0
= 0 ;
20103 char *kwnames
[] = {
20104 (char *) "self", NULL
20107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
20108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20111 result
= ((wxWindow
const *)arg1
)->GetBestSize();
20113 wxPyEndAllowThreads(__tstate
);
20114 if (PyErr_Occurred()) SWIG_fail
;
20117 wxSize
* resultptr
;
20118 resultptr
= new wxSize((wxSize
&) result
);
20119 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20127 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20128 PyObject
*resultobj
;
20129 wxWindow
*arg1
= (wxWindow
*) 0 ;
20130 int *arg2
= (int *) 0 ;
20131 int *arg3
= (int *) 0 ;
20134 PyObject
* obj0
= 0 ;
20135 char *kwnames
[] = {
20136 (char *) "self", NULL
20141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
20142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20145 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
20147 wxPyEndAllowThreads(__tstate
);
20148 if (PyErr_Occurred()) SWIG_fail
;
20150 Py_INCREF(Py_None
); resultobj
= Py_None
;
20152 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20153 resultobj
= t_output_helper(resultobj
,o
);
20156 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20157 resultobj
= t_output_helper(resultobj
,o
);
20165 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20166 PyObject
*resultobj
;
20167 wxWindow
*arg1
= (wxWindow
*) 0 ;
20169 PyObject
* obj0
= 0 ;
20170 char *kwnames
[] = {
20171 (char *) "self", NULL
20174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
20175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20178 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
20180 wxPyEndAllowThreads(__tstate
);
20181 if (PyErr_Occurred()) SWIG_fail
;
20184 wxSize
* resultptr
;
20185 resultptr
= new wxSize((wxSize
&) result
);
20186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20194 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20195 PyObject
*resultobj
;
20196 wxWindow
*arg1
= (wxWindow
*) 0 ;
20197 int arg2
= (int) wxBOTH
;
20198 PyObject
* obj0
= 0 ;
20199 char *kwnames
[] = {
20200 (char *) "self",(char *) "direction", NULL
20203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
20204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20207 (arg1
)->Center(arg2
);
20209 wxPyEndAllowThreads(__tstate
);
20210 if (PyErr_Occurred()) SWIG_fail
;
20212 Py_INCREF(Py_None
); resultobj
= Py_None
;
20219 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20220 PyObject
*resultobj
;
20221 wxWindow
*arg1
= (wxWindow
*) 0 ;
20222 int arg2
= (int) wxBOTH
;
20223 PyObject
* obj0
= 0 ;
20224 char *kwnames
[] = {
20225 (char *) "self",(char *) "dir", NULL
20228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
20229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20232 (arg1
)->CenterOnScreen(arg2
);
20234 wxPyEndAllowThreads(__tstate
);
20235 if (PyErr_Occurred()) SWIG_fail
;
20237 Py_INCREF(Py_None
); resultobj
= Py_None
;
20244 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20245 PyObject
*resultobj
;
20246 wxWindow
*arg1
= (wxWindow
*) 0 ;
20247 int arg2
= (int) wxBOTH
;
20248 PyObject
* obj0
= 0 ;
20249 char *kwnames
[] = {
20250 (char *) "self",(char *) "dir", NULL
20253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
20254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20257 (arg1
)->CenterOnParent(arg2
);
20259 wxPyEndAllowThreads(__tstate
);
20260 if (PyErr_Occurred()) SWIG_fail
;
20262 Py_INCREF(Py_None
); resultobj
= Py_None
;
20269 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20270 PyObject
*resultobj
;
20271 wxWindow
*arg1
= (wxWindow
*) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
20278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 wxPyEndAllowThreads(__tstate
);
20284 if (PyErr_Occurred()) SWIG_fail
;
20286 Py_INCREF(Py_None
); resultobj
= Py_None
;
20293 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20294 PyObject
*resultobj
;
20295 wxWindow
*arg1
= (wxWindow
*) 0 ;
20296 PyObject
* obj0
= 0 ;
20297 char *kwnames
[] = {
20298 (char *) "self", NULL
20301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
20302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20305 (arg1
)->FitInside();
20307 wxPyEndAllowThreads(__tstate
);
20308 if (PyErr_Occurred()) SWIG_fail
;
20310 Py_INCREF(Py_None
); resultobj
= Py_None
;
20317 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20318 PyObject
*resultobj
;
20319 wxWindow
*arg1
= (wxWindow
*) 0 ;
20322 int arg4
= (int) -1 ;
20323 int arg5
= (int) -1 ;
20324 int arg6
= (int) -1 ;
20325 int arg7
= (int) -1 ;
20326 PyObject
* obj0
= 0 ;
20327 char *kwnames
[] = {
20328 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20335 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20337 wxPyEndAllowThreads(__tstate
);
20338 if (PyErr_Occurred()) SWIG_fail
;
20340 Py_INCREF(Py_None
); resultobj
= Py_None
;
20347 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20348 PyObject
*resultobj
;
20349 wxWindow
*arg1
= (wxWindow
*) 0 ;
20352 int arg4
= (int) -1 ;
20353 int arg5
= (int) -1 ;
20354 PyObject
* obj0
= 0 ;
20355 char *kwnames
[] = {
20356 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20363 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20365 wxPyEndAllowThreads(__tstate
);
20366 if (PyErr_Occurred()) SWIG_fail
;
20368 Py_INCREF(Py_None
); resultobj
= Py_None
;
20375 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20376 PyObject
*resultobj
;
20377 wxWindow
*arg1
= (wxWindow
*) 0 ;
20379 PyObject
* obj0
= 0 ;
20380 char *kwnames
[] = {
20381 (char *) "self", NULL
20384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20388 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20390 wxPyEndAllowThreads(__tstate
);
20391 if (PyErr_Occurred()) SWIG_fail
;
20393 resultobj
= PyInt_FromLong((long)result
);
20400 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20401 PyObject
*resultobj
;
20402 wxWindow
*arg1
= (wxWindow
*) 0 ;
20404 PyObject
* obj0
= 0 ;
20405 char *kwnames
[] = {
20406 (char *) "self", NULL
20409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20413 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20415 wxPyEndAllowThreads(__tstate
);
20416 if (PyErr_Occurred()) SWIG_fail
;
20418 resultobj
= PyInt_FromLong((long)result
);
20425 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20426 PyObject
*resultobj
;
20427 wxWindow
*arg1
= (wxWindow
*) 0 ;
20429 PyObject
* obj0
= 0 ;
20430 char *kwnames
[] = {
20431 (char *) "self", NULL
20434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20438 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20440 wxPyEndAllowThreads(__tstate
);
20441 if (PyErr_Occurred()) SWIG_fail
;
20443 resultobj
= PyInt_FromLong((long)result
);
20450 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20451 PyObject
*resultobj
;
20452 wxWindow
*arg1
= (wxWindow
*) 0 ;
20454 PyObject
* obj0
= 0 ;
20455 char *kwnames
[] = {
20456 (char *) "self", NULL
20459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20463 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20465 wxPyEndAllowThreads(__tstate
);
20466 if (PyErr_Occurred()) SWIG_fail
;
20468 resultobj
= PyInt_FromLong((long)result
);
20475 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20476 PyObject
*resultobj
;
20477 wxWindow
*arg1
= (wxWindow
*) 0 ;
20479 PyObject
* obj0
= 0 ;
20480 char *kwnames
[] = {
20481 (char *) "self", NULL
20484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20488 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20490 wxPyEndAllowThreads(__tstate
);
20491 if (PyErr_Occurred()) SWIG_fail
;
20494 wxSize
* resultptr
;
20495 resultptr
= new wxSize((wxSize
&) result
);
20496 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20504 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20505 PyObject
*resultobj
;
20506 wxWindow
*arg1
= (wxWindow
*) 0 ;
20509 PyObject
* obj0
= 0 ;
20510 PyObject
* obj1
= 0 ;
20511 char *kwnames
[] = {
20512 (char *) "self",(char *) "size", NULL
20515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20519 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20523 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20525 wxPyEndAllowThreads(__tstate
);
20526 if (PyErr_Occurred()) SWIG_fail
;
20528 Py_INCREF(Py_None
); resultobj
= Py_None
;
20535 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20536 PyObject
*resultobj
;
20537 wxWindow
*arg1
= (wxWindow
*) 0 ;
20540 PyObject
* obj0
= 0 ;
20541 char *kwnames
[] = {
20542 (char *) "self",(char *) "w",(char *) "h", NULL
20545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20549 (arg1
)->SetVirtualSize(arg2
,arg3
);
20551 wxPyEndAllowThreads(__tstate
);
20552 if (PyErr_Occurred()) SWIG_fail
;
20554 Py_INCREF(Py_None
); resultobj
= Py_None
;
20561 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20562 PyObject
*resultobj
;
20563 wxWindow
*arg1
= (wxWindow
*) 0 ;
20565 PyObject
* obj0
= 0 ;
20566 char *kwnames
[] = {
20567 (char *) "self", NULL
20570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20574 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20576 wxPyEndAllowThreads(__tstate
);
20577 if (PyErr_Occurred()) SWIG_fail
;
20580 wxSize
* resultptr
;
20581 resultptr
= new wxSize((wxSize
&) result
);
20582 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20590 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20591 PyObject
*resultobj
;
20592 wxWindow
*arg1
= (wxWindow
*) 0 ;
20593 int *arg2
= (int *) 0 ;
20594 int *arg3
= (int *) 0 ;
20597 PyObject
* obj0
= 0 ;
20598 char *kwnames
[] = {
20599 (char *) "self", NULL
20604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20608 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20610 wxPyEndAllowThreads(__tstate
);
20611 if (PyErr_Occurred()) SWIG_fail
;
20613 Py_INCREF(Py_None
); resultobj
= Py_None
;
20615 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20616 resultobj
= t_output_helper(resultobj
,o
);
20619 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20620 resultobj
= t_output_helper(resultobj
,o
);
20628 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20629 PyObject
*resultobj
;
20630 wxWindow
*arg1
= (wxWindow
*) 0 ;
20632 PyObject
* obj0
= 0 ;
20633 char *kwnames
[] = {
20634 (char *) "self", NULL
20637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20641 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20643 wxPyEndAllowThreads(__tstate
);
20644 if (PyErr_Occurred()) SWIG_fail
;
20647 wxSize
* resultptr
;
20648 resultptr
= new wxSize((wxSize
&) result
);
20649 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20657 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20658 PyObject
*resultobj
;
20659 wxWindow
*arg1
= (wxWindow
*) 0 ;
20660 bool arg2
= (bool) True
;
20662 PyObject
* obj0
= 0 ;
20663 PyObject
* obj1
= 0 ;
20664 char *kwnames
[] = {
20665 (char *) "self",(char *) "show", NULL
20668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20671 arg2
= PyInt_AsLong(obj1
) ? true : false;
20672 if (PyErr_Occurred()) SWIG_fail
;
20675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20676 result
= (bool)(arg1
)->Show(arg2
);
20678 wxPyEndAllowThreads(__tstate
);
20679 if (PyErr_Occurred()) SWIG_fail
;
20681 resultobj
= PyInt_FromLong((long)result
);
20688 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20689 PyObject
*resultobj
;
20690 wxWindow
*arg1
= (wxWindow
*) 0 ;
20692 PyObject
* obj0
= 0 ;
20693 char *kwnames
[] = {
20694 (char *) "self", NULL
20697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20701 result
= (bool)(arg1
)->Hide();
20703 wxPyEndAllowThreads(__tstate
);
20704 if (PyErr_Occurred()) SWIG_fail
;
20706 resultobj
= PyInt_FromLong((long)result
);
20713 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20714 PyObject
*resultobj
;
20715 wxWindow
*arg1
= (wxWindow
*) 0 ;
20716 bool arg2
= (bool) True
;
20718 PyObject
* obj0
= 0 ;
20719 PyObject
* obj1
= 0 ;
20720 char *kwnames
[] = {
20721 (char *) "self",(char *) "enable", NULL
20724 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20725 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20727 arg2
= PyInt_AsLong(obj1
) ? true : false;
20728 if (PyErr_Occurred()) SWIG_fail
;
20731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20732 result
= (bool)(arg1
)->Enable(arg2
);
20734 wxPyEndAllowThreads(__tstate
);
20735 if (PyErr_Occurred()) SWIG_fail
;
20737 resultobj
= PyInt_FromLong((long)result
);
20744 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20745 PyObject
*resultobj
;
20746 wxWindow
*arg1
= (wxWindow
*) 0 ;
20748 PyObject
* obj0
= 0 ;
20749 char *kwnames
[] = {
20750 (char *) "self", NULL
20753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20757 result
= (bool)(arg1
)->Disable();
20759 wxPyEndAllowThreads(__tstate
);
20760 if (PyErr_Occurred()) SWIG_fail
;
20762 resultobj
= PyInt_FromLong((long)result
);
20769 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20770 PyObject
*resultobj
;
20771 wxWindow
*arg1
= (wxWindow
*) 0 ;
20773 PyObject
* obj0
= 0 ;
20774 char *kwnames
[] = {
20775 (char *) "self", NULL
20778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
20779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20782 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
20784 wxPyEndAllowThreads(__tstate
);
20785 if (PyErr_Occurred()) SWIG_fail
;
20787 resultobj
= PyInt_FromLong((long)result
);
20794 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20795 PyObject
*resultobj
;
20796 wxWindow
*arg1
= (wxWindow
*) 0 ;
20798 PyObject
* obj0
= 0 ;
20799 char *kwnames
[] = {
20800 (char *) "self", NULL
20803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20807 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20809 wxPyEndAllowThreads(__tstate
);
20810 if (PyErr_Occurred()) SWIG_fail
;
20812 resultobj
= PyInt_FromLong((long)result
);
20819 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20820 PyObject
*resultobj
;
20821 wxWindow
*arg1
= (wxWindow
*) 0 ;
20823 PyObject
* obj0
= 0 ;
20824 char *kwnames
[] = {
20825 (char *) "self",(char *) "style", NULL
20828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) 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
)->SetWindowStyleFlag(arg2
);
20834 wxPyEndAllowThreads(__tstate
);
20835 if (PyErr_Occurred()) SWIG_fail
;
20837 Py_INCREF(Py_None
); resultobj
= Py_None
;
20844 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20845 PyObject
*resultobj
;
20846 wxWindow
*arg1
= (wxWindow
*) 0 ;
20848 PyObject
* obj0
= 0 ;
20849 char *kwnames
[] = {
20850 (char *) "self", NULL
20853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20857 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20859 wxPyEndAllowThreads(__tstate
);
20860 if (PyErr_Occurred()) SWIG_fail
;
20862 resultobj
= PyInt_FromLong((long)result
);
20869 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20870 PyObject
*resultobj
;
20871 wxWindow
*arg1
= (wxWindow
*) 0 ;
20873 PyObject
* obj0
= 0 ;
20874 char *kwnames
[] = {
20875 (char *) "self",(char *) "style", NULL
20878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20882 (arg1
)->SetWindowStyle(arg2
);
20884 wxPyEndAllowThreads(__tstate
);
20885 if (PyErr_Occurred()) SWIG_fail
;
20887 Py_INCREF(Py_None
); resultobj
= Py_None
;
20894 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20895 PyObject
*resultobj
;
20896 wxWindow
*arg1
= (wxWindow
*) 0 ;
20898 PyObject
* obj0
= 0 ;
20899 char *kwnames
[] = {
20900 (char *) "self", NULL
20903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
20904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20907 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
20909 wxPyEndAllowThreads(__tstate
);
20910 if (PyErr_Occurred()) SWIG_fail
;
20912 resultobj
= PyInt_FromLong((long)result
);
20919 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20920 PyObject
*resultobj
;
20921 wxWindow
*arg1
= (wxWindow
*) 0 ;
20924 PyObject
* obj0
= 0 ;
20925 char *kwnames
[] = {
20926 (char *) "self",(char *) "flag", NULL
20929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20933 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
20935 wxPyEndAllowThreads(__tstate
);
20936 if (PyErr_Occurred()) SWIG_fail
;
20938 resultobj
= PyInt_FromLong((long)result
);
20945 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20946 PyObject
*resultobj
;
20947 wxWindow
*arg1
= (wxWindow
*) 0 ;
20949 PyObject
* obj0
= 0 ;
20950 char *kwnames
[] = {
20951 (char *) "self", NULL
20954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
20955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20958 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= PyInt_FromLong((long)result
);
20970 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20971 PyObject
*resultobj
;
20972 wxWindow
*arg1
= (wxWindow
*) 0 ;
20974 PyObject
* obj0
= 0 ;
20975 char *kwnames
[] = {
20976 (char *) "self",(char *) "exStyle", NULL
20979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20983 (arg1
)->SetExtraStyle(arg2
);
20985 wxPyEndAllowThreads(__tstate
);
20986 if (PyErr_Occurred()) SWIG_fail
;
20988 Py_INCREF(Py_None
); resultobj
= Py_None
;
20995 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20996 PyObject
*resultobj
;
20997 wxWindow
*arg1
= (wxWindow
*) 0 ;
20999 PyObject
* obj0
= 0 ;
21000 char *kwnames
[] = {
21001 (char *) "self", NULL
21004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
21005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21008 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
21010 wxPyEndAllowThreads(__tstate
);
21011 if (PyErr_Occurred()) SWIG_fail
;
21013 resultobj
= PyInt_FromLong((long)result
);
21020 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21021 PyObject
*resultobj
;
21022 wxWindow
*arg1
= (wxWindow
*) 0 ;
21023 bool arg2
= (bool) True
;
21024 PyObject
* obj0
= 0 ;
21025 PyObject
* obj1
= 0 ;
21026 char *kwnames
[] = {
21027 (char *) "self",(char *) "modal", NULL
21030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
21031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21033 arg2
= PyInt_AsLong(obj1
) ? true : false;
21034 if (PyErr_Occurred()) SWIG_fail
;
21037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21038 (arg1
)->MakeModal(arg2
);
21040 wxPyEndAllowThreads(__tstate
);
21041 if (PyErr_Occurred()) SWIG_fail
;
21043 Py_INCREF(Py_None
); resultobj
= Py_None
;
21050 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21051 PyObject
*resultobj
;
21052 wxWindow
*arg1
= (wxWindow
*) 0 ;
21054 PyObject
* obj0
= 0 ;
21055 PyObject
* obj1
= 0 ;
21056 char *kwnames
[] = {
21057 (char *) "self",(char *) "enableTheme", NULL
21060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21062 arg2
= PyInt_AsLong(obj1
) ? true : false;
21063 if (PyErr_Occurred()) SWIG_fail
;
21065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21066 (arg1
)->SetThemeEnabled(arg2
);
21068 wxPyEndAllowThreads(__tstate
);
21069 if (PyErr_Occurred()) SWIG_fail
;
21071 Py_INCREF(Py_None
); resultobj
= Py_None
;
21078 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21079 PyObject
*resultobj
;
21080 wxWindow
*arg1
= (wxWindow
*) 0 ;
21082 PyObject
* obj0
= 0 ;
21083 char *kwnames
[] = {
21084 (char *) "self", NULL
21087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
21088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21091 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
21093 wxPyEndAllowThreads(__tstate
);
21094 if (PyErr_Occurred()) SWIG_fail
;
21096 resultobj
= PyInt_FromLong((long)result
);
21103 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21104 PyObject
*resultobj
;
21105 wxWindow
*arg1
= (wxWindow
*) 0 ;
21107 PyObject
* obj0
= 0 ;
21108 char *kwnames
[] = {
21109 (char *) "self", NULL
21112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
21113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21116 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
21118 wxPyEndAllowThreads(__tstate
);
21119 if (PyErr_Occurred()) SWIG_fail
;
21121 resultobj
= PyInt_FromLong((long)result
);
21128 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21129 PyObject
*resultobj
;
21130 wxWindow
*arg1
= (wxWindow
*) 0 ;
21131 PyObject
* obj0
= 0 ;
21132 char *kwnames
[] = {
21133 (char *) "self", NULL
21136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
21137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 (arg1
)->SetFocus();
21142 wxPyEndAllowThreads(__tstate
);
21143 if (PyErr_Occurred()) SWIG_fail
;
21145 Py_INCREF(Py_None
); resultobj
= Py_None
;
21152 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21153 PyObject
*resultobj
;
21154 wxWindow
*arg1
= (wxWindow
*) 0 ;
21155 PyObject
* obj0
= 0 ;
21156 char *kwnames
[] = {
21157 (char *) "self", NULL
21160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
21161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21164 (arg1
)->SetFocusFromKbd();
21166 wxPyEndAllowThreads(__tstate
);
21167 if (PyErr_Occurred()) SWIG_fail
;
21169 Py_INCREF(Py_None
); resultobj
= Py_None
;
21176 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21177 PyObject
*resultobj
;
21179 char *kwnames
[] = {
21183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
21185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21186 result
= (wxWindow
*)wxWindow::FindFocus();
21188 wxPyEndAllowThreads(__tstate
);
21189 if (PyErr_Occurred()) SWIG_fail
;
21192 resultobj
= wxPyMake_wxObject(result
);
21200 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21201 PyObject
*resultobj
;
21202 wxWindow
*arg1
= (wxWindow
*) 0 ;
21204 PyObject
* obj0
= 0 ;
21205 char *kwnames
[] = {
21206 (char *) "self", NULL
21209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
21210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21213 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
21215 wxPyEndAllowThreads(__tstate
);
21216 if (PyErr_Occurred()) SWIG_fail
;
21218 resultobj
= PyInt_FromLong((long)result
);
21225 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21226 PyObject
*resultobj
;
21227 wxWindow
*arg1
= (wxWindow
*) 0 ;
21229 PyObject
* obj0
= 0 ;
21230 char *kwnames
[] = {
21231 (char *) "self", NULL
21234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
21235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21238 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
21240 wxPyEndAllowThreads(__tstate
);
21241 if (PyErr_Occurred()) SWIG_fail
;
21243 resultobj
= PyInt_FromLong((long)result
);
21250 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21251 PyObject
*resultobj
;
21252 wxWindow
*arg1
= (wxWindow
*) 0 ;
21254 PyObject
* obj0
= 0 ;
21255 char *kwnames
[] = {
21256 (char *) "self", NULL
21259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
21260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21263 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
21265 wxPyEndAllowThreads(__tstate
);
21266 if (PyErr_Occurred()) SWIG_fail
;
21269 resultobj
= wxPyMake_wxObject(result
);
21277 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21278 PyObject
*resultobj
;
21279 wxWindow
*arg1
= (wxWindow
*) 0 ;
21280 wxWindow
*arg2
= (wxWindow
*) 0 ;
21282 PyObject
* obj0
= 0 ;
21283 PyObject
* obj1
= 0 ;
21284 char *kwnames
[] = {
21285 (char *) "self",(char *) "child", NULL
21288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21290 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21293 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
21295 wxPyEndAllowThreads(__tstate
);
21296 if (PyErr_Occurred()) SWIG_fail
;
21299 resultobj
= wxPyMake_wxObject(result
);
21307 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21308 PyObject
*resultobj
;
21309 wxWindow
*arg1
= (wxWindow
*) 0 ;
21310 wxWindow
*arg2
= (wxWindow
*) 0 ;
21311 PyObject
* obj0
= 0 ;
21312 PyObject
* obj1
= 0 ;
21313 char *kwnames
[] = {
21314 (char *) "self",(char *) "win", NULL
21317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21319 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21322 (arg1
)->SetTmpDefaultItem(arg2
);
21324 wxPyEndAllowThreads(__tstate
);
21325 if (PyErr_Occurred()) SWIG_fail
;
21327 Py_INCREF(Py_None
); resultobj
= Py_None
;
21334 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21335 PyObject
*resultobj
;
21336 wxWindow
*arg1
= (wxWindow
*) 0 ;
21338 PyObject
* obj0
= 0 ;
21339 char *kwnames
[] = {
21340 (char *) "self", NULL
21343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21347 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21349 wxPyEndAllowThreads(__tstate
);
21350 if (PyErr_Occurred()) SWIG_fail
;
21352 resultobj
= result
;
21359 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21360 PyObject
*resultobj
;
21361 wxWindow
*arg1
= (wxWindow
*) 0 ;
21363 PyObject
* obj0
= 0 ;
21364 char *kwnames
[] = {
21365 (char *) "self", NULL
21368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21372 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21378 resultobj
= wxPyMake_wxObject(result
);
21386 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21387 PyObject
*resultobj
;
21388 wxWindow
*arg1
= (wxWindow
*) 0 ;
21390 PyObject
* obj0
= 0 ;
21391 char *kwnames
[] = {
21392 (char *) "self", NULL
21395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21399 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21401 wxPyEndAllowThreads(__tstate
);
21402 if (PyErr_Occurred()) SWIG_fail
;
21405 resultobj
= wxPyMake_wxObject(result
);
21413 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21414 PyObject
*resultobj
;
21415 wxWindow
*arg1
= (wxWindow
*) 0 ;
21417 PyObject
* obj0
= 0 ;
21418 char *kwnames
[] = {
21419 (char *) "self", NULL
21422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21426 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21428 wxPyEndAllowThreads(__tstate
);
21429 if (PyErr_Occurred()) SWIG_fail
;
21431 resultobj
= PyInt_FromLong((long)result
);
21438 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21439 PyObject
*resultobj
;
21440 wxWindow
*arg1
= (wxWindow
*) 0 ;
21441 wxWindow
*arg2
= (wxWindow
*) 0 ;
21443 PyObject
* obj0
= 0 ;
21444 PyObject
* obj1
= 0 ;
21445 char *kwnames
[] = {
21446 (char *) "self",(char *) "newParent", NULL
21449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21454 result
= (bool)(arg1
)->Reparent(arg2
);
21456 wxPyEndAllowThreads(__tstate
);
21457 if (PyErr_Occurred()) SWIG_fail
;
21459 resultobj
= PyInt_FromLong((long)result
);
21466 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21467 PyObject
*resultobj
;
21468 wxWindow
*arg1
= (wxWindow
*) 0 ;
21469 wxWindow
*arg2
= (wxWindow
*) 0 ;
21470 PyObject
* obj0
= 0 ;
21471 PyObject
* obj1
= 0 ;
21472 char *kwnames
[] = {
21473 (char *) "self",(char *) "child", NULL
21476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21478 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21481 (arg1
)->AddChild(arg2
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 Py_INCREF(Py_None
); resultobj
= Py_None
;
21493 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21494 PyObject
*resultobj
;
21495 wxWindow
*arg1
= (wxWindow
*) 0 ;
21496 wxWindow
*arg2
= (wxWindow
*) 0 ;
21497 PyObject
* obj0
= 0 ;
21498 PyObject
* obj1
= 0 ;
21499 char *kwnames
[] = {
21500 (char *) "self",(char *) "child", NULL
21503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21508 (arg1
)->RemoveChild(arg2
);
21510 wxPyEndAllowThreads(__tstate
);
21511 if (PyErr_Occurred()) SWIG_fail
;
21513 Py_INCREF(Py_None
); resultobj
= Py_None
;
21520 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21521 PyObject
*resultobj
;
21522 wxWindow
*arg1
= (wxWindow
*) 0 ;
21525 PyObject
* obj0
= 0 ;
21526 char *kwnames
[] = {
21527 (char *) "self",(char *) "winid", NULL
21530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21534 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21536 wxPyEndAllowThreads(__tstate
);
21537 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= wxPyMake_wxObject(result
);
21548 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21549 PyObject
*resultobj
;
21550 wxWindow
*arg1
= (wxWindow
*) 0 ;
21551 wxString
*arg2
= 0 ;
21553 bool temp2
= False
;
21554 PyObject
* obj0
= 0 ;
21555 PyObject
* obj1
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self",(char *) "name", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21563 arg2
= wxString_in_helper(obj1
);
21564 if (arg2
== NULL
) SWIG_fail
;
21568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21569 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21571 wxPyEndAllowThreads(__tstate
);
21572 if (PyErr_Occurred()) SWIG_fail
;
21575 resultobj
= wxPyMake_wxObject(result
);
21591 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21592 PyObject
*resultobj
;
21593 wxWindow
*arg1
= (wxWindow
*) 0 ;
21594 wxEvtHandler
*result
;
21595 PyObject
* obj0
= 0 ;
21596 char *kwnames
[] = {
21597 (char *) "self", NULL
21600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21606 wxPyEndAllowThreads(__tstate
);
21607 if (PyErr_Occurred()) SWIG_fail
;
21610 resultobj
= wxPyMake_wxObject(result
);
21618 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21619 PyObject
*resultobj
;
21620 wxWindow
*arg1
= (wxWindow
*) 0 ;
21621 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21622 PyObject
* obj0
= 0 ;
21623 PyObject
* obj1
= 0 ;
21624 char *kwnames
[] = {
21625 (char *) "self",(char *) "handler", NULL
21628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21633 (arg1
)->SetEventHandler(arg2
);
21635 wxPyEndAllowThreads(__tstate
);
21636 if (PyErr_Occurred()) SWIG_fail
;
21638 Py_INCREF(Py_None
); resultobj
= Py_None
;
21645 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21646 PyObject
*resultobj
;
21647 wxWindow
*arg1
= (wxWindow
*) 0 ;
21648 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21649 PyObject
* obj0
= 0 ;
21650 PyObject
* obj1
= 0 ;
21651 char *kwnames
[] = {
21652 (char *) "self",(char *) "handler", NULL
21655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21660 (arg1
)->PushEventHandler(arg2
);
21662 wxPyEndAllowThreads(__tstate
);
21663 if (PyErr_Occurred()) SWIG_fail
;
21665 Py_INCREF(Py_None
); resultobj
= Py_None
;
21672 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21673 PyObject
*resultobj
;
21674 wxWindow
*arg1
= (wxWindow
*) 0 ;
21675 bool arg2
= (bool) False
;
21676 wxEvtHandler
*result
;
21677 PyObject
* obj0
= 0 ;
21678 PyObject
* obj1
= 0 ;
21679 char *kwnames
[] = {
21680 (char *) "self",(char *) "deleteHandler", NULL
21683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21686 arg2
= PyInt_AsLong(obj1
) ? true : false;
21687 if (PyErr_Occurred()) SWIG_fail
;
21690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21691 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21693 wxPyEndAllowThreads(__tstate
);
21694 if (PyErr_Occurred()) SWIG_fail
;
21697 resultobj
= wxPyMake_wxObject(result
);
21705 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21706 PyObject
*resultobj
;
21707 wxWindow
*arg1
= (wxWindow
*) 0 ;
21708 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21710 PyObject
* obj0
= 0 ;
21711 PyObject
* obj1
= 0 ;
21712 char *kwnames
[] = {
21713 (char *) "self",(char *) "handler", NULL
21716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21718 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21721 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21723 wxPyEndAllowThreads(__tstate
);
21724 if (PyErr_Occurred()) SWIG_fail
;
21726 resultobj
= PyInt_FromLong((long)result
);
21733 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21734 PyObject
*resultobj
;
21735 wxWindow
*arg1
= (wxWindow
*) 0 ;
21736 wxValidator
*arg2
= 0 ;
21737 PyObject
* obj0
= 0 ;
21738 PyObject
* obj1
= 0 ;
21739 char *kwnames
[] = {
21740 (char *) "self",(char *) "validator", NULL
21743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21745 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21746 if (arg2
== NULL
) {
21747 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21751 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21753 wxPyEndAllowThreads(__tstate
);
21754 if (PyErr_Occurred()) SWIG_fail
;
21756 Py_INCREF(Py_None
); resultobj
= Py_None
;
21763 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21764 PyObject
*resultobj
;
21765 wxWindow
*arg1
= (wxWindow
*) 0 ;
21766 wxValidator
*result
;
21767 PyObject
* obj0
= 0 ;
21768 char *kwnames
[] = {
21769 (char *) "self", NULL
21772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21776 result
= (wxValidator
*)(arg1
)->GetValidator();
21778 wxPyEndAllowThreads(__tstate
);
21779 if (PyErr_Occurred()) SWIG_fail
;
21782 resultobj
= wxPyMake_wxObject(result
);
21790 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21791 PyObject
*resultobj
;
21792 wxWindow
*arg1
= (wxWindow
*) 0 ;
21793 wxAcceleratorTable
*arg2
= 0 ;
21794 PyObject
* obj0
= 0 ;
21795 PyObject
* obj1
= 0 ;
21796 char *kwnames
[] = {
21797 (char *) "self",(char *) "accel", NULL
21800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21802 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21803 if (arg2
== NULL
) {
21804 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21808 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21810 wxPyEndAllowThreads(__tstate
);
21811 if (PyErr_Occurred()) SWIG_fail
;
21813 Py_INCREF(Py_None
); resultobj
= Py_None
;
21820 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21821 PyObject
*resultobj
;
21822 wxWindow
*arg1
= (wxWindow
*) 0 ;
21823 wxAcceleratorTable
*result
;
21824 PyObject
* obj0
= 0 ;
21825 char *kwnames
[] = {
21826 (char *) "self", NULL
21829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21833 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21835 wxPyEndAllowThreads(__tstate
);
21836 if (PyErr_Occurred()) SWIG_fail
;
21838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21845 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21846 PyObject
*resultobj
;
21847 wxWindow
*arg1
= (wxWindow
*) 0 ;
21852 PyObject
* obj0
= 0 ;
21853 char *kwnames
[] = {
21854 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21861 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
21863 wxPyEndAllowThreads(__tstate
);
21864 if (PyErr_Occurred()) SWIG_fail
;
21866 resultobj
= PyInt_FromLong((long)result
);
21873 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21874 PyObject
*resultobj
;
21875 wxWindow
*arg1
= (wxWindow
*) 0 ;
21878 PyObject
* obj0
= 0 ;
21879 char *kwnames
[] = {
21880 (char *) "self",(char *) "hotkeyId", NULL
21883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
21884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21887 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
21889 wxPyEndAllowThreads(__tstate
);
21890 if (PyErr_Occurred()) SWIG_fail
;
21892 resultobj
= PyInt_FromLong((long)result
);
21899 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21900 PyObject
*resultobj
;
21901 wxWindow
*arg1
= (wxWindow
*) 0 ;
21902 wxPoint
*arg2
= 0 ;
21905 PyObject
* obj0
= 0 ;
21906 PyObject
* obj1
= 0 ;
21907 char *kwnames
[] = {
21908 (char *) "self",(char *) "pt", NULL
21911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21915 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21919 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21921 wxPyEndAllowThreads(__tstate
);
21922 if (PyErr_Occurred()) SWIG_fail
;
21925 wxPoint
* resultptr
;
21926 resultptr
= new wxPoint((wxPoint
&) result
);
21927 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21935 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21936 PyObject
*resultobj
;
21937 wxWindow
*arg1
= (wxWindow
*) 0 ;
21941 PyObject
* obj0
= 0 ;
21942 PyObject
* obj1
= 0 ;
21943 char *kwnames
[] = {
21944 (char *) "self",(char *) "sz", NULL
21947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21951 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21955 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21957 wxPyEndAllowThreads(__tstate
);
21958 if (PyErr_Occurred()) SWIG_fail
;
21961 wxSize
* resultptr
;
21962 resultptr
= new wxSize((wxSize
&) result
);
21963 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21971 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21972 PyObject
*resultobj
;
21973 wxWindow
*arg1
= (wxWindow
*) 0 ;
21974 wxPoint
*arg2
= 0 ;
21977 PyObject
* obj0
= 0 ;
21978 PyObject
* obj1
= 0 ;
21979 char *kwnames
[] = {
21980 (char *) "self",(char *) "pt", NULL
21983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
21984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21987 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21991 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21993 wxPyEndAllowThreads(__tstate
);
21994 if (PyErr_Occurred()) SWIG_fail
;
21997 wxPoint
* resultptr
;
21998 resultptr
= new wxPoint((wxPoint
&) result
);
21999 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22007 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22008 PyObject
*resultobj
;
22009 wxWindow
*arg1
= (wxWindow
*) 0 ;
22013 PyObject
* obj0
= 0 ;
22014 PyObject
* obj1
= 0 ;
22015 char *kwnames
[] = {
22016 (char *) "self",(char *) "sz", NULL
22019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
22020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22023 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22027 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22029 wxPyEndAllowThreads(__tstate
);
22030 if (PyErr_Occurred()) SWIG_fail
;
22033 wxSize
* resultptr
;
22034 resultptr
= new wxSize((wxSize
&) result
);
22035 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22043 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22044 PyObject
*resultobj
;
22045 wxWindow
*arg1
= (wxWindow
*) 0 ;
22046 wxPoint
*arg2
= 0 ;
22049 PyObject
* obj0
= 0 ;
22050 PyObject
* obj1
= 0 ;
22051 char *kwnames
[] = {
22052 (char *) "self",(char *) "pt", NULL
22055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22059 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22063 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
22065 wxPyEndAllowThreads(__tstate
);
22066 if (PyErr_Occurred()) SWIG_fail
;
22069 wxPoint
* resultptr
;
22070 resultptr
= new wxPoint((wxPoint
&) result
);
22071 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22079 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22080 PyObject
*resultobj
;
22081 wxWindow
*arg1
= (wxWindow
*) 0 ;
22085 PyObject
* obj0
= 0 ;
22086 PyObject
* obj1
= 0 ;
22087 char *kwnames
[] = {
22088 (char *) "self",(char *) "sz", NULL
22091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22095 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22099 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
22101 wxPyEndAllowThreads(__tstate
);
22102 if (PyErr_Occurred()) SWIG_fail
;
22105 wxSize
* resultptr
;
22106 resultptr
= new wxSize((wxSize
&) result
);
22107 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22115 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22116 PyObject
*resultobj
;
22117 wxWindow
*arg1
= (wxWindow
*) 0 ;
22120 PyObject
* obj0
= 0 ;
22121 char *kwnames
[] = {
22122 (char *) "self",(char *) "x",(char *) "y", NULL
22125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 (arg1
)->WarpPointer(arg2
,arg3
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22134 Py_INCREF(Py_None
); resultobj
= Py_None
;
22141 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22142 PyObject
*resultobj
;
22143 wxWindow
*arg1
= (wxWindow
*) 0 ;
22144 PyObject
* obj0
= 0 ;
22145 char *kwnames
[] = {
22146 (char *) "self", NULL
22149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
22150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22153 (arg1
)->CaptureMouse();
22155 wxPyEndAllowThreads(__tstate
);
22156 if (PyErr_Occurred()) SWIG_fail
;
22158 Py_INCREF(Py_None
); resultobj
= Py_None
;
22165 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22166 PyObject
*resultobj
;
22167 wxWindow
*arg1
= (wxWindow
*) 0 ;
22168 PyObject
* obj0
= 0 ;
22169 char *kwnames
[] = {
22170 (char *) "self", NULL
22173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
22174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22177 (arg1
)->ReleaseMouse();
22179 wxPyEndAllowThreads(__tstate
);
22180 if (PyErr_Occurred()) SWIG_fail
;
22182 Py_INCREF(Py_None
); resultobj
= Py_None
;
22189 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22190 PyObject
*resultobj
;
22192 char *kwnames
[] = {
22196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
22198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22199 result
= (wxWindow
*)wxWindow::GetCapture();
22201 wxPyEndAllowThreads(__tstate
);
22202 if (PyErr_Occurred()) SWIG_fail
;
22205 resultobj
= wxPyMake_wxObject(result
);
22213 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22214 PyObject
*resultobj
;
22215 wxWindow
*arg1
= (wxWindow
*) 0 ;
22217 PyObject
* obj0
= 0 ;
22218 char *kwnames
[] = {
22219 (char *) "self", NULL
22222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
22223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22226 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
22228 wxPyEndAllowThreads(__tstate
);
22229 if (PyErr_Occurred()) SWIG_fail
;
22231 resultobj
= PyInt_FromLong((long)result
);
22238 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22239 PyObject
*resultobj
;
22240 wxWindow
*arg1
= (wxWindow
*) 0 ;
22241 bool arg2
= (bool) True
;
22242 wxRect
*arg3
= (wxRect
*) NULL
;
22243 PyObject
* obj0
= 0 ;
22244 PyObject
* obj1
= 0 ;
22245 PyObject
* obj2
= 0 ;
22246 char *kwnames
[] = {
22247 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22253 arg2
= PyInt_AsLong(obj1
) ? true : false;
22254 if (PyErr_Occurred()) SWIG_fail
;
22257 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
22263 wxPyEndAllowThreads(__tstate
);
22264 if (PyErr_Occurred()) SWIG_fail
;
22266 Py_INCREF(Py_None
); resultobj
= Py_None
;
22273 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22274 PyObject
*resultobj
;
22275 wxWindow
*arg1
= (wxWindow
*) 0 ;
22278 PyObject
* obj0
= 0 ;
22279 PyObject
* obj1
= 0 ;
22280 char *kwnames
[] = {
22281 (char *) "self",(char *) "rect", NULL
22284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22288 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22292 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
22294 wxPyEndAllowThreads(__tstate
);
22295 if (PyErr_Occurred()) SWIG_fail
;
22297 Py_INCREF(Py_None
); resultobj
= Py_None
;
22304 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22305 PyObject
*resultobj
;
22306 wxWindow
*arg1
= (wxWindow
*) 0 ;
22307 PyObject
* obj0
= 0 ;
22308 char *kwnames
[] = {
22309 (char *) "self", NULL
22312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
22313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22318 wxPyEndAllowThreads(__tstate
);
22319 if (PyErr_Occurred()) SWIG_fail
;
22321 Py_INCREF(Py_None
); resultobj
= Py_None
;
22328 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22329 PyObject
*resultobj
;
22330 wxWindow
*arg1
= (wxWindow
*) 0 ;
22331 PyObject
* obj0
= 0 ;
22332 char *kwnames
[] = {
22333 (char *) "self", NULL
22336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22340 (arg1
)->ClearBackground();
22342 wxPyEndAllowThreads(__tstate
);
22343 if (PyErr_Occurred()) SWIG_fail
;
22345 Py_INCREF(Py_None
); resultobj
= Py_None
;
22352 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22353 PyObject
*resultobj
;
22354 wxWindow
*arg1
= (wxWindow
*) 0 ;
22355 PyObject
* obj0
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 Py_INCREF(Py_None
); resultobj
= Py_None
;
22376 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxWindow
*arg1
= (wxWindow
*) 0 ;
22379 PyObject
* obj0
= 0 ;
22380 char *kwnames
[] = {
22381 (char *) "self", NULL
22384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22390 wxPyEndAllowThreads(__tstate
);
22391 if (PyErr_Occurred()) SWIG_fail
;
22393 Py_INCREF(Py_None
); resultobj
= Py_None
;
22400 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22401 PyObject
*resultobj
;
22402 wxWindow
*arg1
= (wxWindow
*) 0 ;
22404 PyObject
* obj0
= 0 ;
22405 PyObject
* obj1
= 0 ;
22406 char *kwnames
[] = {
22407 (char *) "self",(char *) "dc", NULL
22410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22413 if (arg2
== NULL
) {
22414 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22418 (arg1
)->PrepareDC(*arg2
);
22420 wxPyEndAllowThreads(__tstate
);
22421 if (PyErr_Occurred()) SWIG_fail
;
22423 Py_INCREF(Py_None
); resultobj
= Py_None
;
22430 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22431 PyObject
*resultobj
;
22432 wxWindow
*arg1
= (wxWindow
*) 0 ;
22434 PyObject
* obj0
= 0 ;
22435 char *kwnames
[] = {
22436 (char *) "self", NULL
22439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22444 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22445 result
= (wxRegion
*) &_result_ref
;
22448 wxPyEndAllowThreads(__tstate
);
22449 if (PyErr_Occurred()) SWIG_fail
;
22451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22458 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22459 PyObject
*resultobj
;
22460 wxWindow
*arg1
= (wxWindow
*) 0 ;
22462 PyObject
* obj0
= 0 ;
22463 char *kwnames
[] = {
22464 (char *) "self", NULL
22467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22471 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22473 wxPyEndAllowThreads(__tstate
);
22474 if (PyErr_Occurred()) SWIG_fail
;
22477 wxRect
* resultptr
;
22478 resultptr
= new wxRect((wxRect
&) result
);
22479 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22487 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22488 PyObject
*resultobj
;
22489 wxWindow
*arg1
= (wxWindow
*) 0 ;
22492 int arg4
= (int) 1 ;
22493 int arg5
= (int) 1 ;
22495 PyObject
* obj0
= 0 ;
22496 char *kwnames
[] = {
22497 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22506 wxPyEndAllowThreads(__tstate
);
22507 if (PyErr_Occurred()) SWIG_fail
;
22509 resultobj
= PyInt_FromLong((long)result
);
22516 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22517 PyObject
*resultobj
;
22518 wxWindow
*arg1
= (wxWindow
*) 0 ;
22519 wxPoint
*arg2
= 0 ;
22522 PyObject
* obj0
= 0 ;
22523 PyObject
* obj1
= 0 ;
22524 char *kwnames
[] = {
22525 (char *) "self",(char *) "pt", NULL
22528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22532 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22536 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= PyInt_FromLong((long)result
);
22548 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
;
22550 wxWindow
*arg1
= (wxWindow
*) 0 ;
22554 PyObject
* obj0
= 0 ;
22555 PyObject
* obj1
= 0 ;
22556 char *kwnames
[] = {
22557 (char *) "self",(char *) "rect", NULL
22560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22564 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22568 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22570 wxPyEndAllowThreads(__tstate
);
22571 if (PyErr_Occurred()) SWIG_fail
;
22573 resultobj
= PyInt_FromLong((long)result
);
22580 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22581 PyObject
*resultobj
;
22582 wxWindow
*arg1
= (wxWindow
*) 0 ;
22583 wxColour
*arg2
= 0 ;
22586 PyObject
* obj0
= 0 ;
22587 PyObject
* obj1
= 0 ;
22588 char *kwnames
[] = {
22589 (char *) "self",(char *) "colour", NULL
22592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22596 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22600 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22602 wxPyEndAllowThreads(__tstate
);
22603 if (PyErr_Occurred()) SWIG_fail
;
22605 resultobj
= PyInt_FromLong((long)result
);
22612 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22613 PyObject
*resultobj
;
22614 wxWindow
*arg1
= (wxWindow
*) 0 ;
22615 wxColour
*arg2
= 0 ;
22618 PyObject
* obj0
= 0 ;
22619 PyObject
* obj1
= 0 ;
22620 char *kwnames
[] = {
22621 (char *) "self",(char *) "colour", NULL
22624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22628 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22632 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22634 wxPyEndAllowThreads(__tstate
);
22635 if (PyErr_Occurred()) SWIG_fail
;
22637 resultobj
= PyInt_FromLong((long)result
);
22644 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22645 PyObject
*resultobj
;
22646 wxWindow
*arg1
= (wxWindow
*) 0 ;
22648 PyObject
* obj0
= 0 ;
22649 char *kwnames
[] = {
22650 (char *) "self", NULL
22653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22657 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22659 wxPyEndAllowThreads(__tstate
);
22660 if (PyErr_Occurred()) SWIG_fail
;
22663 wxColour
* resultptr
;
22664 resultptr
= new wxColour((wxColour
&) result
);
22665 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22673 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22674 PyObject
*resultobj
;
22675 wxWindow
*arg1
= (wxWindow
*) 0 ;
22677 PyObject
* obj0
= 0 ;
22678 char *kwnames
[] = {
22679 (char *) "self", NULL
22682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
22683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22686 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22688 wxPyEndAllowThreads(__tstate
);
22689 if (PyErr_Occurred()) SWIG_fail
;
22692 wxColour
* resultptr
;
22693 resultptr
= new wxColour((wxColour
&) result
);
22694 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22702 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22703 PyObject
*resultobj
;
22704 wxWindow
*arg1
= (wxWindow
*) 0 ;
22705 wxCursor
*arg2
= 0 ;
22707 PyObject
* obj0
= 0 ;
22708 PyObject
* obj1
= 0 ;
22709 char *kwnames
[] = {
22710 (char *) "self",(char *) "cursor", NULL
22713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22716 if (arg2
== NULL
) {
22717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22721 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22723 wxPyEndAllowThreads(__tstate
);
22724 if (PyErr_Occurred()) SWIG_fail
;
22726 resultobj
= PyInt_FromLong((long)result
);
22733 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22734 PyObject
*resultobj
;
22735 wxWindow
*arg1
= (wxWindow
*) 0 ;
22737 PyObject
* obj0
= 0 ;
22738 char *kwnames
[] = {
22739 (char *) "self", NULL
22742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22747 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22748 result
= (wxCursor
*) &_result_ref
;
22751 wxPyEndAllowThreads(__tstate
);
22752 if (PyErr_Occurred()) SWIG_fail
;
22754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22761 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22762 PyObject
*resultobj
;
22763 wxWindow
*arg1
= (wxWindow
*) 0 ;
22766 PyObject
* obj0
= 0 ;
22767 PyObject
* obj1
= 0 ;
22768 char *kwnames
[] = {
22769 (char *) "self",(char *) "font", NULL
22772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22774 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22775 if (arg2
== NULL
) {
22776 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22780 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22782 wxPyEndAllowThreads(__tstate
);
22783 if (PyErr_Occurred()) SWIG_fail
;
22785 resultobj
= PyInt_FromLong((long)result
);
22792 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22793 PyObject
*resultobj
;
22794 wxWindow
*arg1
= (wxWindow
*) 0 ;
22796 PyObject
* obj0
= 0 ;
22797 char *kwnames
[] = {
22798 (char *) "self", NULL
22801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 wxFont
&_result_ref
= (arg1
)->GetFont();
22807 result
= (wxFont
*) &_result_ref
;
22810 wxPyEndAllowThreads(__tstate
);
22811 if (PyErr_Occurred()) SWIG_fail
;
22813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22820 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22821 PyObject
*resultobj
;
22822 wxWindow
*arg1
= (wxWindow
*) 0 ;
22823 wxCaret
*arg2
= (wxCaret
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 PyObject
* obj1
= 0 ;
22826 char *kwnames
[] = {
22827 (char *) "self",(char *) "caret", NULL
22830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22832 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22835 (arg1
)->SetCaret(arg2
);
22837 wxPyEndAllowThreads(__tstate
);
22838 if (PyErr_Occurred()) SWIG_fail
;
22840 Py_INCREF(Py_None
); resultobj
= Py_None
;
22847 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22848 PyObject
*resultobj
;
22849 wxWindow
*arg1
= (wxWindow
*) 0 ;
22851 PyObject
* obj0
= 0 ;
22852 char *kwnames
[] = {
22853 (char *) "self", NULL
22856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22860 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
22862 wxPyEndAllowThreads(__tstate
);
22863 if (PyErr_Occurred()) SWIG_fail
;
22865 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
22872 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22873 PyObject
*resultobj
;
22874 wxWindow
*arg1
= (wxWindow
*) 0 ;
22876 PyObject
* obj0
= 0 ;
22877 char *kwnames
[] = {
22878 (char *) "self", NULL
22881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
22882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= PyInt_FromLong((long)result
);
22897 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
;
22899 wxWindow
*arg1
= (wxWindow
*) 0 ;
22901 PyObject
* obj0
= 0 ;
22902 char *kwnames
[] = {
22903 (char *) "self", NULL
22906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
22907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22910 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
22912 wxPyEndAllowThreads(__tstate
);
22913 if (PyErr_Occurred()) SWIG_fail
;
22915 resultobj
= PyInt_FromLong((long)result
);
22922 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22923 PyObject
*resultobj
;
22924 wxWindow
*arg1
= (wxWindow
*) 0 ;
22925 wxString
*arg2
= 0 ;
22926 int *arg3
= (int *) 0 ;
22927 int *arg4
= (int *) 0 ;
22928 bool temp2
= False
;
22931 PyObject
* obj0
= 0 ;
22932 PyObject
* obj1
= 0 ;
22933 char *kwnames
[] = {
22934 (char *) "self",(char *) "string", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22942 arg2
= wxString_in_helper(obj1
);
22943 if (arg2
== NULL
) SWIG_fail
;
22947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22948 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22950 wxPyEndAllowThreads(__tstate
);
22951 if (PyErr_Occurred()) SWIG_fail
;
22953 Py_INCREF(Py_None
); resultobj
= Py_None
;
22955 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22956 resultobj
= t_output_helper(resultobj
,o
);
22959 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22960 resultobj
= t_output_helper(resultobj
,o
);
22976 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22977 PyObject
*resultobj
;
22978 wxWindow
*arg1
= (wxWindow
*) 0 ;
22979 wxString
*arg2
= 0 ;
22980 int *arg3
= (int *) 0 ;
22981 int *arg4
= (int *) 0 ;
22982 int *arg5
= (int *) 0 ;
22983 int *arg6
= (int *) 0 ;
22984 wxFont
*arg7
= (wxFont
*) NULL
;
22985 bool temp2
= False
;
22990 PyObject
* obj0
= 0 ;
22991 PyObject
* obj1
= 0 ;
22992 PyObject
* obj2
= 0 ;
22993 char *kwnames
[] = {
22994 (char *) "self",(char *) "string",(char *) "font", NULL
23001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23004 arg2
= wxString_in_helper(obj1
);
23005 if (arg2
== NULL
) SWIG_fail
;
23009 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23013 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
23015 wxPyEndAllowThreads(__tstate
);
23016 if (PyErr_Occurred()) SWIG_fail
;
23018 Py_INCREF(Py_None
); resultobj
= Py_None
;
23020 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23021 resultobj
= t_output_helper(resultobj
,o
);
23024 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23025 resultobj
= t_output_helper(resultobj
,o
);
23028 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
23029 resultobj
= t_output_helper(resultobj
,o
);
23032 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
23033 resultobj
= t_output_helper(resultobj
,o
);
23049 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23050 PyObject
*resultobj
;
23051 wxWindow
*arg1
= (wxWindow
*) 0 ;
23052 int *arg2
= (int *) 0 ;
23053 int *arg3
= (int *) 0 ;
23056 PyObject
* obj0
= 0 ;
23057 PyObject
* obj1
= 0 ;
23058 PyObject
* obj2
= 0 ;
23059 char *kwnames
[] = {
23060 (char *) "self",(char *) "x",(char *) "y", NULL
23063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23066 temp2
= PyInt_AsLong(obj1
);
23067 if (PyErr_Occurred()) SWIG_fail
;
23071 temp3
= PyInt_AsLong(obj2
);
23072 if (PyErr_Occurred()) SWIG_fail
;
23076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23077 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
23079 wxPyEndAllowThreads(__tstate
);
23080 if (PyErr_Occurred()) SWIG_fail
;
23082 Py_INCREF(Py_None
); resultobj
= Py_None
;
23084 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23085 resultobj
= t_output_helper(resultobj
,o
);
23088 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23089 resultobj
= t_output_helper(resultobj
,o
);
23097 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23098 PyObject
*resultobj
;
23099 wxWindow
*arg1
= (wxWindow
*) 0 ;
23100 int *arg2
= (int *) 0 ;
23101 int *arg3
= (int *) 0 ;
23104 PyObject
* obj0
= 0 ;
23105 PyObject
* obj1
= 0 ;
23106 PyObject
* obj2
= 0 ;
23107 char *kwnames
[] = {
23108 (char *) "self",(char *) "x",(char *) "y", NULL
23111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23114 temp2
= PyInt_AsLong(obj1
);
23115 if (PyErr_Occurred()) SWIG_fail
;
23119 temp3
= PyInt_AsLong(obj2
);
23120 if (PyErr_Occurred()) SWIG_fail
;
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
23127 wxPyEndAllowThreads(__tstate
);
23128 if (PyErr_Occurred()) SWIG_fail
;
23130 Py_INCREF(Py_None
); resultobj
= Py_None
;
23132 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23133 resultobj
= t_output_helper(resultobj
,o
);
23136 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23137 resultobj
= t_output_helper(resultobj
,o
);
23145 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23146 PyObject
*resultobj
;
23147 wxWindow
*arg1
= (wxWindow
*) 0 ;
23148 wxPoint
*arg2
= 0 ;
23151 PyObject
* obj0
= 0 ;
23152 PyObject
* obj1
= 0 ;
23153 char *kwnames
[] = {
23154 (char *) "self",(char *) "pt", NULL
23157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23161 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23165 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
23167 wxPyEndAllowThreads(__tstate
);
23168 if (PyErr_Occurred()) SWIG_fail
;
23171 wxPoint
* resultptr
;
23172 resultptr
= new wxPoint((wxPoint
&) result
);
23173 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23181 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23182 PyObject
*resultobj
;
23183 wxWindow
*arg1
= (wxWindow
*) 0 ;
23184 wxPoint
*arg2
= 0 ;
23187 PyObject
* obj0
= 0 ;
23188 PyObject
* obj1
= 0 ;
23189 char *kwnames
[] = {
23190 (char *) "self",(char *) "pt", NULL
23193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
23194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23201 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
23203 wxPyEndAllowThreads(__tstate
);
23204 if (PyErr_Occurred()) SWIG_fail
;
23207 wxPoint
* resultptr
;
23208 resultptr
= new wxPoint((wxPoint
&) result
);
23209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23217 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23218 PyObject
*resultobj
;
23219 wxWindow
*arg1
= (wxWindow
*) 0 ;
23223 PyObject
* obj0
= 0 ;
23224 char *kwnames
[] = {
23225 (char *) "self",(char *) "x",(char *) "y", NULL
23228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23232 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
23234 wxPyEndAllowThreads(__tstate
);
23235 if (PyErr_Occurred()) SWIG_fail
;
23237 resultobj
= PyInt_FromLong((long)result
);
23244 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23245 PyObject
*resultobj
;
23246 wxWindow
*arg1
= (wxWindow
*) 0 ;
23247 wxPoint
*arg2
= 0 ;
23250 PyObject
* obj0
= 0 ;
23251 PyObject
* obj1
= 0 ;
23252 char *kwnames
[] = {
23253 (char *) "self",(char *) "pt", NULL
23256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23260 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23264 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
23266 wxPyEndAllowThreads(__tstate
);
23267 if (PyErr_Occurred()) SWIG_fail
;
23269 resultobj
= PyInt_FromLong((long)result
);
23276 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23277 PyObject
*resultobj
;
23278 wxWindow
*arg1
= (wxWindow
*) 0 ;
23281 PyObject
* obj0
= 0 ;
23282 char *kwnames
[] = {
23283 (char *) "self",(char *) "flags", NULL
23286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
23287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23290 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= PyInt_FromLong((long)result
);
23302 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23303 PyObject
*resultobj
;
23304 wxWindow
*arg1
= (wxWindow
*) 0 ;
23306 PyObject
* obj0
= 0 ;
23307 char *kwnames
[] = {
23308 (char *) "self", NULL
23311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
23312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23315 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
23317 wxPyEndAllowThreads(__tstate
);
23318 if (PyErr_Occurred()) SWIG_fail
;
23320 resultobj
= PyInt_FromLong((long)result
);
23327 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23328 PyObject
*resultobj
;
23329 wxWindow
*arg1
= (wxWindow
*) 0 ;
23330 long arg2
= (long) wxUPDATE_UI_NONE
;
23331 PyObject
* obj0
= 0 ;
23332 char *kwnames
[] = {
23333 (char *) "self",(char *) "flags", NULL
23336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23340 (arg1
)->UpdateWindowUI(arg2
);
23342 wxPyEndAllowThreads(__tstate
);
23343 if (PyErr_Occurred()) SWIG_fail
;
23345 Py_INCREF(Py_None
); resultobj
= Py_None
;
23352 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23353 PyObject
*resultobj
;
23354 wxWindow
*arg1
= (wxWindow
*) 0 ;
23355 wxMenu
*arg2
= (wxMenu
*) 0 ;
23359 PyObject
* obj0
= 0 ;
23360 PyObject
* obj1
= 0 ;
23361 char *kwnames
[] = {
23362 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= PyInt_FromLong((long)result
);
23382 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxWindow
*arg1
= (wxWindow
*) 0 ;
23385 wxMenu
*arg2
= (wxMenu
*) 0 ;
23386 wxPoint
*arg3
= 0 ;
23389 PyObject
* obj0
= 0 ;
23390 PyObject
* obj1
= 0 ;
23391 PyObject
* obj2
= 0 ;
23392 char *kwnames
[] = {
23393 (char *) "self",(char *) "menu",(char *) "pos", NULL
23396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23398 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23401 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23405 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23407 wxPyEndAllowThreads(__tstate
);
23408 if (PyErr_Occurred()) SWIG_fail
;
23410 resultobj
= PyInt_FromLong((long)result
);
23417 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23418 PyObject
*resultobj
;
23419 wxWindow
*arg1
= (wxWindow
*) 0 ;
23421 PyObject
* obj0
= 0 ;
23422 char *kwnames
[] = {
23423 (char *) "self", NULL
23426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23430 result
= (long)wxWindow_GetHandle(arg1
);
23432 wxPyEndAllowThreads(__tstate
);
23433 if (PyErr_Occurred()) SWIG_fail
;
23435 resultobj
= PyInt_FromLong((long)result
);
23442 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23443 PyObject
*resultobj
;
23444 wxWindow
*arg1
= (wxWindow
*) 0 ;
23445 wxPaintEvent
*arg2
= 0 ;
23446 PyObject
* obj0
= 0 ;
23447 PyObject
* obj1
= 0 ;
23448 char *kwnames
[] = {
23449 (char *) "self",(char *) "event", NULL
23452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
23453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPaintEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23455 if (arg2
== NULL
) {
23456 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23460 (arg1
)->OnPaint(*arg2
);
23462 wxPyEndAllowThreads(__tstate
);
23463 if (PyErr_Occurred()) SWIG_fail
;
23465 Py_INCREF(Py_None
); resultobj
= Py_None
;
23472 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23473 PyObject
*resultobj
;
23474 wxWindow
*arg1
= (wxWindow
*) 0 ;
23477 PyObject
* obj0
= 0 ;
23478 char *kwnames
[] = {
23479 (char *) "self",(char *) "orient", NULL
23482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23486 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23488 wxPyEndAllowThreads(__tstate
);
23489 if (PyErr_Occurred()) SWIG_fail
;
23491 resultobj
= PyInt_FromLong((long)result
);
23498 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23499 PyObject
*resultobj
;
23500 wxWindow
*arg1
= (wxWindow
*) 0 ;
23505 bool arg6
= (bool) True
;
23506 PyObject
* obj0
= 0 ;
23507 PyObject
* obj5
= 0 ;
23508 char *kwnames
[] = {
23509 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23515 arg6
= PyInt_AsLong(obj5
) ? true : false;
23516 if (PyErr_Occurred()) SWIG_fail
;
23519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23520 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23522 wxPyEndAllowThreads(__tstate
);
23523 if (PyErr_Occurred()) SWIG_fail
;
23525 Py_INCREF(Py_None
); resultobj
= Py_None
;
23532 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23533 PyObject
*resultobj
;
23534 wxWindow
*arg1
= (wxWindow
*) 0 ;
23537 bool arg4
= (bool) True
;
23538 PyObject
* obj0
= 0 ;
23539 PyObject
* obj3
= 0 ;
23540 char *kwnames
[] = {
23541 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23547 arg4
= PyInt_AsLong(obj3
) ? true : false;
23548 if (PyErr_Occurred()) SWIG_fail
;
23551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23552 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 Py_INCREF(Py_None
); resultobj
= Py_None
;
23564 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23565 PyObject
*resultobj
;
23566 wxWindow
*arg1
= (wxWindow
*) 0 ;
23569 PyObject
* obj0
= 0 ;
23570 char *kwnames
[] = {
23571 (char *) "self",(char *) "orient", NULL
23574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23578 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23580 wxPyEndAllowThreads(__tstate
);
23581 if (PyErr_Occurred()) SWIG_fail
;
23583 resultobj
= PyInt_FromLong((long)result
);
23590 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23591 PyObject
*resultobj
;
23592 wxWindow
*arg1
= (wxWindow
*) 0 ;
23595 PyObject
* obj0
= 0 ;
23596 char *kwnames
[] = {
23597 (char *) "self",(char *) "orient", NULL
23600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23604 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23606 wxPyEndAllowThreads(__tstate
);
23607 if (PyErr_Occurred()) SWIG_fail
;
23609 resultobj
= PyInt_FromLong((long)result
);
23616 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23617 PyObject
*resultobj
;
23618 wxWindow
*arg1
= (wxWindow
*) 0 ;
23621 PyObject
* obj0
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "orient", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23630 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23632 wxPyEndAllowThreads(__tstate
);
23633 if (PyErr_Occurred()) SWIG_fail
;
23635 resultobj
= PyInt_FromLong((long)result
);
23642 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23643 PyObject
*resultobj
;
23644 wxWindow
*arg1
= (wxWindow
*) 0 ;
23647 wxRect
*arg4
= (wxRect
*) NULL
;
23648 PyObject
* obj0
= 0 ;
23649 PyObject
* obj3
= 0 ;
23650 char *kwnames
[] = {
23651 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23657 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23661 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23663 wxPyEndAllowThreads(__tstate
);
23664 if (PyErr_Occurred()) SWIG_fail
;
23666 Py_INCREF(Py_None
); resultobj
= Py_None
;
23673 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23674 PyObject
*resultobj
;
23675 wxWindow
*arg1
= (wxWindow
*) 0 ;
23678 PyObject
* obj0
= 0 ;
23679 char *kwnames
[] = {
23680 (char *) "self",(char *) "lines", NULL
23683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23687 result
= (bool)(arg1
)->ScrollLines(arg2
);
23689 wxPyEndAllowThreads(__tstate
);
23690 if (PyErr_Occurred()) SWIG_fail
;
23692 resultobj
= PyInt_FromLong((long)result
);
23699 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23700 PyObject
*resultobj
;
23701 wxWindow
*arg1
= (wxWindow
*) 0 ;
23704 PyObject
* obj0
= 0 ;
23705 char *kwnames
[] = {
23706 (char *) "self",(char *) "pages", NULL
23709 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23710 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23713 result
= (bool)(arg1
)->ScrollPages(arg2
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= PyInt_FromLong((long)result
);
23725 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
;
23727 wxWindow
*arg1
= (wxWindow
*) 0 ;
23729 PyObject
* obj0
= 0 ;
23730 char *kwnames
[] = {
23731 (char *) "self", NULL
23734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",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
= (bool)(arg1
)->LineUp();
23740 wxPyEndAllowThreads(__tstate
);
23741 if (PyErr_Occurred()) SWIG_fail
;
23743 resultobj
= PyInt_FromLong((long)result
);
23750 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23751 PyObject
*resultobj
;
23752 wxWindow
*arg1
= (wxWindow
*) 0 ;
23754 PyObject
* obj0
= 0 ;
23755 char *kwnames
[] = {
23756 (char *) "self", NULL
23759 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23760 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23763 result
= (bool)(arg1
)->LineDown();
23765 wxPyEndAllowThreads(__tstate
);
23766 if (PyErr_Occurred()) SWIG_fail
;
23768 resultobj
= PyInt_FromLong((long)result
);
23775 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23776 PyObject
*resultobj
;
23777 wxWindow
*arg1
= (wxWindow
*) 0 ;
23779 PyObject
* obj0
= 0 ;
23780 char *kwnames
[] = {
23781 (char *) "self", NULL
23784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23788 result
= (bool)(arg1
)->PageUp();
23790 wxPyEndAllowThreads(__tstate
);
23791 if (PyErr_Occurred()) SWIG_fail
;
23793 resultobj
= PyInt_FromLong((long)result
);
23800 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23801 PyObject
*resultobj
;
23802 wxWindow
*arg1
= (wxWindow
*) 0 ;
23804 PyObject
* obj0
= 0 ;
23805 char *kwnames
[] = {
23806 (char *) "self", NULL
23809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23813 result
= (bool)(arg1
)->PageDown();
23815 wxPyEndAllowThreads(__tstate
);
23816 if (PyErr_Occurred()) SWIG_fail
;
23818 resultobj
= PyInt_FromLong((long)result
);
23825 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23826 PyObject
*resultobj
;
23827 wxWindow
*arg1
= (wxWindow
*) 0 ;
23828 wxString
*arg2
= 0 ;
23829 bool temp2
= False
;
23830 PyObject
* obj0
= 0 ;
23831 PyObject
* obj1
= 0 ;
23832 char *kwnames
[] = {
23833 (char *) "self",(char *) "text", NULL
23836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23839 arg2
= wxString_in_helper(obj1
);
23840 if (arg2
== NULL
) SWIG_fail
;
23844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23845 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23847 wxPyEndAllowThreads(__tstate
);
23848 if (PyErr_Occurred()) SWIG_fail
;
23850 Py_INCREF(Py_None
); resultobj
= Py_None
;
23865 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23866 PyObject
*resultobj
;
23867 wxWindow
*arg1
= (wxWindow
*) 0 ;
23868 wxString
*arg2
= 0 ;
23869 bool temp2
= False
;
23870 PyObject
* obj0
= 0 ;
23871 PyObject
* obj1
= 0 ;
23872 char *kwnames
[] = {
23873 (char *) "self",(char *) "text", NULL
23876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
23877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23879 arg2
= wxString_in_helper(obj1
);
23880 if (arg2
== NULL
) SWIG_fail
;
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 Py_INCREF(Py_None
); resultobj
= Py_None
;
23905 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23906 PyObject
*resultobj
;
23907 wxWindow
*arg1
= (wxWindow
*) 0 ;
23909 PyObject
* obj0
= 0 ;
23910 char *kwnames
[] = {
23911 (char *) "self", NULL
23914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
23915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23918 result
= ((wxWindow
const *)arg1
)->GetHelpText();
23920 wxPyEndAllowThreads(__tstate
);
23921 if (PyErr_Occurred()) SWIG_fail
;
23925 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23927 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23936 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23937 PyObject
*resultobj
;
23938 wxWindow
*arg1
= (wxWindow
*) 0 ;
23939 wxString
*arg2
= 0 ;
23940 bool temp2
= False
;
23941 PyObject
* obj0
= 0 ;
23942 PyObject
* obj1
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self",(char *) "tip", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23950 arg2
= wxString_in_helper(obj1
);
23951 if (arg2
== NULL
) SWIG_fail
;
23955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23956 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23958 wxPyEndAllowThreads(__tstate
);
23959 if (PyErr_Occurred()) SWIG_fail
;
23961 Py_INCREF(Py_None
); resultobj
= Py_None
;
23976 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23977 PyObject
*resultobj
;
23978 wxWindow
*arg1
= (wxWindow
*) 0 ;
23979 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
23980 PyObject
* obj0
= 0 ;
23981 PyObject
* obj1
= 0 ;
23982 char *kwnames
[] = {
23983 (char *) "self",(char *) "tip", NULL
23986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23988 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23991 (arg1
)->SetToolTip(arg2
);
23993 wxPyEndAllowThreads(__tstate
);
23994 if (PyErr_Occurred()) SWIG_fail
;
23996 Py_INCREF(Py_None
); resultobj
= Py_None
;
24003 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxWindow
*arg1
= (wxWindow
*) 0 ;
24007 PyObject
* obj0
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24016 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
24018 wxPyEndAllowThreads(__tstate
);
24019 if (PyErr_Occurred()) SWIG_fail
;
24022 resultobj
= wxPyMake_wxObject(result
);
24030 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24031 PyObject
*resultobj
;
24032 wxWindow
*arg1
= (wxWindow
*) 0 ;
24033 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
24034 PyObject
* obj0
= 0 ;
24035 PyObject
* obj1
= 0 ;
24036 char *kwnames
[] = {
24037 (char *) "self",(char *) "dropTarget", NULL
24040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24042 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24045 (arg1
)->SetDropTarget(arg2
);
24047 wxPyEndAllowThreads(__tstate
);
24048 if (PyErr_Occurred()) SWIG_fail
;
24050 Py_INCREF(Py_None
); resultobj
= Py_None
;
24057 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24058 PyObject
*resultobj
;
24059 wxWindow
*arg1
= (wxWindow
*) 0 ;
24060 wxPyDropTarget
*result
;
24061 PyObject
* obj0
= 0 ;
24062 char *kwnames
[] = {
24063 (char *) "self", NULL
24066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
24067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24070 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
24072 wxPyEndAllowThreads(__tstate
);
24073 if (PyErr_Occurred()) SWIG_fail
;
24075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
24082 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24083 PyObject
*resultobj
;
24084 wxWindow
*arg1
= (wxWindow
*) 0 ;
24086 PyObject
* obj0
= 0 ;
24087 PyObject
* obj1
= 0 ;
24088 char *kwnames
[] = {
24089 (char *) "self",(char *) "accept", NULL
24092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
24093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24094 arg2
= PyInt_AsLong(obj1
) ? true : false;
24095 if (PyErr_Occurred()) SWIG_fail
;
24097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24098 (arg1
)->DragAcceptFiles(arg2
);
24100 wxPyEndAllowThreads(__tstate
);
24101 if (PyErr_Occurred()) SWIG_fail
;
24103 Py_INCREF(Py_None
); resultobj
= Py_None
;
24110 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24111 PyObject
*resultobj
;
24112 wxWindow
*arg1
= (wxWindow
*) 0 ;
24113 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
24114 PyObject
* obj0
= 0 ;
24115 PyObject
* obj1
= 0 ;
24116 char *kwnames
[] = {
24117 (char *) "self",(char *) "constraints", NULL
24120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
24121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24122 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24125 (arg1
)->SetConstraints(arg2
);
24127 wxPyEndAllowThreads(__tstate
);
24128 if (PyErr_Occurred()) SWIG_fail
;
24130 Py_INCREF(Py_None
); resultobj
= Py_None
;
24137 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24138 PyObject
*resultobj
;
24139 wxWindow
*arg1
= (wxWindow
*) 0 ;
24140 wxLayoutConstraints
*result
;
24141 PyObject
* obj0
= 0 ;
24142 char *kwnames
[] = {
24143 (char *) "self", NULL
24146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
24147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24150 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
24152 wxPyEndAllowThreads(__tstate
);
24153 if (PyErr_Occurred()) SWIG_fail
;
24155 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
24162 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24163 PyObject
*resultobj
;
24164 wxWindow
*arg1
= (wxWindow
*) 0 ;
24166 PyObject
* obj0
= 0 ;
24167 PyObject
* obj1
= 0 ;
24168 char *kwnames
[] = {
24169 (char *) "self",(char *) "autoLayout", NULL
24172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
24173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24174 arg2
= PyInt_AsLong(obj1
) ? true : false;
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24178 (arg1
)->SetAutoLayout(arg2
);
24180 wxPyEndAllowThreads(__tstate
);
24181 if (PyErr_Occurred()) SWIG_fail
;
24183 Py_INCREF(Py_None
); resultobj
= Py_None
;
24190 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24191 PyObject
*resultobj
;
24192 wxWindow
*arg1
= (wxWindow
*) 0 ;
24194 PyObject
* obj0
= 0 ;
24195 char *kwnames
[] = {
24196 (char *) "self", NULL
24199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
24200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
24205 wxPyEndAllowThreads(__tstate
);
24206 if (PyErr_Occurred()) SWIG_fail
;
24208 resultobj
= PyInt_FromLong((long)result
);
24215 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24216 PyObject
*resultobj
;
24217 wxWindow
*arg1
= (wxWindow
*) 0 ;
24219 PyObject
* obj0
= 0 ;
24220 char *kwnames
[] = {
24221 (char *) "self", NULL
24224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
24225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24228 result
= (bool)(arg1
)->Layout();
24230 wxPyEndAllowThreads(__tstate
);
24231 if (PyErr_Occurred()) SWIG_fail
;
24233 resultobj
= PyInt_FromLong((long)result
);
24240 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24241 PyObject
*resultobj
;
24242 wxWindow
*arg1
= (wxWindow
*) 0 ;
24243 wxSizer
*arg2
= (wxSizer
*) 0 ;
24244 bool arg3
= (bool) True
;
24245 PyObject
* obj0
= 0 ;
24246 PyObject
* obj1
= 0 ;
24247 PyObject
* obj2
= 0 ;
24248 char *kwnames
[] = {
24249 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24254 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24256 arg3
= PyInt_AsLong(obj2
) ? true : false;
24257 if (PyErr_Occurred()) SWIG_fail
;
24260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24261 (arg1
)->SetSizer(arg2
,arg3
);
24263 wxPyEndAllowThreads(__tstate
);
24264 if (PyErr_Occurred()) SWIG_fail
;
24266 Py_INCREF(Py_None
); resultobj
= Py_None
;
24273 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24274 PyObject
*resultobj
;
24275 wxWindow
*arg1
= (wxWindow
*) 0 ;
24276 wxSizer
*arg2
= (wxSizer
*) 0 ;
24277 bool arg3
= (bool) True
;
24278 PyObject
* obj0
= 0 ;
24279 PyObject
* obj1
= 0 ;
24280 PyObject
* obj2
= 0 ;
24281 char *kwnames
[] = {
24282 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24287 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24289 arg3
= PyInt_AsLong(obj2
) ? true : false;
24290 if (PyErr_Occurred()) SWIG_fail
;
24293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24294 (arg1
)->SetSizerAndFit(arg2
,arg3
);
24296 wxPyEndAllowThreads(__tstate
);
24297 if (PyErr_Occurred()) SWIG_fail
;
24299 Py_INCREF(Py_None
); resultobj
= Py_None
;
24306 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24307 PyObject
*resultobj
;
24308 wxWindow
*arg1
= (wxWindow
*) 0 ;
24310 PyObject
* obj0
= 0 ;
24311 char *kwnames
[] = {
24312 (char *) "self", NULL
24315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
24316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24319 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
24321 wxPyEndAllowThreads(__tstate
);
24322 if (PyErr_Occurred()) SWIG_fail
;
24325 resultobj
= wxPyMake_wxSizer(result
);
24333 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24334 PyObject
*resultobj
;
24335 wxWindow
*arg1
= (wxWindow
*) 0 ;
24336 wxSizer
*arg2
= (wxSizer
*) 0 ;
24337 PyObject
* obj0
= 0 ;
24338 PyObject
* obj1
= 0 ;
24339 char *kwnames
[] = {
24340 (char *) "self",(char *) "sizer", NULL
24343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24345 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24348 (arg1
)->SetContainingSizer(arg2
);
24350 wxPyEndAllowThreads(__tstate
);
24351 if (PyErr_Occurred()) SWIG_fail
;
24353 Py_INCREF(Py_None
); resultobj
= Py_None
;
24360 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24361 PyObject
*resultobj
;
24362 wxWindow
*arg1
= (wxWindow
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 char *kwnames
[] = {
24366 (char *) "self", NULL
24369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24370 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24373 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24375 wxPyEndAllowThreads(__tstate
);
24376 if (PyErr_Occurred()) SWIG_fail
;
24379 resultobj
= wxPyMake_wxSizer(result
);
24387 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24390 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24392 return Py_BuildValue((char *)"");
24394 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
;
24397 wxWindow
*arg2
= (wxWindow
*) NULL
;
24399 PyObject
* obj1
= 0 ;
24400 char *kwnames
[] = {
24401 (char *) "id",(char *) "parent", NULL
24404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24410 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24412 wxPyEndAllowThreads(__tstate
);
24413 if (PyErr_Occurred()) SWIG_fail
;
24416 resultobj
= wxPyMake_wxObject(result
);
24424 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24425 PyObject
*resultobj
;
24426 wxString
*arg1
= 0 ;
24427 wxWindow
*arg2
= (wxWindow
*) NULL
;
24429 bool temp1
= False
;
24430 PyObject
* obj0
= 0 ;
24431 PyObject
* obj1
= 0 ;
24432 char *kwnames
[] = {
24433 (char *) "name",(char *) "parent", NULL
24436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24438 arg1
= wxString_in_helper(obj0
);
24439 if (arg1
== NULL
) SWIG_fail
;
24443 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24447 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24449 wxPyEndAllowThreads(__tstate
);
24450 if (PyErr_Occurred()) SWIG_fail
;
24453 resultobj
= wxPyMake_wxObject(result
);
24469 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24470 PyObject
*resultobj
;
24471 wxString
*arg1
= 0 ;
24472 wxWindow
*arg2
= (wxWindow
*) NULL
;
24474 bool temp1
= False
;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "label",(char *) "parent", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24483 arg1
= wxString_in_helper(obj0
);
24484 if (arg1
== NULL
) SWIG_fail
;
24488 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24492 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24494 wxPyEndAllowThreads(__tstate
);
24495 if (PyErr_Occurred()) SWIG_fail
;
24498 resultobj
= wxPyMake_wxObject(result
);
24514 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24515 PyObject
*resultobj
;
24516 unsigned long arg1
;
24518 PyObject
* obj0
= 0 ;
24519 char *kwnames
[] = {
24520 (char *) "hWnd", NULL
24523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24524 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24525 if (PyErr_Occurred()) SWIG_fail
;
24527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24528 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24530 wxPyEndAllowThreads(__tstate
);
24531 if (PyErr_Occurred()) SWIG_fail
;
24534 resultobj
= wxPyMake_wxObject(result
);
24542 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24543 PyObject
*resultobj
;
24544 wxValidator
*result
;
24545 char *kwnames
[] = {
24549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24552 result
= (wxValidator
*)new wxValidator();
24554 wxPyEndAllowThreads(__tstate
);
24555 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= wxPyMake_wxObject(result
);
24566 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24567 PyObject
*resultobj
;
24568 wxValidator
*arg1
= (wxValidator
*) 0 ;
24569 wxValidator
*result
;
24570 PyObject
* obj0
= 0 ;
24571 char *kwnames
[] = {
24572 (char *) "self", NULL
24575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24579 result
= (wxValidator
*)(arg1
)->Clone();
24581 wxPyEndAllowThreads(__tstate
);
24582 if (PyErr_Occurred()) SWIG_fail
;
24585 resultobj
= wxPyMake_wxObject(result
);
24593 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24594 PyObject
*resultobj
;
24595 wxValidator
*arg1
= (wxValidator
*) 0 ;
24596 wxWindow
*arg2
= (wxWindow
*) 0 ;
24598 PyObject
* obj0
= 0 ;
24599 PyObject
* obj1
= 0 ;
24600 char *kwnames
[] = {
24601 (char *) "self",(char *) "parent", NULL
24604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24609 result
= (bool)(arg1
)->Validate(arg2
);
24611 wxPyEndAllowThreads(__tstate
);
24612 if (PyErr_Occurred()) SWIG_fail
;
24614 resultobj
= PyInt_FromLong((long)result
);
24621 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24622 PyObject
*resultobj
;
24623 wxValidator
*arg1
= (wxValidator
*) 0 ;
24625 PyObject
* obj0
= 0 ;
24626 char *kwnames
[] = {
24627 (char *) "self", NULL
24630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24634 result
= (bool)(arg1
)->TransferToWindow();
24636 wxPyEndAllowThreads(__tstate
);
24637 if (PyErr_Occurred()) SWIG_fail
;
24639 resultobj
= PyInt_FromLong((long)result
);
24646 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24647 PyObject
*resultobj
;
24648 wxValidator
*arg1
= (wxValidator
*) 0 ;
24650 PyObject
* obj0
= 0 ;
24651 char *kwnames
[] = {
24652 (char *) "self", NULL
24655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24659 result
= (bool)(arg1
)->TransferFromWindow();
24661 wxPyEndAllowThreads(__tstate
);
24662 if (PyErr_Occurred()) SWIG_fail
;
24664 resultobj
= PyInt_FromLong((long)result
);
24671 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24672 PyObject
*resultobj
;
24673 wxValidator
*arg1
= (wxValidator
*) 0 ;
24675 PyObject
* obj0
= 0 ;
24676 char *kwnames
[] = {
24677 (char *) "self", NULL
24680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24684 result
= (wxWindow
*)(arg1
)->GetWindow();
24686 wxPyEndAllowThreads(__tstate
);
24687 if (PyErr_Occurred()) SWIG_fail
;
24690 resultobj
= wxPyMake_wxObject(result
);
24698 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24699 PyObject
*resultobj
;
24700 wxValidator
*arg1
= (wxValidator
*) 0 ;
24701 wxWindow
*arg2
= (wxWindow
*) 0 ;
24702 PyObject
* obj0
= 0 ;
24703 PyObject
* obj1
= 0 ;
24704 char *kwnames
[] = {
24705 (char *) "self",(char *) "window", NULL
24708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24710 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24713 (arg1
)->SetWindow(arg2
);
24715 wxPyEndAllowThreads(__tstate
);
24716 if (PyErr_Occurred()) SWIG_fail
;
24718 Py_INCREF(Py_None
); resultobj
= Py_None
;
24725 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24726 PyObject
*resultobj
;
24728 char *kwnames
[] = {
24732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (bool)wxValidator::IsSilent();
24737 wxPyEndAllowThreads(__tstate
);
24738 if (PyErr_Occurred()) SWIG_fail
;
24740 resultobj
= PyInt_FromLong((long)result
);
24747 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24748 PyObject
*resultobj
;
24749 int arg1
= (int) True
;
24750 char *kwnames
[] = {
24751 (char *) "doIt", NULL
24754 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24757 wxValidator::SetBellOnError(arg1
);
24759 wxPyEndAllowThreads(__tstate
);
24760 if (PyErr_Occurred()) SWIG_fail
;
24762 Py_INCREF(Py_None
); resultobj
= Py_None
;
24769 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24772 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24774 return Py_BuildValue((char *)"");
24776 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24777 PyObject
*resultobj
;
24778 wxPyValidator
*result
;
24779 char *kwnames
[] = {
24783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (wxPyValidator
*)new wxPyValidator();
24788 wxPyEndAllowThreads(__tstate
);
24789 if (PyErr_Occurred()) SWIG_fail
;
24791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24798 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24799 PyObject
*resultobj
;
24800 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24801 PyObject
*arg2
= (PyObject
*) 0 ;
24802 PyObject
*arg3
= (PyObject
*) 0 ;
24803 int arg4
= (int) True
;
24804 PyObject
* obj0
= 0 ;
24805 PyObject
* obj1
= 0 ;
24806 PyObject
* obj2
= 0 ;
24807 char *kwnames
[] = {
24808 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24817 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24819 wxPyEndAllowThreads(__tstate
);
24820 if (PyErr_Occurred()) SWIG_fail
;
24822 Py_INCREF(Py_None
); resultobj
= Py_None
;
24829 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24831 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24832 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24834 return Py_BuildValue((char *)"");
24836 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24837 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24842 static PyObject
*_wrap_DefaultValidator_get() {
24845 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24850 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24851 PyObject
*resultobj
;
24852 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24853 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24854 long arg2
= (long) 0 ;
24856 bool temp1
= False
;
24857 PyObject
* obj0
= 0 ;
24858 char *kwnames
[] = {
24859 (char *) "title",(char *) "style", NULL
24862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
24865 arg1
= wxString_in_helper(obj0
);
24866 if (arg1
== NULL
) SWIG_fail
;
24871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24872 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
24874 wxPyEndAllowThreads(__tstate
);
24875 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= wxPyMake_wxObject(result
);
24894 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24895 PyObject
*resultobj
;
24896 wxMenu
*arg1
= (wxMenu
*) 0 ;
24898 wxString
*arg3
= 0 ;
24899 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24900 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24901 int arg5
= (int) wxITEM_NORMAL
;
24902 bool temp3
= False
;
24903 bool temp4
= False
;
24904 PyObject
* obj0
= 0 ;
24905 PyObject
* obj2
= 0 ;
24906 PyObject
* obj3
= 0 ;
24907 char *kwnames
[] = {
24908 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24914 arg3
= wxString_in_helper(obj2
);
24915 if (arg3
== NULL
) SWIG_fail
;
24920 arg4
= wxString_in_helper(obj3
);
24921 if (arg4
== NULL
) SWIG_fail
;
24926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24927 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24932 Py_INCREF(Py_None
); resultobj
= Py_None
;
24955 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24956 PyObject
*resultobj
;
24957 wxMenu
*arg1
= (wxMenu
*) 0 ;
24958 PyObject
* obj0
= 0 ;
24959 char *kwnames
[] = {
24960 (char *) "self", NULL
24963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
24964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24967 (arg1
)->AppendSeparator();
24969 wxPyEndAllowThreads(__tstate
);
24970 if (PyErr_Occurred()) SWIG_fail
;
24972 Py_INCREF(Py_None
); resultobj
= Py_None
;
24979 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24980 PyObject
*resultobj
;
24981 wxMenu
*arg1
= (wxMenu
*) 0 ;
24983 wxString
*arg3
= 0 ;
24984 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24985 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24986 bool temp3
= False
;
24987 bool temp4
= False
;
24988 PyObject
* obj0
= 0 ;
24989 PyObject
* obj2
= 0 ;
24990 PyObject
* obj3
= 0 ;
24991 char *kwnames
[] = {
24992 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24998 arg3
= wxString_in_helper(obj2
);
24999 if (arg3
== NULL
) SWIG_fail
;
25004 arg4
= wxString_in_helper(obj3
);
25005 if (arg4
== NULL
) SWIG_fail
;
25010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25011 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 Py_INCREF(Py_None
); resultobj
= Py_None
;
25039 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25040 PyObject
*resultobj
;
25041 wxMenu
*arg1
= (wxMenu
*) 0 ;
25043 wxString
*arg3
= 0 ;
25044 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25045 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25046 bool temp3
= False
;
25047 bool temp4
= False
;
25048 PyObject
* obj0
= 0 ;
25049 PyObject
* obj2
= 0 ;
25050 PyObject
* obj3
= 0 ;
25051 char *kwnames
[] = {
25052 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25058 arg3
= wxString_in_helper(obj2
);
25059 if (arg3
== NULL
) SWIG_fail
;
25064 arg4
= wxString_in_helper(obj3
);
25065 if (arg4
== NULL
) SWIG_fail
;
25070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25071 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25073 wxPyEndAllowThreads(__tstate
);
25074 if (PyErr_Occurred()) SWIG_fail
;
25076 Py_INCREF(Py_None
); resultobj
= Py_None
;
25099 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25100 PyObject
*resultobj
;
25101 wxMenu
*arg1
= (wxMenu
*) 0 ;
25103 wxString
*arg3
= 0 ;
25104 wxMenu
*arg4
= (wxMenu
*) 0 ;
25105 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25106 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25107 bool temp3
= False
;
25108 bool temp5
= False
;
25109 PyObject
* obj0
= 0 ;
25110 PyObject
* obj2
= 0 ;
25111 PyObject
* obj3
= 0 ;
25112 PyObject
* obj4
= 0 ;
25113 char *kwnames
[] = {
25114 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25120 arg3
= wxString_in_helper(obj2
);
25121 if (arg3
== NULL
) SWIG_fail
;
25124 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25127 arg5
= wxString_in_helper(obj4
);
25128 if (arg5
== NULL
) SWIG_fail
;
25133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25134 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 Py_INCREF(Py_None
); resultobj
= Py_None
;
25162 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25163 PyObject
*resultobj
;
25164 wxMenu
*arg1
= (wxMenu
*) 0 ;
25165 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25166 PyObject
* obj0
= 0 ;
25167 PyObject
* obj1
= 0 ;
25168 char *kwnames
[] = {
25169 (char *) "self",(char *) "item", NULL
25172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25174 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 (arg1
)->Append(arg2
);
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 Py_INCREF(Py_None
); resultobj
= Py_None
;
25189 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
;
25191 wxMenu
*arg1
= (wxMenu
*) 0 ;
25192 PyObject
* obj0
= 0 ;
25193 char *kwnames
[] = {
25194 (char *) "self", NULL
25197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
25198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25203 wxPyEndAllowThreads(__tstate
);
25204 if (PyErr_Occurred()) SWIG_fail
;
25206 Py_INCREF(Py_None
); resultobj
= Py_None
;
25213 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25214 PyObject
*resultobj
;
25215 wxMenu
*arg1
= (wxMenu
*) 0 ;
25217 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
25219 PyObject
* obj0
= 0 ;
25220 PyObject
* obj1
= 0 ;
25221 PyObject
* obj2
= 0 ;
25222 char *kwnames
[] = {
25223 (char *) "self",(char *) "pos",(char *) "item", NULL
25226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25228 arg2
= (size_t) PyInt_AsLong(obj1
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25230 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25233 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
25235 wxPyEndAllowThreads(__tstate
);
25236 if (PyErr_Occurred()) SWIG_fail
;
25238 resultobj
= PyInt_FromLong((long)result
);
25245 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25246 PyObject
*resultobj
;
25247 wxMenu
*arg1
= (wxMenu
*) 0 ;
25250 wxString
*arg4
= 0 ;
25251 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25252 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25253 int arg6
= (int) wxITEM_NORMAL
;
25254 bool temp4
= False
;
25255 bool temp5
= False
;
25256 PyObject
* obj0
= 0 ;
25257 PyObject
* obj1
= 0 ;
25258 PyObject
* obj3
= 0 ;
25259 PyObject
* obj4
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
25265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25266 arg2
= (size_t) PyInt_AsLong(obj1
);
25267 if (PyErr_Occurred()) SWIG_fail
;
25269 arg4
= wxString_in_helper(obj3
);
25270 if (arg4
== NULL
) SWIG_fail
;
25275 arg5
= wxString_in_helper(obj4
);
25276 if (arg5
== NULL
) SWIG_fail
;
25281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25282 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
25284 wxPyEndAllowThreads(__tstate
);
25285 if (PyErr_Occurred()) SWIG_fail
;
25287 Py_INCREF(Py_None
); resultobj
= Py_None
;
25310 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25311 PyObject
*resultobj
;
25312 wxMenu
*arg1
= (wxMenu
*) 0 ;
25314 PyObject
* obj0
= 0 ;
25315 PyObject
* obj1
= 0 ;
25316 char *kwnames
[] = {
25317 (char *) "self",(char *) "pos", NULL
25320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
25321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25322 arg2
= (size_t) PyInt_AsLong(obj1
);
25323 if (PyErr_Occurred()) SWIG_fail
;
25325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25326 (arg1
)->InsertSeparator(arg2
);
25328 wxPyEndAllowThreads(__tstate
);
25329 if (PyErr_Occurred()) SWIG_fail
;
25331 Py_INCREF(Py_None
); resultobj
= Py_None
;
25338 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25339 PyObject
*resultobj
;
25340 wxMenu
*arg1
= (wxMenu
*) 0 ;
25343 wxString
*arg4
= 0 ;
25344 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25345 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25346 bool temp4
= False
;
25347 bool temp5
= False
;
25348 PyObject
* obj0
= 0 ;
25349 PyObject
* obj1
= 0 ;
25350 PyObject
* obj3
= 0 ;
25351 PyObject
* obj4
= 0 ;
25352 char *kwnames
[] = {
25353 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25358 arg2
= (size_t) PyInt_AsLong(obj1
);
25359 if (PyErr_Occurred()) SWIG_fail
;
25361 arg4
= wxString_in_helper(obj3
);
25362 if (arg4
== NULL
) SWIG_fail
;
25367 arg5
= wxString_in_helper(obj4
);
25368 if (arg5
== NULL
) SWIG_fail
;
25373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25374 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25376 wxPyEndAllowThreads(__tstate
);
25377 if (PyErr_Occurred()) SWIG_fail
;
25379 Py_INCREF(Py_None
); resultobj
= Py_None
;
25402 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25403 PyObject
*resultobj
;
25404 wxMenu
*arg1
= (wxMenu
*) 0 ;
25407 wxString
*arg4
= 0 ;
25408 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25409 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25410 bool temp4
= False
;
25411 bool temp5
= False
;
25412 PyObject
* obj0
= 0 ;
25413 PyObject
* obj1
= 0 ;
25414 PyObject
* obj3
= 0 ;
25415 PyObject
* obj4
= 0 ;
25416 char *kwnames
[] = {
25417 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25422 arg2
= (size_t) PyInt_AsLong(obj1
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 arg4
= wxString_in_helper(obj3
);
25426 if (arg4
== NULL
) SWIG_fail
;
25431 arg5
= wxString_in_helper(obj4
);
25432 if (arg5
== NULL
) SWIG_fail
;
25437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25440 wxPyEndAllowThreads(__tstate
);
25441 if (PyErr_Occurred()) SWIG_fail
;
25443 Py_INCREF(Py_None
); resultobj
= Py_None
;
25466 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25467 PyObject
*resultobj
;
25468 wxMenu
*arg1
= (wxMenu
*) 0 ;
25471 wxString
*arg4
= 0 ;
25472 wxMenu
*arg5
= (wxMenu
*) 0 ;
25473 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25474 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25475 bool temp4
= False
;
25476 bool temp6
= False
;
25477 PyObject
* obj0
= 0 ;
25478 PyObject
* obj1
= 0 ;
25479 PyObject
* obj3
= 0 ;
25480 PyObject
* obj4
= 0 ;
25481 PyObject
* obj5
= 0 ;
25482 char *kwnames
[] = {
25483 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25488 arg2
= (size_t) PyInt_AsLong(obj1
);
25489 if (PyErr_Occurred()) SWIG_fail
;
25491 arg4
= wxString_in_helper(obj3
);
25492 if (arg4
== NULL
) SWIG_fail
;
25495 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25498 arg6
= wxString_in_helper(obj5
);
25499 if (arg6
== NULL
) SWIG_fail
;
25504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25505 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25507 wxPyEndAllowThreads(__tstate
);
25508 if (PyErr_Occurred()) SWIG_fail
;
25510 Py_INCREF(Py_None
); resultobj
= Py_None
;
25533 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25534 PyObject
*resultobj
;
25535 wxMenu
*arg1
= (wxMenu
*) 0 ;
25536 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25537 PyObject
* obj0
= 0 ;
25538 PyObject
* obj1
= 0 ;
25539 char *kwnames
[] = {
25540 (char *) "self",(char *) "item", NULL
25543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25545 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 (arg1
)->Prepend(arg2
);
25550 wxPyEndAllowThreads(__tstate
);
25551 if (PyErr_Occurred()) SWIG_fail
;
25553 Py_INCREF(Py_None
); resultobj
= Py_None
;
25560 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25561 PyObject
*resultobj
;
25562 wxMenu
*arg1
= (wxMenu
*) 0 ;
25564 wxString
*arg3
= 0 ;
25565 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25566 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25567 int arg5
= (int) wxITEM_NORMAL
;
25568 bool temp3
= False
;
25569 bool temp4
= False
;
25570 PyObject
* obj0
= 0 ;
25571 PyObject
* obj2
= 0 ;
25572 PyObject
* obj3
= 0 ;
25573 char *kwnames
[] = {
25574 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25580 arg3
= wxString_in_helper(obj2
);
25581 if (arg3
== NULL
) SWIG_fail
;
25586 arg4
= wxString_in_helper(obj3
);
25587 if (arg4
== NULL
) SWIG_fail
;
25592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25593 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25595 wxPyEndAllowThreads(__tstate
);
25596 if (PyErr_Occurred()) SWIG_fail
;
25598 Py_INCREF(Py_None
); resultobj
= Py_None
;
25621 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25622 PyObject
*resultobj
;
25623 wxMenu
*arg1
= (wxMenu
*) 0 ;
25624 PyObject
* obj0
= 0 ;
25625 char *kwnames
[] = {
25626 (char *) "self", NULL
25629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25633 (arg1
)->PrependSeparator();
25635 wxPyEndAllowThreads(__tstate
);
25636 if (PyErr_Occurred()) SWIG_fail
;
25638 Py_INCREF(Py_None
); resultobj
= Py_None
;
25645 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25646 PyObject
*resultobj
;
25647 wxMenu
*arg1
= (wxMenu
*) 0 ;
25649 wxString
*arg3
= 0 ;
25650 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25651 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25652 bool temp3
= False
;
25653 bool temp4
= False
;
25654 PyObject
* obj0
= 0 ;
25655 PyObject
* obj2
= 0 ;
25656 PyObject
* obj3
= 0 ;
25657 char *kwnames
[] = {
25658 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25664 arg3
= wxString_in_helper(obj2
);
25665 if (arg3
== NULL
) SWIG_fail
;
25670 arg4
= wxString_in_helper(obj3
);
25671 if (arg4
== NULL
) SWIG_fail
;
25676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25677 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25679 wxPyEndAllowThreads(__tstate
);
25680 if (PyErr_Occurred()) SWIG_fail
;
25682 Py_INCREF(Py_None
); resultobj
= Py_None
;
25705 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25706 PyObject
*resultobj
;
25707 wxMenu
*arg1
= (wxMenu
*) 0 ;
25709 wxString
*arg3
= 0 ;
25710 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25711 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25712 bool temp3
= False
;
25713 bool temp4
= False
;
25714 PyObject
* obj0
= 0 ;
25715 PyObject
* obj2
= 0 ;
25716 PyObject
* obj3
= 0 ;
25717 char *kwnames
[] = {
25718 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25724 arg3
= wxString_in_helper(obj2
);
25725 if (arg3
== NULL
) SWIG_fail
;
25730 arg4
= wxString_in_helper(obj3
);
25731 if (arg4
== NULL
) SWIG_fail
;
25736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25737 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25739 wxPyEndAllowThreads(__tstate
);
25740 if (PyErr_Occurred()) SWIG_fail
;
25742 Py_INCREF(Py_None
); resultobj
= Py_None
;
25765 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25766 PyObject
*resultobj
;
25767 wxMenu
*arg1
= (wxMenu
*) 0 ;
25769 wxString
*arg3
= 0 ;
25770 wxMenu
*arg4
= (wxMenu
*) 0 ;
25771 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25772 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25773 bool temp3
= False
;
25774 bool temp5
= False
;
25775 PyObject
* obj0
= 0 ;
25776 PyObject
* obj2
= 0 ;
25777 PyObject
* obj3
= 0 ;
25778 PyObject
* obj4
= 0 ;
25779 char *kwnames
[] = {
25780 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25786 arg3
= wxString_in_helper(obj2
);
25787 if (arg3
== NULL
) SWIG_fail
;
25790 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25793 arg5
= wxString_in_helper(obj4
);
25794 if (arg5
== NULL
) SWIG_fail
;
25799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25800 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25802 wxPyEndAllowThreads(__tstate
);
25803 if (PyErr_Occurred()) SWIG_fail
;
25805 Py_INCREF(Py_None
); resultobj
= Py_None
;
25828 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25829 PyObject
*resultobj
;
25830 wxMenu
*arg1
= (wxMenu
*) 0 ;
25832 wxMenuItem
*result
;
25833 PyObject
* obj0
= 0 ;
25834 char *kwnames
[] = {
25835 (char *) "self",(char *) "itemid", NULL
25838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25842 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25844 wxPyEndAllowThreads(__tstate
);
25845 if (PyErr_Occurred()) SWIG_fail
;
25848 resultobj
= wxPyMake_wxObject(result
);
25856 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxMenu
*arg1
= (wxMenu
*) 0 ;
25859 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25860 wxMenuItem
*result
;
25861 PyObject
* obj0
= 0 ;
25862 PyObject
* obj1
= 0 ;
25863 char *kwnames
[] = {
25864 (char *) "self",(char *) "item", NULL
25867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25869 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25872 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25878 resultobj
= wxPyMake_wxObject(result
);
25886 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25887 PyObject
*resultobj
;
25888 wxMenu
*arg1
= (wxMenu
*) 0 ;
25891 PyObject
* obj0
= 0 ;
25892 char *kwnames
[] = {
25893 (char *) "self",(char *) "itemid", NULL
25896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
25897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25900 result
= (bool)(arg1
)->Delete(arg2
);
25902 wxPyEndAllowThreads(__tstate
);
25903 if (PyErr_Occurred()) SWIG_fail
;
25905 resultobj
= PyInt_FromLong((long)result
);
25912 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25913 PyObject
*resultobj
;
25914 wxMenu
*arg1
= (wxMenu
*) 0 ;
25915 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25917 PyObject
* obj0
= 0 ;
25918 PyObject
* obj1
= 0 ;
25919 char *kwnames
[] = {
25920 (char *) "self",(char *) "item", NULL
25923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25925 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25928 result
= (bool)(arg1
)->Delete(arg2
);
25930 wxPyEndAllowThreads(__tstate
);
25931 if (PyErr_Occurred()) SWIG_fail
;
25933 resultobj
= PyInt_FromLong((long)result
);
25940 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25941 PyObject
*resultobj
;
25942 wxMenu
*arg1
= (wxMenu
*) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 char *kwnames
[] = {
25945 (char *) "self", NULL
25948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
25949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25952 wxMenu_Destroy(arg1
);
25954 wxPyEndAllowThreads(__tstate
);
25955 if (PyErr_Occurred()) SWIG_fail
;
25957 Py_INCREF(Py_None
); resultobj
= Py_None
;
25964 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25965 PyObject
*resultobj
;
25966 wxMenu
*arg1
= (wxMenu
*) 0 ;
25969 PyObject
* obj0
= 0 ;
25970 char *kwnames
[] = {
25971 (char *) "self",(char *) "itemid", NULL
25974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
25975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25978 result
= (bool)(arg1
)->Destroy(arg2
);
25980 wxPyEndAllowThreads(__tstate
);
25981 if (PyErr_Occurred()) SWIG_fail
;
25983 resultobj
= PyInt_FromLong((long)result
);
25990 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25991 PyObject
*resultobj
;
25992 wxMenu
*arg1
= (wxMenu
*) 0 ;
25993 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25995 PyObject
* obj0
= 0 ;
25996 PyObject
* obj1
= 0 ;
25997 char *kwnames
[] = {
25998 (char *) "self",(char *) "item", NULL
26001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26003 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26006 result
= (bool)(arg1
)->Destroy(arg2
);
26008 wxPyEndAllowThreads(__tstate
);
26009 if (PyErr_Occurred()) SWIG_fail
;
26011 resultobj
= PyInt_FromLong((long)result
);
26018 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26019 PyObject
*resultobj
;
26020 wxMenu
*arg1
= (wxMenu
*) 0 ;
26022 PyObject
* obj0
= 0 ;
26023 char *kwnames
[] = {
26024 (char *) "self", NULL
26027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
26028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26031 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
26033 wxPyEndAllowThreads(__tstate
);
26034 if (PyErr_Occurred()) SWIG_fail
;
26036 resultobj
= PyInt_FromLong((long)result
);
26043 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26044 PyObject
*resultobj
;
26045 wxMenu
*arg1
= (wxMenu
*) 0 ;
26047 PyObject
* obj0
= 0 ;
26048 char *kwnames
[] = {
26049 (char *) "self", NULL
26052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
26053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26056 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
26058 wxPyEndAllowThreads(__tstate
);
26059 if (PyErr_Occurred()) SWIG_fail
;
26061 resultobj
= result
;
26068 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26069 PyObject
*resultobj
;
26070 wxMenu
*arg1
= (wxMenu
*) 0 ;
26071 wxString
*arg2
= 0 ;
26073 bool temp2
= False
;
26074 PyObject
* obj0
= 0 ;
26075 PyObject
* obj1
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self",(char *) "item", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26083 arg2
= wxString_in_helper(obj1
);
26084 if (arg2
== NULL
) SWIG_fail
;
26088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26089 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
26091 wxPyEndAllowThreads(__tstate
);
26092 if (PyErr_Occurred()) SWIG_fail
;
26094 resultobj
= PyInt_FromLong((long)result
);
26109 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26110 PyObject
*resultobj
;
26111 wxMenu
*arg1
= (wxMenu
*) 0 ;
26113 wxMenuItem
*result
;
26114 PyObject
* obj0
= 0 ;
26115 char *kwnames
[] = {
26116 (char *) "self",(char *) "itemid", NULL
26119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
26120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26123 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
26125 wxPyEndAllowThreads(__tstate
);
26126 if (PyErr_Occurred()) SWIG_fail
;
26129 resultobj
= wxPyMake_wxObject(result
);
26137 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26138 PyObject
*resultobj
;
26139 wxMenu
*arg1
= (wxMenu
*) 0 ;
26141 wxMenuItem
*result
;
26142 PyObject
* obj0
= 0 ;
26143 PyObject
* obj1
= 0 ;
26144 char *kwnames
[] = {
26145 (char *) "self",(char *) "position", NULL
26148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26150 arg2
= (size_t) PyInt_AsLong(obj1
);
26151 if (PyErr_Occurred()) SWIG_fail
;
26153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26154 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
26156 wxPyEndAllowThreads(__tstate
);
26157 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= wxPyMake_wxObject(result
);
26168 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26169 PyObject
*resultobj
;
26170 wxMenu
*arg1
= (wxMenu
*) 0 ;
26173 PyObject
* obj0
= 0 ;
26174 PyObject
* obj2
= 0 ;
26175 char *kwnames
[] = {
26176 (char *) "self",(char *) "itemid",(char *) "enable", NULL
26179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26181 arg3
= PyInt_AsLong(obj2
) ? true : false;
26182 if (PyErr_Occurred()) SWIG_fail
;
26184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26185 (arg1
)->Enable(arg2
,arg3
);
26187 wxPyEndAllowThreads(__tstate
);
26188 if (PyErr_Occurred()) SWIG_fail
;
26190 Py_INCREF(Py_None
); resultobj
= Py_None
;
26197 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26198 PyObject
*resultobj
;
26199 wxMenu
*arg1
= (wxMenu
*) 0 ;
26202 PyObject
* obj0
= 0 ;
26203 char *kwnames
[] = {
26204 (char *) "self",(char *) "itemid", NULL
26207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
26208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26211 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26216 resultobj
= PyInt_FromLong((long)result
);
26223 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26224 PyObject
*resultobj
;
26225 wxMenu
*arg1
= (wxMenu
*) 0 ;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj2
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "itemid",(char *) "check", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26236 arg3
= PyInt_AsLong(obj2
) ? true : false;
26237 if (PyErr_Occurred()) SWIG_fail
;
26239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26240 (arg1
)->Check(arg2
,arg3
);
26242 wxPyEndAllowThreads(__tstate
);
26243 if (PyErr_Occurred()) SWIG_fail
;
26245 Py_INCREF(Py_None
); resultobj
= Py_None
;
26252 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26253 PyObject
*resultobj
;
26254 wxMenu
*arg1
= (wxMenu
*) 0 ;
26257 PyObject
* obj0
= 0 ;
26258 char *kwnames
[] = {
26259 (char *) "self",(char *) "itemid", NULL
26262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
26263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
26268 wxPyEndAllowThreads(__tstate
);
26269 if (PyErr_Occurred()) SWIG_fail
;
26271 resultobj
= PyInt_FromLong((long)result
);
26278 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26279 PyObject
*resultobj
;
26280 wxMenu
*arg1
= (wxMenu
*) 0 ;
26282 wxString
*arg3
= 0 ;
26283 bool temp3
= False
;
26284 PyObject
* obj0
= 0 ;
26285 PyObject
* obj2
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self",(char *) "itemid",(char *) "label", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26293 arg3
= wxString_in_helper(obj2
);
26294 if (arg3
== NULL
) SWIG_fail
;
26298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26299 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
26301 wxPyEndAllowThreads(__tstate
);
26302 if (PyErr_Occurred()) SWIG_fail
;
26304 Py_INCREF(Py_None
); resultobj
= Py_None
;
26319 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26320 PyObject
*resultobj
;
26321 wxMenu
*arg1
= (wxMenu
*) 0 ;
26324 PyObject
* obj0
= 0 ;
26325 char *kwnames
[] = {
26326 (char *) "self",(char *) "itemid", NULL
26329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
26330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26340 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26342 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26351 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26352 PyObject
*resultobj
;
26353 wxMenu
*arg1
= (wxMenu
*) 0 ;
26355 wxString
*arg3
= 0 ;
26356 bool temp3
= False
;
26357 PyObject
* obj0
= 0 ;
26358 PyObject
* obj2
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26366 arg3
= wxString_in_helper(obj2
);
26367 if (arg3
== NULL
) SWIG_fail
;
26371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26372 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26374 wxPyEndAllowThreads(__tstate
);
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 Py_INCREF(Py_None
); resultobj
= Py_None
;
26392 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26393 PyObject
*resultobj
;
26394 wxMenu
*arg1
= (wxMenu
*) 0 ;
26397 PyObject
* obj0
= 0 ;
26398 char *kwnames
[] = {
26399 (char *) "self",(char *) "itemid", NULL
26402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26406 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26408 wxPyEndAllowThreads(__tstate
);
26409 if (PyErr_Occurred()) SWIG_fail
;
26413 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26415 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26424 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26425 PyObject
*resultobj
;
26426 wxMenu
*arg1
= (wxMenu
*) 0 ;
26427 wxString
*arg2
= 0 ;
26428 bool temp2
= False
;
26429 PyObject
* obj0
= 0 ;
26430 PyObject
* obj1
= 0 ;
26431 char *kwnames
[] = {
26432 (char *) "self",(char *) "title", NULL
26435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26438 arg2
= wxString_in_helper(obj1
);
26439 if (arg2
== NULL
) SWIG_fail
;
26443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26444 (arg1
)->SetTitle((wxString
const &)*arg2
);
26446 wxPyEndAllowThreads(__tstate
);
26447 if (PyErr_Occurred()) SWIG_fail
;
26449 Py_INCREF(Py_None
); resultobj
= Py_None
;
26464 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26465 PyObject
*resultobj
;
26466 wxMenu
*arg1
= (wxMenu
*) 0 ;
26468 PyObject
* obj0
= 0 ;
26469 char *kwnames
[] = {
26470 (char *) "self", NULL
26473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26477 result
= ((wxMenu
const *)arg1
)->GetTitle();
26479 wxPyEndAllowThreads(__tstate
);
26480 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26486 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26495 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26496 PyObject
*resultobj
;
26497 wxMenu
*arg1
= (wxMenu
*) 0 ;
26498 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 char *kwnames
[] = {
26502 (char *) "self",(char *) "handler", NULL
26505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 (arg1
)->SetEventHandler(arg2
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 Py_INCREF(Py_None
); resultobj
= Py_None
;
26522 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26523 PyObject
*resultobj
;
26524 wxMenu
*arg1
= (wxMenu
*) 0 ;
26525 wxEvtHandler
*result
;
26526 PyObject
* obj0
= 0 ;
26527 char *kwnames
[] = {
26528 (char *) "self", NULL
26531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26535 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= wxPyMake_wxObject(result
);
26549 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26550 PyObject
*resultobj
;
26551 wxMenu
*arg1
= (wxMenu
*) 0 ;
26552 wxWindow
*arg2
= (wxWindow
*) 0 ;
26553 PyObject
* obj0
= 0 ;
26554 PyObject
* obj1
= 0 ;
26555 char *kwnames
[] = {
26556 (char *) "self",(char *) "win", NULL
26559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26561 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26564 (arg1
)->SetInvokingWindow(arg2
);
26566 wxPyEndAllowThreads(__tstate
);
26567 if (PyErr_Occurred()) SWIG_fail
;
26569 Py_INCREF(Py_None
); resultobj
= Py_None
;
26576 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26577 PyObject
*resultobj
;
26578 wxMenu
*arg1
= (wxMenu
*) 0 ;
26580 PyObject
* obj0
= 0 ;
26581 char *kwnames
[] = {
26582 (char *) "self", NULL
26585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26595 resultobj
= wxPyMake_wxObject(result
);
26603 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26604 PyObject
*resultobj
;
26605 wxMenu
*arg1
= (wxMenu
*) 0 ;
26607 PyObject
* obj0
= 0 ;
26608 char *kwnames
[] = {
26609 (char *) "self", NULL
26612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26616 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26618 wxPyEndAllowThreads(__tstate
);
26619 if (PyErr_Occurred()) SWIG_fail
;
26621 resultobj
= PyInt_FromLong((long)result
);
26628 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxMenu
*arg1
= (wxMenu
*) 0 ;
26631 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "source", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26641 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26645 (arg1
)->UpdateUI(arg2
);
26647 wxPyEndAllowThreads(__tstate
);
26648 if (PyErr_Occurred()) SWIG_fail
;
26650 Py_INCREF(Py_None
); resultobj
= Py_None
;
26657 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26658 PyObject
*resultobj
;
26659 wxMenu
*arg1
= (wxMenu
*) 0 ;
26661 PyObject
* obj0
= 0 ;
26662 char *kwnames
[] = {
26663 (char *) "self", NULL
26666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26672 wxPyEndAllowThreads(__tstate
);
26673 if (PyErr_Occurred()) SWIG_fail
;
26676 resultobj
= wxPyMake_wxObject(result
);
26684 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26685 PyObject
*resultobj
;
26686 wxMenu
*arg1
= (wxMenu
*) 0 ;
26687 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26688 PyObject
* obj0
= 0 ;
26689 PyObject
* obj1
= 0 ;
26690 char *kwnames
[] = {
26691 (char *) "self",(char *) "menubar", NULL
26694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26696 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 (arg1
)->Attach(arg2
);
26701 wxPyEndAllowThreads(__tstate
);
26702 if (PyErr_Occurred()) SWIG_fail
;
26704 Py_INCREF(Py_None
); resultobj
= Py_None
;
26711 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26712 PyObject
*resultobj
;
26713 wxMenu
*arg1
= (wxMenu
*) 0 ;
26714 PyObject
* obj0
= 0 ;
26715 char *kwnames
[] = {
26716 (char *) "self", NULL
26719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26725 wxPyEndAllowThreads(__tstate
);
26726 if (PyErr_Occurred()) SWIG_fail
;
26728 Py_INCREF(Py_None
); resultobj
= Py_None
;
26735 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26736 PyObject
*resultobj
;
26737 wxMenu
*arg1
= (wxMenu
*) 0 ;
26739 PyObject
* obj0
= 0 ;
26740 char *kwnames
[] = {
26741 (char *) "self", NULL
26744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26748 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26750 wxPyEndAllowThreads(__tstate
);
26751 if (PyErr_Occurred()) SWIG_fail
;
26753 resultobj
= PyInt_FromLong((long)result
);
26760 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26761 PyObject
*resultobj
;
26762 wxMenu
*arg1
= (wxMenu
*) 0 ;
26763 wxMenu
*arg2
= (wxMenu
*) 0 ;
26764 PyObject
* obj0
= 0 ;
26765 PyObject
* obj1
= 0 ;
26766 char *kwnames
[] = {
26767 (char *) "self",(char *) "parent", NULL
26770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26772 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26775 (arg1
)->SetParent(arg2
);
26777 wxPyEndAllowThreads(__tstate
);
26778 if (PyErr_Occurred()) SWIG_fail
;
26780 Py_INCREF(Py_None
); resultobj
= Py_None
;
26787 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26788 PyObject
*resultobj
;
26789 wxMenu
*arg1
= (wxMenu
*) 0 ;
26791 PyObject
* obj0
= 0 ;
26792 char *kwnames
[] = {
26793 (char *) "self", NULL
26796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26800 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26802 wxPyEndAllowThreads(__tstate
);
26803 if (PyErr_Occurred()) SWIG_fail
;
26806 resultobj
= wxPyMake_wxObject(result
);
26814 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26816 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26817 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26819 return Py_BuildValue((char *)"");
26821 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26822 PyObject
*resultobj
;
26823 long arg1
= (long) 0 ;
26825 char *kwnames
[] = {
26826 (char *) "style", NULL
26829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26832 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26834 wxPyEndAllowThreads(__tstate
);
26835 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= wxPyMake_wxObject(result
);
26846 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26847 PyObject
*resultobj
;
26848 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26849 wxMenu
*arg2
= (wxMenu
*) 0 ;
26850 wxString
*arg3
= 0 ;
26852 bool temp3
= False
;
26853 PyObject
* obj0
= 0 ;
26854 PyObject
* obj1
= 0 ;
26855 PyObject
* obj2
= 0 ;
26856 char *kwnames
[] = {
26857 (char *) "self",(char *) "menu",(char *) "title", NULL
26860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26862 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26864 arg3
= wxString_in_helper(obj2
);
26865 if (arg3
== NULL
) SWIG_fail
;
26869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26870 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
26872 wxPyEndAllowThreads(__tstate
);
26873 if (PyErr_Occurred()) SWIG_fail
;
26875 resultobj
= PyInt_FromLong((long)result
);
26890 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26891 PyObject
*resultobj
;
26892 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26894 wxMenu
*arg3
= (wxMenu
*) 0 ;
26895 wxString
*arg4
= 0 ;
26897 bool temp4
= False
;
26898 PyObject
* obj0
= 0 ;
26899 PyObject
* obj1
= 0 ;
26900 PyObject
* obj2
= 0 ;
26901 PyObject
* obj3
= 0 ;
26902 char *kwnames
[] = {
26903 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26908 arg2
= (size_t) PyInt_AsLong(obj1
);
26909 if (PyErr_Occurred()) SWIG_fail
;
26910 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26912 arg4
= wxString_in_helper(obj3
);
26913 if (arg4
== NULL
) SWIG_fail
;
26917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26918 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
26920 wxPyEndAllowThreads(__tstate
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26923 resultobj
= PyInt_FromLong((long)result
);
26938 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
;
26940 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26942 PyObject
* obj0
= 0 ;
26943 char *kwnames
[] = {
26944 (char *) "self", NULL
26947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
26948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26951 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
26953 wxPyEndAllowThreads(__tstate
);
26954 if (PyErr_Occurred()) SWIG_fail
;
26956 resultobj
= PyInt_FromLong((long)result
);
26963 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26964 PyObject
*resultobj
;
26965 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26968 PyObject
* obj0
= 0 ;
26969 PyObject
* obj1
= 0 ;
26970 char *kwnames
[] = {
26971 (char *) "self",(char *) "pos", NULL
26974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26976 arg2
= (size_t) PyInt_AsLong(obj1
);
26977 if (PyErr_Occurred()) SWIG_fail
;
26979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26980 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
26982 wxPyEndAllowThreads(__tstate
);
26983 if (PyErr_Occurred()) SWIG_fail
;
26986 resultobj
= wxPyMake_wxObject(result
);
26994 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26995 PyObject
*resultobj
;
26996 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26998 wxMenu
*arg3
= (wxMenu
*) 0 ;
26999 wxString
*arg4
= 0 ;
27001 bool temp4
= False
;
27002 PyObject
* obj0
= 0 ;
27003 PyObject
* obj1
= 0 ;
27004 PyObject
* obj2
= 0 ;
27005 PyObject
* obj3
= 0 ;
27006 char *kwnames
[] = {
27007 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27012 arg2
= (size_t) PyInt_AsLong(obj1
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27014 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27016 arg4
= wxString_in_helper(obj3
);
27017 if (arg4
== NULL
) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= wxPyMake_wxObject(result
);
27044 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27045 PyObject
*resultobj
;
27046 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27049 PyObject
* obj0
= 0 ;
27050 PyObject
* obj1
= 0 ;
27051 char *kwnames
[] = {
27052 (char *) "self",(char *) "pos", NULL
27055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
27056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27057 arg2
= (size_t) PyInt_AsLong(obj1
);
27058 if (PyErr_Occurred()) SWIG_fail
;
27060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27061 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
27063 wxPyEndAllowThreads(__tstate
);
27064 if (PyErr_Occurred()) SWIG_fail
;
27067 resultobj
= wxPyMake_wxObject(result
);
27075 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27076 PyObject
*resultobj
;
27077 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27080 PyObject
* obj0
= 0 ;
27081 PyObject
* obj1
= 0 ;
27082 PyObject
* obj2
= 0 ;
27083 char *kwnames
[] = {
27084 (char *) "self",(char *) "pos",(char *) "enable", NULL
27087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27089 arg2
= (size_t) PyInt_AsLong(obj1
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27091 arg3
= PyInt_AsLong(obj2
) ? true : false;
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27095 (arg1
)->EnableTop(arg2
,arg3
);
27097 wxPyEndAllowThreads(__tstate
);
27098 if (PyErr_Occurred()) SWIG_fail
;
27100 Py_INCREF(Py_None
); resultobj
= Py_None
;
27107 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27108 PyObject
*resultobj
;
27109 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27112 PyObject
* obj0
= 0 ;
27113 PyObject
* obj1
= 0 ;
27114 char *kwnames
[] = {
27115 (char *) "self",(char *) "pos", NULL
27118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27120 arg2
= (size_t) PyInt_AsLong(obj1
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
27126 wxPyEndAllowThreads(__tstate
);
27127 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= PyInt_FromLong((long)result
);
27136 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27137 PyObject
*resultobj
;
27138 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27140 wxString
*arg3
= 0 ;
27141 bool temp3
= False
;
27142 PyObject
* obj0
= 0 ;
27143 PyObject
* obj1
= 0 ;
27144 PyObject
* obj2
= 0 ;
27145 char *kwnames
[] = {
27146 (char *) "self",(char *) "pos",(char *) "label", NULL
27149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27151 arg2
= (size_t) PyInt_AsLong(obj1
);
27152 if (PyErr_Occurred()) SWIG_fail
;
27154 arg3
= wxString_in_helper(obj2
);
27155 if (arg3
== NULL
) SWIG_fail
;
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27165 Py_INCREF(Py_None
); resultobj
= Py_None
;
27180 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27181 PyObject
*resultobj
;
27182 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27185 PyObject
* obj0
= 0 ;
27186 PyObject
* obj1
= 0 ;
27187 char *kwnames
[] = {
27188 (char *) "self",(char *) "pos", NULL
27191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27193 arg2
= (size_t) PyInt_AsLong(obj1
);
27194 if (PyErr_Occurred()) SWIG_fail
;
27196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27197 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
27199 wxPyEndAllowThreads(__tstate
);
27200 if (PyErr_Occurred()) SWIG_fail
;
27204 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27206 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27215 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27216 PyObject
*resultobj
;
27217 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27218 wxString
*arg2
= 0 ;
27219 wxString
*arg3
= 0 ;
27221 bool temp2
= False
;
27222 bool temp3
= False
;
27223 PyObject
* obj0
= 0 ;
27224 PyObject
* obj1
= 0 ;
27225 PyObject
* obj2
= 0 ;
27226 char *kwnames
[] = {
27227 (char *) "self",(char *) "menu",(char *) "item", NULL
27230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27233 arg2
= wxString_in_helper(obj1
);
27234 if (arg2
== NULL
) SWIG_fail
;
27238 arg3
= wxString_in_helper(obj2
);
27239 if (arg3
== NULL
) SWIG_fail
;
27243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27244 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
27246 wxPyEndAllowThreads(__tstate
);
27247 if (PyErr_Occurred()) SWIG_fail
;
27249 resultobj
= PyInt_FromLong((long)result
);
27272 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27273 PyObject
*resultobj
;
27274 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27276 wxMenuItem
*result
;
27277 PyObject
* obj0
= 0 ;
27278 char *kwnames
[] = {
27279 (char *) "self",(char *) "itemid", NULL
27282 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
27283 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27286 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
27288 wxPyEndAllowThreads(__tstate
);
27289 if (PyErr_Occurred()) SWIG_fail
;
27292 resultobj
= wxPyMake_wxObject(result
);
27300 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27301 PyObject
*resultobj
;
27302 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27303 wxString
*arg2
= 0 ;
27305 bool temp2
= False
;
27306 PyObject
* obj0
= 0 ;
27307 PyObject
* obj1
= 0 ;
27308 char *kwnames
[] = {
27309 (char *) "self",(char *) "title", NULL
27312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27315 arg2
= wxString_in_helper(obj1
);
27316 if (arg2
== NULL
) SWIG_fail
;
27320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27321 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
27323 wxPyEndAllowThreads(__tstate
);
27324 if (PyErr_Occurred()) SWIG_fail
;
27326 resultobj
= PyInt_FromLong((long)result
);
27341 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27342 PyObject
*resultobj
;
27343 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27346 PyObject
* obj0
= 0 ;
27347 PyObject
* obj2
= 0 ;
27348 char *kwnames
[] = {
27349 (char *) "self",(char *) "itemid",(char *) "enable", NULL
27352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27354 arg3
= PyInt_AsLong(obj2
) ? true : false;
27355 if (PyErr_Occurred()) SWIG_fail
;
27357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27358 (arg1
)->Enable(arg2
,arg3
);
27360 wxPyEndAllowThreads(__tstate
);
27361 if (PyErr_Occurred()) SWIG_fail
;
27363 Py_INCREF(Py_None
); resultobj
= Py_None
;
27370 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27371 PyObject
*resultobj
;
27372 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27375 PyObject
* obj0
= 0 ;
27376 PyObject
* obj2
= 0 ;
27377 char *kwnames
[] = {
27378 (char *) "self",(char *) "itemid",(char *) "check", NULL
27381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27383 arg3
= PyInt_AsLong(obj2
) ? true : false;
27384 if (PyErr_Occurred()) SWIG_fail
;
27386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27387 (arg1
)->Check(arg2
,arg3
);
27389 wxPyEndAllowThreads(__tstate
);
27390 if (PyErr_Occurred()) SWIG_fail
;
27392 Py_INCREF(Py_None
); resultobj
= Py_None
;
27399 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27400 PyObject
*resultobj
;
27401 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27404 PyObject
* obj0
= 0 ;
27405 char *kwnames
[] = {
27406 (char *) "self",(char *) "itemid", NULL
27409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27413 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27415 wxPyEndAllowThreads(__tstate
);
27416 if (PyErr_Occurred()) SWIG_fail
;
27418 resultobj
= PyInt_FromLong((long)result
);
27425 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27426 PyObject
*resultobj
;
27427 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27430 PyObject
* obj0
= 0 ;
27431 char *kwnames
[] = {
27432 (char *) "self",(char *) "itemid", NULL
27435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27439 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27441 wxPyEndAllowThreads(__tstate
);
27442 if (PyErr_Occurred()) SWIG_fail
;
27444 resultobj
= PyInt_FromLong((long)result
);
27451 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27452 PyObject
*resultobj
;
27453 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27455 wxString
*arg3
= 0 ;
27456 bool temp3
= False
;
27457 PyObject
* obj0
= 0 ;
27458 PyObject
* obj2
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self",(char *) "itemid",(char *) "label", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27466 arg3
= wxString_in_helper(obj2
);
27467 if (arg3
== NULL
) SWIG_fail
;
27471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27472 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27474 wxPyEndAllowThreads(__tstate
);
27475 if (PyErr_Occurred()) SWIG_fail
;
27477 Py_INCREF(Py_None
); resultobj
= Py_None
;
27492 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27493 PyObject
*resultobj
;
27494 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27497 PyObject
* obj0
= 0 ;
27498 char *kwnames
[] = {
27499 (char *) "self",(char *) "itemid", NULL
27502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27513 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27515 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27524 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27525 PyObject
*resultobj
;
27526 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27528 wxString
*arg3
= 0 ;
27529 bool temp3
= False
;
27530 PyObject
* obj0
= 0 ;
27531 PyObject
* obj2
= 0 ;
27532 char *kwnames
[] = {
27533 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27539 arg3
= wxString_in_helper(obj2
);
27540 if (arg3
== NULL
) SWIG_fail
;
27544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27545 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27547 wxPyEndAllowThreads(__tstate
);
27548 if (PyErr_Occurred()) SWIG_fail
;
27550 Py_INCREF(Py_None
); resultobj
= Py_None
;
27565 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27566 PyObject
*resultobj
;
27567 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27570 PyObject
* obj0
= 0 ;
27571 char *kwnames
[] = {
27572 (char *) "self",(char *) "itemid", NULL
27575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27581 wxPyEndAllowThreads(__tstate
);
27582 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27588 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27597 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27598 PyObject
*resultobj
;
27599 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27601 PyObject
* obj0
= 0 ;
27602 char *kwnames
[] = {
27603 (char *) "self", NULL
27606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27616 resultobj
= wxPyMake_wxObject(result
);
27624 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27625 PyObject
*resultobj
;
27626 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27628 PyObject
* obj0
= 0 ;
27629 char *kwnames
[] = {
27630 (char *) "self", NULL
27633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27637 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27639 wxPyEndAllowThreads(__tstate
);
27640 if (PyErr_Occurred()) SWIG_fail
;
27642 resultobj
= PyInt_FromLong((long)result
);
27649 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27650 PyObject
*resultobj
;
27651 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27652 wxFrame
*arg2
= (wxFrame
*) 0 ;
27653 PyObject
* obj0
= 0 ;
27654 PyObject
* obj1
= 0 ;
27655 char *kwnames
[] = {
27656 (char *) "self",(char *) "frame", NULL
27659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27660 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27661 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27664 (arg1
)->Attach(arg2
);
27666 wxPyEndAllowThreads(__tstate
);
27667 if (PyErr_Occurred()) SWIG_fail
;
27669 Py_INCREF(Py_None
); resultobj
= Py_None
;
27676 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27677 PyObject
*resultobj
;
27678 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27679 PyObject
* obj0
= 0 ;
27680 char *kwnames
[] = {
27681 (char *) "self", NULL
27684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27690 wxPyEndAllowThreads(__tstate
);
27691 if (PyErr_Occurred()) SWIG_fail
;
27693 Py_INCREF(Py_None
); resultobj
= Py_None
;
27700 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27702 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27703 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27705 return Py_BuildValue((char *)"");
27707 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27708 PyObject
*resultobj
;
27709 wxMenu
*arg1
= (wxMenu
*) NULL
;
27710 int arg2
= (int) wxID_SEPARATOR
;
27711 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27712 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27713 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27714 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27715 int arg5
= (int) wxITEM_NORMAL
;
27716 wxMenu
*arg6
= (wxMenu
*) NULL
;
27717 wxMenuItem
*result
;
27718 bool temp3
= False
;
27719 bool temp4
= False
;
27720 PyObject
* obj0
= 0 ;
27721 PyObject
* obj2
= 0 ;
27722 PyObject
* obj3
= 0 ;
27723 PyObject
* obj5
= 0 ;
27724 char *kwnames
[] = {
27725 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27734 arg3
= wxString_in_helper(obj2
);
27735 if (arg3
== NULL
) SWIG_fail
;
27741 arg4
= wxString_in_helper(obj3
);
27742 if (arg4
== NULL
) SWIG_fail
;
27747 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27751 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27753 wxPyEndAllowThreads(__tstate
);
27754 if (PyErr_Occurred()) SWIG_fail
;
27757 resultobj
= wxPyMake_wxObject(result
);
27781 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27782 PyObject
*resultobj
;
27783 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27785 PyObject
* obj0
= 0 ;
27786 char *kwnames
[] = {
27787 (char *) "self", NULL
27790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27794 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27796 wxPyEndAllowThreads(__tstate
);
27797 if (PyErr_Occurred()) SWIG_fail
;
27800 resultobj
= wxPyMake_wxObject(result
);
27808 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27809 PyObject
*resultobj
;
27810 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27811 wxMenu
*arg2
= (wxMenu
*) 0 ;
27812 PyObject
* obj0
= 0 ;
27813 PyObject
* obj1
= 0 ;
27814 char *kwnames
[] = {
27815 (char *) "self",(char *) "menu", NULL
27818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27820 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27822 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27823 (arg1
)->SetMenu(arg2
);
27825 wxPyEndAllowThreads(__tstate
);
27826 if (PyErr_Occurred()) SWIG_fail
;
27828 Py_INCREF(Py_None
); resultobj
= Py_None
;
27835 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27836 PyObject
*resultobj
;
27837 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27839 PyObject
* obj0
= 0 ;
27840 char *kwnames
[] = {
27841 (char *) "self",(char *) "itemid", NULL
27844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27848 (arg1
)->SetId(arg2
);
27850 wxPyEndAllowThreads(__tstate
);
27851 if (PyErr_Occurred()) SWIG_fail
;
27853 Py_INCREF(Py_None
); resultobj
= Py_None
;
27860 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
;
27862 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27864 PyObject
* obj0
= 0 ;
27865 char *kwnames
[] = {
27866 (char *) "self", NULL
27869 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
27870 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27873 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
27875 wxPyEndAllowThreads(__tstate
);
27876 if (PyErr_Occurred()) SWIG_fail
;
27878 resultobj
= PyInt_FromLong((long)result
);
27885 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27886 PyObject
*resultobj
;
27887 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27889 PyObject
* obj0
= 0 ;
27890 char *kwnames
[] = {
27891 (char *) "self", NULL
27894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
27895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27898 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
27900 wxPyEndAllowThreads(__tstate
);
27901 if (PyErr_Occurred()) SWIG_fail
;
27903 resultobj
= PyInt_FromLong((long)result
);
27910 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27911 PyObject
*resultobj
;
27912 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27913 wxString
*arg2
= 0 ;
27914 bool temp2
= False
;
27915 PyObject
* obj0
= 0 ;
27916 PyObject
* obj1
= 0 ;
27917 char *kwnames
[] = {
27918 (char *) "self",(char *) "str", NULL
27921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27924 arg2
= wxString_in_helper(obj1
);
27925 if (arg2
== NULL
) SWIG_fail
;
27929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27930 (arg1
)->SetText((wxString
const &)*arg2
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 Py_INCREF(Py_None
); resultobj
= Py_None
;
27950 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27951 PyObject
*resultobj
;
27952 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27954 PyObject
* obj0
= 0 ;
27955 char *kwnames
[] = {
27956 (char *) "self", NULL
27959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
27960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27963 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
27965 wxPyEndAllowThreads(__tstate
);
27966 if (PyErr_Occurred()) SWIG_fail
;
27970 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27972 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27981 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27982 PyObject
*resultobj
;
27983 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27985 PyObject
* obj0
= 0 ;
27986 char *kwnames
[] = {
27987 (char *) "self", NULL
27990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
27991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27995 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
27996 result
= (wxString
*) &_result_ref
;
27999 wxPyEndAllowThreads(__tstate
);
28000 if (PyErr_Occurred()) SWIG_fail
;
28002 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
28009 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28010 PyObject
*resultobj
;
28011 wxString
*arg1
= 0 ;
28013 bool temp1
= False
;
28014 PyObject
* obj0
= 0 ;
28015 char *kwnames
[] = {
28016 (char *) "text", NULL
28019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
28021 arg1
= wxString_in_helper(obj0
);
28022 if (arg1
== NULL
) SWIG_fail
;
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
28029 wxPyEndAllowThreads(__tstate
);
28030 if (PyErr_Occurred()) SWIG_fail
;
28034 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28036 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28053 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28054 PyObject
*resultobj
;
28055 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28057 PyObject
* obj0
= 0 ;
28058 char *kwnames
[] = {
28059 (char *) "self", NULL
28062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
28063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28066 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
28068 wxPyEndAllowThreads(__tstate
);
28069 if (PyErr_Occurred()) SWIG_fail
;
28071 resultobj
= PyInt_FromLong((long)result
);
28078 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28079 PyObject
*resultobj
;
28080 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28082 PyObject
* obj0
= 0 ;
28083 PyObject
* obj1
= 0 ;
28084 char *kwnames
[] = {
28085 (char *) "self",(char *) "checkable", NULL
28088 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
28089 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28090 arg2
= PyInt_AsLong(obj1
) ? true : false;
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28094 (arg1
)->SetCheckable(arg2
);
28096 wxPyEndAllowThreads(__tstate
);
28097 if (PyErr_Occurred()) SWIG_fail
;
28099 Py_INCREF(Py_None
); resultobj
= Py_None
;
28106 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28107 PyObject
*resultobj
;
28108 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28110 PyObject
* obj0
= 0 ;
28111 char *kwnames
[] = {
28112 (char *) "self", NULL
28115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
28116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
28121 wxPyEndAllowThreads(__tstate
);
28122 if (PyErr_Occurred()) SWIG_fail
;
28124 resultobj
= PyInt_FromLong((long)result
);
28131 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28132 PyObject
*resultobj
;
28133 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28135 PyObject
* obj0
= 0 ;
28136 char *kwnames
[] = {
28137 (char *) "self", NULL
28140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
28141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28144 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
28146 wxPyEndAllowThreads(__tstate
);
28147 if (PyErr_Occurred()) SWIG_fail
;
28149 resultobj
= PyInt_FromLong((long)result
);
28156 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28157 PyObject
*resultobj
;
28158 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28159 wxMenu
*arg2
= (wxMenu
*) 0 ;
28160 PyObject
* obj0
= 0 ;
28161 PyObject
* obj1
= 0 ;
28162 char *kwnames
[] = {
28163 (char *) "self",(char *) "menu", NULL
28166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
28167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28168 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 (arg1
)->SetSubMenu(arg2
);
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28176 Py_INCREF(Py_None
); resultobj
= Py_None
;
28183 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28184 PyObject
*resultobj
;
28185 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28187 PyObject
* obj0
= 0 ;
28188 char *kwnames
[] = {
28189 (char *) "self", NULL
28192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
28193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28196 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
28198 wxPyEndAllowThreads(__tstate
);
28199 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= wxPyMake_wxObject(result
);
28210 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28211 PyObject
*resultobj
;
28212 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28213 bool arg2
= (bool) True
;
28214 PyObject
* obj0
= 0 ;
28215 PyObject
* obj1
= 0 ;
28216 char *kwnames
[] = {
28217 (char *) "self",(char *) "enable", NULL
28220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
28221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28223 arg2
= PyInt_AsLong(obj1
) ? true : false;
28224 if (PyErr_Occurred()) SWIG_fail
;
28227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28228 (arg1
)->Enable(arg2
);
28230 wxPyEndAllowThreads(__tstate
);
28231 if (PyErr_Occurred()) SWIG_fail
;
28233 Py_INCREF(Py_None
); resultobj
= Py_None
;
28240 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28241 PyObject
*resultobj
;
28242 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28244 PyObject
* obj0
= 0 ;
28245 char *kwnames
[] = {
28246 (char *) "self", NULL
28249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
28250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28253 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
28255 wxPyEndAllowThreads(__tstate
);
28256 if (PyErr_Occurred()) SWIG_fail
;
28258 resultobj
= PyInt_FromLong((long)result
);
28265 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28266 PyObject
*resultobj
;
28267 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28268 bool arg2
= (bool) True
;
28269 PyObject
* obj0
= 0 ;
28270 PyObject
* obj1
= 0 ;
28271 char *kwnames
[] = {
28272 (char *) "self",(char *) "check", NULL
28275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
28276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28278 arg2
= PyInt_AsLong(obj1
) ? true : false;
28279 if (PyErr_Occurred()) SWIG_fail
;
28282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28283 (arg1
)->Check(arg2
);
28285 wxPyEndAllowThreads(__tstate
);
28286 if (PyErr_Occurred()) SWIG_fail
;
28288 Py_INCREF(Py_None
); resultobj
= Py_None
;
28295 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28296 PyObject
*resultobj
;
28297 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28299 PyObject
* obj0
= 0 ;
28300 char *kwnames
[] = {
28301 (char *) "self", NULL
28304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
28305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 resultobj
= PyInt_FromLong((long)result
);
28320 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28321 PyObject
*resultobj
;
28322 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28323 PyObject
* obj0
= 0 ;
28324 char *kwnames
[] = {
28325 (char *) "self", NULL
28328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
28329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28334 wxPyEndAllowThreads(__tstate
);
28335 if (PyErr_Occurred()) SWIG_fail
;
28337 Py_INCREF(Py_None
); resultobj
= Py_None
;
28344 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28345 PyObject
*resultobj
;
28346 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28347 wxString
*arg2
= 0 ;
28348 bool temp2
= False
;
28349 PyObject
* obj0
= 0 ;
28350 PyObject
* obj1
= 0 ;
28351 char *kwnames
[] = {
28352 (char *) "self",(char *) "str", NULL
28355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28358 arg2
= wxString_in_helper(obj1
);
28359 if (arg2
== NULL
) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28364 (arg1
)->SetHelp((wxString
const &)*arg2
);
28366 wxPyEndAllowThreads(__tstate
);
28367 if (PyErr_Occurred()) SWIG_fail
;
28369 Py_INCREF(Py_None
); resultobj
= Py_None
;
28384 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
;
28386 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28388 PyObject
* obj0
= 0 ;
28389 char *kwnames
[] = {
28390 (char *) "self", NULL
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28399 result
= (wxString
*) &_result_ref
;
28402 wxPyEndAllowThreads(__tstate
);
28403 if (PyErr_Occurred()) SWIG_fail
;
28405 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
28412 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28413 PyObject
*resultobj
;
28414 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28415 wxAcceleratorEntry
*result
;
28416 PyObject
* obj0
= 0 ;
28417 char *kwnames
[] = {
28418 (char *) "self", NULL
28421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28437 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28439 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28440 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28441 PyObject
* obj0
= 0 ;
28442 PyObject
* obj1
= 0 ;
28443 char *kwnames
[] = {
28444 (char *) "self",(char *) "accel", NULL
28447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 (arg1
)->SetAccel(arg2
);
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 Py_INCREF(Py_None
); resultobj
= Py_None
;
28464 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
;
28466 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28468 PyObject
* obj0
= 0 ;
28469 PyObject
* obj1
= 0 ;
28470 char *kwnames
[] = {
28471 (char *) "self",(char *) "font", NULL
28474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28477 if (arg2
== NULL
) {
28478 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28482 (arg1
)->SetFont((wxFont
const &)*arg2
);
28484 wxPyEndAllowThreads(__tstate
);
28485 if (PyErr_Occurred()) SWIG_fail
;
28487 Py_INCREF(Py_None
); resultobj
= Py_None
;
28494 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
;
28496 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28498 PyObject
* obj0
= 0 ;
28499 char *kwnames
[] = {
28500 (char *) "self", NULL
28503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
28504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28507 result
= (arg1
)->GetFont();
28509 wxPyEndAllowThreads(__tstate
);
28510 if (PyErr_Occurred()) SWIG_fail
;
28513 wxFont
* resultptr
;
28514 resultptr
= new wxFont((wxFont
&) result
);
28515 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
28523 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28524 PyObject
*resultobj
;
28525 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28526 wxColour
*arg2
= 0 ;
28528 PyObject
* obj0
= 0 ;
28529 PyObject
* obj1
= 0 ;
28530 char *kwnames
[] = {
28531 (char *) "self",(char *) "colText", NULL
28534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28538 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
28544 wxPyEndAllowThreads(__tstate
);
28545 if (PyErr_Occurred()) SWIG_fail
;
28547 Py_INCREF(Py_None
); resultobj
= Py_None
;
28554 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28555 PyObject
*resultobj
;
28556 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28558 PyObject
* obj0
= 0 ;
28559 char *kwnames
[] = {
28560 (char *) "self", NULL
28563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
28564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28567 result
= (arg1
)->GetTextColour();
28569 wxPyEndAllowThreads(__tstate
);
28570 if (PyErr_Occurred()) SWIG_fail
;
28573 wxColour
* resultptr
;
28574 resultptr
= new wxColour((wxColour
&) result
);
28575 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
28583 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28584 PyObject
*resultobj
;
28585 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28586 wxColour
*arg2
= 0 ;
28588 PyObject
* obj0
= 0 ;
28589 PyObject
* obj1
= 0 ;
28590 char *kwnames
[] = {
28591 (char *) "self",(char *) "colBack", NULL
28594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28598 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 Py_INCREF(Py_None
); resultobj
= Py_None
;
28614 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
;
28616 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28618 PyObject
* obj0
= 0 ;
28619 char *kwnames
[] = {
28620 (char *) "self", NULL
28623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
28624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28627 result
= (arg1
)->GetBackgroundColour();
28629 wxPyEndAllowThreads(__tstate
);
28630 if (PyErr_Occurred()) SWIG_fail
;
28633 wxColour
* resultptr
;
28634 resultptr
= new wxColour((wxColour
&) result
);
28635 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
28643 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28644 PyObject
*resultobj
;
28645 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28646 wxBitmap
*arg2
= 0 ;
28647 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
28648 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
28649 PyObject
* obj0
= 0 ;
28650 PyObject
* obj1
= 0 ;
28651 PyObject
* obj2
= 0 ;
28652 char *kwnames
[] = {
28653 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
28656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28658 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28659 if (arg2
== NULL
) {
28660 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28663 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28664 if (arg3
== NULL
) {
28665 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28670 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
28672 wxPyEndAllowThreads(__tstate
);
28673 if (PyErr_Occurred()) SWIG_fail
;
28675 Py_INCREF(Py_None
); resultobj
= Py_None
;
28682 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28683 PyObject
*resultobj
;
28684 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28685 wxBitmap
*arg2
= 0 ;
28686 PyObject
* obj0
= 0 ;
28687 PyObject
* obj1
= 0 ;
28688 char *kwnames
[] = {
28689 (char *) "self",(char *) "bmpDisabled", NULL
28692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28694 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28695 if (arg2
== NULL
) {
28696 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28700 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
28702 wxPyEndAllowThreads(__tstate
);
28703 if (PyErr_Occurred()) SWIG_fail
;
28705 Py_INCREF(Py_None
); resultobj
= Py_None
;
28712 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28713 PyObject
*resultobj
;
28714 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28716 PyObject
* obj0
= 0 ;
28717 char *kwnames
[] = {
28718 (char *) "self", NULL
28721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
28722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28726 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
28727 result
= (wxBitmap
*) &_result_ref
;
28730 wxPyEndAllowThreads(__tstate
);
28731 if (PyErr_Occurred()) SWIG_fail
;
28733 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28740 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28741 PyObject
*resultobj
;
28742 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28744 PyObject
* obj0
= 0 ;
28745 char *kwnames
[] = {
28746 (char *) "self",(char *) "nWidth", NULL
28749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetMarginWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
28750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28753 (arg1
)->SetMarginWidth(arg2
);
28755 wxPyEndAllowThreads(__tstate
);
28756 if (PyErr_Occurred()) SWIG_fail
;
28758 Py_INCREF(Py_None
); resultobj
= Py_None
;
28765 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28766 PyObject
*resultobj
;
28767 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28769 PyObject
* obj0
= 0 ;
28770 char *kwnames
[] = {
28771 (char *) "self", NULL
28774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
28775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28778 result
= (int)(arg1
)->GetMarginWidth();
28780 wxPyEndAllowThreads(__tstate
);
28781 if (PyErr_Occurred()) SWIG_fail
;
28783 resultobj
= PyInt_FromLong((long)result
);
28790 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28791 PyObject
*resultobj
;
28793 char *kwnames
[] = {
28797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28800 result
= (int)wxMenuItem::GetDefaultMarginWidth();
28802 wxPyEndAllowThreads(__tstate
);
28803 if (PyErr_Occurred()) SWIG_fail
;
28805 resultobj
= PyInt_FromLong((long)result
);
28812 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28813 PyObject
*resultobj
;
28814 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28816 PyObject
* obj0
= 0 ;
28817 char *kwnames
[] = {
28818 (char *) "self", NULL
28821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
28822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28825 result
= (bool)(arg1
)->IsOwnerDrawn();
28827 wxPyEndAllowThreads(__tstate
);
28828 if (PyErr_Occurred()) SWIG_fail
;
28830 resultobj
= PyInt_FromLong((long)result
);
28837 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28838 PyObject
*resultobj
;
28839 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28840 bool arg2
= (bool) True
;
28841 PyObject
* obj0
= 0 ;
28842 PyObject
* obj1
= 0 ;
28843 char *kwnames
[] = {
28844 (char *) "self",(char *) "ownerDrawn", NULL
28847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
28848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28850 arg2
= PyInt_AsLong(obj1
) ? true : false;
28851 if (PyErr_Occurred()) SWIG_fail
;
28854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28855 (arg1
)->SetOwnerDrawn(arg2
);
28857 wxPyEndAllowThreads(__tstate
);
28858 if (PyErr_Occurred()) SWIG_fail
;
28860 Py_INCREF(Py_None
); resultobj
= Py_None
;
28867 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28868 PyObject
*resultobj
;
28869 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28870 PyObject
* obj0
= 0 ;
28871 char *kwnames
[] = {
28872 (char *) "self", NULL
28875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
28876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28879 (arg1
)->ResetOwnerDrawn();
28881 wxPyEndAllowThreads(__tstate
);
28882 if (PyErr_Occurred()) SWIG_fail
;
28884 Py_INCREF(Py_None
); resultobj
= Py_None
;
28891 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28892 PyObject
*resultobj
;
28893 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28894 wxBitmap
*arg2
= 0 ;
28895 PyObject
* obj0
= 0 ;
28896 PyObject
* obj1
= 0 ;
28897 char *kwnames
[] = {
28898 (char *) "self",(char *) "bitmap", NULL
28901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28904 if (arg2
== NULL
) {
28905 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28909 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28911 wxPyEndAllowThreads(__tstate
);
28912 if (PyErr_Occurred()) SWIG_fail
;
28914 Py_INCREF(Py_None
); resultobj
= Py_None
;
28921 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28922 PyObject
*resultobj
;
28923 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28925 PyObject
* obj0
= 0 ;
28926 char *kwnames
[] = {
28927 (char *) "self", NULL
28930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
28931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
28936 result
= (wxBitmap
*) &_result_ref
;
28939 wxPyEndAllowThreads(__tstate
);
28940 if (PyErr_Occurred()) SWIG_fail
;
28942 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28949 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
28951 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28952 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
28954 return Py_BuildValue((char *)"");
28956 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28957 PyObject
*resultobj
;
28958 wxWindow
*arg1
= (wxWindow
*) 0 ;
28960 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28961 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28962 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28963 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28964 long arg5
= (long) 0 ;
28965 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28966 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28967 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28968 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28972 bool temp7
= False
;
28973 PyObject
* obj0
= 0 ;
28974 PyObject
* obj2
= 0 ;
28975 PyObject
* obj3
= 0 ;
28976 PyObject
* obj5
= 0 ;
28977 PyObject
* obj6
= 0 ;
28978 char *kwnames
[] = {
28979 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
28983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28987 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28993 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28997 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28998 if (arg6
== NULL
) {
28999 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29004 arg7
= wxString_in_helper(obj6
);
29005 if (arg7
== NULL
) SWIG_fail
;
29010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29011 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29013 wxPyEndAllowThreads(__tstate
);
29014 if (PyErr_Occurred()) SWIG_fail
;
29017 resultobj
= wxPyMake_wxObject(result
);
29033 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29034 PyObject
*resultobj
;
29036 char *kwnames
[] = {
29040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
29042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29043 result
= (wxControl
*)new wxControl();
29045 wxPyEndAllowThreads(__tstate
);
29046 if (PyErr_Occurred()) SWIG_fail
;
29049 resultobj
= wxPyMake_wxObject(result
);
29057 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
;
29059 wxControl
*arg1
= (wxControl
*) 0 ;
29060 wxWindow
*arg2
= (wxWindow
*) 0 ;
29062 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29063 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29064 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29065 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29066 long arg6
= (long) 0 ;
29067 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29068 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29069 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
29070 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29074 bool temp8
= False
;
29075 PyObject
* obj0
= 0 ;
29076 PyObject
* obj1
= 0 ;
29077 PyObject
* obj3
= 0 ;
29078 PyObject
* obj4
= 0 ;
29079 PyObject
* obj6
= 0 ;
29080 PyObject
* obj7
= 0 ;
29081 char *kwnames
[] = {
29082 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
29086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29087 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29091 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29097 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29101 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29102 if (arg7
== NULL
) {
29103 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29108 arg8
= wxString_in_helper(obj7
);
29109 if (arg8
== NULL
) SWIG_fail
;
29114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29115 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29117 wxPyEndAllowThreads(__tstate
);
29118 if (PyErr_Occurred()) SWIG_fail
;
29120 resultobj
= PyInt_FromLong((long)result
);
29135 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29136 PyObject
*resultobj
;
29137 wxControl
*arg1
= (wxControl
*) 0 ;
29138 wxCommandEvent
*arg2
= 0 ;
29139 PyObject
* obj0
= 0 ;
29140 PyObject
* obj1
= 0 ;
29141 char *kwnames
[] = {
29142 (char *) "self",(char *) "event", NULL
29145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
29146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29147 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29148 if (arg2
== NULL
) {
29149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29153 (arg1
)->Command(*arg2
);
29155 wxPyEndAllowThreads(__tstate
);
29156 if (PyErr_Occurred()) SWIG_fail
;
29158 Py_INCREF(Py_None
); resultobj
= Py_None
;
29165 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29166 PyObject
*resultobj
;
29167 wxControl
*arg1
= (wxControl
*) 0 ;
29169 PyObject
* obj0
= 0 ;
29170 char *kwnames
[] = {
29171 (char *) "self", NULL
29174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
29175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (arg1
)->GetLabel();
29180 wxPyEndAllowThreads(__tstate
);
29181 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29196 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29197 PyObject
*resultobj
;
29198 wxControl
*arg1
= (wxControl
*) 0 ;
29199 wxString
*arg2
= 0 ;
29200 bool temp2
= False
;
29201 PyObject
* obj0
= 0 ;
29202 PyObject
* obj1
= 0 ;
29203 char *kwnames
[] = {
29204 (char *) "self",(char *) "label", NULL
29207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29210 arg2
= wxString_in_helper(obj1
);
29211 if (arg2
== NULL
) SWIG_fail
;
29215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29216 (arg1
)->SetLabel((wxString
const &)*arg2
);
29218 wxPyEndAllowThreads(__tstate
);
29219 if (PyErr_Occurred()) SWIG_fail
;
29221 Py_INCREF(Py_None
); resultobj
= Py_None
;
29236 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
29238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29239 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
29241 return Py_BuildValue((char *)"");
29243 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29244 PyObject
*resultobj
;
29245 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29246 wxString
*arg2
= 0 ;
29247 PyObject
*arg3
= (PyObject
*) NULL
;
29249 bool temp2
= False
;
29250 PyObject
* obj0
= 0 ;
29251 PyObject
* obj1
= 0 ;
29252 PyObject
* obj2
= 0 ;
29253 char *kwnames
[] = {
29254 (char *) "self",(char *) "item",(char *) "clientData", NULL
29257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29260 arg2
= wxString_in_helper(obj1
);
29261 if (arg2
== NULL
) SWIG_fail
;
29268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29269 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
29271 wxPyEndAllowThreads(__tstate
);
29272 if (PyErr_Occurred()) SWIG_fail
;
29274 resultobj
= PyInt_FromLong((long)result
);
29289 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
;
29291 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29292 wxArrayString
*arg2
= 0 ;
29293 PyObject
* obj0
= 0 ;
29294 PyObject
* obj1
= 0 ;
29295 char *kwnames
[] = {
29296 (char *) "self",(char *) "strings", NULL
29299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
29300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29302 if (! PySequence_Check(obj1
)) {
29303 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
29306 arg2
= new wxArrayString
;
29307 int i
, len
=PySequence_Length(obj1
);
29308 for (i
=0; i
<len
; i
++) {
29309 PyObject
* item
= PySequence_GetItem(obj1
, i
);
29311 PyObject
* str
= PyObject_Unicode(item
);
29313 PyObject
* str
= PyObject_Str(item
);
29315 arg2
->Add(Py2wxString(str
));
29321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29322 (arg1
)->Append((wxArrayString
const &)*arg2
);
29324 wxPyEndAllowThreads(__tstate
);
29325 if (PyErr_Occurred()) SWIG_fail
;
29327 Py_INCREF(Py_None
); resultobj
= Py_None
;
29329 if (arg2
) delete arg2
;
29334 if (arg2
) delete arg2
;
29340 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29341 PyObject
*resultobj
;
29342 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29343 wxString
*arg2
= 0 ;
29345 PyObject
*arg4
= (PyObject
*) NULL
;
29347 bool temp2
= False
;
29348 PyObject
* obj0
= 0 ;
29349 PyObject
* obj1
= 0 ;
29350 PyObject
* obj3
= 0 ;
29351 char *kwnames
[] = {
29352 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
29356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29358 arg2
= wxString_in_helper(obj1
);
29359 if (arg2
== NULL
) SWIG_fail
;
29366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29367 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
29369 wxPyEndAllowThreads(__tstate
);
29370 if (PyErr_Occurred()) SWIG_fail
;
29372 resultobj
= PyInt_FromLong((long)result
);
29387 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29388 PyObject
*resultobj
;
29389 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29390 PyObject
* obj0
= 0 ;
29391 char *kwnames
[] = {
29392 (char *) "self", NULL
29395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
29396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29401 wxPyEndAllowThreads(__tstate
);
29402 if (PyErr_Occurred()) SWIG_fail
;
29404 Py_INCREF(Py_None
); resultobj
= Py_None
;
29411 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29412 PyObject
*resultobj
;
29413 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29415 PyObject
* obj0
= 0 ;
29416 char *kwnames
[] = {
29417 (char *) "self",(char *) "n", NULL
29420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
29421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29424 (arg1
)->Delete(arg2
);
29426 wxPyEndAllowThreads(__tstate
);
29427 if (PyErr_Occurred()) SWIG_fail
;
29429 Py_INCREF(Py_None
); resultobj
= Py_None
;
29436 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29437 PyObject
*resultobj
;
29438 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29440 PyObject
* obj0
= 0 ;
29441 char *kwnames
[] = {
29442 (char *) "self", NULL
29445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
29446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29449 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
29451 wxPyEndAllowThreads(__tstate
);
29452 if (PyErr_Occurred()) SWIG_fail
;
29454 resultobj
= PyInt_FromLong((long)result
);
29461 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29462 PyObject
*resultobj
;
29463 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29465 PyObject
* obj0
= 0 ;
29466 char *kwnames
[] = {
29467 (char *) "self", NULL
29470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
29471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29474 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
29476 wxPyEndAllowThreads(__tstate
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 resultobj
= PyInt_FromLong((long)result
);
29486 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
;
29488 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29491 PyObject
* obj0
= 0 ;
29492 char *kwnames
[] = {
29493 (char *) "self",(char *) "n", NULL
29496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
29497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29500 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
29502 wxPyEndAllowThreads(__tstate
);
29503 if (PyErr_Occurred()) SWIG_fail
;
29507 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29509 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29518 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29519 PyObject
*resultobj
;
29520 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29521 wxArrayString result
;
29522 PyObject
* obj0
= 0 ;
29523 char *kwnames
[] = {
29524 (char *) "self", NULL
29527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
29528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29531 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
29533 wxPyEndAllowThreads(__tstate
);
29534 if (PyErr_Occurred()) SWIG_fail
;
29537 resultobj
= wxArrayString2PyList_helper(result
);
29545 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29546 PyObject
*resultobj
;
29547 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29549 wxString
*arg3
= 0 ;
29550 bool temp3
= False
;
29551 PyObject
* obj0
= 0 ;
29552 PyObject
* obj2
= 0 ;
29553 char *kwnames
[] = {
29554 (char *) "self",(char *) "n",(char *) "s", NULL
29557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29560 arg3
= wxString_in_helper(obj2
);
29561 if (arg3
== NULL
) SWIG_fail
;
29565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29566 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
29568 wxPyEndAllowThreads(__tstate
);
29569 if (PyErr_Occurred()) SWIG_fail
;
29571 Py_INCREF(Py_None
); resultobj
= Py_None
;
29586 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29589 wxString
*arg2
= 0 ;
29591 bool temp2
= False
;
29592 PyObject
* obj0
= 0 ;
29593 PyObject
* obj1
= 0 ;
29594 char *kwnames
[] = {
29595 (char *) "self",(char *) "s", NULL
29598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
29599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29601 arg2
= wxString_in_helper(obj1
);
29602 if (arg2
== NULL
) SWIG_fail
;
29606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29607 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
29609 wxPyEndAllowThreads(__tstate
);
29610 if (PyErr_Occurred()) SWIG_fail
;
29612 resultobj
= PyInt_FromLong((long)result
);
29627 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
;
29629 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29631 PyObject
* obj0
= 0 ;
29632 char *kwnames
[] = {
29633 (char *) "self",(char *) "n", NULL
29636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
29637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29640 (arg1
)->Select(arg2
);
29642 wxPyEndAllowThreads(__tstate
);
29643 if (PyErr_Occurred()) SWIG_fail
;
29645 Py_INCREF(Py_None
); resultobj
= Py_None
;
29652 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29653 PyObject
*resultobj
;
29654 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29656 PyObject
* obj0
= 0 ;
29657 char *kwnames
[] = {
29658 (char *) "self", NULL
29661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
29662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
29667 wxPyEndAllowThreads(__tstate
);
29668 if (PyErr_Occurred()) SWIG_fail
;
29670 resultobj
= PyInt_FromLong((long)result
);
29677 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29678 PyObject
*resultobj
;
29679 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29681 PyObject
* obj0
= 0 ;
29682 char *kwnames
[] = {
29683 (char *) "self", NULL
29686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29690 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29692 wxPyEndAllowThreads(__tstate
);
29693 if (PyErr_Occurred()) SWIG_fail
;
29697 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29699 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29708 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
;
29710 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29713 PyObject
* obj0
= 0 ;
29714 char *kwnames
[] = {
29715 (char *) "self",(char *) "n", NULL
29718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29724 wxPyEndAllowThreads(__tstate
);
29725 if (PyErr_Occurred()) SWIG_fail
;
29727 resultobj
= result
;
29734 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29735 PyObject
*resultobj
;
29736 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29738 PyObject
*arg3
= (PyObject
*) 0 ;
29739 PyObject
* obj0
= 0 ;
29740 PyObject
* obj2
= 0 ;
29741 char *kwnames
[] = {
29742 (char *) "self",(char *) "n",(char *) "clientData", NULL
29745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29750 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29752 wxPyEndAllowThreads(__tstate
);
29753 if (PyErr_Occurred()) SWIG_fail
;
29755 Py_INCREF(Py_None
); resultobj
= Py_None
;
29762 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29764 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29765 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29767 return Py_BuildValue((char *)"");
29769 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29771 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29772 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29774 return Py_BuildValue((char *)"");
29776 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29777 PyObject
*resultobj
;
29778 wxSizerItem
*result
;
29779 char *kwnames
[] = {
29783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29786 result
= (wxSizerItem
*)new wxSizerItem();
29788 wxPyEndAllowThreads(__tstate
);
29789 if (PyErr_Occurred()) SWIG_fail
;
29791 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29798 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29799 PyObject
*resultobj
;
29805 wxObject
*arg6
= (wxObject
*) 0 ;
29806 wxSizerItem
*result
;
29807 PyObject
* obj5
= 0 ;
29808 char *kwnames
[] = {
29809 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29812 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29813 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29816 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29818 wxPyEndAllowThreads(__tstate
);
29819 if (PyErr_Occurred()) SWIG_fail
;
29821 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29828 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29829 PyObject
*resultobj
;
29830 wxWindow
*arg1
= (wxWindow
*) 0 ;
29834 wxObject
*arg5
= (wxObject
*) 0 ;
29835 wxSizerItem
*result
;
29836 PyObject
* obj0
= 0 ;
29837 PyObject
* obj4
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29844 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29847 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29849 wxPyEndAllowThreads(__tstate
);
29850 if (PyErr_Occurred()) SWIG_fail
;
29852 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29859 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29860 PyObject
*resultobj
;
29861 wxSizer
*arg1
= (wxSizer
*) 0 ;
29865 wxObject
*arg5
= (wxObject
*) 0 ;
29866 wxSizerItem
*result
;
29867 PyObject
* obj0
= 0 ;
29868 PyObject
* obj4
= 0 ;
29869 char *kwnames
[] = {
29870 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29875 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29878 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29880 wxPyEndAllowThreads(__tstate
);
29881 if (PyErr_Occurred()) SWIG_fail
;
29883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29890 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29891 PyObject
*resultobj
;
29892 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29893 PyObject
* obj0
= 0 ;
29894 char *kwnames
[] = {
29895 (char *) "self", NULL
29898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
29899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29902 (arg1
)->DeleteWindows();
29904 wxPyEndAllowThreads(__tstate
);
29905 if (PyErr_Occurred()) SWIG_fail
;
29907 Py_INCREF(Py_None
); resultobj
= Py_None
;
29914 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29915 PyObject
*resultobj
;
29916 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29917 PyObject
* obj0
= 0 ;
29918 char *kwnames
[] = {
29919 (char *) "self", NULL
29922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
29923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29926 (arg1
)->DetachSizer();
29928 wxPyEndAllowThreads(__tstate
);
29929 if (PyErr_Occurred()) SWIG_fail
;
29931 Py_INCREF(Py_None
); resultobj
= Py_None
;
29938 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29939 PyObject
*resultobj
;
29940 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29942 PyObject
* obj0
= 0 ;
29943 char *kwnames
[] = {
29944 (char *) "self", NULL
29947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
29948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29951 result
= (arg1
)->GetSize();
29953 wxPyEndAllowThreads(__tstate
);
29954 if (PyErr_Occurred()) SWIG_fail
;
29957 wxSize
* resultptr
;
29958 resultptr
= new wxSize((wxSize
&) result
);
29959 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29967 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29968 PyObject
*resultobj
;
29969 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29971 PyObject
* obj0
= 0 ;
29972 char *kwnames
[] = {
29973 (char *) "self", NULL
29976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
29977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29980 result
= (arg1
)->CalcMin();
29982 wxPyEndAllowThreads(__tstate
);
29983 if (PyErr_Occurred()) SWIG_fail
;
29986 wxSize
* resultptr
;
29987 resultptr
= new wxSize((wxSize
&) result
);
29988 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29996 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29997 PyObject
*resultobj
;
29998 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 PyObject
* obj2
= 0 ;
30006 char *kwnames
[] = {
30007 (char *) "self",(char *) "pos",(char *) "size", NULL
30010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30012 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30014 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30018 (arg1
)->SetDimension(arg2
,arg3
);
30020 wxPyEndAllowThreads(__tstate
);
30021 if (PyErr_Occurred()) SWIG_fail
;
30023 Py_INCREF(Py_None
); resultobj
= Py_None
;
30030 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30031 PyObject
*resultobj
;
30032 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30034 PyObject
* obj0
= 0 ;
30035 char *kwnames
[] = {
30036 (char *) "self", NULL
30039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
30040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30043 result
= (arg1
)->GetMinSize();
30045 wxPyEndAllowThreads(__tstate
);
30046 if (PyErr_Occurred()) SWIG_fail
;
30049 wxSize
* resultptr
;
30050 resultptr
= new wxSize((wxSize
&) result
);
30051 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30059 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30060 PyObject
*resultobj
;
30061 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30064 PyObject
* obj0
= 0 ;
30065 char *kwnames
[] = {
30066 (char *) "self",(char *) "x",(char *) "y", NULL
30069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
30070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30073 (arg1
)->SetInitSize(arg2
,arg3
);
30075 wxPyEndAllowThreads(__tstate
);
30076 if (PyErr_Occurred()) SWIG_fail
;
30078 Py_INCREF(Py_None
); resultobj
= Py_None
;
30085 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30086 PyObject
*resultobj
;
30087 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30090 PyObject
* obj0
= 0 ;
30091 char *kwnames
[] = {
30092 (char *) "self",(char *) "width",(char *) "height", NULL
30095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
30096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30099 (arg1
)->SetRatio(arg2
,arg3
);
30101 wxPyEndAllowThreads(__tstate
);
30102 if (PyErr_Occurred()) SWIG_fail
;
30104 Py_INCREF(Py_None
); resultobj
= Py_None
;
30111 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30112 PyObject
*resultobj
;
30113 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30116 PyObject
* obj0
= 0 ;
30117 PyObject
* obj1
= 0 ;
30118 char *kwnames
[] = {
30119 (char *) "self",(char *) "size", NULL
30122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30124 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30128 (arg1
)->SetRatio(arg2
);
30130 wxPyEndAllowThreads(__tstate
);
30131 if (PyErr_Occurred()) SWIG_fail
;
30133 Py_INCREF(Py_None
); resultobj
= Py_None
;
30140 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30141 PyObject
*resultobj
;
30142 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30144 PyObject
* obj0
= 0 ;
30145 char *kwnames
[] = {
30146 (char *) "self",(char *) "ratio", NULL
30149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
30150 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30153 (arg1
)->SetRatio(arg2
);
30155 wxPyEndAllowThreads(__tstate
);
30156 if (PyErr_Occurred()) SWIG_fail
;
30158 Py_INCREF(Py_None
); resultobj
= Py_None
;
30165 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30166 PyObject
*resultobj
;
30167 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30169 PyObject
* obj0
= 0 ;
30170 char *kwnames
[] = {
30171 (char *) "self", NULL
30174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
30175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30178 result
= (float)(arg1
)->GetRatio();
30180 wxPyEndAllowThreads(__tstate
);
30181 if (PyErr_Occurred()) SWIG_fail
;
30183 resultobj
= PyFloat_FromDouble(result
);
30190 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30191 PyObject
*resultobj
;
30192 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30194 PyObject
* obj0
= 0 ;
30195 char *kwnames
[] = {
30196 (char *) "self", NULL
30199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
30200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30203 result
= (bool)(arg1
)->IsWindow();
30205 wxPyEndAllowThreads(__tstate
);
30206 if (PyErr_Occurred()) SWIG_fail
;
30208 resultobj
= PyInt_FromLong((long)result
);
30215 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30216 PyObject
*resultobj
;
30217 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30219 PyObject
* obj0
= 0 ;
30220 char *kwnames
[] = {
30221 (char *) "self", NULL
30224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
30225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30228 result
= (bool)(arg1
)->IsSizer();
30230 wxPyEndAllowThreads(__tstate
);
30231 if (PyErr_Occurred()) SWIG_fail
;
30233 resultobj
= PyInt_FromLong((long)result
);
30240 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30241 PyObject
*resultobj
;
30242 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30244 PyObject
* obj0
= 0 ;
30245 char *kwnames
[] = {
30246 (char *) "self", NULL
30249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
30250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30253 result
= (bool)(arg1
)->IsSpacer();
30255 wxPyEndAllowThreads(__tstate
);
30256 if (PyErr_Occurred()) SWIG_fail
;
30258 resultobj
= PyInt_FromLong((long)result
);
30265 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30266 PyObject
*resultobj
;
30267 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30269 PyObject
* obj0
= 0 ;
30270 char *kwnames
[] = {
30271 (char *) "self",(char *) "proportion", NULL
30274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
30275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 (arg1
)->SetProportion(arg2
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 Py_INCREF(Py_None
); resultobj
= Py_None
;
30290 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30291 PyObject
*resultobj
;
30292 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30294 PyObject
* obj0
= 0 ;
30295 char *kwnames
[] = {
30296 (char *) "self", NULL
30299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
30300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 result
= (int)(arg1
)->GetProportion();
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 resultobj
= PyInt_FromLong((long)result
);
30315 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
;
30317 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30319 PyObject
* obj0
= 0 ;
30320 char *kwnames
[] = {
30321 (char *) "self",(char *) "flag", NULL
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
30325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 (arg1
)->SetFlag(arg2
);
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 Py_INCREF(Py_None
); resultobj
= Py_None
;
30340 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
;
30342 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30344 PyObject
* obj0
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
30350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (int)(arg1
)->GetFlag();
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= PyInt_FromLong((long)result
);
30365 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30369 PyObject
* obj0
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self",(char *) "border", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
30375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 (arg1
)->SetBorder(arg2
);
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 Py_INCREF(Py_None
); resultobj
= Py_None
;
30390 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 char *kwnames
[] = {
30396 (char *) "self", NULL
30399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
30400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= (int)(arg1
)->GetBorder();
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= PyInt_FromLong((long)result
);
30415 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
;
30417 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30419 PyObject
* obj0
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
30425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 result
= (wxWindow
*)(arg1
)->GetWindow();
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30434 resultobj
= wxPyMake_wxObject(result
);
30442 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30443 PyObject
*resultobj
;
30444 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30445 wxWindow
*arg2
= (wxWindow
*) 0 ;
30446 PyObject
* obj0
= 0 ;
30447 PyObject
* obj1
= 0 ;
30448 char *kwnames
[] = {
30449 (char *) "self",(char *) "window", NULL
30452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30454 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30457 (arg1
)->SetWindow(arg2
);
30459 wxPyEndAllowThreads(__tstate
);
30460 if (PyErr_Occurred()) SWIG_fail
;
30462 Py_INCREF(Py_None
); resultobj
= Py_None
;
30469 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30470 PyObject
*resultobj
;
30471 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30473 PyObject
* obj0
= 0 ;
30474 char *kwnames
[] = {
30475 (char *) "self", NULL
30478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
30479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30482 result
= (wxSizer
*)(arg1
)->GetSizer();
30484 wxPyEndAllowThreads(__tstate
);
30485 if (PyErr_Occurred()) SWIG_fail
;
30488 resultobj
= wxPyMake_wxSizer(result
);
30496 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30497 PyObject
*resultobj
;
30498 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30499 wxSizer
*arg2
= (wxSizer
*) 0 ;
30500 PyObject
* obj0
= 0 ;
30501 PyObject
* obj1
= 0 ;
30502 char *kwnames
[] = {
30503 (char *) "self",(char *) "sizer", NULL
30506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
30507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30508 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30511 (arg1
)->SetSizer(arg2
);
30513 wxPyEndAllowThreads(__tstate
);
30514 if (PyErr_Occurred()) SWIG_fail
;
30516 Py_INCREF(Py_None
); resultobj
= Py_None
;
30523 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30524 PyObject
*resultobj
;
30525 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30527 PyObject
* obj0
= 0 ;
30528 char *kwnames
[] = {
30529 (char *) "self", NULL
30532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
30533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30537 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
30538 result
= (wxSize
*) &_result_ref
;
30541 wxPyEndAllowThreads(__tstate
);
30542 if (PyErr_Occurred()) SWIG_fail
;
30544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
30551 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30552 PyObject
*resultobj
;
30553 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30556 PyObject
* obj0
= 0 ;
30557 PyObject
* obj1
= 0 ;
30558 char *kwnames
[] = {
30559 (char *) "self",(char *) "size", NULL
30562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
30563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30566 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30570 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
30572 wxPyEndAllowThreads(__tstate
);
30573 if (PyErr_Occurred()) SWIG_fail
;
30575 Py_INCREF(Py_None
); resultobj
= Py_None
;
30582 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30583 PyObject
*resultobj
;
30584 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30586 PyObject
* obj0
= 0 ;
30587 PyObject
* obj1
= 0 ;
30588 char *kwnames
[] = {
30589 (char *) "self",(char *) "show", NULL
30592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
30593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30594 arg2
= PyInt_AsLong(obj1
) ? true : false;
30595 if (PyErr_Occurred()) SWIG_fail
;
30597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30598 (arg1
)->Show(arg2
);
30600 wxPyEndAllowThreads(__tstate
);
30601 if (PyErr_Occurred()) SWIG_fail
;
30603 Py_INCREF(Py_None
); resultobj
= Py_None
;
30610 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30611 PyObject
*resultobj
;
30612 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30614 PyObject
* obj0
= 0 ;
30615 char *kwnames
[] = {
30616 (char *) "self", NULL
30619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
30620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30623 result
= (bool)(arg1
)->IsShown();
30625 wxPyEndAllowThreads(__tstate
);
30626 if (PyErr_Occurred()) SWIG_fail
;
30628 resultobj
= PyInt_FromLong((long)result
);
30635 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30636 PyObject
*resultobj
;
30637 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30639 PyObject
* obj0
= 0 ;
30640 char *kwnames
[] = {
30641 (char *) "self", NULL
30644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
30645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30648 result
= (arg1
)->GetPosition();
30650 wxPyEndAllowThreads(__tstate
);
30651 if (PyErr_Occurred()) SWIG_fail
;
30654 wxPoint
* resultptr
;
30655 resultptr
= new wxPoint((wxPoint
&) result
);
30656 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30664 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30665 PyObject
*resultobj
;
30666 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30668 PyObject
* obj0
= 0 ;
30669 char *kwnames
[] = {
30670 (char *) "self", NULL
30673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
30674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30677 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
30679 wxPyEndAllowThreads(__tstate
);
30680 if (PyErr_Occurred()) SWIG_fail
;
30682 resultobj
= result
;
30689 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30691 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30692 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30694 return Py_BuildValue((char *)"");
30696 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30697 PyObject
*resultobj
;
30698 wxSizer
*arg1
= (wxSizer
*) 0 ;
30699 PyObject
*arg2
= (PyObject
*) 0 ;
30700 PyObject
* obj0
= 0 ;
30701 PyObject
* obj1
= 0 ;
30702 char *kwnames
[] = {
30703 (char *) "self",(char *) "_self", NULL
30706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30711 wxSizer__setOORInfo(arg1
,arg2
);
30713 wxPyEndAllowThreads(__tstate
);
30714 if (PyErr_Occurred()) SWIG_fail
;
30716 Py_INCREF(Py_None
); resultobj
= Py_None
;
30723 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30724 PyObject
*resultobj
;
30725 wxSizer
*arg1
= (wxSizer
*) 0 ;
30726 PyObject
*arg2
= (PyObject
*) 0 ;
30727 int arg3
= (int) 0 ;
30728 int arg4
= (int) 0 ;
30729 int arg5
= (int) 0 ;
30730 PyObject
*arg6
= (PyObject
*) NULL
;
30731 PyObject
* obj0
= 0 ;
30732 PyObject
* obj1
= 0 ;
30733 PyObject
* obj5
= 0 ;
30734 char *kwnames
[] = {
30735 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30746 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30748 wxPyEndAllowThreads(__tstate
);
30749 if (PyErr_Occurred()) SWIG_fail
;
30751 Py_INCREF(Py_None
); resultobj
= Py_None
;
30758 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30759 PyObject
*resultobj
;
30760 wxSizer
*arg1
= (wxSizer
*) 0 ;
30762 PyObject
*arg3
= (PyObject
*) 0 ;
30763 int arg4
= (int) 0 ;
30764 int arg5
= (int) 0 ;
30765 int arg6
= (int) 0 ;
30766 PyObject
*arg7
= (PyObject
*) NULL
;
30767 PyObject
* obj0
= 0 ;
30768 PyObject
* obj2
= 0 ;
30769 PyObject
* obj6
= 0 ;
30770 char *kwnames
[] = {
30771 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30782 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30784 wxPyEndAllowThreads(__tstate
);
30785 if (PyErr_Occurred()) SWIG_fail
;
30787 Py_INCREF(Py_None
); resultobj
= Py_None
;
30794 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30795 PyObject
*resultobj
;
30796 wxSizer
*arg1
= (wxSizer
*) 0 ;
30797 PyObject
*arg2
= (PyObject
*) 0 ;
30798 int arg3
= (int) 0 ;
30799 int arg4
= (int) 0 ;
30800 int arg5
= (int) 0 ;
30801 PyObject
*arg6
= (PyObject
*) NULL
;
30802 PyObject
* obj0
= 0 ;
30803 PyObject
* obj1
= 0 ;
30804 PyObject
* obj5
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30817 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30819 wxPyEndAllowThreads(__tstate
);
30820 if (PyErr_Occurred()) SWIG_fail
;
30822 Py_INCREF(Py_None
); resultobj
= Py_None
;
30829 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30830 PyObject
*resultobj
;
30831 wxSizer
*arg1
= (wxSizer
*) 0 ;
30832 PyObject
*arg2
= (PyObject
*) 0 ;
30834 PyObject
* obj0
= 0 ;
30835 PyObject
* obj1
= 0 ;
30836 char *kwnames
[] = {
30837 (char *) "self",(char *) "item", NULL
30840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30845 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30847 wxPyEndAllowThreads(__tstate
);
30848 if (PyErr_Occurred()) SWIG_fail
;
30850 resultobj
= PyInt_FromLong((long)result
);
30857 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30858 PyObject
*resultobj
;
30859 wxSizer
*arg1
= (wxSizer
*) 0 ;
30860 PyObject
*arg2
= (PyObject
*) 0 ;
30863 PyObject
* obj0
= 0 ;
30864 PyObject
* obj1
= 0 ;
30865 PyObject
* obj2
= 0 ;
30866 char *kwnames
[] = {
30867 (char *) "self",(char *) "item",(char *) "size", NULL
30870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30875 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30879 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
30881 wxPyEndAllowThreads(__tstate
);
30882 if (PyErr_Occurred()) SWIG_fail
;
30884 Py_INCREF(Py_None
); resultobj
= Py_None
;
30891 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30892 PyObject
*resultobj
;
30893 wxSizer
*arg1
= (wxSizer
*) 0 ;
30894 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30895 PyObject
* obj0
= 0 ;
30896 PyObject
* obj1
= 0 ;
30897 char *kwnames
[] = {
30898 (char *) "self",(char *) "item", NULL
30901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30903 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30908 wxPyEndAllowThreads(__tstate
);
30909 if (PyErr_Occurred()) SWIG_fail
;
30911 Py_INCREF(Py_None
); resultobj
= Py_None
;
30918 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30919 PyObject
*resultobj
;
30920 wxSizer
*arg1
= (wxSizer
*) 0 ;
30922 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
30923 PyObject
* obj0
= 0 ;
30924 PyObject
* obj1
= 0 ;
30925 PyObject
* obj2
= 0 ;
30926 char *kwnames
[] = {
30927 (char *) "self",(char *) "index",(char *) "item", NULL
30930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30932 arg2
= (size_t) PyInt_AsLong(obj1
);
30933 if (PyErr_Occurred()) SWIG_fail
;
30934 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30937 (arg1
)->Insert(arg2
,arg3
);
30939 wxPyEndAllowThreads(__tstate
);
30940 if (PyErr_Occurred()) SWIG_fail
;
30942 Py_INCREF(Py_None
); resultobj
= Py_None
;
30949 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30950 PyObject
*resultobj
;
30951 wxSizer
*arg1
= (wxSizer
*) 0 ;
30952 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30953 PyObject
* obj0
= 0 ;
30954 PyObject
* obj1
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "self",(char *) "item", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30961 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30964 (arg1
)->Prepend(arg2
);
30966 wxPyEndAllowThreads(__tstate
);
30967 if (PyErr_Occurred()) SWIG_fail
;
30969 Py_INCREF(Py_None
); resultobj
= Py_None
;
30976 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30977 PyObject
*resultobj
;
30978 wxSizer
*arg1
= (wxSizer
*) 0 ;
30983 PyObject
* obj0
= 0 ;
30984 char *kwnames
[] = {
30985 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
30989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30992 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
30994 wxPyEndAllowThreads(__tstate
);
30995 if (PyErr_Occurred()) SWIG_fail
;
30997 Py_INCREF(Py_None
); resultobj
= Py_None
;
31004 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31005 PyObject
*resultobj
;
31006 wxSizer
*arg1
= (wxSizer
*) 0 ;
31009 PyObject
* obj0
= 0 ;
31010 PyObject
* obj1
= 0 ;
31011 char *kwnames
[] = {
31012 (char *) "self",(char *) "size", NULL
31015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
31016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31019 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31023 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31025 wxPyEndAllowThreads(__tstate
);
31026 if (PyErr_Occurred()) SWIG_fail
;
31028 Py_INCREF(Py_None
); resultobj
= Py_None
;
31035 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31036 PyObject
*resultobj
;
31037 wxSizer
*arg1
= (wxSizer
*) 0 ;
31039 PyObject
* obj0
= 0 ;
31040 char *kwnames
[] = {
31041 (char *) "self", NULL
31044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
31045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31048 result
= (arg1
)->GetSize();
31050 wxPyEndAllowThreads(__tstate
);
31051 if (PyErr_Occurred()) SWIG_fail
;
31054 wxSize
* resultptr
;
31055 resultptr
= new wxSize((wxSize
&) result
);
31056 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31064 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31065 PyObject
*resultobj
;
31066 wxSizer
*arg1
= (wxSizer
*) 0 ;
31068 PyObject
* obj0
= 0 ;
31069 char *kwnames
[] = {
31070 (char *) "self", NULL
31073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
31074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31077 result
= (arg1
)->GetPosition();
31079 wxPyEndAllowThreads(__tstate
);
31080 if (PyErr_Occurred()) SWIG_fail
;
31083 wxPoint
* resultptr
;
31084 resultptr
= new wxPoint((wxPoint
&) result
);
31085 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
31093 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31094 PyObject
*resultobj
;
31095 wxSizer
*arg1
= (wxSizer
*) 0 ;
31097 PyObject
* obj0
= 0 ;
31098 char *kwnames
[] = {
31099 (char *) "self", NULL
31102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
31103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31106 result
= (arg1
)->GetMinSize();
31108 wxPyEndAllowThreads(__tstate
);
31109 if (PyErr_Occurred()) SWIG_fail
;
31112 wxSize
* resultptr
;
31113 resultptr
= new wxSize((wxSize
&) result
);
31114 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31122 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31123 PyObject
*resultobj
;
31124 wxSizer
*arg1
= (wxSizer
*) 0 ;
31125 PyObject
* obj0
= 0 ;
31126 char *kwnames
[] = {
31127 (char *) "self", NULL
31130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31134 (arg1
)->RecalcSizes();
31136 wxPyEndAllowThreads(__tstate
);
31137 if (PyErr_Occurred()) SWIG_fail
;
31139 Py_INCREF(Py_None
); resultobj
= Py_None
;
31146 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31147 PyObject
*resultobj
;
31148 wxSizer
*arg1
= (wxSizer
*) 0 ;
31150 PyObject
* obj0
= 0 ;
31151 char *kwnames
[] = {
31152 (char *) "self", NULL
31155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31159 result
= (arg1
)->CalcMin();
31161 wxPyEndAllowThreads(__tstate
);
31162 if (PyErr_Occurred()) SWIG_fail
;
31165 wxSize
* resultptr
;
31166 resultptr
= new wxSize((wxSize
&) result
);
31167 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31175 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31176 PyObject
*resultobj
;
31177 wxSizer
*arg1
= (wxSizer
*) 0 ;
31178 PyObject
* obj0
= 0 ;
31179 char *kwnames
[] = {
31180 (char *) "self", NULL
31183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
31184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31189 wxPyEndAllowThreads(__tstate
);
31190 if (PyErr_Occurred()) SWIG_fail
;
31192 Py_INCREF(Py_None
); resultobj
= Py_None
;
31199 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31200 PyObject
*resultobj
;
31201 wxSizer
*arg1
= (wxSizer
*) 0 ;
31202 wxWindow
*arg2
= (wxWindow
*) 0 ;
31204 PyObject
* obj0
= 0 ;
31205 PyObject
* obj1
= 0 ;
31206 char *kwnames
[] = {
31207 (char *) "self",(char *) "window", NULL
31210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
31211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31212 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31215 result
= (arg1
)->Fit(arg2
);
31217 wxPyEndAllowThreads(__tstate
);
31218 if (PyErr_Occurred()) SWIG_fail
;
31221 wxSize
* resultptr
;
31222 resultptr
= new wxSize((wxSize
&) result
);
31223 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31231 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31232 PyObject
*resultobj
;
31233 wxSizer
*arg1
= (wxSizer
*) 0 ;
31234 wxWindow
*arg2
= (wxWindow
*) 0 ;
31235 PyObject
* obj0
= 0 ;
31236 PyObject
* obj1
= 0 ;
31237 char *kwnames
[] = {
31238 (char *) "self",(char *) "window", NULL
31241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
31242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31243 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31246 (arg1
)->FitInside(arg2
);
31248 wxPyEndAllowThreads(__tstate
);
31249 if (PyErr_Occurred()) SWIG_fail
;
31251 Py_INCREF(Py_None
); resultobj
= Py_None
;
31258 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31259 PyObject
*resultobj
;
31260 wxSizer
*arg1
= (wxSizer
*) 0 ;
31261 wxWindow
*arg2
= (wxWindow
*) 0 ;
31262 PyObject
* obj0
= 0 ;
31263 PyObject
* obj1
= 0 ;
31264 char *kwnames
[] = {
31265 (char *) "self",(char *) "window", NULL
31268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
31269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31270 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31273 (arg1
)->SetSizeHints(arg2
);
31275 wxPyEndAllowThreads(__tstate
);
31276 if (PyErr_Occurred()) SWIG_fail
;
31278 Py_INCREF(Py_None
); resultobj
= Py_None
;
31285 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31286 PyObject
*resultobj
;
31287 wxSizer
*arg1
= (wxSizer
*) 0 ;
31288 wxWindow
*arg2
= (wxWindow
*) 0 ;
31289 PyObject
* obj0
= 0 ;
31290 PyObject
* obj1
= 0 ;
31291 char *kwnames
[] = {
31292 (char *) "self",(char *) "window", NULL
31295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
31296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31297 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31300 (arg1
)->SetVirtualSizeHints(arg2
);
31302 wxPyEndAllowThreads(__tstate
);
31303 if (PyErr_Occurred()) SWIG_fail
;
31305 Py_INCREF(Py_None
); resultobj
= Py_None
;
31312 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31313 PyObject
*resultobj
;
31314 wxSizer
*arg1
= (wxSizer
*) 0 ;
31315 bool arg2
= (bool) False
;
31316 PyObject
* obj0
= 0 ;
31317 PyObject
* obj1
= 0 ;
31318 char *kwnames
[] = {
31319 (char *) "self",(char *) "delete_windows", NULL
31322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31325 arg2
= PyInt_AsLong(obj1
) ? true : false;
31326 if (PyErr_Occurred()) SWIG_fail
;
31329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31330 (arg1
)->Clear(arg2
);
31332 wxPyEndAllowThreads(__tstate
);
31333 if (PyErr_Occurred()) SWIG_fail
;
31335 Py_INCREF(Py_None
); resultobj
= Py_None
;
31342 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31343 PyObject
*resultobj
;
31344 wxSizer
*arg1
= (wxSizer
*) 0 ;
31345 PyObject
* obj0
= 0 ;
31346 char *kwnames
[] = {
31347 (char *) "self", NULL
31350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31354 (arg1
)->DeleteWindows();
31356 wxPyEndAllowThreads(__tstate
);
31357 if (PyErr_Occurred()) SWIG_fail
;
31359 Py_INCREF(Py_None
); resultobj
= Py_None
;
31366 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31367 PyObject
*resultobj
;
31368 wxSizer
*arg1
= (wxSizer
*) 0 ;
31370 PyObject
* obj0
= 0 ;
31371 char *kwnames
[] = {
31372 (char *) "self", NULL
31375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
31376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31379 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
31381 wxPyEndAllowThreads(__tstate
);
31382 if (PyErr_Occurred()) SWIG_fail
;
31384 resultobj
= result
;
31391 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31392 PyObject
*resultobj
;
31393 wxSizer
*arg1
= (wxSizer
*) 0 ;
31394 PyObject
*arg2
= (PyObject
*) 0 ;
31395 bool arg3
= (bool) True
;
31396 PyObject
* obj0
= 0 ;
31397 PyObject
* obj1
= 0 ;
31398 PyObject
* obj2
= 0 ;
31399 char *kwnames
[] = {
31400 (char *) "self",(char *) "item",(char *) "show", NULL
31403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31407 arg3
= PyInt_AsLong(obj2
) ? true : false;
31408 if (PyErr_Occurred()) SWIG_fail
;
31411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31412 wxSizer_Show(arg1
,arg2
,arg3
);
31414 wxPyEndAllowThreads(__tstate
);
31415 if (PyErr_Occurred()) SWIG_fail
;
31417 Py_INCREF(Py_None
); resultobj
= Py_None
;
31424 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31425 PyObject
*resultobj
;
31426 wxSizer
*arg1
= (wxSizer
*) 0 ;
31427 PyObject
*arg2
= (PyObject
*) 0 ;
31428 PyObject
* obj0
= 0 ;
31429 PyObject
* obj1
= 0 ;
31430 char *kwnames
[] = {
31431 (char *) "self",(char *) "item", NULL
31434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
31435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31439 wxSizer_Hide(arg1
,arg2
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 Py_INCREF(Py_None
); resultobj
= Py_None
;
31451 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31452 PyObject
*resultobj
;
31453 wxSizer
*arg1
= (wxSizer
*) 0 ;
31454 PyObject
*arg2
= (PyObject
*) 0 ;
31456 PyObject
* obj0
= 0 ;
31457 PyObject
* obj1
= 0 ;
31458 char *kwnames
[] = {
31459 (char *) "self",(char *) "item", NULL
31462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
31463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31467 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
31469 wxPyEndAllowThreads(__tstate
);
31470 if (PyErr_Occurred()) SWIG_fail
;
31472 resultobj
= PyInt_FromLong((long)result
);
31479 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31480 PyObject
*resultobj
;
31481 wxSizer
*arg1
= (wxSizer
*) 0 ;
31483 PyObject
* obj0
= 0 ;
31484 PyObject
* obj1
= 0 ;
31485 char *kwnames
[] = {
31486 (char *) "self",(char *) "show", NULL
31489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31491 arg2
= PyInt_AsLong(obj1
) ? true : false;
31492 if (PyErr_Occurred()) SWIG_fail
;
31494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31495 (arg1
)->ShowItems(arg2
);
31497 wxPyEndAllowThreads(__tstate
);
31498 if (PyErr_Occurred()) SWIG_fail
;
31500 Py_INCREF(Py_None
); resultobj
= Py_None
;
31507 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
31509 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31510 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
31512 return Py_BuildValue((char *)"");
31514 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31515 PyObject
*resultobj
;
31517 char *kwnames
[] = {
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
31523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31524 result
= (wxPySizer
*)new wxPySizer();
31526 wxPyEndAllowThreads(__tstate
);
31527 if (PyErr_Occurred()) SWIG_fail
;
31529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
31536 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31537 PyObject
*resultobj
;
31538 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
31539 PyObject
*arg2
= (PyObject
*) 0 ;
31540 PyObject
*arg3
= (PyObject
*) 0 ;
31541 PyObject
* obj0
= 0 ;
31542 PyObject
* obj1
= 0 ;
31543 PyObject
* obj2
= 0 ;
31544 char *kwnames
[] = {
31545 (char *) "self",(char *) "self",(char *) "_class", NULL
31548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31559 Py_INCREF(Py_None
); resultobj
= Py_None
;
31566 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
31568 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31569 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
31571 return Py_BuildValue((char *)"");
31573 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31574 PyObject
*resultobj
;
31575 int arg1
= (int) wxHORIZONTAL
;
31576 wxBoxSizer
*result
;
31577 char *kwnames
[] = {
31578 (char *) "orient", NULL
31581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
31586 wxPyEndAllowThreads(__tstate
);
31587 if (PyErr_Occurred()) SWIG_fail
;
31589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
31596 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31597 PyObject
*resultobj
;
31598 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31600 PyObject
* obj0
= 0 ;
31601 char *kwnames
[] = {
31602 (char *) "self", NULL
31605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
31606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31609 result
= (int)(arg1
)->GetOrientation();
31611 wxPyEndAllowThreads(__tstate
);
31612 if (PyErr_Occurred()) SWIG_fail
;
31614 resultobj
= PyInt_FromLong((long)result
);
31621 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31622 PyObject
*resultobj
;
31623 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31625 PyObject
* obj0
= 0 ;
31626 char *kwnames
[] = {
31627 (char *) "self",(char *) "orient", NULL
31630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
31631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31634 (arg1
)->SetOrientation(arg2
);
31636 wxPyEndAllowThreads(__tstate
);
31637 if (PyErr_Occurred()) SWIG_fail
;
31639 Py_INCREF(Py_None
); resultobj
= Py_None
;
31646 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31647 PyObject
*resultobj
;
31648 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31649 PyObject
* obj0
= 0 ;
31650 char *kwnames
[] = {
31651 (char *) "self", NULL
31654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31658 (arg1
)->RecalcSizes();
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31663 Py_INCREF(Py_None
); resultobj
= Py_None
;
31670 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
;
31672 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31674 PyObject
* obj0
= 0 ;
31675 char *kwnames
[] = {
31676 (char *) "self", NULL
31679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31683 result
= (arg1
)->CalcMin();
31685 wxPyEndAllowThreads(__tstate
);
31686 if (PyErr_Occurred()) SWIG_fail
;
31689 wxSize
* resultptr
;
31690 resultptr
= new wxSize((wxSize
&) result
);
31691 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31699 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31702 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31704 return Py_BuildValue((char *)"");
31706 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31707 PyObject
*resultobj
;
31708 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31709 int arg2
= (int) wxHORIZONTAL
;
31710 wxStaticBoxSizer
*result
;
31711 PyObject
* obj0
= 0 ;
31712 char *kwnames
[] = {
31713 (char *) "box",(char *) "orient", NULL
31716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31720 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31722 wxPyEndAllowThreads(__tstate
);
31723 if (PyErr_Occurred()) SWIG_fail
;
31725 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31732 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31733 PyObject
*resultobj
;
31734 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31735 wxStaticBox
*result
;
31736 PyObject
* obj0
= 0 ;
31737 char *kwnames
[] = {
31738 (char *) "self", NULL
31741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31745 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31747 wxPyEndAllowThreads(__tstate
);
31748 if (PyErr_Occurred()) SWIG_fail
;
31751 resultobj
= wxPyMake_wxObject(result
);
31759 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31760 PyObject
*resultobj
;
31761 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31762 PyObject
* obj0
= 0 ;
31763 char *kwnames
[] = {
31764 (char *) "self", NULL
31767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31771 (arg1
)->RecalcSizes();
31773 wxPyEndAllowThreads(__tstate
);
31774 if (PyErr_Occurred()) SWIG_fail
;
31776 Py_INCREF(Py_None
); resultobj
= Py_None
;
31783 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31784 PyObject
*resultobj
;
31785 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31787 PyObject
* obj0
= 0 ;
31788 char *kwnames
[] = {
31789 (char *) "self", NULL
31792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31796 result
= (arg1
)->CalcMin();
31798 wxPyEndAllowThreads(__tstate
);
31799 if (PyErr_Occurred()) SWIG_fail
;
31802 wxSize
* resultptr
;
31803 resultptr
= new wxSize((wxSize
&) result
);
31804 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31812 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31814 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31815 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31817 return Py_BuildValue((char *)"");
31819 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31820 PyObject
*resultobj
;
31821 int arg1
= (int) 1 ;
31822 int arg2
= (int) 0 ;
31823 int arg3
= (int) 0 ;
31824 int arg4
= (int) 0 ;
31825 wxGridSizer
*result
;
31826 char *kwnames
[] = {
31827 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31838 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31845 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31846 PyObject
*resultobj
;
31847 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31848 PyObject
* obj0
= 0 ;
31849 char *kwnames
[] = {
31850 (char *) "self", NULL
31853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31857 (arg1
)->RecalcSizes();
31859 wxPyEndAllowThreads(__tstate
);
31860 if (PyErr_Occurred()) SWIG_fail
;
31862 Py_INCREF(Py_None
); resultobj
= Py_None
;
31869 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31870 PyObject
*resultobj
;
31871 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31873 PyObject
* obj0
= 0 ;
31874 char *kwnames
[] = {
31875 (char *) "self", NULL
31878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31882 result
= (arg1
)->CalcMin();
31884 wxPyEndAllowThreads(__tstate
);
31885 if (PyErr_Occurred()) SWIG_fail
;
31888 wxSize
* resultptr
;
31889 resultptr
= new wxSize((wxSize
&) result
);
31890 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31898 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31899 PyObject
*resultobj
;
31900 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31902 PyObject
* obj0
= 0 ;
31903 char *kwnames
[] = {
31904 (char *) "self",(char *) "cols", NULL
31907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
31908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31911 (arg1
)->SetCols(arg2
);
31913 wxPyEndAllowThreads(__tstate
);
31914 if (PyErr_Occurred()) SWIG_fail
;
31916 Py_INCREF(Py_None
); resultobj
= Py_None
;
31923 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31924 PyObject
*resultobj
;
31925 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31927 PyObject
* obj0
= 0 ;
31928 char *kwnames
[] = {
31929 (char *) "self",(char *) "rows", NULL
31932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
31933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31936 (arg1
)->SetRows(arg2
);
31938 wxPyEndAllowThreads(__tstate
);
31939 if (PyErr_Occurred()) SWIG_fail
;
31941 Py_INCREF(Py_None
); resultobj
= Py_None
;
31948 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31949 PyObject
*resultobj
;
31950 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31952 PyObject
* obj0
= 0 ;
31953 char *kwnames
[] = {
31954 (char *) "self",(char *) "gap", NULL
31957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31961 (arg1
)->SetVGap(arg2
);
31963 wxPyEndAllowThreads(__tstate
);
31964 if (PyErr_Occurred()) SWIG_fail
;
31966 Py_INCREF(Py_None
); resultobj
= Py_None
;
31973 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
;
31975 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31977 PyObject
* obj0
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self",(char *) "gap", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31986 (arg1
)->SetHGap(arg2
);
31988 wxPyEndAllowThreads(__tstate
);
31989 if (PyErr_Occurred()) SWIG_fail
;
31991 Py_INCREF(Py_None
); resultobj
= Py_None
;
31998 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31999 PyObject
*resultobj
;
32000 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32002 PyObject
* obj0
= 0 ;
32003 char *kwnames
[] = {
32004 (char *) "self", NULL
32007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
32008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32011 result
= (int)(arg1
)->GetCols();
32013 wxPyEndAllowThreads(__tstate
);
32014 if (PyErr_Occurred()) SWIG_fail
;
32016 resultobj
= PyInt_FromLong((long)result
);
32023 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32024 PyObject
*resultobj
;
32025 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32027 PyObject
* obj0
= 0 ;
32028 char *kwnames
[] = {
32029 (char *) "self", NULL
32032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
32033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32036 result
= (int)(arg1
)->GetRows();
32038 wxPyEndAllowThreads(__tstate
);
32039 if (PyErr_Occurred()) SWIG_fail
;
32041 resultobj
= PyInt_FromLong((long)result
);
32048 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
32058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 result
= (int)(arg1
)->GetVGap();
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32066 resultobj
= PyInt_FromLong((long)result
);
32073 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
;
32075 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32077 PyObject
* obj0
= 0 ;
32078 char *kwnames
[] = {
32079 (char *) "self", NULL
32082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
32083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 result
= (int)(arg1
)->GetHGap();
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32091 resultobj
= PyInt_FromLong((long)result
);
32098 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32100 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32101 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
32103 return Py_BuildValue((char *)"");
32105 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32106 PyObject
*resultobj
;
32107 int arg1
= (int) 1 ;
32108 int arg2
= (int) 0 ;
32109 int arg3
= (int) 0 ;
32110 int arg4
= (int) 0 ;
32111 wxFlexGridSizer
*result
;
32112 char *kwnames
[] = {
32113 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
32116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
32118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32119 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
32121 wxPyEndAllowThreads(__tstate
);
32122 if (PyErr_Occurred()) SWIG_fail
;
32124 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
32131 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32132 PyObject
*resultobj
;
32133 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32134 PyObject
* obj0
= 0 ;
32135 char *kwnames
[] = {
32136 (char *) "self", NULL
32139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
32140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32143 (arg1
)->RecalcSizes();
32145 wxPyEndAllowThreads(__tstate
);
32146 if (PyErr_Occurred()) SWIG_fail
;
32148 Py_INCREF(Py_None
); resultobj
= Py_None
;
32155 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32156 PyObject
*resultobj
;
32157 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32159 PyObject
* obj0
= 0 ;
32160 char *kwnames
[] = {
32161 (char *) "self", NULL
32164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
32165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32168 result
= (arg1
)->CalcMin();
32170 wxPyEndAllowThreads(__tstate
);
32171 if (PyErr_Occurred()) SWIG_fail
;
32174 wxSize
* resultptr
;
32175 resultptr
= new wxSize((wxSize
&) result
);
32176 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32184 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32185 PyObject
*resultobj
;
32186 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32188 int arg3
= (int) 0 ;
32189 PyObject
* obj0
= 0 ;
32190 PyObject
* obj1
= 0 ;
32191 char *kwnames
[] = {
32192 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
32196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32197 arg2
= (size_t) PyInt_AsLong(obj1
);
32198 if (PyErr_Occurred()) SWIG_fail
;
32200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32201 (arg1
)->AddGrowableRow(arg2
,arg3
);
32203 wxPyEndAllowThreads(__tstate
);
32204 if (PyErr_Occurred()) SWIG_fail
;
32206 Py_INCREF(Py_None
); resultobj
= Py_None
;
32213 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32214 PyObject
*resultobj
;
32215 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32217 PyObject
* obj0
= 0 ;
32218 PyObject
* obj1
= 0 ;
32219 char *kwnames
[] = {
32220 (char *) "self",(char *) "idx", NULL
32223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
32224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32225 arg2
= (size_t) PyInt_AsLong(obj1
);
32226 if (PyErr_Occurred()) SWIG_fail
;
32228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32229 (arg1
)->RemoveGrowableRow(arg2
);
32231 wxPyEndAllowThreads(__tstate
);
32232 if (PyErr_Occurred()) SWIG_fail
;
32234 Py_INCREF(Py_None
); resultobj
= Py_None
;
32241 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32242 PyObject
*resultobj
;
32243 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32245 int arg3
= (int) 0 ;
32246 PyObject
* obj0
= 0 ;
32247 PyObject
* obj1
= 0 ;
32248 char *kwnames
[] = {
32249 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
32253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32254 arg2
= (size_t) PyInt_AsLong(obj1
);
32255 if (PyErr_Occurred()) SWIG_fail
;
32257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32258 (arg1
)->AddGrowableCol(arg2
,arg3
);
32260 wxPyEndAllowThreads(__tstate
);
32261 if (PyErr_Occurred()) SWIG_fail
;
32263 Py_INCREF(Py_None
); resultobj
= Py_None
;
32270 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32271 PyObject
*resultobj
;
32272 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32274 PyObject
* obj0
= 0 ;
32275 PyObject
* obj1
= 0 ;
32276 char *kwnames
[] = {
32277 (char *) "self",(char *) "idx", NULL
32280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
32281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32282 arg2
= (size_t) PyInt_AsLong(obj1
);
32283 if (PyErr_Occurred()) SWIG_fail
;
32285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32286 (arg1
)->RemoveGrowableCol(arg2
);
32288 wxPyEndAllowThreads(__tstate
);
32289 if (PyErr_Occurred()) SWIG_fail
;
32291 Py_INCREF(Py_None
); resultobj
= Py_None
;
32298 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32299 PyObject
*resultobj
;
32300 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32302 PyObject
* obj0
= 0 ;
32303 char *kwnames
[] = {
32304 (char *) "self",(char *) "direction", NULL
32307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
32308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32311 (arg1
)->SetFlexibleDirection(arg2
);
32313 wxPyEndAllowThreads(__tstate
);
32314 if (PyErr_Occurred()) SWIG_fail
;
32316 Py_INCREF(Py_None
); resultobj
= Py_None
;
32323 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32324 PyObject
*resultobj
;
32325 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32327 PyObject
* obj0
= 0 ;
32328 char *kwnames
[] = {
32329 (char *) "self", NULL
32332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
32333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32336 result
= (int)(arg1
)->GetFlexibleDirection();
32338 wxPyEndAllowThreads(__tstate
);
32339 if (PyErr_Occurred()) SWIG_fail
;
32341 resultobj
= PyInt_FromLong((long)result
);
32348 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32349 PyObject
*resultobj
;
32350 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32352 PyObject
* obj0
= 0 ;
32353 char *kwnames
[] = {
32354 (char *) "self",(char *) "mode", NULL
32357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
32358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32361 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
32363 wxPyEndAllowThreads(__tstate
);
32364 if (PyErr_Occurred()) SWIG_fail
;
32366 Py_INCREF(Py_None
); resultobj
= Py_None
;
32373 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32374 PyObject
*resultobj
;
32375 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32377 PyObject
* obj0
= 0 ;
32378 char *kwnames
[] = {
32379 (char *) "self", NULL
32382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
32383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32386 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
32388 wxPyEndAllowThreads(__tstate
);
32389 if (PyErr_Occurred()) SWIG_fail
;
32391 resultobj
= PyInt_FromLong((long)result
);
32398 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32399 PyObject
*resultobj
;
32400 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32401 wxArrayInt
*result
;
32402 PyObject
* obj0
= 0 ;
32403 char *kwnames
[] = {
32404 (char *) "self", NULL
32407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
32408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32412 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
32413 result
= (wxArrayInt
*) &_result_ref
;
32416 wxPyEndAllowThreads(__tstate
);
32417 if (PyErr_Occurred()) SWIG_fail
;
32420 resultobj
= PyList_New(0);
32422 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32423 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32424 PyList_Append(resultobj
, val
);
32434 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32435 PyObject
*resultobj
;
32436 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32437 wxArrayInt
*result
;
32438 PyObject
* obj0
= 0 ;
32439 char *kwnames
[] = {
32440 (char *) "self", NULL
32443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
32444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32448 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
32449 result
= (wxArrayInt
*) &_result_ref
;
32452 wxPyEndAllowThreads(__tstate
);
32453 if (PyErr_Occurred()) SWIG_fail
;
32456 resultobj
= PyList_New(0);
32458 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32459 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32460 PyList_Append(resultobj
, val
);
32470 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32472 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32473 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
32475 return Py_BuildValue((char *)"");
32477 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32478 PyObject
*resultobj
;
32479 int arg1
= (int) 0 ;
32480 int arg2
= (int) 0 ;
32481 wxGBPosition
*result
;
32482 char *kwnames
[] = {
32483 (char *) "row",(char *) "col", NULL
32486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
32491 wxPyEndAllowThreads(__tstate
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
32501 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32502 PyObject
*resultobj
;
32503 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32505 PyObject
* obj0
= 0 ;
32506 char *kwnames
[] = {
32507 (char *) "self", NULL
32510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
32511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32514 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
32516 wxPyEndAllowThreads(__tstate
);
32517 if (PyErr_Occurred()) SWIG_fail
;
32519 resultobj
= PyInt_FromLong((long)result
);
32526 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32527 PyObject
*resultobj
;
32528 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32530 PyObject
* obj0
= 0 ;
32531 char *kwnames
[] = {
32532 (char *) "self", NULL
32535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
32536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32539 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
32541 wxPyEndAllowThreads(__tstate
);
32542 if (PyErr_Occurred()) SWIG_fail
;
32544 resultobj
= PyInt_FromLong((long)result
);
32551 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32552 PyObject
*resultobj
;
32553 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32555 PyObject
* obj0
= 0 ;
32556 char *kwnames
[] = {
32557 (char *) "self",(char *) "row", NULL
32560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
32561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32564 (arg1
)->SetRow(arg2
);
32566 wxPyEndAllowThreads(__tstate
);
32567 if (PyErr_Occurred()) SWIG_fail
;
32569 Py_INCREF(Py_None
); resultobj
= Py_None
;
32576 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32577 PyObject
*resultobj
;
32578 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32580 PyObject
* obj0
= 0 ;
32581 char *kwnames
[] = {
32582 (char *) "self",(char *) "col", NULL
32585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
32586 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32589 (arg1
)->SetCol(arg2
);
32591 wxPyEndAllowThreads(__tstate
);
32592 if (PyErr_Occurred()) SWIG_fail
;
32594 Py_INCREF(Py_None
); resultobj
= Py_None
;
32601 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32602 PyObject
*resultobj
;
32603 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32604 wxGBPosition
*arg2
= 0 ;
32606 wxGBPosition temp2
;
32607 PyObject
* obj0
= 0 ;
32608 PyObject
* obj1
= 0 ;
32609 char *kwnames
[] = {
32610 (char *) "self",(char *) "p", NULL
32613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32617 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32621 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
32623 wxPyEndAllowThreads(__tstate
);
32624 if (PyErr_Occurred()) SWIG_fail
;
32626 resultobj
= PyInt_FromLong((long)result
);
32633 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32634 PyObject
*resultobj
;
32635 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32636 wxGBPosition
*arg2
= 0 ;
32638 wxGBPosition temp2
;
32639 PyObject
* obj0
= 0 ;
32640 PyObject
* obj1
= 0 ;
32641 char *kwnames
[] = {
32642 (char *) "self",(char *) "p", NULL
32645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32649 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32653 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
32655 wxPyEndAllowThreads(__tstate
);
32656 if (PyErr_Occurred()) SWIG_fail
;
32658 resultobj
= PyInt_FromLong((long)result
);
32665 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32666 PyObject
*resultobj
;
32667 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32668 int arg2
= (int) 0 ;
32669 int arg3
= (int) 0 ;
32670 PyObject
* obj0
= 0 ;
32671 char *kwnames
[] = {
32672 (char *) "self",(char *) "row",(char *) "col", NULL
32675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBPosition_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32679 wxGBPosition_Set(arg1
,arg2
,arg3
);
32681 wxPyEndAllowThreads(__tstate
);
32682 if (PyErr_Occurred()) SWIG_fail
;
32684 Py_INCREF(Py_None
); resultobj
= Py_None
;
32691 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32692 PyObject
*resultobj
;
32693 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32695 PyObject
* obj0
= 0 ;
32696 char *kwnames
[] = {
32697 (char *) "self", NULL
32700 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
32701 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32704 result
= (PyObject
*)wxGBPosition_Get(arg1
);
32706 wxPyEndAllowThreads(__tstate
);
32707 if (PyErr_Occurred()) SWIG_fail
;
32709 resultobj
= result
;
32716 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
32718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32719 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
32721 return Py_BuildValue((char *)"");
32723 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32724 PyObject
*resultobj
;
32725 int arg1
= (int) 1 ;
32726 int arg2
= (int) 1 ;
32728 char *kwnames
[] = {
32729 (char *) "rowspan",(char *) "colspan", NULL
32732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
32734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32735 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
32737 wxPyEndAllowThreads(__tstate
);
32738 if (PyErr_Occurred()) SWIG_fail
;
32740 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
32747 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32748 PyObject
*resultobj
;
32749 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32751 PyObject
* obj0
= 0 ;
32752 char *kwnames
[] = {
32753 (char *) "self", NULL
32756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
32757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32760 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
32762 wxPyEndAllowThreads(__tstate
);
32763 if (PyErr_Occurred()) SWIG_fail
;
32765 resultobj
= PyInt_FromLong((long)result
);
32772 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32773 PyObject
*resultobj
;
32774 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32776 PyObject
* obj0
= 0 ;
32777 char *kwnames
[] = {
32778 (char *) "self", NULL
32781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
32782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
32787 wxPyEndAllowThreads(__tstate
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32790 resultobj
= PyInt_FromLong((long)result
);
32797 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32798 PyObject
*resultobj
;
32799 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32801 PyObject
* obj0
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self",(char *) "rowspan", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32810 (arg1
)->SetRowspan(arg2
);
32812 wxPyEndAllowThreads(__tstate
);
32813 if (PyErr_Occurred()) SWIG_fail
;
32815 Py_INCREF(Py_None
); resultobj
= Py_None
;
32822 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32823 PyObject
*resultobj
;
32824 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32826 PyObject
* obj0
= 0 ;
32827 char *kwnames
[] = {
32828 (char *) "self",(char *) "colspan", NULL
32831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32835 (arg1
)->SetColspan(arg2
);
32837 wxPyEndAllowThreads(__tstate
);
32838 if (PyErr_Occurred()) SWIG_fail
;
32840 Py_INCREF(Py_None
); resultobj
= Py_None
;
32847 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32848 PyObject
*resultobj
;
32849 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32850 wxGBSpan
*arg2
= 0 ;
32853 PyObject
* obj0
= 0 ;
32854 PyObject
* obj1
= 0 ;
32855 char *kwnames
[] = {
32856 (char *) "self",(char *) "o", NULL
32859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32863 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32867 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
32869 wxPyEndAllowThreads(__tstate
);
32870 if (PyErr_Occurred()) SWIG_fail
;
32872 resultobj
= PyInt_FromLong((long)result
);
32879 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32880 PyObject
*resultobj
;
32881 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32882 wxGBSpan
*arg2
= 0 ;
32885 PyObject
* obj0
= 0 ;
32886 PyObject
* obj1
= 0 ;
32887 char *kwnames
[] = {
32888 (char *) "self",(char *) "o", NULL
32891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32895 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32899 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
32901 wxPyEndAllowThreads(__tstate
);
32902 if (PyErr_Occurred()) SWIG_fail
;
32904 resultobj
= PyInt_FromLong((long)result
);
32911 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32912 PyObject
*resultobj
;
32913 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32914 int arg2
= (int) 1 ;
32915 int arg3
= (int) 1 ;
32916 PyObject
* obj0
= 0 ;
32917 char *kwnames
[] = {
32918 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBSpan_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32925 wxGBSpan_Set(arg1
,arg2
,arg3
);
32927 wxPyEndAllowThreads(__tstate
);
32928 if (PyErr_Occurred()) SWIG_fail
;
32930 Py_INCREF(Py_None
); resultobj
= Py_None
;
32937 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32938 PyObject
*resultobj
;
32939 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32941 PyObject
* obj0
= 0 ;
32942 char *kwnames
[] = {
32943 (char *) "self", NULL
32946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
32947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32950 result
= (PyObject
*)wxGBSpan_Get(arg1
);
32952 wxPyEndAllowThreads(__tstate
);
32953 if (PyErr_Occurred()) SWIG_fail
;
32955 resultobj
= result
;
32962 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
32964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32965 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
32967 return Py_BuildValue((char *)"");
32969 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
32970 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
32975 static PyObject
*_wrap_DefaultSpan_get() {
32978 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
32983 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32984 PyObject
*resultobj
;
32985 wxGBSizerItem
*result
;
32986 char *kwnames
[] = {
32990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
32992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32993 result
= (wxGBSizerItem
*)new wxGBSizerItem();
32995 wxPyEndAllowThreads(__tstate
);
32996 if (PyErr_Occurred()) SWIG_fail
;
32998 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33005 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33006 PyObject
*resultobj
;
33007 wxWindow
*arg1
= (wxWindow
*) 0 ;
33008 wxGBPosition
*arg2
= 0 ;
33009 wxGBSpan
*arg3
= 0 ;
33012 wxObject
*arg6
= (wxObject
*) 0 ;
33013 wxGBSizerItem
*result
;
33014 wxGBPosition temp2
;
33016 PyObject
* obj0
= 0 ;
33017 PyObject
* obj1
= 0 ;
33018 PyObject
* obj2
= 0 ;
33019 PyObject
* obj5
= 0 ;
33020 char *kwnames
[] = {
33021 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
33025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33028 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33032 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33034 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33037 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
33039 wxPyEndAllowThreads(__tstate
);
33040 if (PyErr_Occurred()) SWIG_fail
;
33042 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33049 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33050 PyObject
*resultobj
;
33051 wxSizer
*arg1
= (wxSizer
*) 0 ;
33052 wxGBPosition
*arg2
= 0 ;
33053 wxGBSpan
*arg3
= 0 ;
33056 wxObject
*arg6
= (wxObject
*) 0 ;
33057 wxGBSizerItem
*result
;
33058 wxGBPosition temp2
;
33060 PyObject
* obj0
= 0 ;
33061 PyObject
* obj1
= 0 ;
33062 PyObject
* obj2
= 0 ;
33063 PyObject
* obj5
= 0 ;
33064 char *kwnames
[] = {
33065 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
33069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33072 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33076 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33078 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33081 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
33083 wxPyEndAllowThreads(__tstate
);
33084 if (PyErr_Occurred()) SWIG_fail
;
33086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33093 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33094 PyObject
*resultobj
;
33097 wxGBPosition
*arg3
= 0 ;
33098 wxGBSpan
*arg4
= 0 ;
33101 wxObject
*arg7
= (wxObject
*) 0 ;
33102 wxGBSizerItem
*result
;
33103 wxGBPosition temp3
;
33105 PyObject
* obj2
= 0 ;
33106 PyObject
* obj3
= 0 ;
33107 PyObject
* obj6
= 0 ;
33108 char *kwnames
[] = {
33109 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33115 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33119 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33121 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33124 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33126 wxPyEndAllowThreads(__tstate
);
33127 if (PyErr_Occurred()) SWIG_fail
;
33129 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33136 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33137 PyObject
*resultobj
;
33138 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33139 wxGBPosition result
;
33140 PyObject
* obj0
= 0 ;
33141 char *kwnames
[] = {
33142 (char *) "self", NULL
33145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
33146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33149 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
33151 wxPyEndAllowThreads(__tstate
);
33152 if (PyErr_Occurred()) SWIG_fail
;
33155 wxGBPosition
* resultptr
;
33156 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33157 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33165 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33166 PyObject
*resultobj
;
33167 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33169 PyObject
* obj0
= 0 ;
33170 char *kwnames
[] = {
33171 (char *) "self", NULL
33174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
33175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33178 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
33180 wxPyEndAllowThreads(__tstate
);
33181 if (PyErr_Occurred()) SWIG_fail
;
33184 wxGBSpan
* resultptr
;
33185 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33186 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33194 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33195 PyObject
*resultobj
;
33196 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33197 wxGBPosition
*arg2
= 0 ;
33199 wxGBPosition temp2
;
33200 PyObject
* obj0
= 0 ;
33201 PyObject
* obj1
= 0 ;
33202 char *kwnames
[] = {
33203 (char *) "self",(char *) "pos", NULL
33206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
33207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33210 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33214 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
33216 wxPyEndAllowThreads(__tstate
);
33217 if (PyErr_Occurred()) SWIG_fail
;
33219 resultobj
= PyInt_FromLong((long)result
);
33226 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33227 PyObject
*resultobj
;
33228 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33229 wxGBSpan
*arg2
= 0 ;
33232 PyObject
* obj0
= 0 ;
33233 PyObject
* obj1
= 0 ;
33234 char *kwnames
[] = {
33235 (char *) "self",(char *) "span", NULL
33238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
33239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33242 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
33245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33246 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
33248 wxPyEndAllowThreads(__tstate
);
33249 if (PyErr_Occurred()) SWIG_fail
;
33251 resultobj
= PyInt_FromLong((long)result
);
33258 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
33259 PyObject
*resultobj
;
33260 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33261 wxGBSizerItem
*arg2
= 0 ;
33263 PyObject
* obj0
= 0 ;
33264 PyObject
* obj1
= 0 ;
33266 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
33267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33269 if (arg2
== NULL
) {
33270 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33274 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
33276 wxPyEndAllowThreads(__tstate
);
33277 if (PyErr_Occurred()) SWIG_fail
;
33279 resultobj
= PyInt_FromLong((long)result
);
33286 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
33287 PyObject
*resultobj
;
33288 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33289 wxGBPosition
*arg2
= 0 ;
33290 wxGBSpan
*arg3
= 0 ;
33292 wxGBPosition temp2
;
33294 PyObject
* obj0
= 0 ;
33295 PyObject
* obj1
= 0 ;
33296 PyObject
* obj2
= 0 ;
33298 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
33299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33302 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33306 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33310 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
33312 wxPyEndAllowThreads(__tstate
);
33313 if (PyErr_Occurred()) SWIG_fail
;
33315 resultobj
= PyInt_FromLong((long)result
);
33322 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
33327 argc
= PyObject_Length(args
);
33328 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33329 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33335 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33345 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33353 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
33361 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33370 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
33374 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33377 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
33383 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
33388 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33389 PyObject
*resultobj
;
33390 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33393 PyObject
* obj0
= 0 ;
33394 PyObject
* obj1
= 0 ;
33395 PyObject
* obj2
= 0 ;
33396 char *kwnames
[] = {
33397 (char *) "self",(char *) "row",(char *) "col", NULL
33400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33403 if (arg2
== NULL
) {
33404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33406 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33407 if (arg3
== NULL
) {
33408 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33412 (arg1
)->GetEndPos(*arg2
,*arg3
);
33414 wxPyEndAllowThreads(__tstate
);
33415 if (PyErr_Occurred()) SWIG_fail
;
33417 Py_INCREF(Py_None
); resultobj
= Py_None
;
33424 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33425 PyObject
*resultobj
;
33426 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33427 wxGridBagSizer
*result
;
33428 PyObject
* obj0
= 0 ;
33429 char *kwnames
[] = {
33430 (char *) "self", NULL
33433 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
33434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33437 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
33439 wxPyEndAllowThreads(__tstate
);
33440 if (PyErr_Occurred()) SWIG_fail
;
33442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
33449 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33450 PyObject
*resultobj
;
33451 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33452 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
33453 PyObject
* obj0
= 0 ;
33454 PyObject
* obj1
= 0 ;
33455 char *kwnames
[] = {
33456 (char *) "self",(char *) "sizer", NULL
33459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33464 (arg1
)->SetGBSizer(arg2
);
33466 wxPyEndAllowThreads(__tstate
);
33467 if (PyErr_Occurred()) SWIG_fail
;
33469 Py_INCREF(Py_None
); resultobj
= Py_None
;
33476 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33478 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33479 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
33481 return Py_BuildValue((char *)"");
33483 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33484 PyObject
*resultobj
;
33485 int arg1
= (int) 0 ;
33486 int arg2
= (int) 0 ;
33487 wxGridBagSizer
*result
;
33488 char *kwnames
[] = {
33489 (char *) "vgap",(char *) "hgap", NULL
33492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
33494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33495 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
33497 wxPyEndAllowThreads(__tstate
);
33498 if (PyErr_Occurred()) SWIG_fail
;
33500 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
33507 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33508 PyObject
*resultobj
;
33509 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33510 PyObject
*arg2
= (PyObject
*) 0 ;
33511 wxGBPosition
*arg3
= 0 ;
33512 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
33513 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
33514 int arg5
= (int) 0 ;
33515 int arg6
= (int) 0 ;
33516 PyObject
*arg7
= (PyObject
*) NULL
;
33518 wxGBPosition temp3
;
33520 PyObject
* obj0
= 0 ;
33521 PyObject
* obj1
= 0 ;
33522 PyObject
* obj2
= 0 ;
33523 PyObject
* obj3
= 0 ;
33524 PyObject
* obj6
= 0 ;
33525 char *kwnames
[] = {
33526 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33534 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33539 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33547 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33549 wxPyEndAllowThreads(__tstate
);
33550 if (PyErr_Occurred()) SWIG_fail
;
33552 resultobj
= PyInt_FromLong((long)result
);
33559 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33560 PyObject
*resultobj
;
33561 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33562 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33564 PyObject
* obj0
= 0 ;
33565 PyObject
* obj1
= 0 ;
33566 char *kwnames
[] = {
33567 (char *) "self",(char *) "item", NULL
33570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33575 result
= (bool)(arg1
)->Add(arg2
);
33577 wxPyEndAllowThreads(__tstate
);
33578 if (PyErr_Occurred()) SWIG_fail
;
33580 resultobj
= PyInt_FromLong((long)result
);
33587 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33588 PyObject
*resultobj
;
33589 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33591 PyObject
* obj0
= 0 ;
33592 char *kwnames
[] = {
33593 (char *) "self", NULL
33596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
33597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33600 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
33602 wxPyEndAllowThreads(__tstate
);
33603 if (PyErr_Occurred()) SWIG_fail
;
33606 wxSize
* resultptr
;
33607 resultptr
= new wxSize((wxSize
&) result
);
33608 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33616 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33617 PyObject
*resultobj
;
33618 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33621 PyObject
* obj0
= 0 ;
33622 PyObject
* obj1
= 0 ;
33623 char *kwnames
[] = {
33624 (char *) "self",(char *) "sz", NULL
33627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33631 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33635 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
33637 wxPyEndAllowThreads(__tstate
);
33638 if (PyErr_Occurred()) SWIG_fail
;
33640 Py_INCREF(Py_None
); resultobj
= Py_None
;
33647 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33648 PyObject
*resultobj
;
33649 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33650 wxWindow
*arg2
= (wxWindow
*) 0 ;
33651 wxGBPosition result
;
33652 PyObject
* obj0
= 0 ;
33653 PyObject
* obj1
= 0 ;
33655 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33660 result
= (arg1
)->GetItemPosition(arg2
);
33662 wxPyEndAllowThreads(__tstate
);
33663 if (PyErr_Occurred()) SWIG_fail
;
33666 wxGBPosition
* resultptr
;
33667 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33668 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33676 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33677 PyObject
*resultobj
;
33678 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33679 wxSizer
*arg2
= (wxSizer
*) 0 ;
33680 wxGBPosition result
;
33681 PyObject
* obj0
= 0 ;
33682 PyObject
* obj1
= 0 ;
33684 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33689 result
= (arg1
)->GetItemPosition(arg2
);
33691 wxPyEndAllowThreads(__tstate
);
33692 if (PyErr_Occurred()) SWIG_fail
;
33695 wxGBPosition
* resultptr
;
33696 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33697 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33705 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33706 PyObject
*resultobj
;
33707 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33709 wxGBPosition result
;
33710 PyObject
* obj0
= 0 ;
33711 PyObject
* obj1
= 0 ;
33713 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33715 arg2
= (size_t) PyInt_AsLong(obj1
);
33716 if (PyErr_Occurred()) SWIG_fail
;
33718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33719 result
= (arg1
)->GetItemPosition(arg2
);
33721 wxPyEndAllowThreads(__tstate
);
33722 if (PyErr_Occurred()) SWIG_fail
;
33725 wxGBPosition
* resultptr
;
33726 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33727 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33735 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
33740 argc
= PyObject_Length(args
);
33741 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33742 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33748 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33758 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33766 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
33774 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33784 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33792 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
33800 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33809 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33812 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
33817 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33822 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33823 PyObject
*resultobj
;
33824 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33825 wxWindow
*arg2
= (wxWindow
*) 0 ;
33826 wxGBPosition
*arg3
= 0 ;
33828 wxGBPosition temp3
;
33829 PyObject
* obj0
= 0 ;
33830 PyObject
* obj1
= 0 ;
33831 PyObject
* obj2
= 0 ;
33833 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33835 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33838 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33842 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33844 wxPyEndAllowThreads(__tstate
);
33845 if (PyErr_Occurred()) SWIG_fail
;
33847 resultobj
= PyInt_FromLong((long)result
);
33854 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33855 PyObject
*resultobj
;
33856 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33857 wxSizer
*arg2
= (wxSizer
*) 0 ;
33858 wxGBPosition
*arg3
= 0 ;
33860 wxGBPosition temp3
;
33861 PyObject
* obj0
= 0 ;
33862 PyObject
* obj1
= 0 ;
33863 PyObject
* obj2
= 0 ;
33865 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33867 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33870 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33874 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33876 wxPyEndAllowThreads(__tstate
);
33877 if (PyErr_Occurred()) SWIG_fail
;
33879 resultobj
= PyInt_FromLong((long)result
);
33886 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33887 PyObject
*resultobj
;
33888 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33890 wxGBPosition
*arg3
= 0 ;
33892 wxGBPosition temp3
;
33893 PyObject
* obj0
= 0 ;
33894 PyObject
* obj1
= 0 ;
33895 PyObject
* obj2
= 0 ;
33897 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33899 arg2
= (size_t) PyInt_AsLong(obj1
);
33900 if (PyErr_Occurred()) SWIG_fail
;
33903 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33907 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33909 wxPyEndAllowThreads(__tstate
);
33910 if (PyErr_Occurred()) SWIG_fail
;
33912 resultobj
= PyInt_FromLong((long)result
);
33919 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
33924 argc
= PyObject_Length(args
);
33925 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33926 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33932 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33942 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33951 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33954 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
33963 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33973 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33982 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33985 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
33994 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34003 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34007 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
34010 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
34016 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
34021 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
34022 PyObject
*resultobj
;
34023 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34024 wxWindow
*arg2
= (wxWindow
*) 0 ;
34026 PyObject
* obj0
= 0 ;
34027 PyObject
* obj1
= 0 ;
34029 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34034 result
= (arg1
)->GetItemSpan(arg2
);
34036 wxPyEndAllowThreads(__tstate
);
34037 if (PyErr_Occurred()) SWIG_fail
;
34040 wxGBSpan
* resultptr
;
34041 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34042 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34050 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
34051 PyObject
*resultobj
;
34052 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34053 wxSizer
*arg2
= (wxSizer
*) 0 ;
34055 PyObject
* obj0
= 0 ;
34056 PyObject
* obj1
= 0 ;
34058 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34060 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34063 result
= (arg1
)->GetItemSpan(arg2
);
34065 wxPyEndAllowThreads(__tstate
);
34066 if (PyErr_Occurred()) SWIG_fail
;
34069 wxGBSpan
* resultptr
;
34070 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34071 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34079 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
34080 PyObject
*resultobj
;
34081 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34084 PyObject
* obj0
= 0 ;
34085 PyObject
* obj1
= 0 ;
34087 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34089 arg2
= (size_t) PyInt_AsLong(obj1
);
34090 if (PyErr_Occurred()) SWIG_fail
;
34092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34093 result
= (arg1
)->GetItemSpan(arg2
);
34095 wxPyEndAllowThreads(__tstate
);
34096 if (PyErr_Occurred()) SWIG_fail
;
34099 wxGBSpan
* resultptr
;
34100 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34101 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34109 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
34114 argc
= PyObject_Length(args
);
34115 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34116 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34122 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34132 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34140 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
34148 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34158 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34166 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
34174 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34183 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34186 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
34191 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
34196 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
34197 PyObject
*resultobj
;
34198 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34199 wxWindow
*arg2
= (wxWindow
*) 0 ;
34200 wxGBSpan
*arg3
= 0 ;
34203 PyObject
* obj0
= 0 ;
34204 PyObject
* obj1
= 0 ;
34205 PyObject
* obj2
= 0 ;
34207 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34209 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34212 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34216 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34218 wxPyEndAllowThreads(__tstate
);
34219 if (PyErr_Occurred()) SWIG_fail
;
34221 resultobj
= PyInt_FromLong((long)result
);
34228 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
34229 PyObject
*resultobj
;
34230 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34231 wxSizer
*arg2
= (wxSizer
*) 0 ;
34232 wxGBSpan
*arg3
= 0 ;
34235 PyObject
* obj0
= 0 ;
34236 PyObject
* obj1
= 0 ;
34237 PyObject
* obj2
= 0 ;
34239 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34241 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34244 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34248 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34250 wxPyEndAllowThreads(__tstate
);
34251 if (PyErr_Occurred()) SWIG_fail
;
34253 resultobj
= PyInt_FromLong((long)result
);
34260 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
34261 PyObject
*resultobj
;
34262 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34264 wxGBSpan
*arg3
= 0 ;
34267 PyObject
* obj0
= 0 ;
34268 PyObject
* obj1
= 0 ;
34269 PyObject
* obj2
= 0 ;
34271 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34273 arg2
= (size_t) PyInt_AsLong(obj1
);
34274 if (PyErr_Occurred()) SWIG_fail
;
34277 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34281 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34283 wxPyEndAllowThreads(__tstate
);
34284 if (PyErr_Occurred()) SWIG_fail
;
34286 resultobj
= PyInt_FromLong((long)result
);
34293 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
34298 argc
= PyObject_Length(args
);
34299 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
34300 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34306 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34316 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34325 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34328 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
34337 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34347 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34356 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34359 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
34368 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34377 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34381 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34384 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
34390 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34395 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
34396 PyObject
*resultobj
;
34397 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34398 wxWindow
*arg2
= (wxWindow
*) 0 ;
34399 wxGBSizerItem
*result
;
34400 PyObject
* obj0
= 0 ;
34401 PyObject
* obj1
= 0 ;
34403 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34405 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34408 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34410 wxPyEndAllowThreads(__tstate
);
34411 if (PyErr_Occurred()) SWIG_fail
;
34413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34420 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
34421 PyObject
*resultobj
;
34422 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34423 wxSizer
*arg2
= (wxSizer
*) 0 ;
34424 wxGBSizerItem
*result
;
34425 PyObject
* obj0
= 0 ;
34426 PyObject
* obj1
= 0 ;
34428 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34430 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34433 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34435 wxPyEndAllowThreads(__tstate
);
34436 if (PyErr_Occurred()) SWIG_fail
;
34438 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34445 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
34450 argc
= PyObject_Length(args
);
34451 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34452 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34458 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34468 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34476 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
34484 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34494 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34502 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
34507 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
34512 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
;
34514 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34515 wxGBPosition
*arg2
= 0 ;
34516 wxGBSizerItem
*result
;
34517 wxGBPosition temp2
;
34518 PyObject
* obj0
= 0 ;
34519 PyObject
* obj1
= 0 ;
34520 char *kwnames
[] = {
34521 (char *) "self",(char *) "pos", NULL
34524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34528 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34532 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
34534 wxPyEndAllowThreads(__tstate
);
34535 if (PyErr_Occurred()) SWIG_fail
;
34537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34544 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34545 PyObject
*resultobj
;
34546 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34547 wxPoint
*arg2
= 0 ;
34548 wxGBSizerItem
*result
;
34550 PyObject
* obj0
= 0 ;
34551 PyObject
* obj1
= 0 ;
34552 char *kwnames
[] = {
34553 (char *) "self",(char *) "pt", NULL
34556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
34557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34560 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34564 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
34566 wxPyEndAllowThreads(__tstate
);
34567 if (PyErr_Occurred()) SWIG_fail
;
34569 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34576 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34577 PyObject
*resultobj
;
34578 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34579 wxObject
*arg2
= (wxObject
*) 0 ;
34580 wxGBSizerItem
*result
;
34581 PyObject
* obj0
= 0 ;
34582 PyObject
* obj1
= 0 ;
34583 char *kwnames
[] = {
34584 (char *) "self",(char *) "userData", NULL
34587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
34588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34592 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
34594 wxPyEndAllowThreads(__tstate
);
34595 if (PyErr_Occurred()) SWIG_fail
;
34597 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34604 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34605 PyObject
*resultobj
;
34606 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34607 PyObject
* obj0
= 0 ;
34608 char *kwnames
[] = {
34609 (char *) "self", NULL
34612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34616 (arg1
)->RecalcSizes();
34618 wxPyEndAllowThreads(__tstate
);
34619 if (PyErr_Occurred()) SWIG_fail
;
34621 Py_INCREF(Py_None
); resultobj
= Py_None
;
34628 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34629 PyObject
*resultobj
;
34630 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34632 PyObject
* obj0
= 0 ;
34633 char *kwnames
[] = {
34634 (char *) "self", NULL
34637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34641 result
= (arg1
)->CalcMin();
34643 wxPyEndAllowThreads(__tstate
);
34644 if (PyErr_Occurred()) SWIG_fail
;
34647 wxSize
* resultptr
;
34648 resultptr
= new wxSize((wxSize
&) result
);
34649 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34657 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
34658 PyObject
*resultobj
;
34659 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34660 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
34661 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
34663 PyObject
* obj0
= 0 ;
34664 PyObject
* obj1
= 0 ;
34665 PyObject
* obj2
= 0 ;
34667 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
34668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34669 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34671 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34675 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
34677 wxPyEndAllowThreads(__tstate
);
34678 if (PyErr_Occurred()) SWIG_fail
;
34680 resultobj
= PyInt_FromLong((long)result
);
34687 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
34688 PyObject
*resultobj
;
34689 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34690 wxGBPosition
*arg2
= 0 ;
34691 wxGBSpan
*arg3
= 0 ;
34692 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
34694 wxGBPosition temp2
;
34696 PyObject
* obj0
= 0 ;
34697 PyObject
* obj1
= 0 ;
34698 PyObject
* obj2
= 0 ;
34699 PyObject
* obj3
= 0 ;
34701 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34705 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34709 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34712 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34716 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
34718 wxPyEndAllowThreads(__tstate
);
34719 if (PyErr_Occurred()) SWIG_fail
;
34721 resultobj
= PyInt_FromLong((long)result
);
34728 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
34733 argc
= PyObject_Length(args
);
34734 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
34735 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34737 if ((argc
>= 2) && (argc
<= 3)) {
34741 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34751 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34760 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34764 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34772 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34777 if ((argc
>= 3) && (argc
<= 4)) {
34781 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34790 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
34794 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34798 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34802 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34810 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34817 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34822 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34825 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
34827 return Py_BuildValue((char *)"");
34829 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34830 PyObject
*resultobj
;
34831 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34833 wxWindow
*arg3
= (wxWindow
*) 0 ;
34835 int arg5
= (int) 0 ;
34836 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
34837 PyObject
* obj0
= 0 ;
34838 PyObject
* obj2
= 0 ;
34839 char *kwnames
[] = {
34840 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34843 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
34844 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34845 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34848 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
34850 wxPyEndAllowThreads(__tstate
);
34851 if (PyErr_Occurred()) SWIG_fail
;
34853 Py_INCREF(Py_None
); resultobj
= Py_None
;
34860 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34861 PyObject
*resultobj
;
34862 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34863 wxWindow
*arg2
= (wxWindow
*) 0 ;
34864 int arg3
= (int) 0 ;
34865 PyObject
* obj0
= 0 ;
34866 PyObject
* obj1
= 0 ;
34867 char *kwnames
[] = {
34868 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34873 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34876 (arg1
)->LeftOf(arg2
,arg3
);
34878 wxPyEndAllowThreads(__tstate
);
34879 if (PyErr_Occurred()) SWIG_fail
;
34881 Py_INCREF(Py_None
); resultobj
= Py_None
;
34888 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34889 PyObject
*resultobj
;
34890 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34891 wxWindow
*arg2
= (wxWindow
*) 0 ;
34892 int arg3
= (int) 0 ;
34893 PyObject
* obj0
= 0 ;
34894 PyObject
* obj1
= 0 ;
34895 char *kwnames
[] = {
34896 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34901 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34904 (arg1
)->RightOf(arg2
,arg3
);
34906 wxPyEndAllowThreads(__tstate
);
34907 if (PyErr_Occurred()) SWIG_fail
;
34909 Py_INCREF(Py_None
); resultobj
= Py_None
;
34916 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34917 PyObject
*resultobj
;
34918 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34919 wxWindow
*arg2
= (wxWindow
*) 0 ;
34920 int arg3
= (int) 0 ;
34921 PyObject
* obj0
= 0 ;
34922 PyObject
* obj1
= 0 ;
34923 char *kwnames
[] = {
34924 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34929 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34932 (arg1
)->Above(arg2
,arg3
);
34934 wxPyEndAllowThreads(__tstate
);
34935 if (PyErr_Occurred()) SWIG_fail
;
34937 Py_INCREF(Py_None
); resultobj
= Py_None
;
34944 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34945 PyObject
*resultobj
;
34946 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34947 wxWindow
*arg2
= (wxWindow
*) 0 ;
34948 int arg3
= (int) 0 ;
34949 PyObject
* obj0
= 0 ;
34950 PyObject
* obj1
= 0 ;
34951 char *kwnames
[] = {
34952 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34957 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 (arg1
)->Below(arg2
,arg3
);
34962 wxPyEndAllowThreads(__tstate
);
34963 if (PyErr_Occurred()) SWIG_fail
;
34965 Py_INCREF(Py_None
); resultobj
= Py_None
;
34972 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34973 PyObject
*resultobj
;
34974 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34975 wxWindow
*arg2
= (wxWindow
*) 0 ;
34977 int arg4
= (int) 0 ;
34978 PyObject
* obj0
= 0 ;
34979 PyObject
* obj1
= 0 ;
34980 char *kwnames
[] = {
34981 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34986 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34989 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
34991 wxPyEndAllowThreads(__tstate
);
34992 if (PyErr_Occurred()) SWIG_fail
;
34994 Py_INCREF(Py_None
); resultobj
= Py_None
;
35001 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35002 PyObject
*resultobj
;
35003 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35004 wxWindow
*arg2
= (wxWindow
*) 0 ;
35007 PyObject
* obj0
= 0 ;
35008 PyObject
* obj1
= 0 ;
35009 char *kwnames
[] = {
35010 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
35013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
35014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35015 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35018 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
35020 wxPyEndAllowThreads(__tstate
);
35021 if (PyErr_Occurred()) SWIG_fail
;
35023 Py_INCREF(Py_None
); resultobj
= Py_None
;
35030 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35031 PyObject
*resultobj
;
35032 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35034 PyObject
* obj0
= 0 ;
35035 char *kwnames
[] = {
35036 (char *) "self",(char *) "val", NULL
35039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
35040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35043 (arg1
)->Absolute(arg2
);
35045 wxPyEndAllowThreads(__tstate
);
35046 if (PyErr_Occurred()) SWIG_fail
;
35048 Py_INCREF(Py_None
); resultobj
= Py_None
;
35055 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35056 PyObject
*resultobj
;
35057 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35058 PyObject
* obj0
= 0 ;
35059 char *kwnames
[] = {
35060 (char *) "self", NULL
35063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
35064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35067 (arg1
)->Unconstrained();
35069 wxPyEndAllowThreads(__tstate
);
35070 if (PyErr_Occurred()) SWIG_fail
;
35072 Py_INCREF(Py_None
); resultobj
= Py_None
;
35079 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35080 PyObject
*resultobj
;
35081 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35082 PyObject
* obj0
= 0 ;
35083 char *kwnames
[] = {
35084 (char *) "self", NULL
35087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
35088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35093 wxPyEndAllowThreads(__tstate
);
35094 if (PyErr_Occurred()) SWIG_fail
;
35096 Py_INCREF(Py_None
); resultobj
= Py_None
;
35103 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35104 PyObject
*resultobj
;
35105 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35107 PyObject
* obj0
= 0 ;
35108 char *kwnames
[] = {
35109 (char *) "self", NULL
35112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
35113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35116 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
35118 wxPyEndAllowThreads(__tstate
);
35119 if (PyErr_Occurred()) SWIG_fail
;
35122 resultobj
= wxPyMake_wxObject(result
);
35130 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35131 PyObject
*resultobj
;
35132 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35134 PyObject
* obj0
= 0 ;
35135 char *kwnames
[] = {
35136 (char *) "self", NULL
35139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
35140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35143 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
35145 wxPyEndAllowThreads(__tstate
);
35146 if (PyErr_Occurred()) SWIG_fail
;
35148 resultobj
= PyInt_FromLong((long)result
);
35155 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35156 PyObject
*resultobj
;
35157 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35159 PyObject
* obj0
= 0 ;
35160 char *kwnames
[] = {
35161 (char *) "self",(char *) "which", NULL
35164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
35165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 (arg1
)->SetEdge((wxEdge
)arg2
);
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35173 Py_INCREF(Py_None
); resultobj
= Py_None
;
35180 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35181 PyObject
*resultobj
;
35182 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35184 PyObject
* obj0
= 0 ;
35185 char *kwnames
[] = {
35186 (char *) "self",(char *) "v", NULL
35189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
35190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 (arg1
)->SetValue(arg2
);
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 Py_INCREF(Py_None
); resultobj
= Py_None
;
35205 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
;
35207 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35209 PyObject
* obj0
= 0 ;
35210 char *kwnames
[] = {
35211 (char *) "self", NULL
35214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
35215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35218 result
= (int)(arg1
)->GetMargin();
35220 wxPyEndAllowThreads(__tstate
);
35221 if (PyErr_Occurred()) SWIG_fail
;
35223 resultobj
= PyInt_FromLong((long)result
);
35230 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35231 PyObject
*resultobj
;
35232 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35234 PyObject
* obj0
= 0 ;
35235 char *kwnames
[] = {
35236 (char *) "self",(char *) "m", NULL
35239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
35240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35243 (arg1
)->SetMargin(arg2
);
35245 wxPyEndAllowThreads(__tstate
);
35246 if (PyErr_Occurred()) SWIG_fail
;
35248 Py_INCREF(Py_None
); resultobj
= Py_None
;
35255 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35256 PyObject
*resultobj
;
35257 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35259 PyObject
* obj0
= 0 ;
35260 char *kwnames
[] = {
35261 (char *) "self", NULL
35264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
35265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35268 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
35270 wxPyEndAllowThreads(__tstate
);
35271 if (PyErr_Occurred()) SWIG_fail
;
35273 resultobj
= PyInt_FromLong((long)result
);
35280 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
35290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35293 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
35295 wxPyEndAllowThreads(__tstate
);
35296 if (PyErr_Occurred()) SWIG_fail
;
35298 resultobj
= PyInt_FromLong((long)result
);
35305 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35306 PyObject
*resultobj
;
35307 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35309 PyObject
* obj0
= 0 ;
35310 char *kwnames
[] = {
35311 (char *) "self", NULL
35314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
35315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
35320 wxPyEndAllowThreads(__tstate
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35323 resultobj
= PyInt_FromLong((long)result
);
35330 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35331 PyObject
*resultobj
;
35332 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35334 PyObject
* obj0
= 0 ;
35335 char *kwnames
[] = {
35336 (char *) "self", NULL
35339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
35340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35343 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35348 resultobj
= PyInt_FromLong((long)result
);
35355 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35356 PyObject
*resultobj
;
35357 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35359 PyObject
* obj0
= 0 ;
35360 PyObject
* obj1
= 0 ;
35361 char *kwnames
[] = {
35362 (char *) "self",(char *) "d", NULL
35365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
35366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35367 arg2
= PyInt_AsLong(obj1
) ? true : false;
35368 if (PyErr_Occurred()) SWIG_fail
;
35370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35371 (arg1
)->SetDone(arg2
);
35373 wxPyEndAllowThreads(__tstate
);
35374 if (PyErr_Occurred()) SWIG_fail
;
35376 Py_INCREF(Py_None
); resultobj
= Py_None
;
35383 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35384 PyObject
*resultobj
;
35385 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35387 PyObject
* obj0
= 0 ;
35388 char *kwnames
[] = {
35389 (char *) "self", NULL
35392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
35393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35396 result
= (int)(arg1
)->GetRelationship();
35398 wxPyEndAllowThreads(__tstate
);
35399 if (PyErr_Occurred()) SWIG_fail
;
35401 resultobj
= PyInt_FromLong((long)result
);
35408 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35409 PyObject
*resultobj
;
35410 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35412 PyObject
* obj0
= 0 ;
35413 char *kwnames
[] = {
35414 (char *) "self",(char *) "r", NULL
35417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
35418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35421 (arg1
)->SetRelationship((wxRelationship
)arg2
);
35423 wxPyEndAllowThreads(__tstate
);
35424 if (PyErr_Occurred()) SWIG_fail
;
35426 Py_INCREF(Py_None
); resultobj
= Py_None
;
35433 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35434 PyObject
*resultobj
;
35435 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35436 wxWindow
*arg2
= (wxWindow
*) 0 ;
35438 PyObject
* obj0
= 0 ;
35439 PyObject
* obj1
= 0 ;
35440 char *kwnames
[] = {
35441 (char *) "self",(char *) "otherW", NULL
35444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
35445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35446 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35449 result
= (bool)(arg1
)->ResetIfWin(arg2
);
35451 wxPyEndAllowThreads(__tstate
);
35452 if (PyErr_Occurred()) SWIG_fail
;
35454 resultobj
= PyInt_FromLong((long)result
);
35461 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35462 PyObject
*resultobj
;
35463 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35464 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
35465 wxWindow
*arg3
= (wxWindow
*) 0 ;
35467 PyObject
* obj0
= 0 ;
35468 PyObject
* obj1
= 0 ;
35469 PyObject
* obj2
= 0 ;
35470 char *kwnames
[] = {
35471 (char *) "self",(char *) "constraints",(char *) "win", NULL
35474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35477 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35480 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
35482 wxPyEndAllowThreads(__tstate
);
35483 if (PyErr_Occurred()) SWIG_fail
;
35485 resultobj
= PyInt_FromLong((long)result
);
35492 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35493 PyObject
*resultobj
;
35494 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35496 wxWindow
*arg3
= (wxWindow
*) 0 ;
35497 wxWindow
*arg4
= (wxWindow
*) 0 ;
35499 PyObject
* obj0
= 0 ;
35500 PyObject
* obj2
= 0 ;
35501 PyObject
* obj3
= 0 ;
35502 char *kwnames
[] = {
35503 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
35507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35508 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35509 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35512 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
35514 wxPyEndAllowThreads(__tstate
);
35515 if (PyErr_Occurred()) SWIG_fail
;
35517 resultobj
= PyInt_FromLong((long)result
);
35524 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
35526 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35527 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
35529 return Py_BuildValue((char *)"");
35531 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35532 PyObject
*resultobj
;
35533 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35534 wxIndividualLayoutConstraint
*result
;
35535 PyObject
* obj0
= 0 ;
35536 char *kwnames
[] = {
35537 (char *) "self", NULL
35540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
35541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35542 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
35544 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35551 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35552 PyObject
*resultobj
;
35553 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35554 wxIndividualLayoutConstraint
*result
;
35555 PyObject
* obj0
= 0 ;
35556 char *kwnames
[] = {
35557 (char *) "self", NULL
35560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
35561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35562 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
35564 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35571 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35572 PyObject
*resultobj
;
35573 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35574 wxIndividualLayoutConstraint
*result
;
35575 PyObject
* obj0
= 0 ;
35576 char *kwnames
[] = {
35577 (char *) "self", NULL
35580 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
35581 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35582 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
35584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35591 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35592 PyObject
*resultobj
;
35593 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35594 wxIndividualLayoutConstraint
*result
;
35595 PyObject
* obj0
= 0 ;
35596 char *kwnames
[] = {
35597 (char *) "self", NULL
35600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
35601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35602 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
35604 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35611 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
;
35613 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35614 wxIndividualLayoutConstraint
*result
;
35615 PyObject
* obj0
= 0 ;
35616 char *kwnames
[] = {
35617 (char *) "self", NULL
35620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
35621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35622 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
35624 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35631 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35632 PyObject
*resultobj
;
35633 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35634 wxIndividualLayoutConstraint
*result
;
35635 PyObject
* obj0
= 0 ;
35636 char *kwnames
[] = {
35637 (char *) "self", NULL
35640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
35641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35642 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
35644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35651 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35652 PyObject
*resultobj
;
35653 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35654 wxIndividualLayoutConstraint
*result
;
35655 PyObject
* obj0
= 0 ;
35656 char *kwnames
[] = {
35657 (char *) "self", NULL
35660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
35661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35662 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
35664 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35671 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35672 PyObject
*resultobj
;
35673 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35674 wxIndividualLayoutConstraint
*result
;
35675 PyObject
* obj0
= 0 ;
35676 char *kwnames
[] = {
35677 (char *) "self", NULL
35680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
35681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35682 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
35684 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35691 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35692 PyObject
*resultobj
;
35693 wxLayoutConstraints
*result
;
35694 char *kwnames
[] = {
35698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
35700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35701 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
35703 wxPyEndAllowThreads(__tstate
);
35704 if (PyErr_Occurred()) SWIG_fail
;
35706 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
35713 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35714 PyObject
*resultobj
;
35715 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35716 wxWindow
*arg2
= (wxWindow
*) 0 ;
35717 int *arg3
= (int *) 0 ;
35720 PyObject
* obj0
= 0 ;
35721 PyObject
* obj1
= 0 ;
35722 char *kwnames
[] = {
35723 (char *) "self",(char *) "win", NULL
35727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
35728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35729 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35732 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
35734 wxPyEndAllowThreads(__tstate
);
35735 if (PyErr_Occurred()) SWIG_fail
;
35737 resultobj
= PyInt_FromLong((long)result
);
35739 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
35740 resultobj
= t_output_helper(resultobj
,o
);
35748 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35749 PyObject
*resultobj
;
35750 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35752 PyObject
* obj0
= 0 ;
35753 char *kwnames
[] = {
35754 (char *) "self", NULL
35757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
35758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35761 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
35763 wxPyEndAllowThreads(__tstate
);
35764 if (PyErr_Occurred()) SWIG_fail
;
35766 resultobj
= PyInt_FromLong((long)result
);
35773 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
35775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35776 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
35778 return Py_BuildValue((char *)"");
35780 static PyMethodDef SwigMethods
[] = {
35781 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
35782 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35783 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35784 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
35785 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35786 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35787 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35788 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35789 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
35790 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
35791 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35792 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35793 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
35794 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35795 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
35796 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
35797 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
35798 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35799 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35800 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35801 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35802 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
35803 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
35804 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35805 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35806 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35807 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35808 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35809 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35810 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35811 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35812 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
35813 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35814 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
35815 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
35816 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
35817 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35818 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35819 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35820 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35821 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
35822 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
35823 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35824 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35825 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
35826 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35827 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35828 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35829 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
35830 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
35831 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
35832 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35833 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
35834 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
35835 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35836 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35837 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
35838 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35839 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
35840 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35841 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35842 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35843 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35844 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35845 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35846 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35847 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35848 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35849 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
35850 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35851 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
35852 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35853 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
35854 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
35855 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35856 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
35857 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
35858 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
35859 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
35860 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
35861 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
35862 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35863 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35864 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35865 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
35866 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
35867 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
35868 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35869 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35870 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35871 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35872 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35873 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35874 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35875 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35876 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
35877 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
35878 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
35879 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
35880 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
35881 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
35882 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
35883 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
35884 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
35885 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35886 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35887 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35888 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35889 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
35890 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
35891 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
35892 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
35893 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
35894 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35895 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35896 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
35897 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
35898 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35899 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35900 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35901 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35902 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35903 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35904 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
35905 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
35906 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
35907 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
35908 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
35909 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
35910 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
35911 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
35912 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
35913 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
35914 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
35915 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
35916 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
35917 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
35918 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
35919 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35920 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
35921 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
35922 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
35923 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
35924 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
35925 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
35926 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
35927 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35928 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35929 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
35930 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35931 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
35932 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
35934 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
35935 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
35936 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
35937 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35938 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35940 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35941 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
35944 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
35946 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
35948 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
35951 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
35952 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35953 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35954 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35955 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
35958 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
35959 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35961 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35963 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
35964 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35966 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35967 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35968 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
35970 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
35971 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35972 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
35973 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
35975 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35976 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35978 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
35980 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35982 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
35983 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35984 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35985 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35987 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
35988 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35989 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
35990 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
35994 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
35995 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
36003 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
36006 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
36008 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
36011 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
36017 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
36019 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
36031 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
36033 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36035 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
36043 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
36056 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
36061 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
36064 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
36067 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
36069 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
36071 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
36073 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
36075 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
36077 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
36079 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
36081 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
36083 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
36085 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
36087 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
36089 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
36090 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
36101 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
36119 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
36122 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
36125 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36129 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
36134 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
36137 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
36142 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36144 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36146 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36147 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
36148 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
36149 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36150 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36151 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36152 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36153 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
36154 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36155 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
36156 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
36157 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
36158 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
36159 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
36160 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36161 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
36162 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
36163 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
36164 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
36165 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
36166 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
36167 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
36168 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
36169 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
36170 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
36171 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
36172 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
36173 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
36174 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
36175 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36176 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36177 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36178 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
36179 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
36180 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
36181 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
36182 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36183 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36184 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
36185 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36186 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36187 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
36188 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
36189 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
36190 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
36191 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36192 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36193 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36194 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36195 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36196 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36197 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36198 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36199 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36200 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36201 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36202 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36203 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36204 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36205 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36206 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36207 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36208 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36209 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
36210 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
36211 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
36212 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
36213 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
36214 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
36215 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
36216 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
36217 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36218 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36219 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36220 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36221 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
36222 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
36223 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36224 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
36225 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
36226 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
36227 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
36228 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
36229 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36230 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
36231 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36232 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
36233 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36234 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36235 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36236 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36237 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36238 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36239 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36240 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36241 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36242 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36243 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36244 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36245 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36246 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36247 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36248 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36249 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36250 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36251 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36252 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36253 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36254 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36255 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
36256 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
36257 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
36258 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36259 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36260 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36261 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36262 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36263 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
36264 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
36265 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
36266 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
36267 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
36268 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
36269 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36270 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36271 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36272 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36273 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
36274 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
36275 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
36276 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
36277 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
36278 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
36279 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
36280 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
36281 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
36282 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36283 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
36284 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
36285 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
36286 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36287 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36288 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
36289 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
36290 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36291 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
36292 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
36293 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
36294 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
36295 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
36296 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
36297 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
36298 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
36299 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
36300 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36301 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
36302 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36303 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
36304 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
36305 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
36306 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
36307 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
36308 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
36309 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
36310 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
36311 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
36312 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
36313 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
36314 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36315 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
36316 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
36317 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36318 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
36319 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36320 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
36321 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
36322 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
36323 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
36324 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
36325 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36326 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36327 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
36328 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
36329 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36330 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
36331 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36332 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36333 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36334 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36335 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
36336 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
36337 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36338 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36339 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
36340 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36341 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
36342 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36343 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36344 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
36345 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36346 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
36347 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36348 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36349 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36350 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
36351 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
36352 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36353 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36354 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
36355 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36356 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36357 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36358 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36359 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36360 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36361 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36362 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
36363 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
36364 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36365 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
36366 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36367 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36368 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
36369 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
36370 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36371 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36372 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
36373 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
36374 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
36375 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
36376 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36377 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36378 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
36379 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
36380 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36381 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36382 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36383 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36384 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
36385 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36386 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36387 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36388 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36389 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
36390 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36391 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36392 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36393 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36394 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36395 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36396 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36397 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36398 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36399 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
36400 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36401 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36402 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36403 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36404 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36405 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36406 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
36407 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
36408 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
36409 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
36410 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
36411 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36412 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36413 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36414 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36415 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36416 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36417 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36418 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36419 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36420 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36421 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36422 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36423 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36424 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36425 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36426 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36427 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36428 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36429 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36430 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36431 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
36432 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
36433 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
36434 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36435 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36436 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
36437 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
36438 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36439 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
36440 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
36441 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
36442 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36443 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36444 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
36445 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36446 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36447 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
36448 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36449 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
36450 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
36451 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36452 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36453 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
36454 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
36455 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
36456 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
36457 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
36458 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
36459 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
36460 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36461 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
36462 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
36463 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36464 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36465 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36466 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36467 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36468 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36469 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36470 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36471 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
36472 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
36473 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
36474 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36475 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
36476 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36477 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36478 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
36479 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
36480 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
36481 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
36482 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36483 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36484 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36485 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36486 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36487 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36488 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36489 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36490 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36491 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36492 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
36493 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36494 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36495 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36496 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36497 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
36498 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
36499 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
36500 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36501 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36502 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36503 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36504 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
36505 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
36506 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
36507 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
36508 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
36509 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36510 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36511 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36512 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36513 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36514 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
36515 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36516 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36517 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
36518 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36519 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36520 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36521 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36522 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36523 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36524 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
36525 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
36526 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36527 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36528 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
36529 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36530 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36531 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
36532 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
36533 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
36534 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
36535 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
36536 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
36537 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36538 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36539 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36540 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36541 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36542 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
36543 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
36544 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
36545 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
36546 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
36547 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36548 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36549 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36550 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36551 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36552 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36553 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36554 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36555 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36556 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36557 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36558 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36559 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36560 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36561 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36562 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
36563 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
36564 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36565 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36566 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
36567 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
36568 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
36569 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
36570 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
36571 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
36572 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
36573 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
36574 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
36575 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
36576 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
36577 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
36578 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
36579 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36580 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
36581 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
36582 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
36583 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36584 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36585 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36586 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36587 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36588 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36589 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36590 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36591 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36592 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36593 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
36594 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
36595 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36596 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36597 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
36598 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
36599 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
36600 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
36601 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
36602 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
36603 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
36604 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36605 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
36606 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
36607 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
36608 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
36609 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
36610 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36611 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36612 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36613 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36614 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
36615 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
36616 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
36617 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
36618 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
36619 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
36620 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
36621 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
36622 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
36623 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36624 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
36625 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36626 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
36627 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36628 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36629 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36630 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36631 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
36632 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36633 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36634 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36635 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36636 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36637 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36638 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
36639 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36640 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36641 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36642 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
36643 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36644 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36645 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
36646 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
36647 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
36648 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36649 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
36650 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
36651 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
36652 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36653 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36654 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
36655 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
36656 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
36657 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
36658 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36659 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
36660 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
36661 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
36662 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36663 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36664 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36665 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
36666 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
36667 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
36668 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36669 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36670 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36671 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36672 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36673 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
36674 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36675 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36676 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36677 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36678 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36679 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
36680 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36681 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
36682 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36683 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
36684 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36685 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
36686 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
36687 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
36688 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
36689 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
36690 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36691 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
36692 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36693 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36694 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
36695 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36696 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36697 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36698 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36699 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36700 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36701 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36702 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36703 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36704 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36705 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36706 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
36707 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
36708 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36709 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36710 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36711 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36712 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
36713 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36714 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
36715 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36716 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
36717 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36718 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
36719 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36720 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36721 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36722 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
36723 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
36724 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36725 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36726 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36727 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36728 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
36729 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36730 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
36731 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36732 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36733 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36734 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36735 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36736 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36737 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
36738 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36739 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36740 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36741 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
36742 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36743 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36744 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36745 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36746 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36747 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36748 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36749 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36750 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36751 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
36752 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
36753 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36754 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36755 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36756 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36757 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36758 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36759 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36760 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
36761 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36762 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
36763 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36764 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36765 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36766 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36767 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36768 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36769 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
36770 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
36771 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36772 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36773 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
36774 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36775 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36776 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36777 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36778 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36779 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36780 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36781 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36782 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36783 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36784 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
36785 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
36786 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
36787 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
36788 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
36789 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36790 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36791 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
36792 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
36793 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
36794 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36795 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36796 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36797 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
36798 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
36799 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36800 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
36801 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36802 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
36803 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
36804 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36805 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
36806 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36807 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36808 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
36809 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
36810 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36811 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36812 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36813 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36814 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36815 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
36816 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36817 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36818 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36819 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36820 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
36821 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
36822 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
36823 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36824 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36825 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
36826 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
36827 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36828 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36829 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36830 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36831 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36832 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36833 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36834 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36835 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36836 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36837 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36838 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36839 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36840 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
36841 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36842 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36843 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
36844 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
36845 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36846 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36847 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36848 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36849 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36850 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36851 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36852 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36853 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36854 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36855 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36856 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36857 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36858 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36859 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36860 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36861 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36862 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36863 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36864 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36865 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36866 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36867 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36868 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36869 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
36870 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36871 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36872 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
36873 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
36874 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
36875 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36876 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
36877 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36878 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36879 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36880 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36881 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36882 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
36883 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36884 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
36885 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36886 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36887 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
36888 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36889 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36890 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36891 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
36892 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
36893 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36894 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36895 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
36896 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
36897 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36898 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36899 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
36900 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36901 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36902 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36903 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36904 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36905 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36906 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36907 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36908 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36909 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36910 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36911 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
36912 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
36913 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
36914 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
36915 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
36916 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
36917 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
36918 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
36919 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36920 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36921 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
36922 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
36923 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
36924 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
36925 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36926 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36927 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36928 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36929 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36930 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36931 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
36932 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
36933 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
36934 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36935 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36936 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36937 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36938 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
36939 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36940 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
36941 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36942 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
36943 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
36944 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36945 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36946 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
36947 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
36948 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36949 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36950 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36951 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36952 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
36953 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
36954 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
36955 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
36956 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
36957 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
36958 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
36959 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
36960 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36961 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36962 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
36963 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
36964 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36965 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
36966 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
36967 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
36968 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
36969 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
36970 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
36971 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
36972 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
36973 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
36974 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
36975 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
36976 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36977 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
36978 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36979 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36980 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
36981 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
36982 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
36983 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
36984 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
36985 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36986 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36987 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
36988 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
36989 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36990 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
36991 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
36992 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
36993 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
36994 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
36995 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36996 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36997 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
36998 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
36999 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
37000 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
37001 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
37002 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
37007 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37009 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
37010 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
37012 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
37013 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
37015 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
37016 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37018 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
37019 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37021 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
37022 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
37024 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
37025 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37027 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
37028 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
37030 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
37031 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37033 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37034 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37036 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37037 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37039 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37040 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37042 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37043 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37045 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37046 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37048 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37049 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37051 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37052 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37054 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37055 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37057 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37058 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37060 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37061 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37063 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37064 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37066 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37067 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37069 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37070 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37072 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37073 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37075 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37076 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37078 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37079 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37081 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37082 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37084 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37085 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37087 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37088 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37090 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37091 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37093 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37094 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37096 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37097 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37099 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37100 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37102 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37103 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37105 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37106 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37108 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37109 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37111 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37112 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37114 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37115 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37117 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37118 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37120 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37121 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37123 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37124 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37126 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37127 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37129 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37130 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37132 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37133 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37135 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37136 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37138 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
37139 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37141 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
37142 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37144 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
37145 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37147 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
37148 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
37150 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
37151 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
37153 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37154 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37156 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37157 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37159 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37160 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37162 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37163 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37165 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37166 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37168 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37169 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37171 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37172 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37174 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37175 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37177 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
37178 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
37180 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
37181 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
37183 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
37184 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
37186 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
37187 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
37189 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
37190 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
37192 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
37193 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37195 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
37196 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
37198 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
37199 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
37201 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
37202 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37204 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
37205 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37207 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
37208 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
37210 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
37211 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
37213 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
37214 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
37216 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
37217 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
37219 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
37220 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
37222 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
37223 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
37225 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
37226 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
37228 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
37229 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
37231 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37232 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
37234 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37235 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
37237 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37238 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
37240 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37241 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37243 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37244 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37246 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37247 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37249 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37250 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37252 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37253 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37255 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37256 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37258 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37259 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37261 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37262 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37264 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37265 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37267 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37268 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37270 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37271 return (void *)((wxObject
*) ((wxSizer
*) x
));
37273 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37274 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37276 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37277 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37279 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37280 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37282 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37283 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37285 static void *_p_wxImageTo_p_wxObject(void *x
) {
37286 return (void *)((wxObject
*) ((wxImage
*) x
));
37288 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37289 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37291 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37292 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37294 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37295 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37297 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37298 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37300 static void *_p_wxControlTo_p_wxObject(void *x
) {
37301 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37303 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37304 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37306 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37307 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37309 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37310 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37312 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37313 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37315 static void *_p_wxEventTo_p_wxObject(void *x
) {
37316 return (void *)((wxObject
*) ((wxEvent
*) x
));
37318 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37319 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37321 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37322 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37324 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37325 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37327 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37328 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37330 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37331 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37333 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37334 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37336 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37337 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37339 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37340 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37342 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37343 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37345 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37346 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37348 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37349 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37351 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37352 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37354 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37355 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37357 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37358 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37360 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37361 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37363 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37364 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37366 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37367 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37369 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37370 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37372 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37373 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37375 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37376 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37378 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37379 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37381 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37382 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37384 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37385 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37387 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37388 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37390 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37391 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37393 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37394 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37396 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37397 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37399 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37400 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37402 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37403 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37405 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37406 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37408 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37409 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37411 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37412 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37414 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37415 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37417 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37418 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37420 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37421 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37423 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37424 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37426 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37427 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37429 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37430 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37432 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37433 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37435 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37436 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37438 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37439 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37441 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37442 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37444 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37445 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37447 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37448 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37450 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37451 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37453 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37454 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37456 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37457 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37459 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37460 return (void *)((wxWindow
*) ((wxControl
*) x
));
37462 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37463 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37465 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37466 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37468 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
37469 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37471 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
37472 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
37474 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
37475 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37477 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37478 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37480 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37481 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37483 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37484 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37486 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37487 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37489 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37490 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37492 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37493 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37495 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37496 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37497 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
37498 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37499 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37500 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37501 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}};
37502 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
37503 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37504 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37505 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37506 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37507 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37508 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}};
37509 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}};
37510 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
37511 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37512 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
37513 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37514 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37515 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37516 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37517 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37518 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37519 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
37520 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37521 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37522 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37523 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37524 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37525 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37526 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37527 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37528 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37529 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37530 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37531 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37532 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37533 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37534 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37535 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37536 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37537 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37538 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37539 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37540 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37541 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37542 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37543 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37544 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37545 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37546 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37547 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37548 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37549 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37550 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37551 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37552 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37553 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37554 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37555 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37556 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37557 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37558 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}};
37559 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
37560 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}};
37561 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}};
37562 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}};
37563 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}};
37564 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37565 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37566 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37567 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37568 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37569 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37570 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37571 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37572 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37573 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37574 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37575 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37576 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37577 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37578 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37579 static swig_type_info _swigt__p_wxObject
[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject
},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject
},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject
},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject
},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject
},{"_p_wxSizer", _p_wxSizerTo_p_wxObject
},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject
},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject
},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject
},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject
},{"_p_wxMenu", _p_wxMenuTo_p_wxObject
},{"_p_wxEvent", _p_wxEventTo_p_wxObject
},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject
},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject
},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject
},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject
},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject
},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject
},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject
},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject
},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject
},{"_p_wxControl", _p_wxControlTo_p_wxObject
},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject
},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject
},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject
},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject
},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject
},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject
},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject
},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject
},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject
},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject
},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject
},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject
},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject
},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject
},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject
},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject
},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject
},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject
},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject
},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject
},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject
},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject
},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject
},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject
},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject
},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject
},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject
},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject
},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject
},{"_p_wxImage", _p_wxImageTo_p_wxObject
},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject
},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject
},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject
},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject
},{"_p_wxWindow", _p_wxWindowTo_p_wxObject
},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject
},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject
},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject
},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject
},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject
},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject
},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject
},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject
},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject
},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject
},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject
},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject
},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject
},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject
},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject
},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject
},{0}};
37580 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37581 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37582 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37583 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37584 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37585 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37586 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37587 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}};
37588 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37589 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37590 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37591 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37592 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37593 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37594 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37595 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37596 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37597 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37598 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37599 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}};
37600 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37601 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
37602 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37603 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37604 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37605 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37606 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37607 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
37608 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37610 static swig_type_info
*swig_types_initial
[] = {
37611 _swigt__p_wxLayoutConstraints
,
37612 _swigt__p_wxRealPoint
,
37613 _swigt__p_wxSizerItem
,
37614 _swigt__p_wxGBSizerItem
,
37615 _swigt__p_wxScrollEvent
,
37616 _swigt__p_wxIndividualLayoutConstraint
,
37618 _swigt__p_wxBoxSizer
,
37619 _swigt__p_wxStaticBoxSizer
,
37620 _swigt__p_wxGridBagSizer
,
37621 _swigt__p_wxAcceleratorEntry
,
37622 _swigt__p_wxUpdateUIEvent
,
37625 _swigt__p_wxGridSizer
,
37626 _swigt__p_wxFlexGridSizer
,
37627 _swigt__p_wxInitDialogEvent
,
37628 _swigt__p_wxItemContainer
,
37629 _swigt__p_wxNcPaintEvent
,
37630 _swigt__p_wxPaintEvent
,
37631 _swigt__p_wxSysColourChangedEvent
,
37632 _swigt__p_wxMouseCaptureChangedEvent
,
37633 _swigt__p_wxDisplayChangedEvent
,
37634 _swigt__p_wxPaletteChangedEvent
,
37635 _swigt__p_wxControl
,
37637 _swigt__p_wxMenuBarBase
,
37638 _swigt__p_wxSetCursorEvent
,
37639 _swigt__p_wxFSFile
,
37641 _swigt__p_wxRegion
,
37642 _swigt__p_wxPoint2D
,
37646 _swigt__p_wxPySizer
,
37647 _swigt__p_wxNotifyEvent
,
37648 _swigt__p_wxPyEvent
,
37649 _swigt__p_wxPropagationDisabler
,
37650 _swigt__p_wxAppTraits
,
37651 _swigt__p_wxArrayString
,
37652 _swigt__p_wxShowEvent
,
37653 _swigt__p_wxToolTip
,
37654 _swigt__p_wxMaximizeEvent
,
37655 _swigt__p_wxIconizeEvent
,
37656 _swigt__p_wxActivateEvent
,
37657 _swigt__p_wxMoveEvent
,
37658 _swigt__p_wxSizeEvent
,
37659 _swigt__p_wxQueryNewPaletteEvent
,
37660 _swigt__p_wxWindowCreateEvent
,
37661 _swigt__p_wxIdleEvent
,
37662 _swigt__p_wxMenuItem
,
37663 _swigt__p_wxStaticBox
,
37665 _swigt__p_wxTIFFHandler
,
37666 _swigt__p_wxXPMHandler
,
37667 _swigt__p_wxPNMHandler
,
37668 _swigt__p_wxJPEGHandler
,
37669 _swigt__p_wxPCXHandler
,
37670 _swigt__p_wxGIFHandler
,
37671 _swigt__p_wxPNGHandler
,
37672 _swigt__p_wxANIHandler
,
37673 _swigt__p_wxMemoryFSHandler
,
37674 _swigt__p_wxEvtHandler
,
37675 _swigt__p_wxCURHandler
,
37676 _swigt__p_wxICOHandler
,
37677 _swigt__p_wxBMPHandler
,
37678 _swigt__p_wxImageHandler
,
37679 _swigt__p_wxFileSystemHandler
,
37680 _swigt__p_wxPyFileSystemHandler
,
37681 _swigt__p_wxInternetFSHandler
,
37682 _swigt__p_wxZipFSHandler
,
37684 _swigt__p_wxGBSpan
,
37685 _swigt__p_wxPropagateOnce
,
37686 _swigt__p_wxAcceleratorTable
,
37687 _swigt__p_wxGBPosition
,
37690 _swigt__p_wxScrollWinEvent
,
37691 _swigt__p_wxImageHistogram
,
37694 _swigt__p_wxCursor
,
37695 _swigt__p_wxObject
,
37696 _swigt__p_wxPyInputStream
,
37697 _swigt__p_wxOutputStream
,
37698 _swigt__p_wxInputStream
,
37699 _swigt__p_wxDateTime
,
37700 _swigt__p_wxKeyEvent
,
37701 _swigt__p_wxNavigationKeyEvent
,
37702 _swigt__p_wxWindowDestroyEvent
,
37703 _swigt__p_wxWindow
,
37704 _swigt__p_wxMenuBar
,
37705 _swigt__p_wxString
,
37706 _swigt__p_wxFileSystem
,
37707 _swigt__p_wxBitmap
,
37708 _swigt__p_wxMenuEvent
,
37709 _swigt__p_wxContextMenuEvent
,
37710 _swigt__p_unsigned_char
,
37711 _swigt__p_wxCloseEvent
,
37712 _swigt__p_wxEraseEvent
,
37713 _swigt__p_wxMouseEvent
,
37715 _swigt__p_wxCommandEvent
,
37716 _swigt__p_wxPyCommandEvent
,
37717 _swigt__p_wxPyDropTarget
,
37718 _swigt__p_wxChildFocusEvent
,
37719 _swigt__p_wxFocusEvent
,
37720 _swigt__p_wxDropFilesEvent
,
37721 _swigt__p_wxControlWithItems
,
37722 _swigt__p_wxColour
,
37723 _swigt__p_wxValidator
,
37724 _swigt__p_wxPyValidator
,
37729 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37731 static swig_const_info swig_const_table
[] = {
37732 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
37733 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
37734 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
37735 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
37736 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
37737 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
37738 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
37739 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
37740 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
37741 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
37742 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
37743 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
37744 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
37745 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
37746 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
37747 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
37748 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
37749 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
37750 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
37751 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
37752 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
37753 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
37754 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
37755 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
37756 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
37757 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
37758 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
37759 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
37760 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
37761 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
37762 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
37763 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
37764 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
37765 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
37766 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
37767 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
37768 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
37769 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
37770 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
37771 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
37772 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
37773 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
37774 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
37775 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
37776 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
37777 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
37778 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
37779 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
37780 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
37781 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
37782 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
37783 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
37784 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
37785 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
37786 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
37787 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
37788 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
37789 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
37790 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
37791 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
37792 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
37793 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
37794 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
37795 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
37796 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
37797 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
37798 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
37799 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
37800 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
37801 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
37802 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
37803 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
37804 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
37805 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
37806 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
37807 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
37808 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
37809 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
37810 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
37811 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
37812 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
37813 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
37814 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
37815 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
37816 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
37817 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
37818 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
37819 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
37820 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
37821 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
37822 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
37823 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
37824 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
37825 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
37826 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
37827 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
37828 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
37829 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
37830 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
37831 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
37832 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
37833 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
37834 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
37835 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
37836 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
37837 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
37838 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
37839 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
37840 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
37841 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
37842 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
37843 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
37844 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
37845 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
37846 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
37847 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
37848 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
37849 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
37850 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
37851 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
37852 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
37853 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
37854 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
37855 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
37856 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
37857 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
37858 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
37859 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
37860 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
37861 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
37862 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
37863 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
37864 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
37865 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
37866 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
37867 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
37868 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
37869 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
37870 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
37871 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
37872 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
37873 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
37874 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
37875 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
37876 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
37877 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
37878 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
37879 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
37880 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
37881 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
37882 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
37883 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
37884 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
37885 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
37886 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
37887 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
37888 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
37889 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
37890 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
37891 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
37892 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
37893 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
37894 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
37895 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
37896 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
37897 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
37898 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
37899 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
37900 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
37901 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
37902 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
37903 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
37904 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
37905 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
37906 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
37907 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
37908 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
37909 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
37910 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
37911 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
37912 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
37913 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
37914 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
37915 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
37916 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
37917 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
37918 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
37919 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
37920 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
37921 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
37922 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
37923 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
37924 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
37925 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
37926 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
37927 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
37928 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
37929 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
37930 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
37931 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
37932 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
37933 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
37934 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
37935 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
37936 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
37937 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
37938 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
37939 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
37940 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
37941 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
37942 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
37943 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
37944 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
37945 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
37946 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
37947 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
37948 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
37949 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
37950 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
37951 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
37952 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37953 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
37954 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
37955 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
37956 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
37957 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
37958 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
37959 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
37960 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
37961 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
37962 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
37963 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
37964 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
37965 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
37966 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
37967 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
37968 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
37969 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
37970 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
37971 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
37972 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
37973 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
37974 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
37975 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
37976 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
37977 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
37978 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
37979 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
37980 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
37981 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
37982 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
37983 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
37984 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
37985 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
37986 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
37987 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
37988 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
37989 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
37990 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
37991 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
37992 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
37993 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
37994 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
37995 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
37996 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
37997 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
37998 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
37999 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
38000 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
38001 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
38002 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
38003 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
38004 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
38005 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
38006 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
38007 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
38008 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
38009 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
38010 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
38011 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
38012 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
38013 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
38014 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
38015 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
38016 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
38017 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
38018 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
38019 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
38020 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
38021 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
38022 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
38023 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
38024 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
38025 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
38026 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
38027 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
38028 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
38029 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
38030 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
38031 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
38032 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
38033 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
38034 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
38035 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
38036 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
38037 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
38038 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
38039 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
38040 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
38041 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
38042 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
38043 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
38044 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
38045 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
38046 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
38047 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
38048 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
38049 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
38050 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
38051 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
38052 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
38053 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
38054 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
38055 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
38056 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
38057 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
38058 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
38059 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
38060 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
38061 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
38062 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
38063 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
38064 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
38065 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
38066 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
38067 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
38068 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
38069 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
38070 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
38071 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
38072 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
38073 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
38074 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
38075 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
38076 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
38077 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
38078 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
38079 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
38080 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
38081 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
38082 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
38083 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
38084 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
38085 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
38086 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
38087 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
38088 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
38089 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
38090 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
38091 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
38092 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
38093 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
38094 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
38095 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
38096 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
38097 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
38098 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
38099 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
38100 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
38101 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
38102 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
38103 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
38104 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
38105 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
38106 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
38107 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
38108 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
38109 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
38110 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
38111 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
38112 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
38113 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
38114 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
38115 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
38116 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
38117 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
38118 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
38119 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
38120 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
38121 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
38122 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
38123 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
38124 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
38125 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
38126 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
38127 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
38128 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
38129 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
38130 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
38131 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
38132 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
38133 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
38134 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
38135 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
38136 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
38137 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
38138 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
38139 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
38140 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
38141 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
38142 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
38143 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
38144 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
38145 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
38146 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
38147 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
38148 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
38149 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
38150 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
38151 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
38152 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
38153 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
38154 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
38155 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
38156 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
38157 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
38158 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
38159 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
38160 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
38161 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
38162 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
38163 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
38164 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
38165 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
38166 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
38167 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
38168 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
38169 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
38170 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
38171 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
38172 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
38173 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
38174 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
38175 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
38176 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
38177 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
38178 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
38179 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
38180 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
38181 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
38182 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
38183 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
38184 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
38185 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
38186 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
38187 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
38188 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
38189 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
38190 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
38191 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
38192 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
38193 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
38194 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
38195 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
38196 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
38197 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
38198 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
38199 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
38200 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
38201 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
38202 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
38203 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
38204 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
38205 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
38206 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
38207 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
38208 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
38209 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
38210 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
38211 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
38212 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
38213 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
38214 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
38215 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
38216 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
38217 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
38218 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
38219 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
38220 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
38221 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
38222 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
38223 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
38224 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
38225 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
38226 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
38227 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
38228 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
38229 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
38230 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
38231 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
38232 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
38233 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
38234 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
38235 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
38236 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
38237 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
38238 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
38239 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
38240 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
38241 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
38242 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
38243 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
38244 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
38245 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
38246 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
38247 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
38248 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
38249 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
38250 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
38251 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
38252 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
38253 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
38254 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
38255 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
38256 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
38257 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
38258 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
38259 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
38260 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
38261 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
38262 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
38263 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
38264 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
38265 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
38266 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
38267 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
38268 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
38269 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
38270 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
38271 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
38272 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
38273 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
38274 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
38275 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
38276 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
38277 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
38278 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
38279 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
38280 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
38281 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
38282 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
38283 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
38284 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
38285 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
38286 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
38287 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
38288 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
38289 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
38290 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
38291 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
38292 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
38293 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
38294 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
38295 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
38296 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
38297 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
38298 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
38299 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
38300 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
38301 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
38302 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
38303 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
38304 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
38305 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
38306 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
38307 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
38308 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
38309 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
38310 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
38311 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
38312 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
38313 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
38314 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
38315 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
38316 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
38317 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
38318 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
38319 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
38320 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
38321 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
38322 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
38323 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
38324 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
38325 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
38326 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
38327 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
38328 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
38329 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
38330 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
38331 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
38332 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
38333 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
38334 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
38335 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
38336 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
38337 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
38338 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
38339 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
38340 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
38341 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
38342 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
38343 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
38344 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
38345 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
38346 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
38347 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
38348 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
38349 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
38350 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
38351 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
38352 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
38353 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
38354 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
38355 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
38356 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
38357 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
38358 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
38359 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
38360 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
38361 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
38362 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
38363 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
38364 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
38365 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
38366 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
38367 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
38368 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
38369 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
38370 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
38371 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
38372 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
38373 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
38374 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
38375 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
38376 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
38377 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
38378 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
38379 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
38380 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
38381 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
38382 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
38383 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
38384 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
38385 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
38386 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
38387 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
38388 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
38389 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
38390 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
38391 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
38392 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
38393 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
38394 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
38395 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
38396 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
38397 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
38398 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
38399 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
38400 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
38401 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
38402 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
38403 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
38404 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
38405 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
38406 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
38407 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
38408 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
38409 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
38410 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
38411 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
38412 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
38413 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
38414 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
38415 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
38416 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
38417 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
38418 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
38419 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
38420 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
38421 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
38422 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
38423 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
38424 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
38425 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
38426 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
38427 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
38428 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
38429 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
38430 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
38431 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
38432 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
38433 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
38434 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
38435 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
38436 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
38437 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
38438 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
38439 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
38440 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
38441 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
38442 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
38443 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
38444 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
38445 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
38446 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
38447 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
38448 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
38449 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
38450 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
38451 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
38452 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
38453 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
38454 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
38455 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
38456 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
38457 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
38458 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
38459 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
38460 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
38461 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
38462 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
38463 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
38464 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
38465 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
38466 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
38467 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
38468 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
38469 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
38470 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
38471 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
38472 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
38473 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
38474 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
38475 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
38476 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
38477 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
38478 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
38479 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
38480 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
38481 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
38482 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
38483 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
38484 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
38485 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
38486 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
38487 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
38488 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
38489 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
38490 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
38491 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
38492 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
38493 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
38494 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
38495 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
38496 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
38497 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
38498 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
38499 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
38509 SWIGEXPORT(void) SWIG_init(void) {
38510 static PyObject
*SWIG_globals
= 0;
38511 static int typeinit
= 0;
38514 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38515 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38516 d
= PyModule_GetDict(m
);
38519 for (i
= 0; swig_types_initial
[i
]; i
++) {
38520 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38524 SWIG_InstallConstants(d
,swig_const_table
);
38527 #ifndef wxPyUSE_EXPORT
38528 // Make our API structure a CObject so other modules can import it
38529 // from this module.
38530 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
38531 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
38535 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38536 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
38537 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
38539 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38542 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38544 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
38545 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
38546 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
38547 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
38548 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
38549 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
38550 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
38551 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
38552 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
38553 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
38554 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
38555 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
38556 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
38557 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
38558 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
38559 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
38560 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
38561 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
38562 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
38563 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
38564 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
38565 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
38566 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
38567 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
38568 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
38569 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
38570 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
38571 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
38572 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
38573 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
38574 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
38575 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
38576 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
38577 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
38578 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
38579 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
38580 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
38581 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
38582 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
38583 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
38584 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
38585 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
38586 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
38587 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
38588 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
38589 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
38590 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
38591 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
38592 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
38593 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
38594 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
38595 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
38596 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
38597 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
38598 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
38599 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
38600 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
38601 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
38602 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
38603 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
38604 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
38605 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
38606 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
38607 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
38608 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
38609 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
38610 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
38611 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
38612 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
38613 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
38614 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
38615 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
38616 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
38617 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
38618 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
38619 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
38620 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
38621 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
38622 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
38623 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
38624 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
38625 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
38626 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
38627 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
38628 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
38629 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
38630 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
38631 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
38632 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
38633 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
38634 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
38635 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
38636 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
38637 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
38638 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
38639 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
38640 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
38641 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
38642 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
38643 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
38644 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
38645 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
38646 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
38647 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
38648 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
38649 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
38650 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
38651 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
38652 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
38653 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
38654 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
38655 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
38656 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
38657 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
38658 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
38659 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
38660 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
38661 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
38662 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
38663 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
38664 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
38665 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
38666 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
38667 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
38669 // Initialize threading, some globals and such
38673 // Although these are defined in __version__ they need to be here too so
38674 // that an assert can be done to ensure that the wxPython and the wxWindows
38676 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
38677 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
38678 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));