1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_NOINCLUDE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
33 /*************************************************************** -*- c -*-
34 * python/precommon.swg
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
39 ************************************************************************/
41 #define SWIG_TypeRegister SWIG_Python_TypeRegister
42 #define SWIG_TypeCheck SWIG_Python_TypeCheck
43 #define SWIG_TypeCast SWIG_Python_TypeCast
44 #define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45 #define SWIG_TypeName SWIG_Python_TypeName
46 #define SWIG_TypeQuery SWIG_Python_TypeQuery
47 #define SWIG_TypeClientData SWIG_Python_TypeClientData
50 /***********************************************************************
51 * common.swg for wxPython
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 ************************************************************************/
62 #if defined(_WIN32) || defined(__WIN32__)
63 # if defined(_MSC_VER)
64 # if defined(STATIC_LINKED)
65 # define SWIGEXPORT(a) a
66 # define SWIGIMPORT(a) extern a
68 # define SWIGEXPORT(a) __declspec(dllexport) a
69 # define SWIGIMPORT(a) extern a
72 # if defined(__BORLANDC__)
73 # define SWIGEXPORT(a) a _export
74 # define SWIGIMPORT(a) a _export
76 # define SWIGEXPORT(a) a
77 # define SWIGIMPORT(a) a
81 # define SWIGEXPORT(a) a
82 # define SWIGIMPORT(a) a
86 #define SWIGRUNTIME(a) SWIGEXPORT(a)
88 #define SWIGRUNTIME(a) static a
96 typedef void *(*swig_converter_func
)(void *);
97 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
99 typedef struct swig_type_info
{
101 swig_converter_func converter
;
104 swig_dycast_func dcast
;
105 struct swig_type_info
*next
;
106 struct swig_type_info
*prev
;
110 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
112 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
113 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
114 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
115 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
116 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
124 /***********************************************************************
125 * pyrun.swg for wxPython
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
132 ************************************************************************/
141 #define SWIG_PY_INT 1
142 #define SWIG_PY_FLOAT 2
143 #define SWIG_PY_STRING 3
144 #define SWIG_PY_POINTER 4
145 #define SWIG_PY_BINARY 5
147 /* Flags for pointer conversion */
149 #define SWIG_POINTER_EXCEPTION 0x1
150 #define SWIG_POINTER_DISOWN 0x2
152 /* Exception handling in wrappers */
153 #define SWIG_fail goto fail
155 /* Constant information structure */
156 typedef struct swig_const_info
{
162 swig_type_info
**ptype
;
167 /* Common SWIG API */
168 #define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170 #define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172 #define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175 /* Python-specific SWIG API */
176 #define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182 #define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184 #define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186 #define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188 #define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
192 SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
193 SWIGEXPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
194 SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
196 SWIGEXPORT(PyObject
*) SWIG_Python_newvarlink(void);
197 SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
198 SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
199 SWIGEXPORT(char *) SWIG_Python_PackData(char *c
, void *, int);
200 SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c
, void *, int);
201 SWIGEXPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
202 SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
205 /* Contract support */
207 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
216 /* -------- TYPES TABLE (BEGIN) -------- */
218 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
219 #define SWIGTYPE_p_wxRealPoint swig_types[1]
220 #define SWIGTYPE_p_wxSizerItem swig_types[2]
221 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
222 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
223 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
224 #define SWIGTYPE_p_wxSizer swig_types[6]
225 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
226 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
227 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
228 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
229 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
230 #define SWIGTYPE_p_wxMenu swig_types[12]
231 #define SWIGTYPE_p_wxEvent swig_types[13]
232 #define SWIGTYPE_p_wxGridSizer swig_types[14]
233 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
234 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
235 #define SWIGTYPE_p_wxItemContainer swig_types[17]
236 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
237 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
238 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
239 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
240 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
241 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
242 #define SWIGTYPE_p_wxControl swig_types[24]
243 #define SWIGTYPE_p_wxFont swig_types[25]
244 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
245 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
246 #define SWIGTYPE_p_wxFSFile swig_types[28]
247 #define SWIGTYPE_p_wxCaret swig_types[29]
248 #define SWIGTYPE_p_wxRegion swig_types[30]
249 #define SWIGTYPE_p_wxPoint2D swig_types[31]
250 #define SWIGTYPE_p_int swig_types[32]
251 #define SWIGTYPE_p_wxSize swig_types[33]
252 #define SWIGTYPE_p_wxDC swig_types[34]
253 #define SWIGTYPE_p_wxPySizer swig_types[35]
254 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
255 #define SWIGTYPE_p_wxPyEvent swig_types[37]
256 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
257 #define SWIGTYPE_p_wxAppTraits swig_types[39]
258 #define SWIGTYPE_p_wxArrayString swig_types[40]
259 #define SWIGTYPE_p_wxShowEvent swig_types[41]
260 #define SWIGTYPE_p_wxToolTip swig_types[42]
261 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
262 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
263 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
264 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
265 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
266 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
267 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
268 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
269 #define SWIGTYPE_p_wxMenuItem swig_types[51]
270 #define SWIGTYPE_p_wxStaticBox swig_types[52]
271 #define SWIGTYPE_p_long swig_types[53]
272 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
273 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
274 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
275 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
276 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
277 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
278 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
279 #define SWIGTYPE_p_wxANIHandler swig_types[61]
280 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
281 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
282 #define SWIGTYPE_p_wxCURHandler swig_types[64]
283 #define SWIGTYPE_p_wxICOHandler swig_types[65]
284 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
285 #define SWIGTYPE_p_wxImageHandler swig_types[67]
286 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
287 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
288 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
289 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
290 #define SWIGTYPE_p_wxRect swig_types[72]
291 #define SWIGTYPE_p_wxGBSpan swig_types[73]
292 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
293 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
294 #define SWIGTYPE_p_wxGBPosition swig_types[76]
295 #define SWIGTYPE_p_wxImage swig_types[77]
296 #define SWIGTYPE_p_wxFrame swig_types[78]
297 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
298 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
299 #define SWIGTYPE_p_byte swig_types[81]
300 #define SWIGTYPE_p_wxPoint swig_types[82]
301 #define SWIGTYPE_p_wxCursor swig_types[83]
302 #define SWIGTYPE_p_wxObject swig_types[84]
303 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
304 #define SWIGTYPE_p_wxOutputStream swig_types[86]
305 #define SWIGTYPE_p_wxInputStream swig_types[87]
306 #define SWIGTYPE_p_wxDateTime swig_types[88]
307 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
308 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
309 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
310 #define SWIGTYPE_p_wxWindow swig_types[92]
311 #define SWIGTYPE_p_wxMenuBar swig_types[93]
312 #define SWIGTYPE_p_wxString swig_types[94]
313 #define SWIGTYPE_p_wxFileSystem swig_types[95]
314 #define SWIGTYPE_p_wxBitmap swig_types[96]
315 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
316 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
317 #define SWIGTYPE_p_unsigned_char swig_types[99]
318 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
319 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
320 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
321 #define SWIGTYPE_p_wxPyApp swig_types[103]
322 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
323 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
324 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
325 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
326 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
327 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
328 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
329 #define SWIGTYPE_p_wxColour swig_types[111]
330 #define SWIGTYPE_p_wxValidator swig_types[112]
331 #define SWIGTYPE_p_wxPyValidator swig_types[113]
332 static swig_type_info
*swig_types
[115];
334 /* -------- TYPES TABLE (END) -------- */
337 /*-----------------------------------------------
339 ------------------------------------------------*/
340 #define SWIG_init init_core
342 #define SWIG_name "_core"
344 #include "wx/wxPython/wxPython_int.h"
345 #include "wx/wxPython/pyclasses.h"
348 #ifndef wxPyUSE_EXPORT
349 // Helper functions for dealing with SWIG objects and such. These are
350 // located here so they know about the SWIG types and functions declared
351 // in the wrapper code.
353 #include <wx/hashmap.h>
354 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
357 // Maintains a hashmap of className to swig_type_info pointers. Given the
358 // name of a class either looks up the type info in the cache, or scans the
359 // SWIG tables for it.
360 extern PyObject
* wxPyPtrTypeMap
;
362 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
364 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
366 if (typeInfoCache
== NULL
)
367 typeInfoCache
= new wxPyTypeInfoHashMap
;
369 wxString
name(className
);
370 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
373 // it wasn't in the cache, so look it up from SWIG
374 name
.Append(wxT(" *"));
375 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
377 // if it still wasn't found, try looking for a mapped name
382 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
383 (char*)(const char*)name
.mbc_str())) != NULL
) {
384 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
385 name
.Append(wxT(" *"));
386 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
390 // and add it to the map if found
391 (*typeInfoCache
)[className
] = swigType
;
398 // Check if a class name is a type known to SWIG
399 bool wxPyCheckSwigType(const wxChar
* className
) {
401 swig_type_info
* swigType
= wxPyFindSwigType(className
);
402 return swigType
!= NULL
;
406 // Given a pointer to a C++ object and a class name, construct a Python proxy
408 PyObject
* wxPyConstructObject(void* ptr
,
409 const wxChar
* className
,
412 swig_type_info
* swigType
= wxPyFindSwigType(className
);
413 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
415 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
419 // Extract a pointer to the wrapped C++ object from a Python proxy object.
420 // Ensures that the proxy object is of the specified (or derived) type. If
421 // not able to perform the conversion then a Python exception is set and the
422 // error should be handled properly in the caller. Returns True on success.
423 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
424 const wxChar
* className
) {
426 swig_type_info
* swigType
= wxPyFindSwigType(className
);
427 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
429 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
433 // Make a SWIGified pointer object suitable for a .this attribute
434 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
436 PyObject
* robj
= NULL
;
438 swig_type_info
* swigType
= wxPyFindSwigType(className
);
439 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
441 #ifdef SWIG_COBJECT_TYPES
442 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
448 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
449 strcpy(r
, swigType
->name
);
450 robj
= PyString_FromString(result
);
460 // Export a C API in a struct. Other modules will be able to load this from
461 // the wx.core module and will then have safe access to these functions, even if
462 // they are located in another shared library.
463 static wxPyCoreAPI API
= {
465 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
466 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
467 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
468 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
469 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
470 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
471 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
472 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
473 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
474 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
475 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
476 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
477 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
478 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
479 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
480 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
481 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
488 wxPyBeginAllowThreads
,
490 wxPyBeginBlockThreads
,
504 wxBitmap_LIST_helper
,
505 wxString_LIST_helper
,
506 wxAcceleratorEntry_LIST_helper
,
515 wxPySimple_typecheck
,
518 wxPyCBH_setCallbackInfo
,
519 wxPyCBH_findCallback
,
520 wxPyCBH_callCallback
,
521 wxPyCBH_callCallbackObj
,
529 wxArrayString2PyList_helper
,
530 wxArrayInt2PyList_helper
,
534 wxPyOORClientData_dtor
,
536 wxPyCBInputStream_create
,
539 wxPySwigInstance_Check
546 DECLARE_DEF_STRING(EmptyString
);
547 // DECLARE_DEF_STRING(PanelNameStr);
551 enum wxHotkeyModifier
559 #define wxEVT_HOTKEY 9999
562 wxString
wxObject_GetClassName(wxObject
*self
){
563 return self
->GetClassInfo()->GetClassName();
565 void wxObject_Destroy(wxObject
*self
){
570 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
573 PyObject
*wxSize_Get(wxSize
*self
){
574 wxPyBeginBlockThreads();
575 PyObject
* tup
= PyTuple_New(2);
576 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
577 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
578 wxPyEndBlockThreads();
581 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
585 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
586 wxPyBeginBlockThreads();
587 PyObject
* tup
= PyTuple_New(2);
588 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
589 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
590 wxPyEndBlockThreads();
593 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
597 PyObject
*wxPoint_Get(wxPoint
*self
){
598 wxPyBeginBlockThreads();
599 PyObject
* tup
= PyTuple_New(2);
600 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
601 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
602 wxPyEndBlockThreads();
605 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
609 self
->height
= height
;
611 PyObject
*wxRect_Get(wxRect
*self
){
612 wxPyBeginBlockThreads();
613 PyObject
* tup
= PyTuple_New(4);
614 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
615 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
616 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
617 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
618 wxPyEndBlockThreads();
622 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
625 wxRect
dest(0,0,0,0);
628 reg1
.Intersect(reg2
);
629 dest
= reg1
.GetBox();
631 if (dest
!= wxRect(0,0,0,0)) {
632 wxPyBeginBlockThreads();
633 wxRect
* newRect
= new wxRect(dest
);
634 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
635 wxPyEndBlockThreads();
643 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
649 } else if (target
== Py_None
) {
653 if (!PyTuple_Check(target
)) {
655 target
= PyTuple_New(1);
656 PyTuple_SetItem(target
, 0, o2
);
659 PyTuple_SetItem(o3
, 0, o
);
662 target
= PySequence_Concat(o2
, o3
);
669 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
673 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
674 wxPyBeginBlockThreads();
675 PyObject
* tup
= PyTuple_New(2);
676 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
677 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
678 wxPyEndBlockThreads();
682 #include "wx/wxPython/pyistream.h"
684 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
685 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
687 return new wxPyInputStream(wxis
);
691 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
692 // We use only strings for the streams, not unicode
693 PyObject
* str
= PyObject_Str(obj
);
695 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
698 self
->Write(PyString_AS_STRING(str
),
699 PyString_GET_SIZE(str
));
703 #include "wx/wxPython/pyistream.h"
706 class wxPyFileSystemHandler
: public wxFileSystemHandler
709 wxPyFileSystemHandler() : wxFileSystemHandler() {}
711 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
712 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
713 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
714 DEC_PYCALLBACK_STRING__pure(FindNext
);
716 wxString
GetProtocol(const wxString
& location
) {
717 return wxFileSystemHandler::GetProtocol(location
);
720 wxString
GetLeftLocation(const wxString
& location
) {
721 return wxFileSystemHandler::GetLeftLocation(location
);
724 wxString
GetAnchor(const wxString
& location
) {
725 return wxFileSystemHandler::GetAnchor(location
);
728 wxString
GetRightLocation(const wxString
& location
) {
729 return wxFileSystemHandler::GetRightLocation(location
);
732 wxString
GetMimeTypeFromExt(const wxString
& location
) {
733 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
740 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
741 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
742 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
743 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
746 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
747 wxFileName fname
= wxFileSystem::URLToFileName(url
);
748 return fname
.GetFullPath();
752 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
755 wxMemoryFSHandler::AddFile(filename
, image
, type
);
758 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
759 const wxBitmap
& bitmap
,
761 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
764 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
766 wxMemoryFSHandler::AddFile(filename
,
767 // TODO: Verify data type
768 (void*)PyString_AsString(data
),
769 (size_t)PyString_Size(data
));
773 #include "wx/wxPython/pyistream.h"
775 wxImage
*new_wxImage(int width
,int height
,bool clear
){
776 if (width
> 0 && height
> 0)
777 return new wxImage(width
, height
, clear
);
781 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
782 return new wxImage(bitmap
.ConvertToImage());
784 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
785 // Copy the source data so the wxImage can clean it up later
786 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
791 memcpy(copy
, data
, width
*height
*3);
792 return new wxImage(width
, height
, copy
, False
);
794 PyObject
*wxImage_GetData(wxImage
*self
){
795 unsigned char* data
= self
->GetData();
796 int len
= self
->GetWidth() * self
->GetHeight() * 3;
798 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
801 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
802 unsigned char* dataPtr
;
804 if (! PyString_Check(data
)) {
805 PyErr_SetString(PyExc_TypeError
, "Expected string object");
809 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
810 dataPtr
= (unsigned char*) malloc(len
);
811 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
812 self
->SetData(dataPtr
);
813 // wxImage takes ownership of dataPtr...
815 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
816 unsigned char* data
= self
->GetData();
817 int len
= self
->GetWidth() * self
->GetHeight() * 3;
819 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
822 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
823 unsigned char* buffer
;
826 wxPyBeginBlockThreads();
827 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
830 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
831 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
834 self
->SetData(buffer
);
836 wxPyEndBlockThreads();
838 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
839 unsigned char* data
= self
->GetAlpha();
843 int len
= self
->GetWidth() * self
->GetHeight();
845 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
849 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
850 unsigned char* dataPtr
;
852 if (! PyString_Check(data
)) {
853 PyErr_SetString(PyExc_TypeError
, "Expected string object");
857 size_t len
= self
->GetWidth() * self
->GetHeight();
858 dataPtr
= (unsigned char*) malloc(len
);
859 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
860 self
->SetAlpha(dataPtr
);
861 // wxImage takes ownership of dataPtr...
863 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
864 unsigned char* data
= self
->GetAlpha();
865 int len
= self
->GetWidth() * self
->GetHeight();
867 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
870 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
871 unsigned char* buffer
;
874 wxPyBeginBlockThreads();
875 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
878 if (size
!= self
->GetWidth() * self
->GetHeight()) {
879 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
882 self
->SetAlpha(buffer
);
884 wxPyEndBlockThreads();
886 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
887 wxBitmap
bitmap(*self
);
890 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
891 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
892 wxBitmap
bitmap( mono
, 1 );
895 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
896 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
897 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
898 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
899 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
900 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
901 if (PyCallable_Check(func
)) {
902 self
->Connect(id
, lastId
, eventType
,
903 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
904 new wxPyCallback(func
));
906 else if (func
== Py_None
) {
907 self
->Disconnect(id
, lastId
, eventType
,
908 (wxObjectEventFunction
)
909 &wxPyCallback::EventThunker
);
912 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
915 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
916 return self
->Disconnect(id
, lastId
, eventType
,
917 (wxObjectEventFunction
)
918 &wxPyCallback::EventThunker
);
920 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
921 if (_self
&& _self
!= Py_None
) {
922 self
->SetClientObject(new wxPyOORClientData(_self
));
925 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
927 self
->SetClientObject(NULL
); // This will delete it too
931 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
933 return self
->m_uniChar
;
938 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
941 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
944 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
945 int count
= self
->GetNumberOfFiles();
946 wxString
* files
= self
->GetFiles();
947 PyObject
* list
= PyList_New(count
);
950 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
954 for (int i
=0; i
<count
; i
++) {
955 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
961 wxPyApp
*new_wxPyApp(){
962 wxPythonApp
= new wxPyApp();
965 int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError
); return 0; }
967 void wxApp_CleanUp() {
972 wxPyApp
* wxGetApp() {
973 return (wxPyApp
*)wxTheApp
;
978 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
979 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
980 wxWindowList
& list
= self
->GetChildren();
981 return wxPy_ConvertList(&list
);
983 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
990 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
997 long wxWindow_GetHandle(wxWindow
*self
){
998 return wxPyGetWinHandle(self
);
1001 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
1002 return wxWindow::FindWindowById(id
, parent
);
1005 wxWindow
* wxFindWindowByName( const wxString
& name
,
1006 const wxWindow
*parent
= NULL
) {
1007 return wxWindow::FindWindowByName(name
, parent
);
1010 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1011 const wxWindow
*parent
= NULL
) {
1012 return wxWindow::FindWindowByLabel(label
, parent
);
1016 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1018 wxWindow
* win
= new wxWindow
;
1020 win
->SubclassWin(hWnd
);
1023 PyErr_SetNone(PyExc_NotImplementedError
);
1029 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1030 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1031 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1033 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1035 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1036 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1037 wxMenuItemList
& list
= self
->GetMenuItems();
1038 return wxPy_ConvertList(&list
);
1040 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1042 DECLARE_DEF_STRING(ControlNameStr
);
1044 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1046 wxPyClientData
* data
= new wxPyClientData(clientData
);
1047 return self
->Append(item
, data
);
1049 return self
->Append(item
);
1051 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1053 wxPyClientData
* data
= new wxPyClientData(clientData
);
1054 return self
->Insert(item
, pos
, data
);
1056 return self
->Insert(item
, pos
);
1058 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1059 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1061 Py_INCREF(data
->m_obj
);
1068 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1069 wxPyClientData
* data
= new wxPyClientData(clientData
);
1070 self
->SetClientObject(n
, data
);
1074 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1075 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1077 Py_INCREF(data
->m_obj
);
1085 // Figure out the type of the sizer item
1087 struct wxPySizerItemInfo
{
1089 : window(NULL
), sizer(NULL
), gotSize(False
),
1090 size(wxDefaultSize
), gotPos(False
), pos(-1)
1101 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1103 wxPySizerItemInfo info
;
1105 wxSize
* sizePtr
= &size
;
1107 // Find out what the type of the item is
1109 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1114 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1118 // try wxSize or (w,h)
1119 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1120 info
.size
= *sizePtr
;
1121 info
.gotSize
= True
;
1125 if (checkIdx
&& PyInt_Check(item
)) {
1126 info
.pos
= PyInt_AsLong(item
);
1132 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1133 // no expected type, figure out what kind of error message to generate
1134 if ( !checkSize
&& !checkIdx
)
1135 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1136 else if ( checkSize
&& !checkIdx
)
1137 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1138 else if ( !checkSize
&& checkIdx
)
1139 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1141 // can this one happen?
1142 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1148 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1149 self
->SetClientObject(new wxPyOORClientData(_self
));
1151 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1153 wxPyUserData
* data
= NULL
;
1154 wxPyBeginBlockThreads();
1155 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1156 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1157 data
= new wxPyUserData(userData
);
1158 wxPyEndBlockThreads();
1160 // Now call the real Add method if a valid item type was found
1162 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1163 else if ( info
.sizer
)
1164 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1165 else if (info
.gotSize
)
1166 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1167 proportion
, flag
, border
, data
);
1169 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1171 wxPyUserData
* data
= NULL
;
1172 wxPyBeginBlockThreads();
1173 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1174 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1175 data
= new wxPyUserData(userData
);
1176 wxPyEndBlockThreads();
1178 // Now call the real Insert method if a valid item type was found
1180 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1181 else if ( info
.sizer
)
1182 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1183 else if (info
.gotSize
)
1184 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1185 proportion
, flag
, border
, data
);
1187 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1189 wxPyUserData
* data
= NULL
;
1190 wxPyBeginBlockThreads();
1191 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1192 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1193 data
= new wxPyUserData(userData
);
1194 wxPyEndBlockThreads();
1196 // Now call the real Prepend method if a valid item type was found
1198 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1199 else if ( info
.sizer
)
1200 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1201 else if (info
.gotSize
)
1202 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1203 proportion
, flag
, border
, data
);
1205 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1206 wxPyBeginBlockThreads();
1207 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1208 wxPyEndBlockThreads();
1210 return self
->Remove(info
.window
);
1211 else if ( info
.sizer
)
1212 return self
->Remove(info
.sizer
);
1213 else if ( info
.gotPos
)
1214 return self
->Remove(info
.pos
);
1218 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1219 wxPyBeginBlockThreads();
1220 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1221 wxPyEndBlockThreads();
1223 self
->SetItemMinSize(info
.window
, size
);
1224 else if ( info
.sizer
)
1225 self
->SetItemMinSize(info
.sizer
, size
);
1226 else if ( info
.gotPos
)
1227 self
->SetItemMinSize(info
.pos
, size
);
1229 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1230 wxSizerItemList
& list
= self
->GetChildren();
1231 return wxPy_ConvertList(&list
);
1233 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1234 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1236 self
->Show(info
.window
, show
);
1237 else if ( info
.sizer
)
1238 self
->Show(info
.sizer
, show
);
1240 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1241 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1243 self
->Hide(info
.window
);
1244 else if ( info
.sizer
)
1245 self
->Hide(info
.sizer
);
1247 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1248 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1250 return self
->IsShown(info
.window
);
1251 else if ( info
.sizer
)
1252 return self
->IsShown(info
.sizer
);
1258 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1259 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1260 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1265 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1267 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1270 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1272 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1276 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1280 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1281 wxPyBeginBlockThreads();
1282 PyObject
* tup
= PyTuple_New(2);
1283 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1284 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1285 wxPyEndBlockThreads();
1288 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1289 self
->SetRowspan(rowspan
);
1290 self
->SetColspan(colspan
);
1292 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1293 wxPyBeginBlockThreads();
1294 PyObject
* tup
= PyTuple_New(2);
1295 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1296 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1297 wxPyEndBlockThreads();
1300 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1302 wxPyUserData
* data
= NULL
;
1303 wxPyBeginBlockThreads();
1304 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1305 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1306 data
= new wxPyUserData(userData
);
1307 wxPyEndBlockThreads();
1309 // Now call the real Add method if a valid item type was found
1311 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1312 else if ( info
.sizer
)
1313 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1314 else if (info
.gotSize
)
1315 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1316 pos
, span
, flag
, border
, data
);
1324 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1325 PyObject
*resultobj
;
1326 wxObject
*arg1
= (wxObject
*) 0 ;
1328 PyObject
* obj0
= 0 ;
1330 (char *) "self", NULL
1333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1337 result
= wxObject_GetClassName(arg1
);
1339 wxPyEndAllowThreads(__tstate
);
1340 if (PyErr_Occurred()) SWIG_fail
;
1344 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1346 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1355 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1356 PyObject
*resultobj
;
1357 wxObject
*arg1
= (wxObject
*) 0 ;
1358 PyObject
* obj0
= 0 ;
1360 (char *) "self", NULL
1363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1367 wxObject_Destroy(arg1
);
1369 wxPyEndAllowThreads(__tstate
);
1370 if (PyErr_Occurred()) SWIG_fail
;
1372 Py_INCREF(Py_None
); resultobj
= Py_None
;
1379 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1381 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1382 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1384 return Py_BuildValue((char *)"");
1386 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1387 PyObject
*resultobj
;
1388 wxSize
*arg1
= (wxSize
*) 0 ;
1390 PyObject
* obj0
= 0 ;
1392 (char *) "self",(char *) "x", NULL
1395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1397 if (arg1
) (arg1
)->x
= arg2
;
1399 Py_INCREF(Py_None
); resultobj
= Py_None
;
1406 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1407 PyObject
*resultobj
;
1408 wxSize
*arg1
= (wxSize
*) 0 ;
1410 PyObject
* obj0
= 0 ;
1412 (char *) "self", NULL
1415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1417 result
= (int) ((arg1
)->x
);
1419 resultobj
= PyInt_FromLong((long)result
);
1426 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1427 PyObject
*resultobj
;
1428 wxSize
*arg1
= (wxSize
*) 0 ;
1430 PyObject
* obj0
= 0 ;
1432 (char *) "self",(char *) "y", NULL
1435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1437 if (arg1
) (arg1
)->y
= arg2
;
1439 Py_INCREF(Py_None
); resultobj
= Py_None
;
1446 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1447 PyObject
*resultobj
;
1448 wxSize
*arg1
= (wxSize
*) 0 ;
1450 PyObject
* obj0
= 0 ;
1452 (char *) "self", NULL
1455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1457 result
= (int) ((arg1
)->y
);
1459 resultobj
= PyInt_FromLong((long)result
);
1466 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1467 PyObject
*resultobj
;
1468 int arg1
= (int) 0 ;
1469 int arg2
= (int) 0 ;
1472 (char *) "w",(char *) "h", NULL
1475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1478 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1480 wxPyEndAllowThreads(__tstate
);
1481 if (PyErr_Occurred()) SWIG_fail
;
1483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1490 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1491 PyObject
*resultobj
;
1492 wxSize
*arg1
= (wxSize
*) 0 ;
1493 PyObject
* obj0
= 0 ;
1495 (char *) "self", NULL
1498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1504 wxPyEndAllowThreads(__tstate
);
1505 if (PyErr_Occurred()) SWIG_fail
;
1507 Py_INCREF(Py_None
); resultobj
= Py_None
;
1514 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1515 PyObject
*resultobj
;
1516 wxSize
*arg1
= (wxSize
*) 0 ;
1520 PyObject
* obj0
= 0 ;
1521 PyObject
* obj1
= 0 ;
1523 (char *) "self",(char *) "sz", NULL
1526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1530 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1534 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1536 wxPyEndAllowThreads(__tstate
);
1537 if (PyErr_Occurred()) SWIG_fail
;
1539 resultobj
= PyInt_FromLong((long)result
);
1546 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1547 PyObject
*resultobj
;
1548 wxSize
*arg1
= (wxSize
*) 0 ;
1552 PyObject
* obj0
= 0 ;
1553 PyObject
* obj1
= 0 ;
1555 (char *) "self",(char *) "sz", NULL
1558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1562 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1566 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1568 wxPyEndAllowThreads(__tstate
);
1569 if (PyErr_Occurred()) SWIG_fail
;
1571 resultobj
= PyInt_FromLong((long)result
);
1578 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1579 PyObject
*resultobj
;
1580 wxSize
*arg1
= (wxSize
*) 0 ;
1584 PyObject
* obj0
= 0 ;
1585 PyObject
* obj1
= 0 ;
1587 (char *) "self",(char *) "sz", NULL
1590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1594 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1598 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1600 wxPyEndAllowThreads(__tstate
);
1601 if (PyErr_Occurred()) SWIG_fail
;
1605 resultptr
= new wxSize((wxSize
&) result
);
1606 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1614 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1615 PyObject
*resultobj
;
1616 wxSize
*arg1
= (wxSize
*) 0 ;
1620 PyObject
* obj0
= 0 ;
1621 PyObject
* obj1
= 0 ;
1623 (char *) "self",(char *) "sz", NULL
1626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1630 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1634 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1636 wxPyEndAllowThreads(__tstate
);
1637 if (PyErr_Occurred()) SWIG_fail
;
1641 resultptr
= new wxSize((wxSize
&) result
);
1642 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1650 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1651 PyObject
*resultobj
;
1652 wxSize
*arg1
= (wxSize
*) 0 ;
1655 PyObject
* obj0
= 0 ;
1656 PyObject
* obj1
= 0 ;
1658 (char *) "self",(char *) "sz", NULL
1661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1665 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1669 (arg1
)->IncTo((wxSize
const &)*arg2
);
1671 wxPyEndAllowThreads(__tstate
);
1672 if (PyErr_Occurred()) SWIG_fail
;
1674 Py_INCREF(Py_None
); resultobj
= Py_None
;
1681 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1682 PyObject
*resultobj
;
1683 wxSize
*arg1
= (wxSize
*) 0 ;
1686 PyObject
* obj0
= 0 ;
1687 PyObject
* obj1
= 0 ;
1689 (char *) "self",(char *) "sz", NULL
1692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1696 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1700 (arg1
)->DecTo((wxSize
const &)*arg2
);
1702 wxPyEndAllowThreads(__tstate
);
1703 if (PyErr_Occurred()) SWIG_fail
;
1705 Py_INCREF(Py_None
); resultobj
= Py_None
;
1712 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1713 PyObject
*resultobj
;
1714 wxSize
*arg1
= (wxSize
*) 0 ;
1717 PyObject
* obj0
= 0 ;
1719 (char *) "self",(char *) "w",(char *) "h", NULL
1722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1726 (arg1
)->Set(arg2
,arg3
);
1728 wxPyEndAllowThreads(__tstate
);
1729 if (PyErr_Occurred()) SWIG_fail
;
1731 Py_INCREF(Py_None
); resultobj
= Py_None
;
1738 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1739 PyObject
*resultobj
;
1740 wxSize
*arg1
= (wxSize
*) 0 ;
1742 PyObject
* obj0
= 0 ;
1744 (char *) "self",(char *) "w", NULL
1747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1751 (arg1
)->SetWidth(arg2
);
1753 wxPyEndAllowThreads(__tstate
);
1754 if (PyErr_Occurred()) SWIG_fail
;
1756 Py_INCREF(Py_None
); resultobj
= Py_None
;
1763 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1764 PyObject
*resultobj
;
1765 wxSize
*arg1
= (wxSize
*) 0 ;
1767 PyObject
* obj0
= 0 ;
1769 (char *) "self",(char *) "h", NULL
1772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1776 (arg1
)->SetHeight(arg2
);
1778 wxPyEndAllowThreads(__tstate
);
1779 if (PyErr_Occurred()) SWIG_fail
;
1781 Py_INCREF(Py_None
); resultobj
= Py_None
;
1788 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1789 PyObject
*resultobj
;
1790 wxSize
*arg1
= (wxSize
*) 0 ;
1792 PyObject
* obj0
= 0 ;
1794 (char *) "self", NULL
1797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1801 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1803 wxPyEndAllowThreads(__tstate
);
1804 if (PyErr_Occurred()) SWIG_fail
;
1806 resultobj
= PyInt_FromLong((long)result
);
1813 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1814 PyObject
*resultobj
;
1815 wxSize
*arg1
= (wxSize
*) 0 ;
1817 PyObject
* obj0
= 0 ;
1819 (char *) "self", NULL
1822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1826 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1828 wxPyEndAllowThreads(__tstate
);
1829 if (PyErr_Occurred()) SWIG_fail
;
1831 resultobj
= PyInt_FromLong((long)result
);
1838 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1839 PyObject
*resultobj
;
1840 wxSize
*arg1
= (wxSize
*) 0 ;
1842 PyObject
* obj0
= 0 ;
1844 (char *) "self", NULL
1847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
1848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1851 result
= (PyObject
*)wxSize_Get(arg1
);
1853 wxPyEndAllowThreads(__tstate
);
1854 if (PyErr_Occurred()) SWIG_fail
;
1863 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1865 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1866 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1868 return Py_BuildValue((char *)"");
1870 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1871 PyObject
*resultobj
;
1872 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1874 PyObject
* obj0
= 0 ;
1876 (char *) "self",(char *) "x", NULL
1879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1880 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1881 if (arg1
) (arg1
)->x
= arg2
;
1883 Py_INCREF(Py_None
); resultobj
= Py_None
;
1890 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1891 PyObject
*resultobj
;
1892 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1894 PyObject
* obj0
= 0 ;
1896 (char *) "self", NULL
1899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1901 result
= (double) ((arg1
)->x
);
1903 resultobj
= PyFloat_FromDouble(result
);
1910 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1911 PyObject
*resultobj
;
1912 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1914 PyObject
* obj0
= 0 ;
1916 (char *) "self",(char *) "y", NULL
1919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1921 if (arg1
) (arg1
)->y
= arg2
;
1923 Py_INCREF(Py_None
); resultobj
= Py_None
;
1930 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1931 PyObject
*resultobj
;
1932 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1934 PyObject
* obj0
= 0 ;
1936 (char *) "self", NULL
1939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1941 result
= (double) ((arg1
)->y
);
1943 resultobj
= PyFloat_FromDouble(result
);
1950 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1951 PyObject
*resultobj
;
1952 double arg1
= (double) 0.0 ;
1953 double arg2
= (double) 0.0 ;
1954 wxRealPoint
*result
;
1956 (char *) "x",(char *) "y", NULL
1959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
1961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1962 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
1964 wxPyEndAllowThreads(__tstate
);
1965 if (PyErr_Occurred()) SWIG_fail
;
1967 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
1974 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1975 PyObject
*resultobj
;
1976 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1977 PyObject
* obj0
= 0 ;
1979 (char *) "self", NULL
1982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
1983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1988 wxPyEndAllowThreads(__tstate
);
1989 if (PyErr_Occurred()) SWIG_fail
;
1991 Py_INCREF(Py_None
); resultobj
= Py_None
;
1998 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1999 PyObject
*resultobj
;
2000 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2001 wxRealPoint
*arg2
= 0 ;
2004 PyObject
* obj0
= 0 ;
2005 PyObject
* obj1
= 0 ;
2007 (char *) "self",(char *) "pt", NULL
2010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2014 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2018 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2020 wxPyEndAllowThreads(__tstate
);
2021 if (PyErr_Occurred()) SWIG_fail
;
2023 resultobj
= PyInt_FromLong((long)result
);
2030 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2031 PyObject
*resultobj
;
2032 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2033 wxRealPoint
*arg2
= 0 ;
2036 PyObject
* obj0
= 0 ;
2037 PyObject
* obj1
= 0 ;
2039 (char *) "self",(char *) "pt", NULL
2042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2046 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2050 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2052 wxPyEndAllowThreads(__tstate
);
2053 if (PyErr_Occurred()) SWIG_fail
;
2055 resultobj
= PyInt_FromLong((long)result
);
2062 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2063 PyObject
*resultobj
;
2064 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2065 wxRealPoint
*arg2
= 0 ;
2068 PyObject
* obj0
= 0 ;
2069 PyObject
* obj1
= 0 ;
2071 (char *) "self",(char *) "pt", NULL
2074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2078 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2082 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2084 wxPyEndAllowThreads(__tstate
);
2085 if (PyErr_Occurred()) SWIG_fail
;
2088 wxRealPoint
* resultptr
;
2089 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2090 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2098 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2099 PyObject
*resultobj
;
2100 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2101 wxRealPoint
*arg2
= 0 ;
2104 PyObject
* obj0
= 0 ;
2105 PyObject
* obj1
= 0 ;
2107 (char *) "self",(char *) "pt", NULL
2110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2114 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2118 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2120 wxPyEndAllowThreads(__tstate
);
2121 if (PyErr_Occurred()) SWIG_fail
;
2124 wxRealPoint
* resultptr
;
2125 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2126 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2134 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2135 PyObject
*resultobj
;
2136 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2139 PyObject
* obj0
= 0 ;
2141 (char *) "self",(char *) "x",(char *) "y", NULL
2144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2148 wxRealPoint_Set(arg1
,arg2
,arg3
);
2150 wxPyEndAllowThreads(__tstate
);
2151 if (PyErr_Occurred()) SWIG_fail
;
2153 Py_INCREF(Py_None
); resultobj
= Py_None
;
2160 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2161 PyObject
*resultobj
;
2162 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2164 PyObject
* obj0
= 0 ;
2166 (char *) "self", NULL
2169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2173 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2175 wxPyEndAllowThreads(__tstate
);
2176 if (PyErr_Occurred()) SWIG_fail
;
2185 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2188 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2190 return Py_BuildValue((char *)"");
2192 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2193 PyObject
*resultobj
;
2194 wxPoint
*arg1
= (wxPoint
*) 0 ;
2196 PyObject
* obj0
= 0 ;
2198 (char *) "self",(char *) "x", NULL
2201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2203 if (arg1
) (arg1
)->x
= arg2
;
2205 Py_INCREF(Py_None
); resultobj
= Py_None
;
2212 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2213 PyObject
*resultobj
;
2214 wxPoint
*arg1
= (wxPoint
*) 0 ;
2216 PyObject
* obj0
= 0 ;
2218 (char *) "self", NULL
2221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2222 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2223 result
= (int) ((arg1
)->x
);
2225 resultobj
= PyInt_FromLong((long)result
);
2232 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2233 PyObject
*resultobj
;
2234 wxPoint
*arg1
= (wxPoint
*) 0 ;
2236 PyObject
* obj0
= 0 ;
2238 (char *) "self",(char *) "y", NULL
2241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2243 if (arg1
) (arg1
)->y
= arg2
;
2245 Py_INCREF(Py_None
); resultobj
= Py_None
;
2252 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2253 PyObject
*resultobj
;
2254 wxPoint
*arg1
= (wxPoint
*) 0 ;
2256 PyObject
* obj0
= 0 ;
2258 (char *) "self", NULL
2261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2263 result
= (int) ((arg1
)->y
);
2265 resultobj
= PyInt_FromLong((long)result
);
2272 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2273 PyObject
*resultobj
;
2274 int arg1
= (int) 0 ;
2275 int arg2
= (int) 0 ;
2278 (char *) "x",(char *) "y", NULL
2281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2284 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2286 wxPyEndAllowThreads(__tstate
);
2287 if (PyErr_Occurred()) SWIG_fail
;
2289 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2296 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2297 PyObject
*resultobj
;
2298 wxPoint
*arg1
= (wxPoint
*) 0 ;
2299 PyObject
* obj0
= 0 ;
2301 (char *) "self", NULL
2304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2310 wxPyEndAllowThreads(__tstate
);
2311 if (PyErr_Occurred()) SWIG_fail
;
2313 Py_INCREF(Py_None
); resultobj
= Py_None
;
2320 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2321 PyObject
*resultobj
;
2322 wxPoint
*arg1
= (wxPoint
*) 0 ;
2326 PyObject
* obj0
= 0 ;
2327 PyObject
* obj1
= 0 ;
2329 (char *) "self",(char *) "pt", NULL
2332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2336 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2340 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2342 wxPyEndAllowThreads(__tstate
);
2343 if (PyErr_Occurred()) SWIG_fail
;
2345 resultobj
= PyInt_FromLong((long)result
);
2352 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2353 PyObject
*resultobj
;
2354 wxPoint
*arg1
= (wxPoint
*) 0 ;
2358 PyObject
* obj0
= 0 ;
2359 PyObject
* obj1
= 0 ;
2361 (char *) "self",(char *) "pt", NULL
2364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2368 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2372 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2374 wxPyEndAllowThreads(__tstate
);
2375 if (PyErr_Occurred()) SWIG_fail
;
2377 resultobj
= PyInt_FromLong((long)result
);
2384 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2385 PyObject
*resultobj
;
2386 wxPoint
*arg1
= (wxPoint
*) 0 ;
2390 PyObject
* obj0
= 0 ;
2391 PyObject
* obj1
= 0 ;
2393 (char *) "self",(char *) "pt", NULL
2396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2400 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2404 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2406 wxPyEndAllowThreads(__tstate
);
2407 if (PyErr_Occurred()) SWIG_fail
;
2410 wxPoint
* resultptr
;
2411 resultptr
= new wxPoint((wxPoint
&) result
);
2412 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2420 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2421 PyObject
*resultobj
;
2422 wxPoint
*arg1
= (wxPoint
*) 0 ;
2426 PyObject
* obj0
= 0 ;
2427 PyObject
* obj1
= 0 ;
2429 (char *) "self",(char *) "pt", NULL
2432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2436 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2440 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2442 wxPyEndAllowThreads(__tstate
);
2443 if (PyErr_Occurred()) SWIG_fail
;
2446 wxPoint
* resultptr
;
2447 resultptr
= new wxPoint((wxPoint
&) result
);
2448 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2456 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2457 PyObject
*resultobj
;
2458 wxPoint
*arg1
= (wxPoint
*) 0 ;
2462 PyObject
* obj0
= 0 ;
2463 PyObject
* obj1
= 0 ;
2465 (char *) "self",(char *) "pt", NULL
2468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2472 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2477 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2478 result
= (wxPoint
*) &_result_ref
;
2481 wxPyEndAllowThreads(__tstate
);
2482 if (PyErr_Occurred()) SWIG_fail
;
2484 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2491 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2492 PyObject
*resultobj
;
2493 wxPoint
*arg1
= (wxPoint
*) 0 ;
2497 PyObject
* obj0
= 0 ;
2498 PyObject
* obj1
= 0 ;
2500 (char *) "self",(char *) "pt", NULL
2503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2507 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2512 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2513 result
= (wxPoint
*) &_result_ref
;
2516 wxPyEndAllowThreads(__tstate
);
2517 if (PyErr_Occurred()) SWIG_fail
;
2519 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2526 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2527 PyObject
*resultobj
;
2528 wxPoint
*arg1
= (wxPoint
*) 0 ;
2531 PyObject
* obj0
= 0 ;
2533 (char *) "self",(char *) "x",(char *) "y", NULL
2536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2540 wxPoint_Set(arg1
,arg2
,arg3
);
2542 wxPyEndAllowThreads(__tstate
);
2543 if (PyErr_Occurred()) SWIG_fail
;
2545 Py_INCREF(Py_None
); resultobj
= Py_None
;
2552 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2553 PyObject
*resultobj
;
2554 wxPoint
*arg1
= (wxPoint
*) 0 ;
2556 PyObject
* obj0
= 0 ;
2558 (char *) "self", NULL
2561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2565 result
= (PyObject
*)wxPoint_Get(arg1
);
2567 wxPyEndAllowThreads(__tstate
);
2568 if (PyErr_Occurred()) SWIG_fail
;
2577 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2579 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2580 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2582 return Py_BuildValue((char *)"");
2584 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2585 PyObject
*resultobj
;
2586 int arg1
= (int) 0 ;
2587 int arg2
= (int) 0 ;
2588 int arg3
= (int) 0 ;
2589 int arg4
= (int) 0 ;
2592 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2598 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2600 wxPyEndAllowThreads(__tstate
);
2601 if (PyErr_Occurred()) SWIG_fail
;
2603 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2610 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2611 PyObject
*resultobj
;
2617 PyObject
* obj0
= 0 ;
2618 PyObject
* obj1
= 0 ;
2620 (char *) "topLeft",(char *) "bottomRight", NULL
2623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2626 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2630 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2634 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2636 wxPyEndAllowThreads(__tstate
);
2637 if (PyErr_Occurred()) SWIG_fail
;
2639 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2646 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2647 PyObject
*resultobj
;
2653 PyObject
* obj0
= 0 ;
2654 PyObject
* obj1
= 0 ;
2656 (char *) "pos",(char *) "size", NULL
2659 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2662 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2666 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2670 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2672 wxPyEndAllowThreads(__tstate
);
2673 if (PyErr_Occurred()) SWIG_fail
;
2675 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2682 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2683 PyObject
*resultobj
;
2684 wxRect
*arg1
= (wxRect
*) 0 ;
2685 PyObject
* obj0
= 0 ;
2687 (char *) "self", NULL
2690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2696 wxPyEndAllowThreads(__tstate
);
2697 if (PyErr_Occurred()) SWIG_fail
;
2699 Py_INCREF(Py_None
); resultobj
= Py_None
;
2706 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2707 PyObject
*resultobj
;
2708 wxRect
*arg1
= (wxRect
*) 0 ;
2710 PyObject
* obj0
= 0 ;
2712 (char *) "self", NULL
2715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2719 result
= (int)((wxRect
const *)arg1
)->GetX();
2721 wxPyEndAllowThreads(__tstate
);
2722 if (PyErr_Occurred()) SWIG_fail
;
2724 resultobj
= PyInt_FromLong((long)result
);
2731 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2732 PyObject
*resultobj
;
2733 wxRect
*arg1
= (wxRect
*) 0 ;
2735 PyObject
* obj0
= 0 ;
2737 (char *) "self",(char *) "x", NULL
2740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2746 wxPyEndAllowThreads(__tstate
);
2747 if (PyErr_Occurred()) SWIG_fail
;
2749 Py_INCREF(Py_None
); resultobj
= Py_None
;
2756 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2757 PyObject
*resultobj
;
2758 wxRect
*arg1
= (wxRect
*) 0 ;
2760 PyObject
* obj0
= 0 ;
2762 (char *) "self", NULL
2765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2769 result
= (int)(arg1
)->GetY();
2771 wxPyEndAllowThreads(__tstate
);
2772 if (PyErr_Occurred()) SWIG_fail
;
2774 resultobj
= PyInt_FromLong((long)result
);
2781 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2782 PyObject
*resultobj
;
2783 wxRect
*arg1
= (wxRect
*) 0 ;
2785 PyObject
* obj0
= 0 ;
2787 (char *) "self",(char *) "y", NULL
2790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2796 wxPyEndAllowThreads(__tstate
);
2797 if (PyErr_Occurred()) SWIG_fail
;
2799 Py_INCREF(Py_None
); resultobj
= Py_None
;
2806 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2807 PyObject
*resultobj
;
2808 wxRect
*arg1
= (wxRect
*) 0 ;
2810 PyObject
* obj0
= 0 ;
2812 (char *) "self", NULL
2815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2819 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2821 wxPyEndAllowThreads(__tstate
);
2822 if (PyErr_Occurred()) SWIG_fail
;
2824 resultobj
= PyInt_FromLong((long)result
);
2831 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2832 PyObject
*resultobj
;
2833 wxRect
*arg1
= (wxRect
*) 0 ;
2835 PyObject
* obj0
= 0 ;
2837 (char *) "self",(char *) "w", NULL
2840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2844 (arg1
)->SetWidth(arg2
);
2846 wxPyEndAllowThreads(__tstate
);
2847 if (PyErr_Occurred()) SWIG_fail
;
2849 Py_INCREF(Py_None
); resultobj
= Py_None
;
2856 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2857 PyObject
*resultobj
;
2858 wxRect
*arg1
= (wxRect
*) 0 ;
2860 PyObject
* obj0
= 0 ;
2862 (char *) "self", NULL
2865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2869 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2871 wxPyEndAllowThreads(__tstate
);
2872 if (PyErr_Occurred()) SWIG_fail
;
2874 resultobj
= PyInt_FromLong((long)result
);
2881 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2882 PyObject
*resultobj
;
2883 wxRect
*arg1
= (wxRect
*) 0 ;
2885 PyObject
* obj0
= 0 ;
2887 (char *) "self",(char *) "h", NULL
2890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2894 (arg1
)->SetHeight(arg2
);
2896 wxPyEndAllowThreads(__tstate
);
2897 if (PyErr_Occurred()) SWIG_fail
;
2899 Py_INCREF(Py_None
); resultobj
= Py_None
;
2906 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2907 PyObject
*resultobj
;
2908 wxRect
*arg1
= (wxRect
*) 0 ;
2910 PyObject
* obj0
= 0 ;
2912 (char *) "self", NULL
2915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2916 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2919 result
= ((wxRect
const *)arg1
)->GetPosition();
2921 wxPyEndAllowThreads(__tstate
);
2922 if (PyErr_Occurred()) SWIG_fail
;
2925 wxPoint
* resultptr
;
2926 resultptr
= new wxPoint((wxPoint
&) result
);
2927 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2935 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2936 PyObject
*resultobj
;
2937 wxRect
*arg1
= (wxRect
*) 0 ;
2940 PyObject
* obj0
= 0 ;
2941 PyObject
* obj1
= 0 ;
2943 (char *) "self",(char *) "p", NULL
2946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2950 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2954 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
2956 wxPyEndAllowThreads(__tstate
);
2957 if (PyErr_Occurred()) SWIG_fail
;
2959 Py_INCREF(Py_None
); resultobj
= Py_None
;
2966 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2967 PyObject
*resultobj
;
2968 wxRect
*arg1
= (wxRect
*) 0 ;
2970 PyObject
* obj0
= 0 ;
2972 (char *) "self", NULL
2975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
2976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2979 result
= ((wxRect
const *)arg1
)->GetSize();
2981 wxPyEndAllowThreads(__tstate
);
2982 if (PyErr_Occurred()) SWIG_fail
;
2986 resultptr
= new wxSize((wxSize
&) result
);
2987 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
2995 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2996 PyObject
*resultobj
;
2997 wxRect
*arg1
= (wxRect
*) 0 ;
3000 PyObject
* obj0
= 0 ;
3001 PyObject
* obj1
= 0 ;
3003 (char *) "self",(char *) "s", NULL
3006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3010 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3014 (arg1
)->SetSize((wxSize
const &)*arg2
);
3016 wxPyEndAllowThreads(__tstate
);
3017 if (PyErr_Occurred()) SWIG_fail
;
3019 Py_INCREF(Py_None
); resultobj
= Py_None
;
3026 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3027 PyObject
*resultobj
;
3028 wxRect
*arg1
= (wxRect
*) 0 ;
3030 PyObject
* obj0
= 0 ;
3032 (char *) "self", NULL
3035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3039 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3041 wxPyEndAllowThreads(__tstate
);
3042 if (PyErr_Occurred()) SWIG_fail
;
3044 resultobj
= PyInt_FromLong((long)result
);
3051 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3052 PyObject
*resultobj
;
3053 wxRect
*arg1
= (wxRect
*) 0 ;
3055 PyObject
* obj0
= 0 ;
3057 (char *) "self", NULL
3060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3064 result
= (int)((wxRect
const *)arg1
)->GetTop();
3066 wxPyEndAllowThreads(__tstate
);
3067 if (PyErr_Occurred()) SWIG_fail
;
3069 resultobj
= PyInt_FromLong((long)result
);
3076 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3077 PyObject
*resultobj
;
3078 wxRect
*arg1
= (wxRect
*) 0 ;
3080 PyObject
* obj0
= 0 ;
3082 (char *) "self", NULL
3085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3089 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3091 wxPyEndAllowThreads(__tstate
);
3092 if (PyErr_Occurred()) SWIG_fail
;
3094 resultobj
= PyInt_FromLong((long)result
);
3101 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3102 PyObject
*resultobj
;
3103 wxRect
*arg1
= (wxRect
*) 0 ;
3105 PyObject
* obj0
= 0 ;
3107 (char *) "self", NULL
3110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3114 result
= (int)((wxRect
const *)arg1
)->GetRight();
3116 wxPyEndAllowThreads(__tstate
);
3117 if (PyErr_Occurred()) SWIG_fail
;
3119 resultobj
= PyInt_FromLong((long)result
);
3126 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3127 PyObject
*resultobj
;
3128 wxRect
*arg1
= (wxRect
*) 0 ;
3130 PyObject
* obj0
= 0 ;
3132 (char *) "self",(char *) "left", NULL
3135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3139 (arg1
)->SetLeft(arg2
);
3141 wxPyEndAllowThreads(__tstate
);
3142 if (PyErr_Occurred()) SWIG_fail
;
3144 Py_INCREF(Py_None
); resultobj
= Py_None
;
3151 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3152 PyObject
*resultobj
;
3153 wxRect
*arg1
= (wxRect
*) 0 ;
3155 PyObject
* obj0
= 0 ;
3157 (char *) "self",(char *) "right", NULL
3160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3164 (arg1
)->SetRight(arg2
);
3166 wxPyEndAllowThreads(__tstate
);
3167 if (PyErr_Occurred()) SWIG_fail
;
3169 Py_INCREF(Py_None
); resultobj
= Py_None
;
3176 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3177 PyObject
*resultobj
;
3178 wxRect
*arg1
= (wxRect
*) 0 ;
3180 PyObject
* obj0
= 0 ;
3182 (char *) "self",(char *) "top", NULL
3185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3189 (arg1
)->SetTop(arg2
);
3191 wxPyEndAllowThreads(__tstate
);
3192 if (PyErr_Occurred()) SWIG_fail
;
3194 Py_INCREF(Py_None
); resultobj
= Py_None
;
3201 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3202 PyObject
*resultobj
;
3203 wxRect
*arg1
= (wxRect
*) 0 ;
3205 PyObject
* obj0
= 0 ;
3207 (char *) "self",(char *) "bottom", NULL
3210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3214 (arg1
)->SetBottom(arg2
);
3216 wxPyEndAllowThreads(__tstate
);
3217 if (PyErr_Occurred()) SWIG_fail
;
3219 Py_INCREF(Py_None
); resultobj
= Py_None
;
3226 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3227 PyObject
*resultobj
;
3228 wxRect
*arg1
= (wxRect
*) 0 ;
3232 PyObject
* obj0
= 0 ;
3234 (char *) "self",(char *) "dx",(char *) "dy", NULL
3237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3242 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3243 result
= (wxRect
*) &_result_ref
;
3246 wxPyEndAllowThreads(__tstate
);
3247 if (PyErr_Occurred()) SWIG_fail
;
3249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3256 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3257 PyObject
*resultobj
;
3258 wxRect
*arg1
= (wxRect
*) 0 ;
3262 PyObject
* obj0
= 0 ;
3264 (char *) "self",(char *) "dx",(char *) "dy", NULL
3267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3272 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3273 result
= (wxRect
*) &_result_ref
;
3276 wxPyEndAllowThreads(__tstate
);
3277 if (PyErr_Occurred()) SWIG_fail
;
3279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3286 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3287 PyObject
*resultobj
;
3288 wxRect
*arg1
= (wxRect
*) 0 ;
3291 PyObject
* obj0
= 0 ;
3293 (char *) "self",(char *) "dx",(char *) "dy", NULL
3296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3300 (arg1
)->Offset(arg2
,arg3
);
3302 wxPyEndAllowThreads(__tstate
);
3303 if (PyErr_Occurred()) SWIG_fail
;
3305 Py_INCREF(Py_None
); resultobj
= Py_None
;
3312 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3313 PyObject
*resultobj
;
3314 wxRect
*arg1
= (wxRect
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3318 PyObject
* obj1
= 0 ;
3320 (char *) "self",(char *) "pt", NULL
3323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3327 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3331 (arg1
)->Offset((wxPoint
const &)*arg2
);
3333 wxPyEndAllowThreads(__tstate
);
3334 if (PyErr_Occurred()) SWIG_fail
;
3336 Py_INCREF(Py_None
); resultobj
= Py_None
;
3343 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3344 PyObject
*resultobj
;
3345 wxRect
*arg1
= (wxRect
*) 0 ;
3349 PyObject
* obj0
= 0 ;
3350 PyObject
* obj1
= 0 ;
3352 (char *) "self",(char *) "rect", NULL
3355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3359 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3364 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3365 result
= (wxRect
*) &_result_ref
;
3368 wxPyEndAllowThreads(__tstate
);
3369 if (PyErr_Occurred()) SWIG_fail
;
3371 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3378 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3379 PyObject
*resultobj
;
3380 wxRect
*arg1
= (wxRect
*) 0 ;
3384 PyObject
* obj0
= 0 ;
3385 PyObject
* obj1
= 0 ;
3387 (char *) "self",(char *) "rect", NULL
3390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3394 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3398 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3400 wxPyEndAllowThreads(__tstate
);
3401 if (PyErr_Occurred()) SWIG_fail
;
3405 resultptr
= new wxRect((wxRect
&) result
);
3406 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3414 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3415 PyObject
*resultobj
;
3416 wxRect
*arg1
= (wxRect
*) 0 ;
3420 PyObject
* obj0
= 0 ;
3421 PyObject
* obj1
= 0 ;
3423 (char *) "self",(char *) "rect", NULL
3426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3430 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3435 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3436 result
= (wxRect
*) &_result_ref
;
3439 wxPyEndAllowThreads(__tstate
);
3440 if (PyErr_Occurred()) SWIG_fail
;
3442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3449 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3450 PyObject
*resultobj
;
3451 wxRect
*arg1
= (wxRect
*) 0 ;
3455 PyObject
* obj0
= 0 ;
3456 PyObject
* obj1
= 0 ;
3458 (char *) "self",(char *) "rect", NULL
3461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3465 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3469 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3471 wxPyEndAllowThreads(__tstate
);
3472 if (PyErr_Occurred()) SWIG_fail
;
3474 resultobj
= PyInt_FromLong((long)result
);
3481 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3482 PyObject
*resultobj
;
3483 wxRect
*arg1
= (wxRect
*) 0 ;
3487 PyObject
* obj0
= 0 ;
3488 PyObject
* obj1
= 0 ;
3490 (char *) "self",(char *) "rect", NULL
3493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3497 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3501 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3503 wxPyEndAllowThreads(__tstate
);
3504 if (PyErr_Occurred()) SWIG_fail
;
3506 resultobj
= PyInt_FromLong((long)result
);
3513 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3514 PyObject
*resultobj
;
3515 wxRect
*arg1
= (wxRect
*) 0 ;
3519 PyObject
* obj0
= 0 ;
3521 (char *) "self",(char *) "x",(char *) "y", NULL
3524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3528 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3530 wxPyEndAllowThreads(__tstate
);
3531 if (PyErr_Occurred()) SWIG_fail
;
3533 resultobj
= PyInt_FromLong((long)result
);
3540 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3541 PyObject
*resultobj
;
3542 wxRect
*arg1
= (wxRect
*) 0 ;
3546 PyObject
* obj0
= 0 ;
3547 PyObject
* obj1
= 0 ;
3549 (char *) "self",(char *) "pt", NULL
3552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3556 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3560 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3562 wxPyEndAllowThreads(__tstate
);
3563 if (PyErr_Occurred()) SWIG_fail
;
3565 resultobj
= PyInt_FromLong((long)result
);
3572 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3573 PyObject
*resultobj
;
3574 wxRect
*arg1
= (wxRect
*) 0 ;
3578 PyObject
* obj0
= 0 ;
3579 PyObject
* obj1
= 0 ;
3581 (char *) "self",(char *) "rect", NULL
3584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3588 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3592 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3594 wxPyEndAllowThreads(__tstate
);
3595 if (PyErr_Occurred()) SWIG_fail
;
3597 resultobj
= PyInt_FromLong((long)result
);
3604 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3605 PyObject
*resultobj
;
3606 wxRect
*arg1
= (wxRect
*) 0 ;
3608 PyObject
* obj0
= 0 ;
3610 (char *) "self",(char *) "x", NULL
3613 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3614 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3615 if (arg1
) (arg1
)->x
= arg2
;
3617 Py_INCREF(Py_None
); resultobj
= Py_None
;
3624 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3625 PyObject
*resultobj
;
3626 wxRect
*arg1
= (wxRect
*) 0 ;
3628 PyObject
* obj0
= 0 ;
3630 (char *) "self", NULL
3633 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3634 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3635 result
= (int) ((arg1
)->x
);
3637 resultobj
= PyInt_FromLong((long)result
);
3644 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3645 PyObject
*resultobj
;
3646 wxRect
*arg1
= (wxRect
*) 0 ;
3648 PyObject
* obj0
= 0 ;
3650 (char *) "self",(char *) "y", NULL
3653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3655 if (arg1
) (arg1
)->y
= arg2
;
3657 Py_INCREF(Py_None
); resultobj
= Py_None
;
3664 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3665 PyObject
*resultobj
;
3666 wxRect
*arg1
= (wxRect
*) 0 ;
3668 PyObject
* obj0
= 0 ;
3670 (char *) "self", NULL
3673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3675 result
= (int) ((arg1
)->y
);
3677 resultobj
= PyInt_FromLong((long)result
);
3684 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxRect
*arg1
= (wxRect
*) 0 ;
3688 PyObject
* obj0
= 0 ;
3690 (char *) "self",(char *) "width", NULL
3693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3695 if (arg1
) (arg1
)->width
= arg2
;
3697 Py_INCREF(Py_None
); resultobj
= Py_None
;
3704 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3705 PyObject
*resultobj
;
3706 wxRect
*arg1
= (wxRect
*) 0 ;
3708 PyObject
* obj0
= 0 ;
3710 (char *) "self", NULL
3713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3715 result
= (int) ((arg1
)->width
);
3717 resultobj
= PyInt_FromLong((long)result
);
3724 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3725 PyObject
*resultobj
;
3726 wxRect
*arg1
= (wxRect
*) 0 ;
3728 PyObject
* obj0
= 0 ;
3730 (char *) "self",(char *) "height", NULL
3733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3735 if (arg1
) (arg1
)->height
= arg2
;
3737 Py_INCREF(Py_None
); resultobj
= Py_None
;
3744 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3745 PyObject
*resultobj
;
3746 wxRect
*arg1
= (wxRect
*) 0 ;
3748 PyObject
* obj0
= 0 ;
3750 (char *) "self", NULL
3753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3755 result
= (int) ((arg1
)->height
);
3757 resultobj
= PyInt_FromLong((long)result
);
3764 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3765 PyObject
*resultobj
;
3766 wxRect
*arg1
= (wxRect
*) 0 ;
3767 int arg2
= (int) 0 ;
3768 int arg3
= (int) 0 ;
3769 int arg4
= (int) 0 ;
3770 int arg5
= (int) 0 ;
3771 PyObject
* obj0
= 0 ;
3773 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3780 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3782 wxPyEndAllowThreads(__tstate
);
3783 if (PyErr_Occurred()) SWIG_fail
;
3785 Py_INCREF(Py_None
); resultobj
= Py_None
;
3792 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3793 PyObject
*resultobj
;
3794 wxRect
*arg1
= (wxRect
*) 0 ;
3796 PyObject
* obj0
= 0 ;
3798 (char *) "self", NULL
3801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
3802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3805 result
= (PyObject
*)wxRect_Get(arg1
);
3807 wxPyEndAllowThreads(__tstate
);
3808 if (PyErr_Occurred()) SWIG_fail
;
3817 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3820 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3822 return Py_BuildValue((char *)"");
3824 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3825 PyObject
*resultobj
;
3826 wxRect
*arg1
= (wxRect
*) 0 ;
3827 wxRect
*arg2
= (wxRect
*) 0 ;
3829 PyObject
* obj0
= 0 ;
3830 PyObject
* obj1
= 0 ;
3832 (char *) "r1",(char *) "r2", NULL
3835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3837 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3840 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3852 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
;
3854 double arg1
= (double) 0.0 ;
3855 double arg2
= (double) 0.0 ;
3858 (char *) "x",(char *) "y", NULL
3861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3864 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3866 wxPyEndAllowThreads(__tstate
);
3867 if (PyErr_Occurred()) SWIG_fail
;
3869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3876 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxPoint2D
*arg1
= 0 ;
3881 PyObject
* obj0
= 0 ;
3886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
3889 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
3892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3893 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
3895 wxPyEndAllowThreads(__tstate
);
3896 if (PyErr_Occurred()) SWIG_fail
;
3898 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3905 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3906 PyObject
*resultobj
;
3910 PyObject
* obj0
= 0 ;
3915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
3918 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3922 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
3924 wxPyEndAllowThreads(__tstate
);
3925 if (PyErr_Occurred()) SWIG_fail
;
3927 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3934 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3935 PyObject
*resultobj
;
3936 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3937 int *arg2
= (int *) 0 ;
3938 int *arg3
= (int *) 0 ;
3941 PyObject
* obj0
= 0 ;
3943 (char *) "self", NULL
3948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
3949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3957 Py_INCREF(Py_None
); resultobj
= Py_None
;
3959 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3960 resultobj
= t_output_helper(resultobj
,o
);
3963 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3964 resultobj
= t_output_helper(resultobj
,o
);
3972 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3973 PyObject
*resultobj
;
3974 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3975 int *arg2
= (int *) 0 ;
3976 int *arg3
= (int *) 0 ;
3979 PyObject
* obj0
= 0 ;
3981 (char *) "self", NULL
3986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
3987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3990 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
3992 wxPyEndAllowThreads(__tstate
);
3993 if (PyErr_Occurred()) SWIG_fail
;
3995 Py_INCREF(Py_None
); resultobj
= Py_None
;
3997 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3998 resultobj
= t_output_helper(resultobj
,o
);
4001 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4002 resultobj
= t_output_helper(resultobj
,o
);
4010 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4011 PyObject
*resultobj
;
4012 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4014 PyObject
* obj0
= 0 ;
4016 (char *) "self", NULL
4019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4023 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4025 wxPyEndAllowThreads(__tstate
);
4026 if (PyErr_Occurred()) SWIG_fail
;
4028 resultobj
= PyFloat_FromDouble(result
);
4035 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4036 PyObject
*resultobj
;
4037 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4039 PyObject
* obj0
= 0 ;
4041 (char *) "self", NULL
4044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4048 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4050 wxPyEndAllowThreads(__tstate
);
4051 if (PyErr_Occurred()) SWIG_fail
;
4053 resultobj
= PyFloat_FromDouble(result
);
4060 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4061 PyObject
*resultobj
;
4062 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4064 PyObject
* obj0
= 0 ;
4066 (char *) "self",(char *) "length", NULL
4069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4073 (arg1
)->SetVectorLength(arg2
);
4075 wxPyEndAllowThreads(__tstate
);
4076 if (PyErr_Occurred()) SWIG_fail
;
4078 Py_INCREF(Py_None
); resultobj
= Py_None
;
4085 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4086 PyObject
*resultobj
;
4087 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4089 PyObject
* obj0
= 0 ;
4091 (char *) "self",(char *) "degrees", NULL
4094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 (arg1
)->SetVectorAngle(arg2
);
4100 wxPyEndAllowThreads(__tstate
);
4101 if (PyErr_Occurred()) SWIG_fail
;
4103 Py_INCREF(Py_None
); resultobj
= Py_None
;
4110 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4111 PyObject
*resultobj
;
4112 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4113 wxPoint2D
*arg2
= 0 ;
4116 PyObject
* obj0
= 0 ;
4117 PyObject
* obj1
= 0 ;
4119 (char *) "self",(char *) "pt", NULL
4122 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4123 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4126 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4130 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4132 wxPyEndAllowThreads(__tstate
);
4133 if (PyErr_Occurred()) SWIG_fail
;
4135 resultobj
= PyFloat_FromDouble(result
);
4142 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4143 PyObject
*resultobj
;
4144 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4145 wxPoint2D
*arg2
= 0 ;
4148 PyObject
* obj0
= 0 ;
4149 PyObject
* obj1
= 0 ;
4151 (char *) "self",(char *) "pt", NULL
4154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4158 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4162 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4164 wxPyEndAllowThreads(__tstate
);
4165 if (PyErr_Occurred()) SWIG_fail
;
4167 resultobj
= PyFloat_FromDouble(result
);
4174 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4175 PyObject
*resultobj
;
4176 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4177 wxPoint2D
*arg2
= 0 ;
4180 PyObject
* obj0
= 0 ;
4181 PyObject
* obj1
= 0 ;
4183 (char *) "self",(char *) "vec", NULL
4186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4187 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4190 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4194 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4196 wxPyEndAllowThreads(__tstate
);
4197 if (PyErr_Occurred()) SWIG_fail
;
4199 resultobj
= PyFloat_FromDouble(result
);
4206 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4207 PyObject
*resultobj
;
4208 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4209 wxPoint2D
*arg2
= 0 ;
4212 PyObject
* obj0
= 0 ;
4213 PyObject
* obj1
= 0 ;
4215 (char *) "self",(char *) "vec", NULL
4218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4222 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4226 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4228 wxPyEndAllowThreads(__tstate
);
4229 if (PyErr_Occurred()) SWIG_fail
;
4231 resultobj
= PyFloat_FromDouble(result
);
4238 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
;
4240 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4242 PyObject
* obj0
= 0 ;
4244 (char *) "self", NULL
4247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4251 result
= (arg1
)->operator -();
4253 wxPyEndAllowThreads(__tstate
);
4254 if (PyErr_Occurred()) SWIG_fail
;
4257 wxPoint2D
* resultptr
;
4258 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4259 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4267 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4268 PyObject
*resultobj
;
4269 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4270 wxPoint2D
*arg2
= 0 ;
4273 PyObject
* obj0
= 0 ;
4274 PyObject
* obj1
= 0 ;
4276 (char *) "self",(char *) "pt", NULL
4279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4283 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4288 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4289 result
= (wxPoint2D
*) &_result_ref
;
4292 wxPyEndAllowThreads(__tstate
);
4293 if (PyErr_Occurred()) SWIG_fail
;
4295 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4302 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4303 PyObject
*resultobj
;
4304 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4305 wxPoint2D
*arg2
= 0 ;
4308 PyObject
* obj0
= 0 ;
4309 PyObject
* obj1
= 0 ;
4311 (char *) "self",(char *) "pt", NULL
4314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4318 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4323 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4324 result
= (wxPoint2D
*) &_result_ref
;
4327 wxPyEndAllowThreads(__tstate
);
4328 if (PyErr_Occurred()) SWIG_fail
;
4330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4337 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4338 PyObject
*resultobj
;
4339 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4340 wxPoint2D
*arg2
= 0 ;
4343 PyObject
* obj0
= 0 ;
4344 PyObject
* obj1
= 0 ;
4346 (char *) "self",(char *) "pt", NULL
4349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4353 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4358 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4359 result
= (wxPoint2D
*) &_result_ref
;
4362 wxPyEndAllowThreads(__tstate
);
4363 if (PyErr_Occurred()) SWIG_fail
;
4365 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4372 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4373 PyObject
*resultobj
;
4374 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4375 wxPoint2D
*arg2
= 0 ;
4378 PyObject
* obj0
= 0 ;
4379 PyObject
* obj1
= 0 ;
4381 (char *) "self",(char *) "pt", NULL
4384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4388 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4393 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4394 result
= (wxPoint2D
*) &_result_ref
;
4397 wxPyEndAllowThreads(__tstate
);
4398 if (PyErr_Occurred()) SWIG_fail
;
4400 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4407 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4408 PyObject
*resultobj
;
4409 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4410 wxPoint2D
*arg2
= 0 ;
4413 PyObject
* obj0
= 0 ;
4414 PyObject
* obj1
= 0 ;
4416 (char *) "self",(char *) "pt", NULL
4419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4423 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4427 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4429 wxPyEndAllowThreads(__tstate
);
4430 if (PyErr_Occurred()) SWIG_fail
;
4432 resultobj
= PyInt_FromLong((long)result
);
4439 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4440 PyObject
*resultobj
;
4441 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4442 wxPoint2D
*arg2
= 0 ;
4445 PyObject
* obj0
= 0 ;
4446 PyObject
* obj1
= 0 ;
4448 (char *) "self",(char *) "pt", NULL
4451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4455 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4459 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4461 wxPyEndAllowThreads(__tstate
);
4462 if (PyErr_Occurred()) SWIG_fail
;
4464 resultobj
= PyInt_FromLong((long)result
);
4471 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4472 PyObject
*resultobj
;
4473 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4475 PyObject
* obj0
= 0 ;
4477 (char *) "self",(char *) "m_x", NULL
4480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4482 if (arg1
) (arg1
)->m_x
= arg2
;
4484 Py_INCREF(Py_None
); resultobj
= Py_None
;
4491 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4492 PyObject
*resultobj
;
4493 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4495 PyObject
* obj0
= 0 ;
4497 (char *) "self", NULL
4500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4502 result
= (double) ((arg1
)->m_x
);
4504 resultobj
= PyFloat_FromDouble(result
);
4511 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4512 PyObject
*resultobj
;
4513 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4515 PyObject
* obj0
= 0 ;
4517 (char *) "self",(char *) "m_y", NULL
4520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4522 if (arg1
) (arg1
)->m_y
= arg2
;
4524 Py_INCREF(Py_None
); resultobj
= Py_None
;
4531 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4532 PyObject
*resultobj
;
4533 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4535 PyObject
* obj0
= 0 ;
4537 (char *) "self", NULL
4540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4542 result
= (double) ((arg1
)->m_y
);
4544 resultobj
= PyFloat_FromDouble(result
);
4551 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4554 double arg2
= (double) 0 ;
4555 double arg3
= (double) 0 ;
4556 PyObject
* obj0
= 0 ;
4558 (char *) "self",(char *) "x",(char *) "y", NULL
4561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4562 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4565 wxPoint2D_Set(arg1
,arg2
,arg3
);
4567 wxPyEndAllowThreads(__tstate
);
4568 if (PyErr_Occurred()) SWIG_fail
;
4570 Py_INCREF(Py_None
); resultobj
= Py_None
;
4577 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4578 PyObject
*resultobj
;
4579 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4581 PyObject
* obj0
= 0 ;
4583 (char *) "self", NULL
4586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
4587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4590 result
= (PyObject
*)wxPoint2D_Get(arg1
);
4592 wxPyEndAllowThreads(__tstate
);
4593 if (PyErr_Occurred()) SWIG_fail
;
4602 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4605 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4607 return Py_BuildValue((char *)"");
4609 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4610 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4615 static PyObject
*_wrap_DefaultPosition_get() {
4618 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4623 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4624 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4629 static PyObject
*_wrap_DefaultSize_get() {
4632 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4637 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4638 PyObject
*resultobj
;
4639 PyObject
*arg1
= (PyObject
*) 0 ;
4640 wxPyInputStream
*result
;
4641 PyObject
* obj0
= 0 ;
4646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4650 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4662 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4663 PyObject
*resultobj
;
4664 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4665 PyObject
* obj0
= 0 ;
4667 (char *) "self", NULL
4670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4676 wxPyEndAllowThreads(__tstate
);
4677 if (PyErr_Occurred()) SWIG_fail
;
4679 Py_INCREF(Py_None
); resultobj
= Py_None
;
4686 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4687 PyObject
*resultobj
;
4688 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4689 PyObject
* obj0
= 0 ;
4691 (char *) "self", NULL
4694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4700 wxPyEndAllowThreads(__tstate
);
4701 if (PyErr_Occurred()) SWIG_fail
;
4703 Py_INCREF(Py_None
); resultobj
= Py_None
;
4710 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4711 PyObject
*resultobj
;
4712 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4714 PyObject
* obj0
= 0 ;
4716 (char *) "self", NULL
4719 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4720 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4723 result
= (bool)(arg1
)->eof();
4725 wxPyEndAllowThreads(__tstate
);
4726 if (PyErr_Occurred()) SWIG_fail
;
4728 resultobj
= PyInt_FromLong((long)result
);
4735 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4736 PyObject
*resultobj
;
4737 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4738 int arg2
= (int) -1 ;
4740 PyObject
* obj0
= 0 ;
4742 (char *) "self",(char *) "size", NULL
4745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (PyObject
*)(arg1
)->read(arg2
);
4751 wxPyEndAllowThreads(__tstate
);
4752 if (PyErr_Occurred()) SWIG_fail
;
4761 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4762 PyObject
*resultobj
;
4763 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4764 int arg2
= (int) -1 ;
4766 PyObject
* obj0
= 0 ;
4768 (char *) "self",(char *) "size", NULL
4771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4775 result
= (PyObject
*)(arg1
)->readline(arg2
);
4777 wxPyEndAllowThreads(__tstate
);
4778 if (PyErr_Occurred()) SWIG_fail
;
4787 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4788 PyObject
*resultobj
;
4789 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4790 int arg2
= (int) -1 ;
4792 PyObject
* obj0
= 0 ;
4794 (char *) "self",(char *) "sizehint", NULL
4797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4801 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4803 wxPyEndAllowThreads(__tstate
);
4804 if (PyErr_Occurred()) SWIG_fail
;
4813 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4814 PyObject
*resultobj
;
4815 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4817 int arg3
= (int) 0 ;
4818 PyObject
* obj0
= 0 ;
4820 (char *) "self",(char *) "offset",(char *) "whence", NULL
4823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4827 (arg1
)->seek(arg2
,arg3
);
4829 wxPyEndAllowThreads(__tstate
);
4830 if (PyErr_Occurred()) SWIG_fail
;
4832 Py_INCREF(Py_None
); resultobj
= Py_None
;
4839 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4840 PyObject
*resultobj
;
4841 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4843 PyObject
* obj0
= 0 ;
4845 (char *) "self", NULL
4848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4852 result
= (int)(arg1
)->tell();
4854 wxPyEndAllowThreads(__tstate
);
4855 if (PyErr_Occurred()) SWIG_fail
;
4857 resultobj
= PyInt_FromLong((long)result
);
4864 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4865 PyObject
*resultobj
;
4866 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4868 PyObject
* obj0
= 0 ;
4870 (char *) "self", NULL
4873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
4874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4877 result
= (char)(arg1
)->Peek();
4879 wxPyEndAllowThreads(__tstate
);
4880 if (PyErr_Occurred()) SWIG_fail
;
4882 resultobj
= Py_BuildValue((char*)"c",result
);
4889 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4890 PyObject
*resultobj
;
4891 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4893 PyObject
* obj0
= 0 ;
4895 (char *) "self", NULL
4898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
4899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4902 result
= (char)(arg1
)->GetC();
4904 wxPyEndAllowThreads(__tstate
);
4905 if (PyErr_Occurred()) SWIG_fail
;
4907 resultobj
= Py_BuildValue((char*)"c",result
);
4914 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4915 PyObject
*resultobj
;
4916 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4918 PyObject
* obj0
= 0 ;
4920 (char *) "self", NULL
4923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
4924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4927 result
= (size_t)(arg1
)->LastRead();
4929 wxPyEndAllowThreads(__tstate
);
4930 if (PyErr_Occurred()) SWIG_fail
;
4932 resultobj
= PyInt_FromLong((long)result
);
4939 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4940 PyObject
*resultobj
;
4941 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4943 PyObject
* obj0
= 0 ;
4945 (char *) "self", NULL
4948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
4949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4952 result
= (bool)(arg1
)->CanRead();
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= PyInt_FromLong((long)result
);
4964 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4965 PyObject
*resultobj
;
4966 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4968 PyObject
* obj0
= 0 ;
4970 (char *) "self", NULL
4973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
4974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4977 result
= (bool)(arg1
)->Eof();
4979 wxPyEndAllowThreads(__tstate
);
4980 if (PyErr_Occurred()) SWIG_fail
;
4982 resultobj
= PyInt_FromLong((long)result
);
4989 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4990 PyObject
*resultobj
;
4991 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4994 PyObject
* obj0
= 0 ;
4996 (char *) "self",(char *) "c", NULL
4999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
5000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5003 result
= (bool)(arg1
)->Ungetch(arg2
);
5005 wxPyEndAllowThreads(__tstate
);
5006 if (PyErr_Occurred()) SWIG_fail
;
5008 resultobj
= PyInt_FromLong((long)result
);
5015 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5016 PyObject
*resultobj
;
5017 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5019 int arg3
= (int) wxFromStart
;
5021 PyObject
* obj0
= 0 ;
5023 (char *) "self",(char *) "pos",(char *) "mode", NULL
5026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5030 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5032 wxPyEndAllowThreads(__tstate
);
5033 if (PyErr_Occurred()) SWIG_fail
;
5035 resultobj
= PyInt_FromLong((long)result
);
5042 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5043 PyObject
*resultobj
;
5044 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5046 PyObject
* obj0
= 0 ;
5048 (char *) "self", NULL
5051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5055 result
= (long)(arg1
)->TellI();
5057 wxPyEndAllowThreads(__tstate
);
5058 if (PyErr_Occurred()) SWIG_fail
;
5060 resultobj
= PyInt_FromLong((long)result
);
5067 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5069 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5070 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5072 return Py_BuildValue((char *)"");
5074 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5075 PyObject
*resultobj
;
5076 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5077 PyObject
*arg2
= (PyObject
*) 0 ;
5078 PyObject
* obj0
= 0 ;
5079 PyObject
* obj1
= 0 ;
5081 (char *) "self",(char *) "obj", NULL
5084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 wxOutputStream_write(arg1
,arg2
);
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 Py_INCREF(Py_None
); resultobj
= Py_None
;
5101 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5103 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5104 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5106 return Py_BuildValue((char *)"");
5108 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5109 PyObject
*resultobj
;
5110 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5111 wxString
*arg2
= 0 ;
5112 wxString
*arg3
= 0 ;
5113 wxString
*arg4
= 0 ;
5116 wxPyInputStream
*temp1
;
5118 bool temp2
= False
;
5119 bool temp3
= False
;
5120 bool temp4
= False
;
5122 PyObject
* obj0
= 0 ;
5123 PyObject
* obj1
= 0 ;
5124 PyObject
* obj2
= 0 ;
5125 PyObject
* obj3
= 0 ;
5126 PyObject
* obj4
= 0 ;
5128 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5133 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5134 arg1
= temp1
->m_wxis
;
5137 PyErr_Clear(); // clear the failure of the wxPyConvert above
5138 arg1
= wxPyCBInputStream_create(obj0
, False
);
5140 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5147 arg2
= wxString_in_helper(obj1
);
5148 if (arg2
== NULL
) SWIG_fail
;
5152 arg3
= wxString_in_helper(obj2
);
5153 if (arg3
== NULL
) SWIG_fail
;
5157 arg4
= wxString_in_helper(obj3
);
5158 if (arg4
== NULL
) SWIG_fail
;
5161 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5167 wxPyEndAllowThreads(__tstate
);
5168 if (PyErr_Occurred()) SWIG_fail
;
5171 resultobj
= wxPyMake_wxObject(result
);
5211 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5212 PyObject
*resultobj
;
5213 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5214 PyObject
* obj0
= 0 ;
5216 (char *) "self", NULL
5219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5225 wxPyEndAllowThreads(__tstate
);
5226 if (PyErr_Occurred()) SWIG_fail
;
5228 Py_INCREF(Py_None
); resultobj
= Py_None
;
5235 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5236 PyObject
*resultobj
;
5237 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5238 wxInputStream
*result
;
5239 PyObject
* obj0
= 0 ;
5241 (char *) "self", NULL
5244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= (wxInputStream
*)(arg1
)->GetStream();
5250 wxPyEndAllowThreads(__tstate
);
5251 if (PyErr_Occurred()) SWIG_fail
;
5254 wxPyInputStream
* _ptr
= NULL
;
5257 _ptr
= new wxPyInputStream(result
);
5259 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5267 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5268 PyObject
*resultobj
;
5269 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5271 PyObject
* obj0
= 0 ;
5273 (char *) "self", NULL
5276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5281 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5282 result
= (wxString
*) &_result_ref
;
5285 wxPyEndAllowThreads(__tstate
);
5286 if (PyErr_Occurred()) SWIG_fail
;
5288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5295 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5296 PyObject
*resultobj
;
5297 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5299 PyObject
* obj0
= 0 ;
5301 (char *) "self", NULL
5304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5309 wxString
const &_result_ref
= (arg1
)->GetLocation();
5310 result
= (wxString
*) &_result_ref
;
5313 wxPyEndAllowThreads(__tstate
);
5314 if (PyErr_Occurred()) SWIG_fail
;
5316 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5323 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5327 PyObject
* obj0
= 0 ;
5329 (char *) "self", NULL
5332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5338 result
= (wxString
*) &_result_ref
;
5341 wxPyEndAllowThreads(__tstate
);
5342 if (PyErr_Occurred()) SWIG_fail
;
5344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
5351 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5352 PyObject
*resultobj
;
5353 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5355 PyObject
* obj0
= 0 ;
5357 (char *) "self", NULL
5360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5364 result
= (arg1
)->GetModificationTime();
5366 wxPyEndAllowThreads(__tstate
);
5367 if (PyErr_Occurred()) SWIG_fail
;
5370 wxDateTime
* resultptr
;
5371 resultptr
= new wxDateTime((wxDateTime
&) result
);
5372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5380 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5383 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5385 return Py_BuildValue((char *)"");
5387 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5389 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5390 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5392 return Py_BuildValue((char *)"");
5394 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5395 PyObject
*resultobj
;
5396 wxPyFileSystemHandler
*result
;
5401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5406 wxPyEndAllowThreads(__tstate
);
5407 if (PyErr_Occurred()) SWIG_fail
;
5409 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5416 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5417 PyObject
*resultobj
;
5418 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5419 PyObject
*arg2
= (PyObject
*) 0 ;
5420 PyObject
*arg3
= (PyObject
*) 0 ;
5421 PyObject
* obj0
= 0 ;
5422 PyObject
* obj1
= 0 ;
5423 PyObject
* obj2
= 0 ;
5425 (char *) "self",(char *) "self",(char *) "_class", NULL
5428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5434 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5436 wxPyEndAllowThreads(__tstate
);
5437 if (PyErr_Occurred()) SWIG_fail
;
5439 Py_INCREF(Py_None
); resultobj
= Py_None
;
5446 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5447 PyObject
*resultobj
;
5448 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5449 wxString
*arg2
= 0 ;
5451 bool temp2
= False
;
5452 PyObject
* obj0
= 0 ;
5453 PyObject
* obj1
= 0 ;
5455 (char *) "self",(char *) "location", NULL
5458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5461 arg2
= wxString_in_helper(obj1
);
5462 if (arg2
== NULL
) SWIG_fail
;
5466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5467 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5469 wxPyEndAllowThreads(__tstate
);
5470 if (PyErr_Occurred()) SWIG_fail
;
5472 resultobj
= PyInt_FromLong((long)result
);
5487 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5488 PyObject
*resultobj
;
5489 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5490 wxFileSystem
*arg2
= 0 ;
5491 wxString
*arg3
= 0 ;
5493 bool temp3
= False
;
5494 PyObject
* obj0
= 0 ;
5495 PyObject
* obj1
= 0 ;
5496 PyObject
* obj2
= 0 ;
5498 (char *) "self",(char *) "fs",(char *) "location", NULL
5501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5503 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5505 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5508 arg3
= wxString_in_helper(obj2
);
5509 if (arg3
== NULL
) SWIG_fail
;
5513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5514 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= wxPyMake_wxObject(result
);
5536 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5537 PyObject
*resultobj
;
5538 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5539 wxString
*arg2
= 0 ;
5540 int arg3
= (int) 0 ;
5542 bool temp2
= False
;
5543 PyObject
* obj0
= 0 ;
5544 PyObject
* obj1
= 0 ;
5546 (char *) "self",(char *) "spec",(char *) "flags", NULL
5549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5552 arg2
= wxString_in_helper(obj1
);
5553 if (arg2
== NULL
) SWIG_fail
;
5557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5558 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5560 wxPyEndAllowThreads(__tstate
);
5561 if (PyErr_Occurred()) SWIG_fail
;
5565 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5567 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5584 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5585 PyObject
*resultobj
;
5586 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5588 PyObject
* obj0
= 0 ;
5590 (char *) "self", NULL
5593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (arg1
)->FindNext();
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5604 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5606 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5615 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5616 PyObject
*resultobj
;
5617 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5618 wxString
*arg2
= 0 ;
5620 bool temp2
= False
;
5621 PyObject
* obj0
= 0 ;
5622 PyObject
* obj1
= 0 ;
5624 (char *) "self",(char *) "location", NULL
5627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5630 arg2
= wxString_in_helper(obj1
);
5631 if (arg2
== NULL
) SWIG_fail
;
5635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5636 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5638 wxPyEndAllowThreads(__tstate
);
5639 if (PyErr_Occurred()) SWIG_fail
;
5643 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5645 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5662 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5663 PyObject
*resultobj
;
5664 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5665 wxString
*arg2
= 0 ;
5667 bool temp2
= False
;
5668 PyObject
* obj0
= 0 ;
5669 PyObject
* obj1
= 0 ;
5671 (char *) "self",(char *) "location", NULL
5674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5677 arg2
= wxString_in_helper(obj1
);
5678 if (arg2
== NULL
) SWIG_fail
;
5682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5683 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5685 wxPyEndAllowThreads(__tstate
);
5686 if (PyErr_Occurred()) SWIG_fail
;
5690 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5692 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5709 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5710 PyObject
*resultobj
;
5711 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5712 wxString
*arg2
= 0 ;
5714 bool temp2
= False
;
5715 PyObject
* obj0
= 0 ;
5716 PyObject
* obj1
= 0 ;
5718 (char *) "self",(char *) "location", NULL
5721 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5722 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5724 arg2
= wxString_in_helper(obj1
);
5725 if (arg2
== NULL
) SWIG_fail
;
5729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5730 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5732 wxPyEndAllowThreads(__tstate
);
5733 if (PyErr_Occurred()) SWIG_fail
;
5737 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5739 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5756 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5757 PyObject
*resultobj
;
5758 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5759 wxString
*arg2
= 0 ;
5761 bool temp2
= False
;
5762 PyObject
* obj0
= 0 ;
5763 PyObject
* obj1
= 0 ;
5765 (char *) "self",(char *) "location", NULL
5768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5771 arg2
= wxString_in_helper(obj1
);
5772 if (arg2
== NULL
) SWIG_fail
;
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5779 wxPyEndAllowThreads(__tstate
);
5780 if (PyErr_Occurred()) SWIG_fail
;
5784 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5786 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5803 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5804 PyObject
*resultobj
;
5805 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5806 wxString
*arg2
= 0 ;
5808 bool temp2
= False
;
5809 PyObject
* obj0
= 0 ;
5810 PyObject
* obj1
= 0 ;
5812 (char *) "self",(char *) "location", NULL
5815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5818 arg2
= wxString_in_helper(obj1
);
5819 if (arg2
== NULL
) SWIG_fail
;
5823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5824 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5826 wxPyEndAllowThreads(__tstate
);
5827 if (PyErr_Occurred()) SWIG_fail
;
5831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5850 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5852 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5853 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5855 return Py_BuildValue((char *)"");
5857 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5858 PyObject
*resultobj
;
5859 wxFileSystem
*result
;
5864 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5867 result
= (wxFileSystem
*)new wxFileSystem();
5869 wxPyEndAllowThreads(__tstate
);
5870 if (PyErr_Occurred()) SWIG_fail
;
5873 resultobj
= wxPyMake_wxObject(result
);
5881 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5882 PyObject
*resultobj
;
5883 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5884 PyObject
* obj0
= 0 ;
5886 (char *) "self", NULL
5889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
5890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5895 wxPyEndAllowThreads(__tstate
);
5896 if (PyErr_Occurred()) SWIG_fail
;
5898 Py_INCREF(Py_None
); resultobj
= Py_None
;
5905 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5906 PyObject
*resultobj
;
5907 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5908 wxString
*arg2
= 0 ;
5909 bool arg3
= (bool) False
;
5910 bool temp2
= False
;
5911 PyObject
* obj0
= 0 ;
5912 PyObject
* obj1
= 0 ;
5913 PyObject
* obj2
= 0 ;
5915 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5921 arg2
= wxString_in_helper(obj1
);
5922 if (arg2
== NULL
) SWIG_fail
;
5926 arg3
= PyInt_AsLong(obj2
) ? true : false;
5927 if (PyErr_Occurred()) SWIG_fail
;
5930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5931 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
5933 wxPyEndAllowThreads(__tstate
);
5934 if (PyErr_Occurred()) SWIG_fail
;
5936 Py_INCREF(Py_None
); resultobj
= Py_None
;
5951 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5952 PyObject
*resultobj
;
5953 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5955 PyObject
* obj0
= 0 ;
5957 (char *) "self", NULL
5960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
5961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5964 result
= (arg1
)->GetPath();
5966 wxPyEndAllowThreads(__tstate
);
5967 if (PyErr_Occurred()) SWIG_fail
;
5971 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5973 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5982 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5983 PyObject
*resultobj
;
5984 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5985 wxString
*arg2
= 0 ;
5987 bool temp2
= False
;
5988 PyObject
* obj0
= 0 ;
5989 PyObject
* obj1
= 0 ;
5991 (char *) "self",(char *) "location", NULL
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
5995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5997 arg2
= wxString_in_helper(obj1
);
5998 if (arg2
== NULL
) SWIG_fail
;
6002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6003 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6005 wxPyEndAllowThreads(__tstate
);
6006 if (PyErr_Occurred()) SWIG_fail
;
6009 resultobj
= wxPyMake_wxObject(result
);
6025 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6026 PyObject
*resultobj
;
6027 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6028 wxString
*arg2
= 0 ;
6029 int arg3
= (int) 0 ;
6031 bool temp2
= False
;
6032 PyObject
* obj0
= 0 ;
6033 PyObject
* obj1
= 0 ;
6035 (char *) "self",(char *) "spec",(char *) "flags", NULL
6038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6041 arg2
= wxString_in_helper(obj1
);
6042 if (arg2
== NULL
) SWIG_fail
;
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6049 wxPyEndAllowThreads(__tstate
);
6050 if (PyErr_Occurred()) SWIG_fail
;
6054 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6056 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6073 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6074 PyObject
*resultobj
;
6075 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6077 PyObject
* obj0
= 0 ;
6079 (char *) "self", NULL
6082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6086 result
= (arg1
)->FindNext();
6088 wxPyEndAllowThreads(__tstate
);
6089 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6095 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6104 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6105 PyObject
*resultobj
;
6106 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6107 PyObject
* obj0
= 0 ;
6109 (char *) "handler", NULL
6112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6116 wxFileSystem::AddHandler(arg1
);
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6121 Py_INCREF(Py_None
); resultobj
= Py_None
;
6128 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6129 PyObject
*resultobj
;
6134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6137 wxFileSystem::CleanUpHandlers();
6139 wxPyEndAllowThreads(__tstate
);
6140 if (PyErr_Occurred()) SWIG_fail
;
6142 Py_INCREF(Py_None
); resultobj
= Py_None
;
6149 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6150 PyObject
*resultobj
;
6151 wxString
*arg1
= 0 ;
6153 bool temp1
= False
;
6154 PyObject
* obj0
= 0 ;
6156 (char *) "filename", NULL
6159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6161 arg1
= wxString_in_helper(obj0
);
6162 if (arg1
== NULL
) SWIG_fail
;
6166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6167 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6169 wxPyEndAllowThreads(__tstate
);
6170 if (PyErr_Occurred()) SWIG_fail
;
6174 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6176 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6193 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6195 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6196 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6198 return Py_BuildValue((char *)"");
6200 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6201 PyObject
*resultobj
;
6202 wxString
*arg1
= 0 ;
6204 bool temp1
= False
;
6205 PyObject
* obj0
= 0 ;
6207 (char *) "url", NULL
6210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6212 arg1
= wxString_in_helper(obj0
);
6213 if (arg1
== NULL
) SWIG_fail
;
6217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6218 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6220 wxPyEndAllowThreads(__tstate
);
6221 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6227 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6244 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6245 PyObject
*resultobj
;
6246 wxInternetFSHandler
*result
;
6251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6254 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6256 wxPyEndAllowThreads(__tstate
);
6257 if (PyErr_Occurred()) SWIG_fail
;
6259 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6266 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6267 PyObject
*resultobj
;
6268 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6269 wxString
*arg2
= 0 ;
6271 bool temp2
= False
;
6272 PyObject
* obj0
= 0 ;
6273 PyObject
* obj1
= 0 ;
6275 (char *) "self",(char *) "location", NULL
6278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6281 arg2
= wxString_in_helper(obj1
);
6282 if (arg2
== NULL
) SWIG_fail
;
6286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6287 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6289 wxPyEndAllowThreads(__tstate
);
6290 if (PyErr_Occurred()) SWIG_fail
;
6292 resultobj
= PyInt_FromLong((long)result
);
6307 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6308 PyObject
*resultobj
;
6309 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6310 wxFileSystem
*arg2
= 0 ;
6311 wxString
*arg3
= 0 ;
6313 bool temp3
= False
;
6314 PyObject
* obj0
= 0 ;
6315 PyObject
* obj1
= 0 ;
6316 PyObject
* obj2
= 0 ;
6318 (char *) "self",(char *) "fs",(char *) "location", NULL
6321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6323 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6325 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6328 arg3
= wxString_in_helper(obj2
);
6329 if (arg3
== NULL
) SWIG_fail
;
6333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6334 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6336 wxPyEndAllowThreads(__tstate
);
6337 if (PyErr_Occurred()) SWIG_fail
;
6340 resultobj
= wxPyMake_wxObject(result
);
6356 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6358 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6359 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6361 return Py_BuildValue((char *)"");
6363 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6364 PyObject
*resultobj
;
6365 wxZipFSHandler
*result
;
6370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6373 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6375 wxPyEndAllowThreads(__tstate
);
6376 if (PyErr_Occurred()) SWIG_fail
;
6378 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6385 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6386 PyObject
*resultobj
;
6387 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6388 wxString
*arg2
= 0 ;
6390 bool temp2
= False
;
6391 PyObject
* obj0
= 0 ;
6392 PyObject
* obj1
= 0 ;
6394 (char *) "self",(char *) "location", NULL
6397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6400 arg2
= wxString_in_helper(obj1
);
6401 if (arg2
== NULL
) SWIG_fail
;
6405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6406 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6408 wxPyEndAllowThreads(__tstate
);
6409 if (PyErr_Occurred()) SWIG_fail
;
6411 resultobj
= PyInt_FromLong((long)result
);
6426 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6427 PyObject
*resultobj
;
6428 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6429 wxFileSystem
*arg2
= 0 ;
6430 wxString
*arg3
= 0 ;
6432 bool temp3
= False
;
6433 PyObject
* obj0
= 0 ;
6434 PyObject
* obj1
= 0 ;
6435 PyObject
* obj2
= 0 ;
6437 (char *) "self",(char *) "fs",(char *) "location", NULL
6440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6447 arg3
= wxString_in_helper(obj2
);
6448 if (arg3
== NULL
) SWIG_fail
;
6452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6453 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6455 wxPyEndAllowThreads(__tstate
);
6456 if (PyErr_Occurred()) SWIG_fail
;
6459 resultobj
= wxPyMake_wxObject(result
);
6475 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6476 PyObject
*resultobj
;
6477 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6478 wxString
*arg2
= 0 ;
6479 int arg3
= (int) 0 ;
6481 bool temp2
= False
;
6482 PyObject
* obj0
= 0 ;
6483 PyObject
* obj1
= 0 ;
6485 (char *) "self",(char *) "spec",(char *) "flags", NULL
6488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6489 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6491 arg2
= wxString_in_helper(obj1
);
6492 if (arg2
== NULL
) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6499 wxPyEndAllowThreads(__tstate
);
6500 if (PyErr_Occurred()) SWIG_fail
;
6504 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6506 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6523 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6524 PyObject
*resultobj
;
6525 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6527 PyObject
* obj0
= 0 ;
6529 (char *) "self", NULL
6532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (arg1
)->FindNext();
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6543 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6545 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6554 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6556 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6557 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6559 return Py_BuildValue((char *)"");
6561 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6562 PyObject
*resultobj
;
6563 wxString
*arg1
= 0 ;
6566 bool temp1
= False
;
6567 PyObject
* obj0
= 0 ;
6568 PyObject
* obj1
= 0 ;
6570 (char *) "filename",(char *) "image",(char *) "type", NULL
6573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6575 arg1
= wxString_in_helper(obj0
);
6576 if (arg1
== NULL
) SWIG_fail
;
6579 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6581 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6585 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6587 wxPyEndAllowThreads(__tstate
);
6588 if (PyErr_Occurred()) SWIG_fail
;
6590 Py_INCREF(Py_None
); resultobj
= Py_None
;
6605 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxString
*arg1
= 0 ;
6608 wxBitmap
*arg2
= 0 ;
6610 bool temp1
= False
;
6611 PyObject
* obj0
= 0 ;
6612 PyObject
* obj1
= 0 ;
6614 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6617 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6619 arg1
= wxString_in_helper(obj0
);
6620 if (arg1
== NULL
) SWIG_fail
;
6623 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6625 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6629 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6631 wxPyEndAllowThreads(__tstate
);
6632 if (PyErr_Occurred()) SWIG_fail
;
6634 Py_INCREF(Py_None
); resultobj
= Py_None
;
6649 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6650 PyObject
*resultobj
;
6651 wxString
*arg1
= 0 ;
6652 PyObject
*arg2
= (PyObject
*) 0 ;
6653 bool temp1
= False
;
6654 PyObject
* obj0
= 0 ;
6655 PyObject
* obj1
= 0 ;
6657 (char *) "filename",(char *) "data", NULL
6660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6662 arg1
= wxString_in_helper(obj0
);
6663 if (arg1
== NULL
) SWIG_fail
;
6668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6669 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6671 wxPyEndAllowThreads(__tstate
);
6672 if (PyErr_Occurred()) SWIG_fail
;
6674 Py_INCREF(Py_None
); resultobj
= Py_None
;
6689 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6690 PyObject
*resultobj
;
6691 wxMemoryFSHandler
*result
;
6696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6699 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6701 wxPyEndAllowThreads(__tstate
);
6702 if (PyErr_Occurred()) SWIG_fail
;
6704 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6711 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6712 PyObject
*resultobj
;
6713 wxString
*arg1
= 0 ;
6714 bool temp1
= False
;
6715 PyObject
* obj0
= 0 ;
6717 (char *) "filename", NULL
6720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6722 arg1
= wxString_in_helper(obj0
);
6723 if (arg1
== NULL
) SWIG_fail
;
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6730 wxPyEndAllowThreads(__tstate
);
6731 if (PyErr_Occurred()) SWIG_fail
;
6733 Py_INCREF(Py_None
); resultobj
= Py_None
;
6748 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6749 PyObject
*resultobj
;
6750 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6751 wxString
*arg2
= 0 ;
6753 bool temp2
= False
;
6754 PyObject
* obj0
= 0 ;
6755 PyObject
* obj1
= 0 ;
6757 (char *) "self",(char *) "location", NULL
6760 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6761 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6763 arg2
= wxString_in_helper(obj1
);
6764 if (arg2
== NULL
) SWIG_fail
;
6768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6769 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= PyInt_FromLong((long)result
);
6789 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6790 PyObject
*resultobj
;
6791 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6792 wxFileSystem
*arg2
= 0 ;
6793 wxString
*arg3
= 0 ;
6795 bool temp3
= False
;
6796 PyObject
* obj0
= 0 ;
6797 PyObject
* obj1
= 0 ;
6798 PyObject
* obj2
= 0 ;
6800 (char *) "self",(char *) "fs",(char *) "location", NULL
6803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6805 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6807 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6810 arg3
= wxString_in_helper(obj2
);
6811 if (arg3
== NULL
) SWIG_fail
;
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6818 wxPyEndAllowThreads(__tstate
);
6819 if (PyErr_Occurred()) SWIG_fail
;
6822 resultobj
= wxPyMake_wxObject(result
);
6838 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6839 PyObject
*resultobj
;
6840 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6841 wxString
*arg2
= 0 ;
6842 int arg3
= (int) 0 ;
6844 bool temp2
= False
;
6845 PyObject
* obj0
= 0 ;
6846 PyObject
* obj1
= 0 ;
6848 (char *) "self",(char *) "spec",(char *) "flags", NULL
6851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6854 arg2
= wxString_in_helper(obj1
);
6855 if (arg2
== NULL
) SWIG_fail
;
6859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6860 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6886 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6887 PyObject
*resultobj
;
6888 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6890 PyObject
* obj0
= 0 ;
6892 (char *) "self", NULL
6895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (arg1
)->FindNext();
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6906 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6908 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6917 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6919 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6920 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
6922 return Py_BuildValue((char *)"");
6924 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6925 PyObject
*resultobj
;
6926 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6928 PyObject
* obj0
= 0 ;
6930 (char *) "self", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (arg1
)->GetName();
6939 wxPyEndAllowThreads(__tstate
);
6940 if (PyErr_Occurred()) SWIG_fail
;
6944 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6946 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6955 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6956 PyObject
*resultobj
;
6957 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6959 PyObject
* obj0
= 0 ;
6961 (char *) "self", NULL
6964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
6965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6968 result
= (arg1
)->GetExtension();
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6986 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6987 PyObject
*resultobj
;
6988 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6990 PyObject
* obj0
= 0 ;
6992 (char *) "self", NULL
6995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
6996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 result
= (long)(arg1
)->GetType();
7001 wxPyEndAllowThreads(__tstate
);
7002 if (PyErr_Occurred()) SWIG_fail
;
7004 resultobj
= PyInt_FromLong((long)result
);
7011 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7012 PyObject
*resultobj
;
7013 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7015 PyObject
* obj0
= 0 ;
7017 (char *) "self", NULL
7020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7024 result
= (arg1
)->GetMimeType();
7026 wxPyEndAllowThreads(__tstate
);
7027 if (PyErr_Occurred()) SWIG_fail
;
7031 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7033 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7042 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
;
7044 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7045 wxString
*arg2
= 0 ;
7047 bool temp2
= False
;
7048 PyObject
* obj0
= 0 ;
7049 PyObject
* obj1
= 0 ;
7051 (char *) "self",(char *) "name", NULL
7054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7055 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7057 arg2
= wxString_in_helper(obj1
);
7058 if (arg2
== NULL
) SWIG_fail
;
7062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7063 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7065 wxPyEndAllowThreads(__tstate
);
7066 if (PyErr_Occurred()) SWIG_fail
;
7068 resultobj
= PyInt_FromLong((long)result
);
7083 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7084 PyObject
*resultobj
;
7085 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7086 wxString
*arg2
= 0 ;
7087 bool temp2
= False
;
7088 PyObject
* obj0
= 0 ;
7089 PyObject
* obj1
= 0 ;
7091 (char *) "self",(char *) "name", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7097 arg2
= wxString_in_helper(obj1
);
7098 if (arg2
== NULL
) SWIG_fail
;
7102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7103 (arg1
)->SetName((wxString
const &)*arg2
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 Py_INCREF(Py_None
); resultobj
= Py_None
;
7123 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7124 PyObject
*resultobj
;
7125 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7126 wxString
*arg2
= 0 ;
7127 bool temp2
= False
;
7128 PyObject
* obj0
= 0 ;
7129 PyObject
* obj1
= 0 ;
7131 (char *) "self",(char *) "extension", NULL
7134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7137 arg2
= wxString_in_helper(obj1
);
7138 if (arg2
== NULL
) SWIG_fail
;
7142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7143 (arg1
)->SetExtension((wxString
const &)*arg2
);
7145 wxPyEndAllowThreads(__tstate
);
7146 if (PyErr_Occurred()) SWIG_fail
;
7148 Py_INCREF(Py_None
); resultobj
= Py_None
;
7163 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7164 PyObject
*resultobj
;
7165 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7167 PyObject
* obj0
= 0 ;
7169 (char *) "self",(char *) "type", NULL
7172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetType(arg2
);
7178 wxPyEndAllowThreads(__tstate
);
7179 if (PyErr_Occurred()) SWIG_fail
;
7181 Py_INCREF(Py_None
); resultobj
= Py_None
;
7188 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7189 PyObject
*resultobj
;
7190 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7191 wxString
*arg2
= 0 ;
7192 bool temp2
= False
;
7193 PyObject
* obj0
= 0 ;
7194 PyObject
* obj1
= 0 ;
7196 (char *) "self",(char *) "mimetype", NULL
7199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7202 arg2
= wxString_in_helper(obj1
);
7203 if (arg2
== NULL
) SWIG_fail
;
7207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7208 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7210 wxPyEndAllowThreads(__tstate
);
7211 if (PyErr_Occurred()) SWIG_fail
;
7213 Py_INCREF(Py_None
); resultobj
= Py_None
;
7228 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7231 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7233 return Py_BuildValue((char *)"");
7235 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
;
7237 wxImageHistogram
*result
;
7242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (wxImageHistogram
*)new wxImageHistogram();
7247 wxPyEndAllowThreads(__tstate
);
7248 if (PyErr_Occurred()) SWIG_fail
;
7250 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7257 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7258 PyObject
*resultobj
;
7259 unsigned char arg1
;
7260 unsigned char arg2
;
7261 unsigned char arg3
;
7262 unsigned long result
;
7263 PyObject
* obj0
= 0 ;
7264 PyObject
* obj1
= 0 ;
7265 PyObject
* obj2
= 0 ;
7267 (char *) "r",(char *) "g",(char *) "b", NULL
7270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7271 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7273 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7274 if (PyErr_Occurred()) SWIG_fail
;
7275 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7279 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7281 wxPyEndAllowThreads(__tstate
);
7282 if (PyErr_Occurred()) SWIG_fail
;
7284 resultobj
= PyInt_FromLong((long)result
);
7291 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7292 PyObject
*resultobj
;
7293 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7294 unsigned char *arg2
= (unsigned char *) 0 ;
7295 unsigned char *arg3
= (unsigned char *) 0 ;
7296 unsigned char *arg4
= (unsigned char *) 0 ;
7297 unsigned char arg5
= (unsigned char) 1 ;
7298 unsigned char arg6
= (unsigned char) 0 ;
7299 unsigned char arg7
= (unsigned char) 0 ;
7301 unsigned char temp2
;
7302 unsigned char temp3
;
7303 unsigned char temp4
;
7304 PyObject
* obj0
= 0 ;
7305 PyObject
* obj1
= 0 ;
7306 PyObject
* obj2
= 0 ;
7307 PyObject
* obj3
= 0 ;
7309 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7318 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7319 if (PyErr_Occurred()) SWIG_fail
;
7322 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7323 if (PyErr_Occurred()) SWIG_fail
;
7326 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7327 if (PyErr_Occurred()) SWIG_fail
;
7330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7331 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= PyInt_FromLong((long)result
);
7338 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7339 resultobj
= t_output_helper(resultobj
,o
);
7342 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7343 resultobj
= t_output_helper(resultobj
,o
);
7346 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7347 resultobj
= t_output_helper(resultobj
,o
);
7355 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7357 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7358 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7360 return Py_BuildValue((char *)"");
7362 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7363 PyObject
*resultobj
;
7364 wxString
*arg1
= 0 ;
7365 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7366 int arg3
= (int) -1 ;
7368 bool temp1
= False
;
7369 PyObject
* obj0
= 0 ;
7371 (char *) "name",(char *) "type",(char *) "index", NULL
7374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7376 arg1
= wxString_in_helper(obj0
);
7377 if (arg1
== NULL
) SWIG_fail
;
7381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7382 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7384 wxPyEndAllowThreads(__tstate
);
7385 if (PyErr_Occurred()) SWIG_fail
;
7387 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7402 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7403 PyObject
*resultobj
;
7404 wxImage
*arg1
= (wxImage
*) 0 ;
7405 PyObject
* obj0
= 0 ;
7407 (char *) "self", NULL
7410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7416 wxPyEndAllowThreads(__tstate
);
7417 if (PyErr_Occurred()) SWIG_fail
;
7419 Py_INCREF(Py_None
); resultobj
= Py_None
;
7426 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7427 PyObject
*resultobj
;
7428 wxString
*arg1
= 0 ;
7429 wxString
*arg2
= 0 ;
7430 int arg3
= (int) -1 ;
7432 bool temp1
= False
;
7433 bool temp2
= False
;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7437 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7442 arg1
= wxString_in_helper(obj0
);
7443 if (arg1
== NULL
) SWIG_fail
;
7447 arg2
= wxString_in_helper(obj1
);
7448 if (arg2
== NULL
) SWIG_fail
;
7452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7453 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7455 wxPyEndAllowThreads(__tstate
);
7456 if (PyErr_Occurred()) SWIG_fail
;
7458 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7481 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7482 PyObject
*resultobj
;
7483 wxInputStream
*arg1
= 0 ;
7484 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7485 int arg3
= (int) -1 ;
7487 wxPyInputStream
*temp1
;
7489 PyObject
* obj0
= 0 ;
7491 (char *) "stream",(char *) "type",(char *) "index", NULL
7494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7496 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7497 arg1
= temp1
->m_wxis
;
7500 PyErr_Clear(); // clear the failure of the wxPyConvert above
7501 arg1
= wxPyCBInputStream_create(obj0
, False
);
7503 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7511 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7513 wxPyEndAllowThreads(__tstate
);
7514 if (PyErr_Occurred()) SWIG_fail
;
7516 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7531 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7532 PyObject
*resultobj
;
7533 wxInputStream
*arg1
= 0 ;
7534 wxString
*arg2
= 0 ;
7535 int arg3
= (int) -1 ;
7537 wxPyInputStream
*temp1
;
7539 bool temp2
= False
;
7540 PyObject
* obj0
= 0 ;
7541 PyObject
* obj1
= 0 ;
7543 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7548 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7549 arg1
= temp1
->m_wxis
;
7552 PyErr_Clear(); // clear the failure of the wxPyConvert above
7553 arg1
= wxPyCBInputStream_create(obj0
, False
);
7555 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7562 arg2
= wxString_in_helper(obj1
);
7563 if (arg2
== NULL
) SWIG_fail
;
7567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7568 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7570 wxPyEndAllowThreads(__tstate
);
7571 if (PyErr_Occurred()) SWIG_fail
;
7573 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7596 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7597 PyObject
*resultobj
;
7598 int arg1
= (int) 0 ;
7599 int arg2
= (int) 0 ;
7600 bool arg3
= (bool) True
;
7602 PyObject
* obj2
= 0 ;
7604 (char *) "width",(char *) "height",(char *) "clear", NULL
7607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7609 arg3
= PyInt_AsLong(obj2
) ? true : false;
7610 if (PyErr_Occurred()) SWIG_fail
;
7613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7614 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7616 wxPyEndAllowThreads(__tstate
);
7617 if (PyErr_Occurred()) SWIG_fail
;
7619 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7626 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7627 PyObject
*resultobj
;
7628 wxBitmap
*arg1
= 0 ;
7630 PyObject
* obj0
= 0 ;
7632 (char *) "bitmap", NULL
7635 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7636 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7644 wxPyEndAllowThreads(__tstate
);
7645 if (PyErr_Occurred()) SWIG_fail
;
7647 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7654 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7655 PyObject
*resultobj
;
7658 unsigned char *arg3
= (unsigned char *) 0 ;
7660 PyObject
* obj2
= 0 ;
7662 (char *) "width",(char *) "height",(char *) "data", NULL
7665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7666 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7681 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7682 PyObject
*resultobj
;
7683 wxImage
*arg1
= (wxImage
*) 0 ;
7686 PyObject
* obj0
= 0 ;
7688 (char *) "self",(char *) "width",(char *) "height", NULL
7691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7695 (arg1
)->Create(arg2
,arg3
);
7697 wxPyEndAllowThreads(__tstate
);
7698 if (PyErr_Occurred()) SWIG_fail
;
7700 Py_INCREF(Py_None
); resultobj
= Py_None
;
7707 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7708 PyObject
*resultobj
;
7709 wxImage
*arg1
= (wxImage
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7712 (char *) "self", NULL
7715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7721 wxPyEndAllowThreads(__tstate
);
7722 if (PyErr_Occurred()) SWIG_fail
;
7724 Py_INCREF(Py_None
); resultobj
= Py_None
;
7731 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7732 PyObject
*resultobj
;
7733 wxImage
*arg1
= (wxImage
*) 0 ;
7736 SwigValueWrapper
< wxImage
> result
;
7737 PyObject
* obj0
= 0 ;
7739 (char *) "self",(char *) "width",(char *) "height", NULL
7742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7746 result
= (arg1
)->Scale(arg2
,arg3
);
7748 wxPyEndAllowThreads(__tstate
);
7749 if (PyErr_Occurred()) SWIG_fail
;
7752 wxImage
* resultptr
;
7753 resultptr
= new wxImage((wxImage
&) result
);
7754 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7762 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7763 PyObject
*resultobj
;
7764 wxImage
*arg1
= (wxImage
*) 0 ;
7767 SwigValueWrapper
< wxImage
> result
;
7768 PyObject
* obj0
= 0 ;
7770 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7777 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7779 wxPyEndAllowThreads(__tstate
);
7780 if (PyErr_Occurred()) SWIG_fail
;
7783 wxImage
* resultptr
;
7784 resultptr
= new wxImage((wxImage
&) result
);
7785 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7793 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
;
7795 wxImage
*arg1
= (wxImage
*) 0 ;
7799 PyObject
* obj0
= 0 ;
7801 (char *) "self",(char *) "width",(char *) "height", NULL
7804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7809 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7810 result
= (wxImage
*) &_result_ref
;
7813 wxPyEndAllowThreads(__tstate
);
7814 if (PyErr_Occurred()) SWIG_fail
;
7816 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7823 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7824 PyObject
*resultobj
;
7825 wxImage
*arg1
= (wxImage
*) 0 ;
7828 unsigned char arg4
;
7829 unsigned char arg5
;
7830 unsigned char arg6
;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj3
= 0 ;
7833 PyObject
* obj4
= 0 ;
7834 PyObject
* obj5
= 0 ;
7836 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7841 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7842 if (PyErr_Occurred()) SWIG_fail
;
7843 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7844 if (PyErr_Occurred()) SWIG_fail
;
7845 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7846 if (PyErr_Occurred()) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7849 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 Py_INCREF(Py_None
); resultobj
= Py_None
;
7861 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxImage
*arg1
= (wxImage
*) 0 ;
7866 unsigned char result
;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "self",(char *) "x",(char *) "y", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= PyInt_FromLong((long)result
);
7888 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7889 PyObject
*resultobj
;
7890 wxImage
*arg1
= (wxImage
*) 0 ;
7893 unsigned char result
;
7894 PyObject
* obj0
= 0 ;
7896 (char *) "self",(char *) "x",(char *) "y", NULL
7899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7903 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
7905 wxPyEndAllowThreads(__tstate
);
7906 if (PyErr_Occurred()) SWIG_fail
;
7908 resultobj
= PyInt_FromLong((long)result
);
7915 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7916 PyObject
*resultobj
;
7917 wxImage
*arg1
= (wxImage
*) 0 ;
7920 unsigned char result
;
7921 PyObject
* obj0
= 0 ;
7923 (char *) "self",(char *) "x",(char *) "y", NULL
7926 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7927 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7930 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
7932 wxPyEndAllowThreads(__tstate
);
7933 if (PyErr_Occurred()) SWIG_fail
;
7935 resultobj
= PyInt_FromLong((long)result
);
7942 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7943 PyObject
*resultobj
;
7944 wxImage
*arg1
= (wxImage
*) 0 ;
7947 unsigned char arg4
;
7948 PyObject
* obj0
= 0 ;
7949 PyObject
* obj3
= 0 ;
7951 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7956 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7957 if (PyErr_Occurred()) SWIG_fail
;
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
7962 wxPyEndAllowThreads(__tstate
);
7963 if (PyErr_Occurred()) SWIG_fail
;
7965 Py_INCREF(Py_None
); resultobj
= Py_None
;
7972 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7973 PyObject
*resultobj
;
7974 wxImage
*arg1
= (wxImage
*) 0 ;
7977 unsigned char result
;
7978 PyObject
* obj0
= 0 ;
7980 (char *) "self",(char *) "x",(char *) "y", NULL
7983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7987 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
7989 wxPyEndAllowThreads(__tstate
);
7990 if (PyErr_Occurred()) SWIG_fail
;
7992 resultobj
= PyInt_FromLong((long)result
);
7999 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8000 PyObject
*resultobj
;
8001 wxImage
*arg1
= (wxImage
*) 0 ;
8003 PyObject
* obj0
= 0 ;
8005 (char *) "self", NULL
8008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8012 result
= (bool)(arg1
)->HasAlpha();
8014 wxPyEndAllowThreads(__tstate
);
8015 if (PyErr_Occurred()) SWIG_fail
;
8017 resultobj
= PyInt_FromLong((long)result
);
8024 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8025 PyObject
*resultobj
;
8026 wxImage
*arg1
= (wxImage
*) 0 ;
8027 byte
*arg2
= (byte
*) 0 ;
8028 byte
*arg3
= (byte
*) 0 ;
8029 byte
*arg4
= (byte
*) 0 ;
8030 byte arg5
= (byte
) 0 ;
8031 byte arg6
= (byte
) 0 ;
8032 byte arg7
= (byte
) 0 ;
8037 PyObject
* obj0
= 0 ;
8038 PyObject
* obj1
= 0 ;
8039 PyObject
* obj2
= 0 ;
8040 PyObject
* obj3
= 0 ;
8042 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8051 arg5
= (byte
) PyInt_AsLong(obj1
);
8052 if (PyErr_Occurred()) SWIG_fail
;
8055 arg6
= (byte
) PyInt_AsLong(obj2
);
8056 if (PyErr_Occurred()) SWIG_fail
;
8059 arg7
= (byte
) PyInt_AsLong(obj3
);
8060 if (PyErr_Occurred()) SWIG_fail
;
8063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8064 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8066 wxPyEndAllowThreads(__tstate
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8069 resultobj
= PyInt_FromLong((long)result
);
8071 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8072 resultobj
= t_output_helper(resultobj
,o
);
8075 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8076 resultobj
= t_output_helper(resultobj
,o
);
8079 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8080 resultobj
= t_output_helper(resultobj
,o
);
8088 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8089 PyObject
*resultobj
;
8090 wxImage
*arg1
= (wxImage
*) 0 ;
8096 PyObject
* obj0
= 0 ;
8097 PyObject
* obj1
= 0 ;
8098 PyObject
* obj2
= 0 ;
8099 PyObject
* obj3
= 0 ;
8100 PyObject
* obj4
= 0 ;
8102 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8109 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8111 arg3
= (byte
) PyInt_AsLong(obj2
);
8112 if (PyErr_Occurred()) SWIG_fail
;
8113 arg4
= (byte
) PyInt_AsLong(obj3
);
8114 if (PyErr_Occurred()) SWIG_fail
;
8115 arg5
= (byte
) PyInt_AsLong(obj4
);
8116 if (PyErr_Occurred()) SWIG_fail
;
8118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8119 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8121 wxPyEndAllowThreads(__tstate
);
8122 if (PyErr_Occurred()) SWIG_fail
;
8124 resultobj
= PyInt_FromLong((long)result
);
8131 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8132 PyObject
*resultobj
;
8133 wxString
*arg1
= 0 ;
8135 bool temp1
= False
;
8136 PyObject
* obj0
= 0 ;
8138 (char *) "name", NULL
8141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8143 arg1
= wxString_in_helper(obj0
);
8144 if (arg1
== NULL
) SWIG_fail
;
8148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8149 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8151 wxPyEndAllowThreads(__tstate
);
8152 if (PyErr_Occurred()) SWIG_fail
;
8154 resultobj
= PyInt_FromLong((long)result
);
8169 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8170 PyObject
*resultobj
;
8171 wxString
*arg1
= 0 ;
8172 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8174 bool temp1
= False
;
8175 PyObject
* obj0
= 0 ;
8177 (char *) "name",(char *) "type", NULL
8180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8182 arg1
= wxString_in_helper(obj0
);
8183 if (arg1
== NULL
) SWIG_fail
;
8187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8188 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8190 wxPyEndAllowThreads(__tstate
);
8191 if (PyErr_Occurred()) SWIG_fail
;
8193 resultobj
= PyInt_FromLong((long)result
);
8208 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8209 PyObject
*resultobj
;
8210 wxImage
*arg1
= (wxImage
*) 0 ;
8211 wxString
*arg2
= 0 ;
8212 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8213 int arg4
= (int) -1 ;
8215 bool temp2
= False
;
8216 PyObject
* obj0
= 0 ;
8217 PyObject
* obj1
= 0 ;
8219 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8225 arg2
= wxString_in_helper(obj1
);
8226 if (arg2
== NULL
) SWIG_fail
;
8230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8231 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8233 wxPyEndAllowThreads(__tstate
);
8234 if (PyErr_Occurred()) SWIG_fail
;
8236 resultobj
= PyInt_FromLong((long)result
);
8251 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8252 PyObject
*resultobj
;
8253 wxImage
*arg1
= (wxImage
*) 0 ;
8254 wxString
*arg2
= 0 ;
8255 wxString
*arg3
= 0 ;
8256 int arg4
= (int) -1 ;
8258 bool temp2
= False
;
8259 bool temp3
= False
;
8260 PyObject
* obj0
= 0 ;
8261 PyObject
* obj1
= 0 ;
8262 PyObject
* obj2
= 0 ;
8264 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8270 arg2
= wxString_in_helper(obj1
);
8271 if (arg2
== NULL
) SWIG_fail
;
8275 arg3
= wxString_in_helper(obj2
);
8276 if (arg3
== NULL
) SWIG_fail
;
8280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8281 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8283 wxPyEndAllowThreads(__tstate
);
8284 if (PyErr_Occurred()) SWIG_fail
;
8286 resultobj
= PyInt_FromLong((long)result
);
8309 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8310 PyObject
*resultobj
;
8311 wxImage
*arg1
= (wxImage
*) 0 ;
8312 wxString
*arg2
= 0 ;
8315 bool temp2
= False
;
8316 PyObject
* obj0
= 0 ;
8317 PyObject
* obj1
= 0 ;
8319 (char *) "self",(char *) "name",(char *) "type", NULL
8322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8325 arg2
= wxString_in_helper(obj1
);
8326 if (arg2
== NULL
) SWIG_fail
;
8330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8331 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8333 wxPyEndAllowThreads(__tstate
);
8334 if (PyErr_Occurred()) SWIG_fail
;
8336 resultobj
= PyInt_FromLong((long)result
);
8351 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8352 PyObject
*resultobj
;
8353 wxImage
*arg1
= (wxImage
*) 0 ;
8354 wxString
*arg2
= 0 ;
8355 wxString
*arg3
= 0 ;
8357 bool temp2
= False
;
8358 bool temp3
= False
;
8359 PyObject
* obj0
= 0 ;
8360 PyObject
* obj1
= 0 ;
8361 PyObject
* obj2
= 0 ;
8363 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8369 arg2
= wxString_in_helper(obj1
);
8370 if (arg2
== NULL
) SWIG_fail
;
8374 arg3
= wxString_in_helper(obj2
);
8375 if (arg3
== NULL
) SWIG_fail
;
8379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8380 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8382 wxPyEndAllowThreads(__tstate
);
8383 if (PyErr_Occurred()) SWIG_fail
;
8385 resultobj
= PyInt_FromLong((long)result
);
8408 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8409 PyObject
*resultobj
;
8410 wxInputStream
*arg1
= 0 ;
8412 wxPyInputStream
*temp1
;
8414 PyObject
* obj0
= 0 ;
8416 (char *) "stream", NULL
8419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8421 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8422 arg1
= temp1
->m_wxis
;
8425 PyErr_Clear(); // clear the failure of the wxPyConvert above
8426 arg1
= wxPyCBInputStream_create(obj0
, False
);
8428 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8436 result
= (bool)wxImage::CanRead(*arg1
);
8438 wxPyEndAllowThreads(__tstate
);
8439 if (PyErr_Occurred()) SWIG_fail
;
8441 resultobj
= PyInt_FromLong((long)result
);
8456 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8457 PyObject
*resultobj
;
8458 wxImage
*arg1
= (wxImage
*) 0 ;
8459 wxInputStream
*arg2
= 0 ;
8460 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8461 int arg4
= (int) -1 ;
8463 wxPyInputStream
*temp2
;
8465 PyObject
* obj0
= 0 ;
8466 PyObject
* obj1
= 0 ;
8468 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8474 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8475 arg2
= temp2
->m_wxis
;
8478 PyErr_Clear(); // clear the failure of the wxPyConvert above
8479 arg2
= wxPyCBInputStream_create(obj1
, False
);
8481 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8489 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8491 wxPyEndAllowThreads(__tstate
);
8492 if (PyErr_Occurred()) SWIG_fail
;
8494 resultobj
= PyInt_FromLong((long)result
);
8509 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8510 PyObject
*resultobj
;
8511 wxImage
*arg1
= (wxImage
*) 0 ;
8512 wxInputStream
*arg2
= 0 ;
8513 wxString
*arg3
= 0 ;
8514 int arg4
= (int) -1 ;
8516 wxPyInputStream
*temp2
;
8518 bool temp3
= False
;
8519 PyObject
* obj0
= 0 ;
8520 PyObject
* obj1
= 0 ;
8521 PyObject
* obj2
= 0 ;
8523 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8529 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8530 arg2
= temp2
->m_wxis
;
8533 PyErr_Clear(); // clear the failure of the wxPyConvert above
8534 arg2
= wxPyCBInputStream_create(obj1
, False
);
8536 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8543 arg3
= wxString_in_helper(obj2
);
8544 if (arg3
== NULL
) SWIG_fail
;
8548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8549 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8551 wxPyEndAllowThreads(__tstate
);
8552 if (PyErr_Occurred()) SWIG_fail
;
8554 resultobj
= PyInt_FromLong((long)result
);
8577 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8578 PyObject
*resultobj
;
8579 wxImage
*arg1
= (wxImage
*) 0 ;
8581 PyObject
* obj0
= 0 ;
8583 (char *) "self", NULL
8586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8590 result
= (bool)(arg1
)->Ok();
8592 wxPyEndAllowThreads(__tstate
);
8593 if (PyErr_Occurred()) SWIG_fail
;
8595 resultobj
= PyInt_FromLong((long)result
);
8602 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8603 PyObject
*resultobj
;
8604 wxImage
*arg1
= (wxImage
*) 0 ;
8606 PyObject
* obj0
= 0 ;
8608 (char *) "self", NULL
8611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8615 result
= (int)(arg1
)->GetWidth();
8617 wxPyEndAllowThreads(__tstate
);
8618 if (PyErr_Occurred()) SWIG_fail
;
8620 resultobj
= PyInt_FromLong((long)result
);
8627 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8628 PyObject
*resultobj
;
8629 wxImage
*arg1
= (wxImage
*) 0 ;
8631 PyObject
* obj0
= 0 ;
8633 (char *) "self", NULL
8636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8640 result
= (int)(arg1
)->GetHeight();
8642 wxPyEndAllowThreads(__tstate
);
8643 if (PyErr_Occurred()) SWIG_fail
;
8645 resultobj
= PyInt_FromLong((long)result
);
8652 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8653 PyObject
*resultobj
;
8654 wxImage
*arg1
= (wxImage
*) 0 ;
8656 SwigValueWrapper
< wxImage
> result
;
8658 PyObject
* obj0
= 0 ;
8659 PyObject
* obj1
= 0 ;
8661 (char *) "self",(char *) "rect", NULL
8664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8668 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8672 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8674 wxPyEndAllowThreads(__tstate
);
8675 if (PyErr_Occurred()) SWIG_fail
;
8678 wxImage
* resultptr
;
8679 resultptr
= new wxImage((wxImage
&) result
);
8680 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8688 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8689 PyObject
*resultobj
;
8690 wxImage
*arg1
= (wxImage
*) 0 ;
8691 SwigValueWrapper
< wxImage
> result
;
8692 PyObject
* obj0
= 0 ;
8694 (char *) "self", NULL
8697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8701 result
= (arg1
)->Copy();
8703 wxPyEndAllowThreads(__tstate
);
8704 if (PyErr_Occurred()) SWIG_fail
;
8707 wxImage
* resultptr
;
8708 resultptr
= new wxImage((wxImage
&) result
);
8709 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8717 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8718 PyObject
*resultobj
;
8719 wxImage
*arg1
= (wxImage
*) 0 ;
8723 PyObject
* obj0
= 0 ;
8724 PyObject
* obj1
= 0 ;
8726 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8731 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8733 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8737 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8739 wxPyEndAllowThreads(__tstate
);
8740 if (PyErr_Occurred()) SWIG_fail
;
8742 Py_INCREF(Py_None
); resultobj
= Py_None
;
8749 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8750 PyObject
*resultobj
;
8751 wxImage
*arg1
= (wxImage
*) 0 ;
8753 PyObject
* obj0
= 0 ;
8755 (char *) "self", NULL
8758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8762 result
= (PyObject
*)wxImage_GetData(arg1
);
8764 wxPyEndAllowThreads(__tstate
);
8765 if (PyErr_Occurred()) SWIG_fail
;
8774 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8775 PyObject
*resultobj
;
8776 wxImage
*arg1
= (wxImage
*) 0 ;
8777 PyObject
*arg2
= (PyObject
*) 0 ;
8778 PyObject
* obj0
= 0 ;
8779 PyObject
* obj1
= 0 ;
8781 (char *) "self",(char *) "data", NULL
8784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8789 wxImage_SetData(arg1
,arg2
);
8791 wxPyEndAllowThreads(__tstate
);
8792 if (PyErr_Occurred()) SWIG_fail
;
8794 Py_INCREF(Py_None
); resultobj
= Py_None
;
8801 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8802 PyObject
*resultobj
;
8803 wxImage
*arg1
= (wxImage
*) 0 ;
8805 PyObject
* obj0
= 0 ;
8807 (char *) "self", NULL
8810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8814 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8816 wxPyEndAllowThreads(__tstate
);
8817 if (PyErr_Occurred()) SWIG_fail
;
8826 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8827 PyObject
*resultobj
;
8828 wxImage
*arg1
= (wxImage
*) 0 ;
8829 PyObject
*arg2
= (PyObject
*) 0 ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8833 (char *) "self",(char *) "data", NULL
8836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8841 wxImage_SetDataBuffer(arg1
,arg2
);
8843 wxPyEndAllowThreads(__tstate
);
8844 if (PyErr_Occurred()) SWIG_fail
;
8846 Py_INCREF(Py_None
); resultobj
= Py_None
;
8853 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8854 PyObject
*resultobj
;
8855 wxImage
*arg1
= (wxImage
*) 0 ;
8857 PyObject
* obj0
= 0 ;
8859 (char *) "self", NULL
8862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8866 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
8868 wxPyEndAllowThreads(__tstate
);
8869 if (PyErr_Occurred()) SWIG_fail
;
8878 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8879 PyObject
*resultobj
;
8880 wxImage
*arg1
= (wxImage
*) 0 ;
8881 PyObject
*arg2
= (PyObject
*) 0 ;
8882 PyObject
* obj0
= 0 ;
8883 PyObject
* obj1
= 0 ;
8885 (char *) "self",(char *) "data", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8893 wxImage_SetAlphaData(arg1
,arg2
);
8895 wxPyEndAllowThreads(__tstate
);
8896 if (PyErr_Occurred()) SWIG_fail
;
8898 Py_INCREF(Py_None
); resultobj
= Py_None
;
8905 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
;
8907 wxImage
*arg1
= (wxImage
*) 0 ;
8909 PyObject
* obj0
= 0 ;
8911 (char *) "self", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8918 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
8920 wxPyEndAllowThreads(__tstate
);
8921 if (PyErr_Occurred()) SWIG_fail
;
8930 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8931 PyObject
*resultobj
;
8932 wxImage
*arg1
= (wxImage
*) 0 ;
8933 PyObject
*arg2
= (PyObject
*) 0 ;
8934 PyObject
* obj0
= 0 ;
8935 PyObject
* obj1
= 0 ;
8937 (char *) "self",(char *) "data", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8945 wxImage_SetAlphaBuffer(arg1
,arg2
);
8947 wxPyEndAllowThreads(__tstate
);
8948 if (PyErr_Occurred()) SWIG_fail
;
8950 Py_INCREF(Py_None
); resultobj
= Py_None
;
8957 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8958 PyObject
*resultobj
;
8959 wxImage
*arg1
= (wxImage
*) 0 ;
8960 unsigned char arg2
;
8961 unsigned char arg3
;
8962 unsigned char arg4
;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8966 PyObject
* obj3
= 0 ;
8968 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8973 arg2
= (unsigned char) PyInt_AsLong(obj1
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8975 arg3
= (unsigned char) PyInt_AsLong(obj2
);
8976 if (PyErr_Occurred()) SWIG_fail
;
8977 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8981 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
8983 wxPyEndAllowThreads(__tstate
);
8984 if (PyErr_Occurred()) SWIG_fail
;
8986 Py_INCREF(Py_None
); resultobj
= Py_None
;
8993 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8994 PyObject
*resultobj
;
8995 wxImage
*arg1
= (wxImage
*) 0 ;
8996 unsigned char result
;
8997 PyObject
* obj0
= 0 ;
8999 (char *) "self", NULL
9002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9006 result
= (unsigned char)(arg1
)->GetMaskRed();
9008 wxPyEndAllowThreads(__tstate
);
9009 if (PyErr_Occurred()) SWIG_fail
;
9011 resultobj
= PyInt_FromLong((long)result
);
9018 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9019 PyObject
*resultobj
;
9020 wxImage
*arg1
= (wxImage
*) 0 ;
9021 unsigned char result
;
9022 PyObject
* obj0
= 0 ;
9024 (char *) "self", NULL
9027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9031 result
= (unsigned char)(arg1
)->GetMaskGreen();
9033 wxPyEndAllowThreads(__tstate
);
9034 if (PyErr_Occurred()) SWIG_fail
;
9036 resultobj
= PyInt_FromLong((long)result
);
9043 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9044 PyObject
*resultobj
;
9045 wxImage
*arg1
= (wxImage
*) 0 ;
9046 unsigned char result
;
9047 PyObject
* obj0
= 0 ;
9049 (char *) "self", NULL
9052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9056 result
= (unsigned char)(arg1
)->GetMaskBlue();
9058 wxPyEndAllowThreads(__tstate
);
9059 if (PyErr_Occurred()) SWIG_fail
;
9061 resultobj
= PyInt_FromLong((long)result
);
9068 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9069 PyObject
*resultobj
;
9070 wxImage
*arg1
= (wxImage
*) 0 ;
9071 bool arg2
= (bool) True
;
9072 PyObject
* obj0
= 0 ;
9073 PyObject
* obj1
= 0 ;
9075 (char *) "self",(char *) "mask", NULL
9078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9081 arg2
= PyInt_AsLong(obj1
) ? true : false;
9082 if (PyErr_Occurred()) SWIG_fail
;
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->SetMask(arg2
);
9088 wxPyEndAllowThreads(__tstate
);
9089 if (PyErr_Occurred()) SWIG_fail
;
9091 Py_INCREF(Py_None
); resultobj
= Py_None
;
9098 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9099 PyObject
*resultobj
;
9100 wxImage
*arg1
= (wxImage
*) 0 ;
9102 PyObject
* obj0
= 0 ;
9104 (char *) "self", NULL
9107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 result
= (bool)(arg1
)->HasMask();
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 resultobj
= PyInt_FromLong((long)result
);
9123 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxImage
*arg1
= (wxImage
*) 0 ;
9128 bool arg4
= (bool) True
;
9129 wxPoint
*arg5
= (wxPoint
*) NULL
;
9130 SwigValueWrapper
< wxImage
> result
;
9132 PyObject
* obj0
= 0 ;
9133 PyObject
* obj2
= 0 ;
9134 PyObject
* obj3
= 0 ;
9135 PyObject
* obj4
= 0 ;
9137 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9144 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9147 arg4
= PyInt_AsLong(obj3
) ? true : false;
9148 if (PyErr_Occurred()) SWIG_fail
;
9151 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9155 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9157 wxPyEndAllowThreads(__tstate
);
9158 if (PyErr_Occurred()) SWIG_fail
;
9161 wxImage
* resultptr
;
9162 resultptr
= new wxImage((wxImage
&) result
);
9163 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9171 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9172 PyObject
*resultobj
;
9173 wxImage
*arg1
= (wxImage
*) 0 ;
9174 bool arg2
= (bool) True
;
9175 SwigValueWrapper
< wxImage
> result
;
9176 PyObject
* obj0
= 0 ;
9177 PyObject
* obj1
= 0 ;
9179 (char *) "self",(char *) "clockwise", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9185 arg2
= PyInt_AsLong(obj1
) ? true : false;
9186 if (PyErr_Occurred()) SWIG_fail
;
9189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9190 result
= (arg1
)->Rotate90(arg2
);
9192 wxPyEndAllowThreads(__tstate
);
9193 if (PyErr_Occurred()) SWIG_fail
;
9196 wxImage
* resultptr
;
9197 resultptr
= new wxImage((wxImage
&) result
);
9198 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9206 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9207 PyObject
*resultobj
;
9208 wxImage
*arg1
= (wxImage
*) 0 ;
9209 bool arg2
= (bool) True
;
9210 SwigValueWrapper
< wxImage
> result
;
9211 PyObject
* obj0
= 0 ;
9212 PyObject
* obj1
= 0 ;
9214 (char *) "self",(char *) "horizontally", NULL
9217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9220 arg2
= PyInt_AsLong(obj1
) ? true : false;
9221 if (PyErr_Occurred()) SWIG_fail
;
9224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9225 result
= (arg1
)->Mirror(arg2
);
9227 wxPyEndAllowThreads(__tstate
);
9228 if (PyErr_Occurred()) SWIG_fail
;
9231 wxImage
* resultptr
;
9232 resultptr
= new wxImage((wxImage
&) result
);
9233 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9241 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9242 PyObject
*resultobj
;
9243 wxImage
*arg1
= (wxImage
*) 0 ;
9244 unsigned char arg2
;
9245 unsigned char arg3
;
9246 unsigned char arg4
;
9247 unsigned char arg5
;
9248 unsigned char arg6
;
9249 unsigned char arg7
;
9250 PyObject
* obj0
= 0 ;
9251 PyObject
* obj1
= 0 ;
9252 PyObject
* obj2
= 0 ;
9253 PyObject
* obj3
= 0 ;
9254 PyObject
* obj4
= 0 ;
9255 PyObject
* obj5
= 0 ;
9256 PyObject
* obj6
= 0 ;
9258 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9263 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9264 if (PyErr_Occurred()) SWIG_fail
;
9265 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9266 if (PyErr_Occurred()) SWIG_fail
;
9267 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9269 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9270 if (PyErr_Occurred()) SWIG_fail
;
9271 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9272 if (PyErr_Occurred()) SWIG_fail
;
9273 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9274 if (PyErr_Occurred()) SWIG_fail
;
9276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9277 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9279 wxPyEndAllowThreads(__tstate
);
9280 if (PyErr_Occurred()) SWIG_fail
;
9282 Py_INCREF(Py_None
); resultobj
= Py_None
;
9289 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9290 PyObject
*resultobj
;
9291 wxImage
*arg1
= (wxImage
*) 0 ;
9292 unsigned char arg2
;
9293 unsigned char arg3
;
9294 unsigned char arg4
;
9295 SwigValueWrapper
< wxImage
> result
;
9296 PyObject
* obj0
= 0 ;
9297 PyObject
* obj1
= 0 ;
9298 PyObject
* obj2
= 0 ;
9299 PyObject
* obj3
= 0 ;
9301 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9306 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9307 if (PyErr_Occurred()) SWIG_fail
;
9308 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9310 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9311 if (PyErr_Occurred()) SWIG_fail
;
9313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9314 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9316 wxPyEndAllowThreads(__tstate
);
9317 if (PyErr_Occurred()) SWIG_fail
;
9320 wxImage
* resultptr
;
9321 resultptr
= new wxImage((wxImage
&) result
);
9322 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9330 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9331 PyObject
*resultobj
;
9332 wxImage
*arg1
= (wxImage
*) 0 ;
9333 wxString
*arg2
= 0 ;
9334 wxString
*arg3
= 0 ;
9335 bool temp2
= False
;
9336 bool temp3
= False
;
9337 PyObject
* obj0
= 0 ;
9338 PyObject
* obj1
= 0 ;
9339 PyObject
* obj2
= 0 ;
9341 (char *) "self",(char *) "name",(char *) "value", NULL
9344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9347 arg2
= wxString_in_helper(obj1
);
9348 if (arg2
== NULL
) SWIG_fail
;
9352 arg3
= wxString_in_helper(obj2
);
9353 if (arg3
== NULL
) SWIG_fail
;
9357 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9358 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9360 wxPyEndAllowThreads(__tstate
);
9361 if (PyErr_Occurred()) SWIG_fail
;
9363 Py_INCREF(Py_None
); resultobj
= Py_None
;
9386 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9387 PyObject
*resultobj
;
9388 wxImage
*arg1
= (wxImage
*) 0 ;
9389 wxString
*arg2
= 0 ;
9391 bool temp2
= False
;
9392 PyObject
* obj0
= 0 ;
9393 PyObject
* obj1
= 0 ;
9395 (char *) "self",(char *) "name",(char *) "value", NULL
9398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9401 arg2
= wxString_in_helper(obj1
);
9402 if (arg2
== NULL
) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 Py_INCREF(Py_None
); resultobj
= Py_None
;
9427 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9428 PyObject
*resultobj
;
9429 wxImage
*arg1
= (wxImage
*) 0 ;
9430 wxString
*arg2
= 0 ;
9432 bool temp2
= False
;
9433 PyObject
* obj0
= 0 ;
9434 PyObject
* obj1
= 0 ;
9436 (char *) "self",(char *) "name", NULL
9439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9442 arg2
= wxString_in_helper(obj1
);
9443 if (arg2
== NULL
) SWIG_fail
;
9447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9448 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9450 wxPyEndAllowThreads(__tstate
);
9451 if (PyErr_Occurred()) SWIG_fail
;
9455 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9457 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9474 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9475 PyObject
*resultobj
;
9476 wxImage
*arg1
= (wxImage
*) 0 ;
9477 wxString
*arg2
= 0 ;
9479 bool temp2
= False
;
9480 PyObject
* obj0
= 0 ;
9481 PyObject
* obj1
= 0 ;
9483 (char *) "self",(char *) "name", NULL
9486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9489 arg2
= wxString_in_helper(obj1
);
9490 if (arg2
== NULL
) SWIG_fail
;
9494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9495 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9497 wxPyEndAllowThreads(__tstate
);
9498 if (PyErr_Occurred()) SWIG_fail
;
9500 resultobj
= PyInt_FromLong((long)result
);
9515 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9516 PyObject
*resultobj
;
9517 wxImage
*arg1
= (wxImage
*) 0 ;
9518 wxString
*arg2
= 0 ;
9520 bool temp2
= False
;
9521 PyObject
* obj0
= 0 ;
9522 PyObject
* obj1
= 0 ;
9524 (char *) "self",(char *) "name", NULL
9527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9530 arg2
= wxString_in_helper(obj1
);
9531 if (arg2
== NULL
) SWIG_fail
;
9535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9536 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9538 wxPyEndAllowThreads(__tstate
);
9539 if (PyErr_Occurred()) SWIG_fail
;
9541 resultobj
= PyInt_FromLong((long)result
);
9556 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
;
9558 wxImage
*arg1
= (wxImage
*) 0 ;
9559 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9560 unsigned long result
;
9561 PyObject
* obj0
= 0 ;
9562 PyObject
* obj1
= 0 ;
9564 (char *) "self",(char *) "stopafter", NULL
9567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9570 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9571 if (PyErr_Occurred()) SWIG_fail
;
9574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9575 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9577 wxPyEndAllowThreads(__tstate
);
9578 if (PyErr_Occurred()) SWIG_fail
;
9580 resultobj
= PyInt_FromLong((long)result
);
9587 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9588 PyObject
*resultobj
;
9589 wxImage
*arg1
= (wxImage
*) 0 ;
9590 wxImageHistogram
*arg2
= 0 ;
9591 unsigned long result
;
9592 PyObject
* obj0
= 0 ;
9593 PyObject
* obj1
= 0 ;
9595 (char *) "self",(char *) "h", NULL
9598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9600 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9602 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9606 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9608 wxPyEndAllowThreads(__tstate
);
9609 if (PyErr_Occurred()) SWIG_fail
;
9611 resultobj
= PyInt_FromLong((long)result
);
9618 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9619 PyObject
*resultobj
;
9620 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9621 PyObject
* obj0
= 0 ;
9623 (char *) "handler", NULL
9626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9630 wxImage::AddHandler(arg1
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9635 Py_INCREF(Py_None
); resultobj
= Py_None
;
9642 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9643 PyObject
*resultobj
;
9644 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9645 PyObject
* obj0
= 0 ;
9647 (char *) "handler", NULL
9650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9654 wxImage::InsertHandler(arg1
);
9656 wxPyEndAllowThreads(__tstate
);
9657 if (PyErr_Occurred()) SWIG_fail
;
9659 Py_INCREF(Py_None
); resultobj
= Py_None
;
9666 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9667 PyObject
*resultobj
;
9668 wxString
*arg1
= 0 ;
9670 bool temp1
= False
;
9671 PyObject
* obj0
= 0 ;
9673 (char *) "name", NULL
9676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9678 arg1
= wxString_in_helper(obj0
);
9679 if (arg1
== NULL
) SWIG_fail
;
9683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9684 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9686 wxPyEndAllowThreads(__tstate
);
9687 if (PyErr_Occurred()) SWIG_fail
;
9689 resultobj
= PyInt_FromLong((long)result
);
9704 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9705 PyObject
*resultobj
;
9711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9714 result
= wxImage::GetImageExtWildcard();
9716 wxPyEndAllowThreads(__tstate
);
9717 if (PyErr_Occurred()) SWIG_fail
;
9721 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9723 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9732 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9733 PyObject
*resultobj
;
9734 wxImage
*arg1
= (wxImage
*) 0 ;
9736 PyObject
* obj0
= 0 ;
9738 (char *) "self", NULL
9741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9745 result
= wxImage_ConvertToBitmap(arg1
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 wxBitmap
* resultptr
;
9752 resultptr
= new wxBitmap((wxBitmap
&) result
);
9753 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9761 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9762 PyObject
*resultobj
;
9763 wxImage
*arg1
= (wxImage
*) 0 ;
9764 unsigned char arg2
;
9765 unsigned char arg3
;
9766 unsigned char arg4
;
9768 PyObject
* obj0
= 0 ;
9769 PyObject
* obj1
= 0 ;
9770 PyObject
* obj2
= 0 ;
9771 PyObject
* obj3
= 0 ;
9773 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9778 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9779 if (PyErr_Occurred()) SWIG_fail
;
9780 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9781 if (PyErr_Occurred()) SWIG_fail
;
9782 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9786 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9788 wxPyEndAllowThreads(__tstate
);
9789 if (PyErr_Occurred()) SWIG_fail
;
9792 wxBitmap
* resultptr
;
9793 resultptr
= new wxBitmap((wxBitmap
&) result
);
9794 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9802 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9805 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9807 return Py_BuildValue((char *)"");
9809 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9810 PyObject
*resultobj
;
9815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9818 wxInitAllImageHandlers();
9820 wxPyEndAllowThreads(__tstate
);
9821 if (PyErr_Occurred()) SWIG_fail
;
9823 Py_INCREF(Py_None
); resultobj
= Py_None
;
9830 static int _wrap_NullImage_set(PyObject
*_val
) {
9831 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9836 static PyObject
*_wrap_NullImage_get() {
9839 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9844 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9845 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9850 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9855 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9857 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9864 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9865 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9870 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9875 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9877 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9884 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
9885 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9890 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9895 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9897 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9904 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
9905 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9910 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
9915 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9917 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9924 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
9925 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9930 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9935 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9937 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9944 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9945 PyObject
*resultobj
;
9946 wxBMPHandler
*result
;
9951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
9953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9954 result
= (wxBMPHandler
*)new wxBMPHandler();
9956 wxPyEndAllowThreads(__tstate
);
9957 if (PyErr_Occurred()) SWIG_fail
;
9959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
9966 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9968 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9969 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
9971 return Py_BuildValue((char *)"");
9973 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9974 PyObject
*resultobj
;
9975 wxICOHandler
*result
;
9980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
9982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9983 result
= (wxICOHandler
*)new wxICOHandler();
9985 wxPyEndAllowThreads(__tstate
);
9986 if (PyErr_Occurred()) SWIG_fail
;
9988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
9995 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9997 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9998 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10000 return Py_BuildValue((char *)"");
10002 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10003 PyObject
*resultobj
;
10004 wxCURHandler
*result
;
10005 char *kwnames
[] = {
10009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10012 result
= (wxCURHandler
*)new wxCURHandler();
10014 wxPyEndAllowThreads(__tstate
);
10015 if (PyErr_Occurred()) SWIG_fail
;
10017 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10024 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10026 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10027 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10029 return Py_BuildValue((char *)"");
10031 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10032 PyObject
*resultobj
;
10033 wxANIHandler
*result
;
10034 char *kwnames
[] = {
10038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10041 result
= (wxANIHandler
*)new wxANIHandler();
10043 wxPyEndAllowThreads(__tstate
);
10044 if (PyErr_Occurred()) SWIG_fail
;
10046 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10053 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10055 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10056 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10058 return Py_BuildValue((char *)"");
10060 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10061 PyObject
*resultobj
;
10062 wxPNGHandler
*result
;
10063 char *kwnames
[] = {
10067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10070 result
= (wxPNGHandler
*)new wxPNGHandler();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10082 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10084 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10085 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10087 return Py_BuildValue((char *)"");
10089 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10090 PyObject
*resultobj
;
10091 wxGIFHandler
*result
;
10092 char *kwnames
[] = {
10096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10099 result
= (wxGIFHandler
*)new wxGIFHandler();
10101 wxPyEndAllowThreads(__tstate
);
10102 if (PyErr_Occurred()) SWIG_fail
;
10104 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10111 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10113 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10114 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10116 return Py_BuildValue((char *)"");
10118 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10119 PyObject
*resultobj
;
10120 wxPCXHandler
*result
;
10121 char *kwnames
[] = {
10125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10128 result
= (wxPCXHandler
*)new wxPCXHandler();
10130 wxPyEndAllowThreads(__tstate
);
10131 if (PyErr_Occurred()) SWIG_fail
;
10133 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10140 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10142 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10143 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10145 return Py_BuildValue((char *)"");
10147 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10148 PyObject
*resultobj
;
10149 wxJPEGHandler
*result
;
10150 char *kwnames
[] = {
10154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10157 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10159 wxPyEndAllowThreads(__tstate
);
10160 if (PyErr_Occurred()) SWIG_fail
;
10162 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10169 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10172 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10174 return Py_BuildValue((char *)"");
10176 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10177 PyObject
*resultobj
;
10178 wxPNMHandler
*result
;
10179 char *kwnames
[] = {
10183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10186 result
= (wxPNMHandler
*)new wxPNMHandler();
10188 wxPyEndAllowThreads(__tstate
);
10189 if (PyErr_Occurred()) SWIG_fail
;
10191 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10198 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10200 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10201 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10203 return Py_BuildValue((char *)"");
10205 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10206 PyObject
*resultobj
;
10207 wxXPMHandler
*result
;
10208 char *kwnames
[] = {
10212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10215 result
= (wxXPMHandler
*)new wxXPMHandler();
10217 wxPyEndAllowThreads(__tstate
);
10218 if (PyErr_Occurred()) SWIG_fail
;
10220 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10227 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10229 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10230 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10232 return Py_BuildValue((char *)"");
10234 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10235 PyObject
*resultobj
;
10236 wxTIFFHandler
*result
;
10237 char *kwnames
[] = {
10241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10244 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10246 wxPyEndAllowThreads(__tstate
);
10247 if (PyErr_Occurred()) SWIG_fail
;
10249 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10256 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10258 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10259 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10261 return Py_BuildValue((char *)"");
10263 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10264 PyObject
*resultobj
;
10265 wxEvtHandler
*result
;
10266 char *kwnames
[] = {
10270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10273 result
= (wxEvtHandler
*)new wxEvtHandler();
10275 wxPyEndAllowThreads(__tstate
);
10276 if (PyErr_Occurred()) SWIG_fail
;
10279 resultobj
= wxPyMake_wxObject(result
);
10287 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10288 PyObject
*resultobj
;
10289 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10290 wxEvtHandler
*result
;
10291 PyObject
* obj0
= 0 ;
10292 char *kwnames
[] = {
10293 (char *) "self", NULL
10296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10300 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10302 wxPyEndAllowThreads(__tstate
);
10303 if (PyErr_Occurred()) SWIG_fail
;
10306 resultobj
= wxPyMake_wxObject(result
);
10314 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10315 PyObject
*resultobj
;
10316 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10317 wxEvtHandler
*result
;
10318 PyObject
* obj0
= 0 ;
10319 char *kwnames
[] = {
10320 (char *) "self", NULL
10323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10327 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10329 wxPyEndAllowThreads(__tstate
);
10330 if (PyErr_Occurred()) SWIG_fail
;
10333 resultobj
= wxPyMake_wxObject(result
);
10341 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10342 PyObject
*resultobj
;
10343 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10344 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10345 PyObject
* obj0
= 0 ;
10346 PyObject
* obj1
= 0 ;
10347 char *kwnames
[] = {
10348 (char *) "self",(char *) "handler", NULL
10351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10353 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10356 (arg1
)->SetNextHandler(arg2
);
10358 wxPyEndAllowThreads(__tstate
);
10359 if (PyErr_Occurred()) SWIG_fail
;
10361 Py_INCREF(Py_None
); resultobj
= Py_None
;
10368 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10369 PyObject
*resultobj
;
10370 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10371 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10372 PyObject
* obj0
= 0 ;
10373 PyObject
* obj1
= 0 ;
10374 char *kwnames
[] = {
10375 (char *) "self",(char *) "handler", NULL
10378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10380 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10383 (arg1
)->SetPreviousHandler(arg2
);
10385 wxPyEndAllowThreads(__tstate
);
10386 if (PyErr_Occurred()) SWIG_fail
;
10388 Py_INCREF(Py_None
); resultobj
= Py_None
;
10395 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10396 PyObject
*resultobj
;
10397 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10399 PyObject
* obj0
= 0 ;
10400 char *kwnames
[] = {
10401 (char *) "self", NULL
10404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10408 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10410 wxPyEndAllowThreads(__tstate
);
10411 if (PyErr_Occurred()) SWIG_fail
;
10413 resultobj
= PyInt_FromLong((long)result
);
10420 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10421 PyObject
*resultobj
;
10422 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10424 PyObject
* obj0
= 0 ;
10425 PyObject
* obj1
= 0 ;
10426 char *kwnames
[] = {
10427 (char *) "self",(char *) "enabled", NULL
10430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10432 arg2
= PyInt_AsLong(obj1
) ? true : false;
10433 if (PyErr_Occurred()) SWIG_fail
;
10435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10436 (arg1
)->SetEvtHandlerEnabled(arg2
);
10438 wxPyEndAllowThreads(__tstate
);
10439 if (PyErr_Occurred()) SWIG_fail
;
10441 Py_INCREF(Py_None
); resultobj
= Py_None
;
10448 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10449 PyObject
*resultobj
;
10450 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10451 wxEvent
*arg2
= 0 ;
10453 PyObject
* obj0
= 0 ;
10454 PyObject
* obj1
= 0 ;
10455 char *kwnames
[] = {
10456 (char *) "self",(char *) "event", NULL
10459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10461 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10462 if (arg2
== NULL
) {
10463 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10467 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10469 wxPyEndAllowThreads(__tstate
);
10470 if (PyErr_Occurred()) SWIG_fail
;
10472 resultobj
= PyInt_FromLong((long)result
);
10479 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10480 PyObject
*resultobj
;
10481 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10482 wxEvent
*arg2
= 0 ;
10483 PyObject
* obj0
= 0 ;
10484 PyObject
* obj1
= 0 ;
10485 char *kwnames
[] = {
10486 (char *) "self",(char *) "event", NULL
10489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10491 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10492 if (arg2
== NULL
) {
10493 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10497 (arg1
)->AddPendingEvent(*arg2
);
10499 wxPyEndAllowThreads(__tstate
);
10500 if (PyErr_Occurred()) SWIG_fail
;
10502 Py_INCREF(Py_None
); resultobj
= Py_None
;
10509 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10510 PyObject
*resultobj
;
10511 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10512 PyObject
* obj0
= 0 ;
10513 char *kwnames
[] = {
10514 (char *) "self", NULL
10517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10521 (arg1
)->ProcessPendingEvents();
10523 wxPyEndAllowThreads(__tstate
);
10524 if (PyErr_Occurred()) SWIG_fail
;
10526 Py_INCREF(Py_None
); resultobj
= Py_None
;
10533 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10534 PyObject
*resultobj
;
10535 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10539 PyObject
*arg5
= (PyObject
*) 0 ;
10540 PyObject
* obj0
= 0 ;
10541 PyObject
* obj4
= 0 ;
10542 char *kwnames
[] = {
10543 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10551 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10553 wxPyEndAllowThreads(__tstate
);
10554 if (PyErr_Occurred()) SWIG_fail
;
10556 Py_INCREF(Py_None
); resultobj
= Py_None
;
10563 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10564 PyObject
*resultobj
;
10565 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10567 int arg3
= (int) -1 ;
10568 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10570 PyObject
* obj0
= 0 ;
10571 char *kwnames
[] = {
10572 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10579 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10581 wxPyEndAllowThreads(__tstate
);
10582 if (PyErr_Occurred()) SWIG_fail
;
10584 resultobj
= PyInt_FromLong((long)result
);
10591 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10592 PyObject
*resultobj
;
10593 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10594 PyObject
*arg2
= (PyObject
*) 0 ;
10595 PyObject
* obj0
= 0 ;
10596 PyObject
* obj1
= 0 ;
10597 char *kwnames
[] = {
10598 (char *) "self",(char *) "_self", NULL
10601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10606 wxEvtHandler__setOORInfo(arg1
,arg2
);
10608 wxPyEndAllowThreads(__tstate
);
10609 if (PyErr_Occurred()) SWIG_fail
;
10611 Py_INCREF(Py_None
); resultobj
= Py_None
;
10618 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10620 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10621 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10623 return Py_BuildValue((char *)"");
10625 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
;
10627 wxEventType result
;
10628 char *kwnames
[] = {
10632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10635 result
= (wxEventType
)wxNewEventType();
10637 wxPyEndAllowThreads(__tstate
);
10638 if (PyErr_Occurred()) SWIG_fail
;
10640 resultobj
= PyInt_FromLong((long)result
);
10647 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10648 PyObject
*resultobj
;
10649 wxEvent
*arg1
= (wxEvent
*) 0 ;
10650 PyObject
* obj0
= 0 ;
10651 char *kwnames
[] = {
10652 (char *) "self", NULL
10655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10661 wxPyEndAllowThreads(__tstate
);
10662 if (PyErr_Occurred()) SWIG_fail
;
10664 Py_INCREF(Py_None
); resultobj
= Py_None
;
10671 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10672 PyObject
*resultobj
;
10673 wxEvent
*arg1
= (wxEvent
*) 0 ;
10675 PyObject
* obj0
= 0 ;
10676 char *kwnames
[] = {
10677 (char *) "self",(char *) "typ", NULL
10680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10684 (arg1
)->SetEventType(arg2
);
10686 wxPyEndAllowThreads(__tstate
);
10687 if (PyErr_Occurred()) SWIG_fail
;
10689 Py_INCREF(Py_None
); resultobj
= Py_None
;
10696 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10697 PyObject
*resultobj
;
10698 wxEvent
*arg1
= (wxEvent
*) 0 ;
10699 wxEventType result
;
10700 PyObject
* obj0
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= PyInt_FromLong((long)result
);
10721 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxEvent
*arg1
= (wxEvent
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 char *kwnames
[] = {
10727 (char *) "self", NULL
10730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10734 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10736 wxPyEndAllowThreads(__tstate
);
10737 if (PyErr_Occurred()) SWIG_fail
;
10740 resultobj
= wxPyMake_wxObject(result
);
10748 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10749 PyObject
*resultobj
;
10750 wxEvent
*arg1
= (wxEvent
*) 0 ;
10751 wxObject
*arg2
= (wxObject
*) 0 ;
10752 PyObject
* obj0
= 0 ;
10753 PyObject
* obj1
= 0 ;
10754 char *kwnames
[] = {
10755 (char *) "self",(char *) "obj", NULL
10758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10760 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10763 (arg1
)->SetEventObject(arg2
);
10765 wxPyEndAllowThreads(__tstate
);
10766 if (PyErr_Occurred()) SWIG_fail
;
10768 Py_INCREF(Py_None
); resultobj
= Py_None
;
10775 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10776 PyObject
*resultobj
;
10777 wxEvent
*arg1
= (wxEvent
*) 0 ;
10779 PyObject
* obj0
= 0 ;
10780 char *kwnames
[] = {
10781 (char *) "self", NULL
10784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10788 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10790 wxPyEndAllowThreads(__tstate
);
10791 if (PyErr_Occurred()) SWIG_fail
;
10793 resultobj
= PyInt_FromLong((long)result
);
10800 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10801 PyObject
*resultobj
;
10802 wxEvent
*arg1
= (wxEvent
*) 0 ;
10803 long arg2
= (long) 0 ;
10804 PyObject
* obj0
= 0 ;
10805 char *kwnames
[] = {
10806 (char *) "self",(char *) "ts", NULL
10809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10813 (arg1
)->SetTimestamp(arg2
);
10815 wxPyEndAllowThreads(__tstate
);
10816 if (PyErr_Occurred()) SWIG_fail
;
10818 Py_INCREF(Py_None
); resultobj
= Py_None
;
10825 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10826 PyObject
*resultobj
;
10827 wxEvent
*arg1
= (wxEvent
*) 0 ;
10829 PyObject
* obj0
= 0 ;
10830 char *kwnames
[] = {
10831 (char *) "self", NULL
10834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10838 result
= (int)((wxEvent
const *)arg1
)->GetId();
10840 wxPyEndAllowThreads(__tstate
);
10841 if (PyErr_Occurred()) SWIG_fail
;
10843 resultobj
= PyInt_FromLong((long)result
);
10850 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10851 PyObject
*resultobj
;
10852 wxEvent
*arg1
= (wxEvent
*) 0 ;
10854 PyObject
* obj0
= 0 ;
10855 char *kwnames
[] = {
10856 (char *) "self",(char *) "Id", NULL
10859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10863 (arg1
)->SetId(arg2
);
10865 wxPyEndAllowThreads(__tstate
);
10866 if (PyErr_Occurred()) SWIG_fail
;
10868 Py_INCREF(Py_None
); resultobj
= Py_None
;
10875 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10876 PyObject
*resultobj
;
10877 wxEvent
*arg1
= (wxEvent
*) 0 ;
10879 PyObject
* obj0
= 0 ;
10880 char *kwnames
[] = {
10881 (char *) "self", NULL
10884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
10885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10888 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
10890 wxPyEndAllowThreads(__tstate
);
10891 if (PyErr_Occurred()) SWIG_fail
;
10893 resultobj
= PyInt_FromLong((long)result
);
10900 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10901 PyObject
*resultobj
;
10902 wxEvent
*arg1
= (wxEvent
*) 0 ;
10903 bool arg2
= (bool) True
;
10904 PyObject
* obj0
= 0 ;
10905 PyObject
* obj1
= 0 ;
10906 char *kwnames
[] = {
10907 (char *) "self",(char *) "skip", NULL
10910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
10911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10913 arg2
= PyInt_AsLong(obj1
) ? true : false;
10914 if (PyErr_Occurred()) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->Skip(arg2
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 Py_INCREF(Py_None
); resultobj
= Py_None
;
10930 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxEvent
*arg1
= (wxEvent
*) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= PyInt_FromLong((long)result
);
10955 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxEvent
*arg1
= (wxEvent
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= PyInt_FromLong((long)result
);
10980 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxEvent
*arg1
= (wxEvent
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 result
= (int)(arg1
)->StopPropagation();
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 resultobj
= PyInt_FromLong((long)result
);
11005 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxEvent
*arg1
= (wxEvent
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self",(char *) "propagationLevel", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 (arg1
)->ResumePropagation(arg2
);
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 Py_INCREF(Py_None
); resultobj
= Py_None
;
11030 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxEvent
*arg1
= (wxEvent
*) 0 ;
11034 PyObject
* obj0
= 0 ;
11035 char *kwnames
[] = {
11036 (char *) "self", NULL
11039 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11040 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11043 result
= (wxEvent
*)(arg1
)->Clone();
11045 wxPyEndAllowThreads(__tstate
);
11046 if (PyErr_Occurred()) SWIG_fail
;
11048 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11055 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11057 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11058 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11060 return Py_BuildValue((char *)"");
11062 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11063 PyObject
*resultobj
;
11064 wxEvent
*arg1
= 0 ;
11065 wxPropagationDisabler
*result
;
11066 PyObject
* obj0
= 0 ;
11067 char *kwnames
[] = {
11068 (char *) "event", NULL
11071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11073 if (arg1
== NULL
) {
11074 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11078 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11080 wxPyEndAllowThreads(__tstate
);
11081 if (PyErr_Occurred()) SWIG_fail
;
11083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11090 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11091 PyObject
*resultobj
;
11092 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11093 PyObject
* obj0
= 0 ;
11094 char *kwnames
[] = {
11095 (char *) "self", NULL
11098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11104 wxPyEndAllowThreads(__tstate
);
11105 if (PyErr_Occurred()) SWIG_fail
;
11107 Py_INCREF(Py_None
); resultobj
= Py_None
;
11114 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11116 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11117 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11119 return Py_BuildValue((char *)"");
11121 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11122 PyObject
*resultobj
;
11123 wxEvent
*arg1
= 0 ;
11124 wxPropagateOnce
*result
;
11125 PyObject
* obj0
= 0 ;
11126 char *kwnames
[] = {
11127 (char *) "event", NULL
11130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11132 if (arg1
== NULL
) {
11133 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11137 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11139 wxPyEndAllowThreads(__tstate
);
11140 if (PyErr_Occurred()) SWIG_fail
;
11142 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11149 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11150 PyObject
*resultobj
;
11151 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11152 PyObject
* obj0
= 0 ;
11153 char *kwnames
[] = {
11154 (char *) "self", NULL
11157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11163 wxPyEndAllowThreads(__tstate
);
11164 if (PyErr_Occurred()) SWIG_fail
;
11166 Py_INCREF(Py_None
); resultobj
= Py_None
;
11173 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11175 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11176 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11178 return Py_BuildValue((char *)"");
11180 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11181 PyObject
*resultobj
;
11182 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11183 int arg2
= (int) 0 ;
11184 wxCommandEvent
*result
;
11185 char *kwnames
[] = {
11186 (char *) "commandType",(char *) "winid", NULL
11189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11192 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11194 wxPyEndAllowThreads(__tstate
);
11195 if (PyErr_Occurred()) SWIG_fail
;
11197 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11204 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11205 PyObject
*resultobj
;
11206 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11208 PyObject
* obj0
= 0 ;
11209 char *kwnames
[] = {
11210 (char *) "self", NULL
11213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11217 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11219 wxPyEndAllowThreads(__tstate
);
11220 if (PyErr_Occurred()) SWIG_fail
;
11222 resultobj
= PyInt_FromLong((long)result
);
11229 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11230 PyObject
*resultobj
;
11231 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11232 wxString
*arg2
= 0 ;
11233 bool temp2
= False
;
11234 PyObject
* obj0
= 0 ;
11235 PyObject
* obj1
= 0 ;
11236 char *kwnames
[] = {
11237 (char *) "self",(char *) "s", NULL
11240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11243 arg2
= wxString_in_helper(obj1
);
11244 if (arg2
== NULL
) SWIG_fail
;
11248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11249 (arg1
)->SetString((wxString
const &)*arg2
);
11251 wxPyEndAllowThreads(__tstate
);
11252 if (PyErr_Occurred()) SWIG_fail
;
11254 Py_INCREF(Py_None
); resultobj
= Py_None
;
11269 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11270 PyObject
*resultobj
;
11271 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11273 PyObject
* obj0
= 0 ;
11274 char *kwnames
[] = {
11275 (char *) "self", NULL
11278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11282 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11284 wxPyEndAllowThreads(__tstate
);
11285 if (PyErr_Occurred()) SWIG_fail
;
11289 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11291 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11300 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11301 PyObject
*resultobj
;
11302 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11304 PyObject
* obj0
= 0 ;
11305 char *kwnames
[] = {
11306 (char *) "self", NULL
11309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11313 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11315 wxPyEndAllowThreads(__tstate
);
11316 if (PyErr_Occurred()) SWIG_fail
;
11318 resultobj
= PyInt_FromLong((long)result
);
11325 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11326 PyObject
*resultobj
;
11327 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11329 PyObject
* obj0
= 0 ;
11330 char *kwnames
[] = {
11331 (char *) "self", NULL
11334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11340 wxPyEndAllowThreads(__tstate
);
11341 if (PyErr_Occurred()) SWIG_fail
;
11343 resultobj
= PyInt_FromLong((long)result
);
11350 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11351 PyObject
*resultobj
;
11352 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11354 PyObject
* obj0
= 0 ;
11355 char *kwnames
[] = {
11356 (char *) "self",(char *) "extraLong", NULL
11359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11363 (arg1
)->SetExtraLong(arg2
);
11365 wxPyEndAllowThreads(__tstate
);
11366 if (PyErr_Occurred()) SWIG_fail
;
11368 Py_INCREF(Py_None
); resultobj
= Py_None
;
11375 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11376 PyObject
*resultobj
;
11377 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11379 PyObject
* obj0
= 0 ;
11380 char *kwnames
[] = {
11381 (char *) "self", NULL
11384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11388 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11390 wxPyEndAllowThreads(__tstate
);
11391 if (PyErr_Occurred()) SWIG_fail
;
11393 resultobj
= PyInt_FromLong((long)result
);
11400 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11401 PyObject
*resultobj
;
11402 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11404 PyObject
* obj0
= 0 ;
11405 char *kwnames
[] = {
11406 (char *) "self",(char *) "i", NULL
11409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11413 (arg1
)->SetInt(arg2
);
11415 wxPyEndAllowThreads(__tstate
);
11416 if (PyErr_Occurred()) SWIG_fail
;
11418 Py_INCREF(Py_None
); resultobj
= Py_None
;
11425 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11426 PyObject
*resultobj
;
11427 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11429 PyObject
* obj0
= 0 ;
11430 char *kwnames
[] = {
11431 (char *) "self", NULL
11434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11440 wxPyEndAllowThreads(__tstate
);
11441 if (PyErr_Occurred()) SWIG_fail
;
11443 resultobj
= PyInt_FromLong((long)result
);
11450 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11451 PyObject
*resultobj
;
11452 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11454 PyObject
* obj0
= 0 ;
11455 char *kwnames
[] = {
11456 (char *) "self", NULL
11459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11463 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11475 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11477 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11478 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11480 return Py_BuildValue((char *)"");
11482 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11483 PyObject
*resultobj
;
11484 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11485 int arg2
= (int) 0 ;
11486 wxNotifyEvent
*result
;
11487 char *kwnames
[] = {
11488 (char *) "commandType",(char *) "winid", NULL
11491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11494 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11496 wxPyEndAllowThreads(__tstate
);
11497 if (PyErr_Occurred()) SWIG_fail
;
11499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11506 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11507 PyObject
*resultobj
;
11508 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 Py_INCREF(Py_None
); resultobj
= Py_None
;
11530 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11533 PyObject
* obj0
= 0 ;
11534 char *kwnames
[] = {
11535 (char *) "self", NULL
11538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11544 wxPyEndAllowThreads(__tstate
);
11545 if (PyErr_Occurred()) SWIG_fail
;
11547 Py_INCREF(Py_None
); resultobj
= Py_None
;
11554 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11555 PyObject
*resultobj
;
11556 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11558 PyObject
* obj0
= 0 ;
11559 char *kwnames
[] = {
11560 (char *) "self", NULL
11563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11567 result
= (bool)(arg1
)->IsAllowed();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= PyInt_FromLong((long)result
);
11579 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11581 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11582 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11584 return Py_BuildValue((char *)"");
11586 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11587 PyObject
*resultobj
;
11588 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11589 int arg2
= (int) 0 ;
11590 int arg3
= (int) 0 ;
11591 int arg4
= (int) 0 ;
11592 wxScrollEvent
*result
;
11593 char *kwnames
[] = {
11594 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11602 wxPyEndAllowThreads(__tstate
);
11603 if (PyErr_Occurred()) SWIG_fail
;
11605 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11612 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
;
11614 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11616 PyObject
* obj0
= 0 ;
11617 char *kwnames
[] = {
11618 (char *) "self", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11625 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11627 wxPyEndAllowThreads(__tstate
);
11628 if (PyErr_Occurred()) SWIG_fail
;
11630 resultobj
= PyInt_FromLong((long)result
);
11637 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11638 PyObject
*resultobj
;
11639 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11641 PyObject
* obj0
= 0 ;
11642 char *kwnames
[] = {
11643 (char *) "self", NULL
11646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11652 wxPyEndAllowThreads(__tstate
);
11653 if (PyErr_Occurred()) SWIG_fail
;
11655 resultobj
= PyInt_FromLong((long)result
);
11662 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11663 PyObject
*resultobj
;
11664 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11666 PyObject
* obj0
= 0 ;
11667 char *kwnames
[] = {
11668 (char *) "self",(char *) "orient", NULL
11671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11672 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11675 (arg1
)->SetOrientation(arg2
);
11677 wxPyEndAllowThreads(__tstate
);
11678 if (PyErr_Occurred()) SWIG_fail
;
11680 Py_INCREF(Py_None
); resultobj
= Py_None
;
11687 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11688 PyObject
*resultobj
;
11689 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11691 PyObject
* obj0
= 0 ;
11692 char *kwnames
[] = {
11693 (char *) "self",(char *) "pos", NULL
11696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11700 (arg1
)->SetPosition(arg2
);
11702 wxPyEndAllowThreads(__tstate
);
11703 if (PyErr_Occurred()) SWIG_fail
;
11705 Py_INCREF(Py_None
); resultobj
= Py_None
;
11712 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11714 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11715 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11717 return Py_BuildValue((char *)"");
11719 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11720 PyObject
*resultobj
;
11721 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11722 int arg2
= (int) 0 ;
11723 int arg3
= (int) 0 ;
11724 wxScrollWinEvent
*result
;
11725 char *kwnames
[] = {
11726 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11732 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11734 wxPyEndAllowThreads(__tstate
);
11735 if (PyErr_Occurred()) SWIG_fail
;
11737 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11744 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11745 PyObject
*resultobj
;
11746 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11748 PyObject
* obj0
= 0 ;
11749 char *kwnames
[] = {
11750 (char *) "self", NULL
11753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11757 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11759 wxPyEndAllowThreads(__tstate
);
11760 if (PyErr_Occurred()) SWIG_fail
;
11762 resultobj
= PyInt_FromLong((long)result
);
11769 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11770 PyObject
*resultobj
;
11771 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11773 PyObject
* obj0
= 0 ;
11774 char *kwnames
[] = {
11775 (char *) "self", NULL
11778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11782 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11784 wxPyEndAllowThreads(__tstate
);
11785 if (PyErr_Occurred()) SWIG_fail
;
11787 resultobj
= PyInt_FromLong((long)result
);
11794 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11795 PyObject
*resultobj
;
11796 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11798 PyObject
* obj0
= 0 ;
11799 char *kwnames
[] = {
11800 (char *) "self",(char *) "orient", NULL
11803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11807 (arg1
)->SetOrientation(arg2
);
11809 wxPyEndAllowThreads(__tstate
);
11810 if (PyErr_Occurred()) SWIG_fail
;
11812 Py_INCREF(Py_None
); resultobj
= Py_None
;
11819 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11820 PyObject
*resultobj
;
11821 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11823 PyObject
* obj0
= 0 ;
11824 char *kwnames
[] = {
11825 (char *) "self",(char *) "pos", NULL
11828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11832 (arg1
)->SetPosition(arg2
);
11834 wxPyEndAllowThreads(__tstate
);
11835 if (PyErr_Occurred()) SWIG_fail
;
11837 Py_INCREF(Py_None
); resultobj
= Py_None
;
11844 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11846 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11847 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11849 return Py_BuildValue((char *)"");
11851 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11852 PyObject
*resultobj
;
11853 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11854 wxMouseEvent
*result
;
11855 char *kwnames
[] = {
11856 (char *) "mouseType", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11868 resultobj
= wxPyMake_wxObject(result
);
11876 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
;
11878 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11880 PyObject
* obj0
= 0 ;
11881 char *kwnames
[] = {
11882 (char *) "self", NULL
11885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11889 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
11891 wxPyEndAllowThreads(__tstate
);
11892 if (PyErr_Occurred()) SWIG_fail
;
11894 resultobj
= PyInt_FromLong((long)result
);
11901 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11902 PyObject
*resultobj
;
11903 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11904 int arg2
= (int) wxMOUSE_BTN_ANY
;
11906 PyObject
* obj0
= 0 ;
11907 char *kwnames
[] = {
11908 (char *) "self",(char *) "but", NULL
11911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
11912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11915 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
11917 wxPyEndAllowThreads(__tstate
);
11918 if (PyErr_Occurred()) SWIG_fail
;
11920 resultobj
= PyInt_FromLong((long)result
);
11927 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11928 PyObject
*resultobj
;
11929 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11930 int arg2
= (int) wxMOUSE_BTN_ANY
;
11932 PyObject
* obj0
= 0 ;
11933 char *kwnames
[] = {
11934 (char *) "self",(char *) "but", NULL
11937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
11938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
11943 wxPyEndAllowThreads(__tstate
);
11944 if (PyErr_Occurred()) SWIG_fail
;
11946 resultobj
= PyInt_FromLong((long)result
);
11953 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11954 PyObject
*resultobj
;
11955 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11956 int arg2
= (int) wxMOUSE_BTN_ANY
;
11958 PyObject
* obj0
= 0 ;
11959 char *kwnames
[] = {
11960 (char *) "self",(char *) "but", NULL
11963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
11964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
11969 wxPyEndAllowThreads(__tstate
);
11970 if (PyErr_Occurred()) SWIG_fail
;
11972 resultobj
= PyInt_FromLong((long)result
);
11979 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11980 PyObject
*resultobj
;
11981 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11984 PyObject
* obj0
= 0 ;
11985 char *kwnames
[] = {
11986 (char *) "self",(char *) "but", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
11990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11993 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
11995 wxPyEndAllowThreads(__tstate
);
11996 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= PyInt_FromLong((long)result
);
12005 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12006 PyObject
*resultobj
;
12007 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self",(char *) "but", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= PyInt_FromLong((long)result
);
12031 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12035 PyObject
* obj0
= 0 ;
12036 char *kwnames
[] = {
12037 (char *) "self", NULL
12040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12043 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12044 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12046 wxPyEndAllowThreads(__tstate
);
12047 if (PyErr_Occurred()) SWIG_fail
;
12049 resultobj
= PyInt_FromLong((long)result
);
12056 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12057 PyObject
*resultobj
;
12058 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 char *kwnames
[] = {
12062 (char *) "self", NULL
12065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12069 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12071 wxPyEndAllowThreads(__tstate
);
12072 if (PyErr_Occurred()) SWIG_fail
;
12074 resultobj
= PyInt_FromLong((long)result
);
12081 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12082 PyObject
*resultobj
;
12083 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12085 PyObject
* obj0
= 0 ;
12086 char *kwnames
[] = {
12087 (char *) "self", NULL
12090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12094 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12096 wxPyEndAllowThreads(__tstate
);
12097 if (PyErr_Occurred()) SWIG_fail
;
12099 resultobj
= PyInt_FromLong((long)result
);
12106 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12107 PyObject
*resultobj
;
12108 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12110 PyObject
* obj0
= 0 ;
12111 char *kwnames
[] = {
12112 (char *) "self", NULL
12115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12119 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12121 wxPyEndAllowThreads(__tstate
);
12122 if (PyErr_Occurred()) SWIG_fail
;
12124 resultobj
= PyInt_FromLong((long)result
);
12131 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12132 PyObject
*resultobj
;
12133 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12135 PyObject
* obj0
= 0 ;
12136 char *kwnames
[] = {
12137 (char *) "self", NULL
12140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= PyInt_FromLong((long)result
);
12156 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12157 PyObject
*resultobj
;
12158 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12160 PyObject
* obj0
= 0 ;
12161 char *kwnames
[] = {
12162 (char *) "self", NULL
12165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12169 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= PyInt_FromLong((long)result
);
12181 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
;
12183 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12185 PyObject
* obj0
= 0 ;
12186 char *kwnames
[] = {
12187 (char *) "self", NULL
12190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12194 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12196 wxPyEndAllowThreads(__tstate
);
12197 if (PyErr_Occurred()) SWIG_fail
;
12199 resultobj
= PyInt_FromLong((long)result
);
12206 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12207 PyObject
*resultobj
;
12208 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12210 PyObject
* obj0
= 0 ;
12211 char *kwnames
[] = {
12212 (char *) "self", NULL
12215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12216 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12219 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12221 wxPyEndAllowThreads(__tstate
);
12222 if (PyErr_Occurred()) SWIG_fail
;
12224 resultobj
= PyInt_FromLong((long)result
);
12231 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12232 PyObject
*resultobj
;
12233 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 char *kwnames
[] = {
12237 (char *) "self", NULL
12240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12244 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12246 wxPyEndAllowThreads(__tstate
);
12247 if (PyErr_Occurred()) SWIG_fail
;
12249 resultobj
= PyInt_FromLong((long)result
);
12256 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12257 PyObject
*resultobj
;
12258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12260 PyObject
* obj0
= 0 ;
12261 char *kwnames
[] = {
12262 (char *) "self", NULL
12265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12269 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12271 wxPyEndAllowThreads(__tstate
);
12272 if (PyErr_Occurred()) SWIG_fail
;
12274 resultobj
= PyInt_FromLong((long)result
);
12281 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12282 PyObject
*resultobj
;
12283 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12285 PyObject
* obj0
= 0 ;
12286 char *kwnames
[] = {
12287 (char *) "self", NULL
12290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12294 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12296 wxPyEndAllowThreads(__tstate
);
12297 if (PyErr_Occurred()) SWIG_fail
;
12299 resultobj
= PyInt_FromLong((long)result
);
12306 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12307 PyObject
*resultobj
;
12308 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12310 PyObject
* obj0
= 0 ;
12311 char *kwnames
[] = {
12312 (char *) "self", NULL
12315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12319 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12321 wxPyEndAllowThreads(__tstate
);
12322 if (PyErr_Occurred()) SWIG_fail
;
12324 resultobj
= PyInt_FromLong((long)result
);
12331 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12332 PyObject
*resultobj
;
12333 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12335 PyObject
* obj0
= 0 ;
12336 char *kwnames
[] = {
12337 (char *) "self", NULL
12340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12341 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12344 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12346 wxPyEndAllowThreads(__tstate
);
12347 if (PyErr_Occurred()) SWIG_fail
;
12349 resultobj
= PyInt_FromLong((long)result
);
12356 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12357 PyObject
*resultobj
;
12358 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12360 PyObject
* obj0
= 0 ;
12361 char *kwnames
[] = {
12362 (char *) "self", NULL
12365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12371 wxPyEndAllowThreads(__tstate
);
12372 if (PyErr_Occurred()) SWIG_fail
;
12374 resultobj
= PyInt_FromLong((long)result
);
12381 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12382 PyObject
*resultobj
;
12383 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12385 PyObject
* obj0
= 0 ;
12386 char *kwnames
[] = {
12387 (char *) "self", NULL
12390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12394 result
= (bool)(arg1
)->LeftIsDown();
12396 wxPyEndAllowThreads(__tstate
);
12397 if (PyErr_Occurred()) SWIG_fail
;
12399 resultobj
= PyInt_FromLong((long)result
);
12406 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12407 PyObject
*resultobj
;
12408 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12410 PyObject
* obj0
= 0 ;
12411 char *kwnames
[] = {
12412 (char *) "self", NULL
12415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12419 result
= (bool)(arg1
)->MiddleIsDown();
12421 wxPyEndAllowThreads(__tstate
);
12422 if (PyErr_Occurred()) SWIG_fail
;
12424 resultobj
= PyInt_FromLong((long)result
);
12431 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12432 PyObject
*resultobj
;
12433 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12435 PyObject
* obj0
= 0 ;
12436 char *kwnames
[] = {
12437 (char *) "self", NULL
12440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12444 result
= (bool)(arg1
)->RightIsDown();
12446 wxPyEndAllowThreads(__tstate
);
12447 if (PyErr_Occurred()) SWIG_fail
;
12449 resultobj
= PyInt_FromLong((long)result
);
12456 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12457 PyObject
*resultobj
;
12458 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12460 PyObject
* obj0
= 0 ;
12461 char *kwnames
[] = {
12462 (char *) "self", NULL
12465 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12469 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12471 wxPyEndAllowThreads(__tstate
);
12472 if (PyErr_Occurred()) SWIG_fail
;
12474 resultobj
= PyInt_FromLong((long)result
);
12481 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12482 PyObject
*resultobj
;
12483 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12485 PyObject
* obj0
= 0 ;
12486 char *kwnames
[] = {
12487 (char *) "self", NULL
12490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12494 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12496 wxPyEndAllowThreads(__tstate
);
12497 if (PyErr_Occurred()) SWIG_fail
;
12499 resultobj
= PyInt_FromLong((long)result
);
12506 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12507 PyObject
*resultobj
;
12508 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12510 PyObject
* obj0
= 0 ;
12511 char *kwnames
[] = {
12512 (char *) "self", NULL
12515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12519 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12521 wxPyEndAllowThreads(__tstate
);
12522 if (PyErr_Occurred()) SWIG_fail
;
12524 resultobj
= PyInt_FromLong((long)result
);
12531 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12532 PyObject
*resultobj
;
12533 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12535 PyObject
* obj0
= 0 ;
12536 char *kwnames
[] = {
12537 (char *) "self", NULL
12540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12544 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12546 wxPyEndAllowThreads(__tstate
);
12547 if (PyErr_Occurred()) SWIG_fail
;
12549 resultobj
= PyInt_FromLong((long)result
);
12556 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12557 PyObject
*resultobj
;
12558 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12560 PyObject
* obj0
= 0 ;
12561 char *kwnames
[] = {
12562 (char *) "self", NULL
12565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12569 result
= (arg1
)->GetPosition();
12571 wxPyEndAllowThreads(__tstate
);
12572 if (PyErr_Occurred()) SWIG_fail
;
12575 wxPoint
* resultptr
;
12576 resultptr
= new wxPoint((wxPoint
&) result
);
12577 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12585 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12586 PyObject
*resultobj
;
12587 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12588 long *arg2
= (long *) 0 ;
12589 long *arg3
= (long *) 0 ;
12592 PyObject
* obj0
= 0 ;
12593 char *kwnames
[] = {
12594 (char *) "self", NULL
12599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12603 (arg1
)->GetPosition(arg2
,arg3
);
12605 wxPyEndAllowThreads(__tstate
);
12606 if (PyErr_Occurred()) SWIG_fail
;
12608 Py_INCREF(Py_None
); resultobj
= Py_None
;
12610 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12611 resultobj
= t_output_helper(resultobj
,o
);
12614 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12615 resultobj
= t_output_helper(resultobj
,o
);
12623 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12624 PyObject
*resultobj
;
12625 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12628 PyObject
* obj0
= 0 ;
12629 PyObject
* obj1
= 0 ;
12630 char *kwnames
[] = {
12631 (char *) "self",(char *) "dc", NULL
12634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12636 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12637 if (arg2
== NULL
) {
12638 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12642 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12644 wxPyEndAllowThreads(__tstate
);
12645 if (PyErr_Occurred()) SWIG_fail
;
12648 wxPoint
* resultptr
;
12649 resultptr
= new wxPoint((wxPoint
&) result
);
12650 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12658 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12659 PyObject
*resultobj
;
12660 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12662 PyObject
* obj0
= 0 ;
12663 char *kwnames
[] = {
12664 (char *) "self", NULL
12667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12671 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
12673 wxPyEndAllowThreads(__tstate
);
12674 if (PyErr_Occurred()) SWIG_fail
;
12676 resultobj
= PyInt_FromLong((long)result
);
12683 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12684 PyObject
*resultobj
;
12685 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12687 PyObject
* obj0
= 0 ;
12688 char *kwnames
[] = {
12689 (char *) "self", NULL
12692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12696 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
12698 wxPyEndAllowThreads(__tstate
);
12699 if (PyErr_Occurred()) SWIG_fail
;
12701 resultobj
= PyInt_FromLong((long)result
);
12708 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12709 PyObject
*resultobj
;
12710 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12712 PyObject
* obj0
= 0 ;
12713 char *kwnames
[] = {
12714 (char *) "self", NULL
12717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12721 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12723 wxPyEndAllowThreads(__tstate
);
12724 if (PyErr_Occurred()) SWIG_fail
;
12726 resultobj
= PyInt_FromLong((long)result
);
12733 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12734 PyObject
*resultobj
;
12735 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12737 PyObject
* obj0
= 0 ;
12738 char *kwnames
[] = {
12739 (char *) "self", NULL
12742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12746 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12748 wxPyEndAllowThreads(__tstate
);
12749 if (PyErr_Occurred()) SWIG_fail
;
12751 resultobj
= PyInt_FromLong((long)result
);
12758 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12759 PyObject
*resultobj
;
12760 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12762 PyObject
* obj0
= 0 ;
12763 char *kwnames
[] = {
12764 (char *) "self", NULL
12767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12771 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12773 wxPyEndAllowThreads(__tstate
);
12774 if (PyErr_Occurred()) SWIG_fail
;
12776 resultobj
= PyInt_FromLong((long)result
);
12783 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12784 PyObject
*resultobj
;
12785 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12787 PyObject
* obj0
= 0 ;
12788 char *kwnames
[] = {
12789 (char *) "self", NULL
12792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12798 wxPyEndAllowThreads(__tstate
);
12799 if (PyErr_Occurred()) SWIG_fail
;
12801 resultobj
= PyInt_FromLong((long)result
);
12808 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12809 PyObject
*resultobj
;
12810 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 char *kwnames
[] = {
12814 (char *) "self",(char *) "m_x", NULL
12817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12819 if (arg1
) (arg1
)->m_x
= arg2
;
12821 Py_INCREF(Py_None
); resultobj
= Py_None
;
12828 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12829 PyObject
*resultobj
;
12830 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12832 PyObject
* obj0
= 0 ;
12833 char *kwnames
[] = {
12834 (char *) "self", NULL
12837 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12839 result
= (int) ((arg1
)->m_x
);
12841 resultobj
= PyInt_FromLong((long)result
);
12848 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12849 PyObject
*resultobj
;
12850 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12852 PyObject
* obj0
= 0 ;
12853 char *kwnames
[] = {
12854 (char *) "self",(char *) "m_y", NULL
12857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12859 if (arg1
) (arg1
)->m_y
= arg2
;
12861 Py_INCREF(Py_None
); resultobj
= Py_None
;
12868 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
;
12870 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12872 PyObject
* obj0
= 0 ;
12873 char *kwnames
[] = {
12874 (char *) "self", NULL
12877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
12878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12879 result
= (int) ((arg1
)->m_y
);
12881 resultobj
= PyInt_FromLong((long)result
);
12888 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 PyObject
* obj1
= 0 ;
12894 char *kwnames
[] = {
12895 (char *) "self",(char *) "m_leftDown", NULL
12898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12900 arg2
= PyInt_AsLong(obj1
) ? true : false;
12901 if (PyErr_Occurred()) SWIG_fail
;
12902 if (arg1
) (arg1
)->m_leftDown
= arg2
;
12904 Py_INCREF(Py_None
); resultobj
= Py_None
;
12911 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12912 PyObject
*resultobj
;
12913 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12915 PyObject
* obj0
= 0 ;
12916 char *kwnames
[] = {
12917 (char *) "self", NULL
12920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
12921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12922 result
= (bool) ((arg1
)->m_leftDown
);
12924 resultobj
= PyInt_FromLong((long)result
);
12931 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12932 PyObject
*resultobj
;
12933 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12935 PyObject
* obj0
= 0 ;
12936 PyObject
* obj1
= 0 ;
12937 char *kwnames
[] = {
12938 (char *) "self",(char *) "m_middleDown", NULL
12941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12943 arg2
= PyInt_AsLong(obj1
) ? true : false;
12944 if (PyErr_Occurred()) SWIG_fail
;
12945 if (arg1
) (arg1
)->m_middleDown
= arg2
;
12947 Py_INCREF(Py_None
); resultobj
= Py_None
;
12954 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12955 PyObject
*resultobj
;
12956 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12958 PyObject
* obj0
= 0 ;
12959 char *kwnames
[] = {
12960 (char *) "self", NULL
12963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
12964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12965 result
= (bool) ((arg1
)->m_middleDown
);
12967 resultobj
= PyInt_FromLong((long)result
);
12974 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12975 PyObject
*resultobj
;
12976 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12978 PyObject
* obj0
= 0 ;
12979 PyObject
* obj1
= 0 ;
12980 char *kwnames
[] = {
12981 (char *) "self",(char *) "m_rightDown", NULL
12984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12986 arg2
= PyInt_AsLong(obj1
) ? true : false;
12987 if (PyErr_Occurred()) SWIG_fail
;
12988 if (arg1
) (arg1
)->m_rightDown
= arg2
;
12990 Py_INCREF(Py_None
); resultobj
= Py_None
;
12997 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12998 PyObject
*resultobj
;
12999 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13001 PyObject
* obj0
= 0 ;
13002 char *kwnames
[] = {
13003 (char *) "self", NULL
13006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13008 result
= (bool) ((arg1
)->m_rightDown
);
13010 resultobj
= PyInt_FromLong((long)result
);
13017 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13018 PyObject
*resultobj
;
13019 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13021 PyObject
* obj0
= 0 ;
13022 PyObject
* obj1
= 0 ;
13023 char *kwnames
[] = {
13024 (char *) "self",(char *) "m_controlDown", NULL
13027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13029 arg2
= PyInt_AsLong(obj1
) ? true : false;
13030 if (PyErr_Occurred()) SWIG_fail
;
13031 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13033 Py_INCREF(Py_None
); resultobj
= Py_None
;
13040 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
;
13042 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13044 PyObject
* obj0
= 0 ;
13045 char *kwnames
[] = {
13046 (char *) "self", NULL
13049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13051 result
= (bool) ((arg1
)->m_controlDown
);
13053 resultobj
= PyInt_FromLong((long)result
);
13060 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13061 PyObject
*resultobj
;
13062 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13064 PyObject
* obj0
= 0 ;
13065 PyObject
* obj1
= 0 ;
13066 char *kwnames
[] = {
13067 (char *) "self",(char *) "m_shiftDown", NULL
13070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13072 arg2
= PyInt_AsLong(obj1
) ? true : false;
13073 if (PyErr_Occurred()) SWIG_fail
;
13074 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13076 Py_INCREF(Py_None
); resultobj
= Py_None
;
13083 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13084 PyObject
*resultobj
;
13085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13087 PyObject
* obj0
= 0 ;
13088 char *kwnames
[] = {
13089 (char *) "self", NULL
13092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13094 result
= (bool) ((arg1
)->m_shiftDown
);
13096 resultobj
= PyInt_FromLong((long)result
);
13103 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
;
13105 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13107 PyObject
* obj0
= 0 ;
13108 PyObject
* obj1
= 0 ;
13109 char *kwnames
[] = {
13110 (char *) "self",(char *) "m_altDown", NULL
13113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13115 arg2
= PyInt_AsLong(obj1
) ? true : false;
13116 if (PyErr_Occurred()) SWIG_fail
;
13117 if (arg1
) (arg1
)->m_altDown
= arg2
;
13119 Py_INCREF(Py_None
); resultobj
= Py_None
;
13126 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13127 PyObject
*resultobj
;
13128 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13130 PyObject
* obj0
= 0 ;
13131 char *kwnames
[] = {
13132 (char *) "self", NULL
13135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13137 result
= (bool) ((arg1
)->m_altDown
);
13139 resultobj
= PyInt_FromLong((long)result
);
13146 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13147 PyObject
*resultobj
;
13148 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13150 PyObject
* obj0
= 0 ;
13151 PyObject
* obj1
= 0 ;
13152 char *kwnames
[] = {
13153 (char *) "self",(char *) "m_metaDown", NULL
13156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13158 arg2
= PyInt_AsLong(obj1
) ? true : false;
13159 if (PyErr_Occurred()) SWIG_fail
;
13160 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13162 Py_INCREF(Py_None
); resultobj
= Py_None
;
13169 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13170 PyObject
*resultobj
;
13171 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13173 PyObject
* obj0
= 0 ;
13174 char *kwnames
[] = {
13175 (char *) "self", NULL
13178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13180 result
= (bool) ((arg1
)->m_metaDown
);
13182 resultobj
= PyInt_FromLong((long)result
);
13189 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13190 PyObject
*resultobj
;
13191 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13193 PyObject
* obj0
= 0 ;
13194 char *kwnames
[] = {
13195 (char *) "self",(char *) "m_wheelRotation", NULL
13198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13200 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13202 Py_INCREF(Py_None
); resultobj
= Py_None
;
13209 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13210 PyObject
*resultobj
;
13211 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13213 PyObject
* obj0
= 0 ;
13214 char *kwnames
[] = {
13215 (char *) "self", NULL
13218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13220 result
= (int) ((arg1
)->m_wheelRotation
);
13222 resultobj
= PyInt_FromLong((long)result
);
13229 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13230 PyObject
*resultobj
;
13231 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13233 PyObject
* obj0
= 0 ;
13234 char *kwnames
[] = {
13235 (char *) "self",(char *) "m_wheelDelta", NULL
13238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13240 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13242 Py_INCREF(Py_None
); resultobj
= Py_None
;
13249 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13250 PyObject
*resultobj
;
13251 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13253 PyObject
* obj0
= 0 ;
13254 char *kwnames
[] = {
13255 (char *) "self", NULL
13258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13260 result
= (int) ((arg1
)->m_wheelDelta
);
13262 resultobj
= PyInt_FromLong((long)result
);
13269 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13270 PyObject
*resultobj
;
13271 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13273 PyObject
* obj0
= 0 ;
13274 char *kwnames
[] = {
13275 (char *) "self",(char *) "m_linesPerAction", NULL
13278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13280 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13282 Py_INCREF(Py_None
); resultobj
= Py_None
;
13289 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13290 PyObject
*resultobj
;
13291 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13293 PyObject
* obj0
= 0 ;
13294 char *kwnames
[] = {
13295 (char *) "self", NULL
13298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13300 result
= (int) ((arg1
)->m_linesPerAction
);
13302 resultobj
= PyInt_FromLong((long)result
);
13309 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13311 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13312 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13314 return Py_BuildValue((char *)"");
13316 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13317 PyObject
*resultobj
;
13318 int arg1
= (int) 0 ;
13319 int arg2
= (int) 0 ;
13320 wxSetCursorEvent
*result
;
13321 char *kwnames
[] = {
13322 (char *) "x",(char *) "y", NULL
13325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13328 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13340 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13341 PyObject
*resultobj
;
13342 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13344 PyObject
* obj0
= 0 ;
13345 char *kwnames
[] = {
13346 (char *) "self", NULL
13349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13353 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
13355 wxPyEndAllowThreads(__tstate
);
13356 if (PyErr_Occurred()) SWIG_fail
;
13358 resultobj
= PyInt_FromLong((long)result
);
13365 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13366 PyObject
*resultobj
;
13367 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13369 PyObject
* obj0
= 0 ;
13370 char *kwnames
[] = {
13371 (char *) "self", NULL
13374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13378 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
13380 wxPyEndAllowThreads(__tstate
);
13381 if (PyErr_Occurred()) SWIG_fail
;
13383 resultobj
= PyInt_FromLong((long)result
);
13390 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13391 PyObject
*resultobj
;
13392 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13393 wxCursor
*arg2
= 0 ;
13394 PyObject
* obj0
= 0 ;
13395 PyObject
* obj1
= 0 ;
13396 char *kwnames
[] = {
13397 (char *) "self",(char *) "cursor", NULL
13400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13402 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13403 if (arg2
== NULL
) {
13404 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13408 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13410 wxPyEndAllowThreads(__tstate
);
13411 if (PyErr_Occurred()) SWIG_fail
;
13413 Py_INCREF(Py_None
); resultobj
= Py_None
;
13420 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13421 PyObject
*resultobj
;
13422 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13424 PyObject
* obj0
= 0 ;
13425 char *kwnames
[] = {
13426 (char *) "self", NULL
13429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13434 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13435 result
= (wxCursor
*) &_result_ref
;
13438 wxPyEndAllowThreads(__tstate
);
13439 if (PyErr_Occurred()) SWIG_fail
;
13441 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13448 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13449 PyObject
*resultobj
;
13450 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13452 PyObject
* obj0
= 0 ;
13453 char *kwnames
[] = {
13454 (char *) "self", NULL
13457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13461 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13463 wxPyEndAllowThreads(__tstate
);
13464 if (PyErr_Occurred()) SWIG_fail
;
13466 resultobj
= PyInt_FromLong((long)result
);
13473 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13475 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13476 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13478 return Py_BuildValue((char *)"");
13480 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13481 PyObject
*resultobj
;
13482 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13483 wxKeyEvent
*result
;
13484 char *kwnames
[] = {
13485 (char *) "keyType", NULL
13488 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13491 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13493 wxPyEndAllowThreads(__tstate
);
13494 if (PyErr_Occurred()) SWIG_fail
;
13496 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13503 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13504 PyObject
*resultobj
;
13505 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13507 PyObject
* obj0
= 0 ;
13508 char *kwnames
[] = {
13509 (char *) "self", NULL
13512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13516 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13518 wxPyEndAllowThreads(__tstate
);
13519 if (PyErr_Occurred()) SWIG_fail
;
13521 resultobj
= PyInt_FromLong((long)result
);
13528 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13529 PyObject
*resultobj
;
13530 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13532 PyObject
* obj0
= 0 ;
13533 char *kwnames
[] = {
13534 (char *) "self", NULL
13537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13541 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13543 wxPyEndAllowThreads(__tstate
);
13544 if (PyErr_Occurred()) SWIG_fail
;
13546 resultobj
= PyInt_FromLong((long)result
);
13553 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13554 PyObject
*resultobj
;
13555 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13557 PyObject
* obj0
= 0 ;
13558 char *kwnames
[] = {
13559 (char *) "self", NULL
13562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13566 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= PyInt_FromLong((long)result
);
13578 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= PyInt_FromLong((long)result
);
13603 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13604 PyObject
*resultobj
;
13605 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13607 PyObject
* obj0
= 0 ;
13608 char *kwnames
[] = {
13609 (char *) "self", NULL
13612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13616 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13618 wxPyEndAllowThreads(__tstate
);
13619 if (PyErr_Occurred()) SWIG_fail
;
13621 resultobj
= PyInt_FromLong((long)result
);
13628 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13629 PyObject
*resultobj
;
13630 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 char *kwnames
[] = {
13634 (char *) "self", NULL
13637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13641 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13643 wxPyEndAllowThreads(__tstate
);
13644 if (PyErr_Occurred()) SWIG_fail
;
13646 resultobj
= PyInt_FromLong((long)result
);
13653 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13654 PyObject
*resultobj
;
13655 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13657 PyObject
* obj0
= 0 ;
13658 char *kwnames
[] = {
13659 (char *) "self", NULL
13662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13666 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13668 wxPyEndAllowThreads(__tstate
);
13669 if (PyErr_Occurred()) SWIG_fail
;
13671 resultobj
= PyInt_FromLong((long)result
);
13678 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13679 PyObject
*resultobj
;
13680 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13681 unsigned int result
;
13682 PyObject
* obj0
= 0 ;
13683 char *kwnames
[] = {
13684 (char *) "self", NULL
13687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13691 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13693 wxPyEndAllowThreads(__tstate
);
13694 if (PyErr_Occurred()) SWIG_fail
;
13696 resultobj
= PyInt_FromLong((long)result
);
13703 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13704 PyObject
*resultobj
;
13705 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13706 unsigned int result
;
13707 PyObject
* obj0
= 0 ;
13708 char *kwnames
[] = {
13709 (char *) "self", NULL
13712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13716 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13718 wxPyEndAllowThreads(__tstate
);
13719 if (PyErr_Occurred()) SWIG_fail
;
13721 resultobj
= PyInt_FromLong((long)result
);
13728 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13729 PyObject
*resultobj
;
13730 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13732 PyObject
* obj0
= 0 ;
13733 char *kwnames
[] = {
13734 (char *) "self", NULL
13737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13741 result
= (arg1
)->GetPosition();
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13747 wxPoint
* resultptr
;
13748 resultptr
= new wxPoint((wxPoint
&) result
);
13749 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13757 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13758 PyObject
*resultobj
;
13759 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13760 long *arg2
= (long *) 0 ;
13761 long *arg3
= (long *) 0 ;
13764 PyObject
* obj0
= 0 ;
13765 char *kwnames
[] = {
13766 (char *) "self", NULL
13771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13775 (arg1
)->GetPosition(arg2
,arg3
);
13777 wxPyEndAllowThreads(__tstate
);
13778 if (PyErr_Occurred()) SWIG_fail
;
13780 Py_INCREF(Py_None
); resultobj
= Py_None
;
13782 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13783 resultobj
= t_output_helper(resultobj
,o
);
13786 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13787 resultobj
= t_output_helper(resultobj
,o
);
13795 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13796 PyObject
*resultobj
;
13797 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13799 PyObject
* obj0
= 0 ;
13800 char *kwnames
[] = {
13801 (char *) "self", NULL
13804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13808 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
13810 wxPyEndAllowThreads(__tstate
);
13811 if (PyErr_Occurred()) SWIG_fail
;
13813 resultobj
= PyInt_FromLong((long)result
);
13820 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13821 PyObject
*resultobj
;
13822 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13824 PyObject
* obj0
= 0 ;
13825 char *kwnames
[] = {
13826 (char *) "self", NULL
13829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13833 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= PyInt_FromLong((long)result
);
13845 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
;
13847 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13849 PyObject
* obj0
= 0 ;
13850 char *kwnames
[] = {
13851 (char *) "self",(char *) "m_x", NULL
13854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13856 if (arg1
) (arg1
)->m_x
= arg2
;
13858 Py_INCREF(Py_None
); resultobj
= Py_None
;
13865 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13866 PyObject
*resultobj
;
13867 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13869 PyObject
* obj0
= 0 ;
13870 char *kwnames
[] = {
13871 (char *) "self", NULL
13874 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
13875 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13876 result
= (int) ((arg1
)->m_x
);
13878 resultobj
= PyInt_FromLong((long)result
);
13885 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13886 PyObject
*resultobj
;
13887 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13889 PyObject
* obj0
= 0 ;
13890 char *kwnames
[] = {
13891 (char *) "self",(char *) "m_y", NULL
13894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13896 if (arg1
) (arg1
)->m_y
= arg2
;
13898 Py_INCREF(Py_None
); resultobj
= Py_None
;
13905 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13906 PyObject
*resultobj
;
13907 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13909 PyObject
* obj0
= 0 ;
13910 char *kwnames
[] = {
13911 (char *) "self", NULL
13914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13916 result
= (int) ((arg1
)->m_y
);
13918 resultobj
= PyInt_FromLong((long)result
);
13925 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self",(char *) "m_keyCode", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13936 if (arg1
) (arg1
)->m_keyCode
= arg2
;
13938 Py_INCREF(Py_None
); resultobj
= Py_None
;
13945 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13946 PyObject
*resultobj
;
13947 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13949 PyObject
* obj0
= 0 ;
13950 char *kwnames
[] = {
13951 (char *) "self", NULL
13954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
13955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13956 result
= (long) ((arg1
)->m_keyCode
);
13958 resultobj
= PyInt_FromLong((long)result
);
13965 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13966 PyObject
*resultobj
;
13967 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13969 PyObject
* obj0
= 0 ;
13970 PyObject
* obj1
= 0 ;
13971 char *kwnames
[] = {
13972 (char *) "self",(char *) "m_controlDown", NULL
13975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13977 arg2
= PyInt_AsLong(obj1
) ? true : false;
13978 if (PyErr_Occurred()) SWIG_fail
;
13979 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13981 Py_INCREF(Py_None
); resultobj
= Py_None
;
13988 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13989 PyObject
*resultobj
;
13990 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13992 PyObject
* obj0
= 0 ;
13993 char *kwnames
[] = {
13994 (char *) "self", NULL
13997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13999 result
= (bool) ((arg1
)->m_controlDown
);
14001 resultobj
= PyInt_FromLong((long)result
);
14008 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14009 PyObject
*resultobj
;
14010 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14012 PyObject
* obj0
= 0 ;
14013 PyObject
* obj1
= 0 ;
14014 char *kwnames
[] = {
14015 (char *) "self",(char *) "m_shiftDown", NULL
14018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14020 arg2
= PyInt_AsLong(obj1
) ? true : false;
14021 if (PyErr_Occurred()) SWIG_fail
;
14022 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14024 Py_INCREF(Py_None
); resultobj
= Py_None
;
14031 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14032 PyObject
*resultobj
;
14033 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14035 PyObject
* obj0
= 0 ;
14036 char *kwnames
[] = {
14037 (char *) "self", NULL
14040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14042 result
= (bool) ((arg1
)->m_shiftDown
);
14044 resultobj
= PyInt_FromLong((long)result
);
14051 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14052 PyObject
*resultobj
;
14053 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14055 PyObject
* obj0
= 0 ;
14056 PyObject
* obj1
= 0 ;
14057 char *kwnames
[] = {
14058 (char *) "self",(char *) "m_altDown", NULL
14061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14063 arg2
= PyInt_AsLong(obj1
) ? true : false;
14064 if (PyErr_Occurred()) SWIG_fail
;
14065 if (arg1
) (arg1
)->m_altDown
= arg2
;
14067 Py_INCREF(Py_None
); resultobj
= Py_None
;
14074 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14075 PyObject
*resultobj
;
14076 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14078 PyObject
* obj0
= 0 ;
14079 char *kwnames
[] = {
14080 (char *) "self", NULL
14083 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14084 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14085 result
= (bool) ((arg1
)->m_altDown
);
14087 resultobj
= PyInt_FromLong((long)result
);
14094 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14095 PyObject
*resultobj
;
14096 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14098 PyObject
* obj0
= 0 ;
14099 PyObject
* obj1
= 0 ;
14100 char *kwnames
[] = {
14101 (char *) "self",(char *) "m_metaDown", NULL
14104 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14105 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14106 arg2
= PyInt_AsLong(obj1
) ? true : false;
14107 if (PyErr_Occurred()) SWIG_fail
;
14108 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14110 Py_INCREF(Py_None
); resultobj
= Py_None
;
14117 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14118 PyObject
*resultobj
;
14119 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14121 PyObject
* obj0
= 0 ;
14122 char *kwnames
[] = {
14123 (char *) "self", NULL
14126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14128 result
= (bool) ((arg1
)->m_metaDown
);
14130 resultobj
= PyInt_FromLong((long)result
);
14137 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14138 PyObject
*resultobj
;
14139 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14141 PyObject
* obj0
= 0 ;
14142 PyObject
* obj1
= 0 ;
14143 char *kwnames
[] = {
14144 (char *) "self",(char *) "m_scanCode", NULL
14147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14149 arg2
= PyInt_AsLong(obj1
) ? true : false;
14150 if (PyErr_Occurred()) SWIG_fail
;
14151 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14153 Py_INCREF(Py_None
); resultobj
= Py_None
;
14160 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14161 PyObject
*resultobj
;
14162 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14164 PyObject
* obj0
= 0 ;
14165 char *kwnames
[] = {
14166 (char *) "self", NULL
14169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14171 result
= (bool) ((arg1
)->m_scanCode
);
14173 resultobj
= PyInt_FromLong((long)result
);
14180 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14181 PyObject
*resultobj
;
14182 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14183 unsigned int arg2
;
14184 PyObject
* obj0
= 0 ;
14185 PyObject
* obj1
= 0 ;
14186 char *kwnames
[] = {
14187 (char *) "self",(char *) "m_rawCode", NULL
14190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14192 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14193 if (PyErr_Occurred()) SWIG_fail
;
14194 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14196 Py_INCREF(Py_None
); resultobj
= Py_None
;
14203 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14204 PyObject
*resultobj
;
14205 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14206 unsigned int result
;
14207 PyObject
* obj0
= 0 ;
14208 char *kwnames
[] = {
14209 (char *) "self", NULL
14212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14214 result
= (unsigned int) ((arg1
)->m_rawCode
);
14216 resultobj
= PyInt_FromLong((long)result
);
14223 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14224 PyObject
*resultobj
;
14225 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14226 unsigned int arg2
;
14227 PyObject
* obj0
= 0 ;
14228 PyObject
* obj1
= 0 ;
14229 char *kwnames
[] = {
14230 (char *) "self",(char *) "m_rawFlags", NULL
14233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14235 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14236 if (PyErr_Occurred()) SWIG_fail
;
14237 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14239 Py_INCREF(Py_None
); resultobj
= Py_None
;
14246 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14247 PyObject
*resultobj
;
14248 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14249 unsigned int result
;
14250 PyObject
* obj0
= 0 ;
14251 char *kwnames
[] = {
14252 (char *) "self", NULL
14255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14257 result
= (unsigned int) ((arg1
)->m_rawFlags
);
14259 resultobj
= PyInt_FromLong((long)result
);
14266 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14268 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14269 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14271 return Py_BuildValue((char *)"");
14273 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14274 PyObject
*resultobj
;
14275 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14276 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14277 int arg2
= (int) 0 ;
14278 wxSizeEvent
*result
;
14280 PyObject
* obj0
= 0 ;
14281 char *kwnames
[] = {
14282 (char *) "sz",(char *) "winid", NULL
14285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14289 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14294 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14296 wxPyEndAllowThreads(__tstate
);
14297 if (PyErr_Occurred()) SWIG_fail
;
14299 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14306 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14307 PyObject
*resultobj
;
14308 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14310 PyObject
* obj0
= 0 ;
14311 char *kwnames
[] = {
14312 (char *) "self", NULL
14315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14325 wxSize
* resultptr
;
14326 resultptr
= new wxSize((wxSize
&) result
);
14327 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14335 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14336 PyObject
*resultobj
;
14337 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14339 PyObject
* obj0
= 0 ;
14340 char *kwnames
[] = {
14341 (char *) "self", NULL
14344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14345 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14348 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14350 wxPyEndAllowThreads(__tstate
);
14351 if (PyErr_Occurred()) SWIG_fail
;
14354 wxRect
* resultptr
;
14355 resultptr
= new wxRect((wxRect
&) result
);
14356 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14364 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14365 PyObject
*resultobj
;
14366 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14369 PyObject
* obj0
= 0 ;
14370 PyObject
* obj1
= 0 ;
14371 char *kwnames
[] = {
14372 (char *) "self",(char *) "rect", NULL
14375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14377 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14381 (arg1
)->SetRect(arg2
);
14383 wxPyEndAllowThreads(__tstate
);
14384 if (PyErr_Occurred()) SWIG_fail
;
14386 Py_INCREF(Py_None
); resultobj
= Py_None
;
14393 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14394 PyObject
*resultobj
;
14395 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14398 PyObject
* obj0
= 0 ;
14399 PyObject
* obj1
= 0 ;
14400 char *kwnames
[] = {
14401 (char *) "self",(char *) "size", NULL
14404 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14406 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14410 wxSizeEvent_SetSize(arg1
,arg2
);
14412 wxPyEndAllowThreads(__tstate
);
14413 if (PyErr_Occurred()) SWIG_fail
;
14415 Py_INCREF(Py_None
); resultobj
= Py_None
;
14422 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14423 PyObject
*resultobj
;
14424 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14425 wxSize
*arg2
= (wxSize
*) 0 ;
14426 PyObject
* obj0
= 0 ;
14427 PyObject
* obj1
= 0 ;
14428 char *kwnames
[] = {
14429 (char *) "self",(char *) "m_size", NULL
14432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14434 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14435 if (arg1
) (arg1
)->m_size
= *arg2
;
14437 Py_INCREF(Py_None
); resultobj
= Py_None
;
14444 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14445 PyObject
*resultobj
;
14446 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14448 PyObject
* obj0
= 0 ;
14449 char *kwnames
[] = {
14450 (char *) "self", NULL
14453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14455 result
= (wxSize
*)& ((arg1
)->m_size
);
14457 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14464 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14465 PyObject
*resultobj
;
14466 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14467 wxRect
*arg2
= (wxRect
*) 0 ;
14468 PyObject
* obj0
= 0 ;
14469 PyObject
* obj1
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self",(char *) "m_rect", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14476 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14477 if (arg1
) (arg1
)->m_rect
= *arg2
;
14479 Py_INCREF(Py_None
); resultobj
= Py_None
;
14486 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14487 PyObject
*resultobj
;
14488 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14490 PyObject
* obj0
= 0 ;
14491 char *kwnames
[] = {
14492 (char *) "self", NULL
14495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14497 result
= (wxRect
*)& ((arg1
)->m_rect
);
14499 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14506 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14508 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14509 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14511 return Py_BuildValue((char *)"");
14513 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14514 PyObject
*resultobj
;
14515 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14516 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14517 int arg2
= (int) 0 ;
14518 wxMoveEvent
*result
;
14520 PyObject
* obj0
= 0 ;
14521 char *kwnames
[] = {
14522 (char *) "pos",(char *) "winid", NULL
14525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14529 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14534 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14536 wxPyEndAllowThreads(__tstate
);
14537 if (PyErr_Occurred()) SWIG_fail
;
14539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14546 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14547 PyObject
*resultobj
;
14548 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14550 PyObject
* obj0
= 0 ;
14551 char *kwnames
[] = {
14552 (char *) "self", NULL
14555 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14556 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14559 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14561 wxPyEndAllowThreads(__tstate
);
14562 if (PyErr_Occurred()) SWIG_fail
;
14565 wxPoint
* resultptr
;
14566 resultptr
= new wxPoint((wxPoint
&) result
);
14567 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14575 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14576 PyObject
*resultobj
;
14577 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14579 PyObject
* obj0
= 0 ;
14580 char *kwnames
[] = {
14581 (char *) "self", NULL
14584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14588 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14590 wxPyEndAllowThreads(__tstate
);
14591 if (PyErr_Occurred()) SWIG_fail
;
14594 wxRect
* resultptr
;
14595 resultptr
= new wxRect((wxRect
&) result
);
14596 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14604 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14605 PyObject
*resultobj
;
14606 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14609 PyObject
* obj0
= 0 ;
14610 PyObject
* obj1
= 0 ;
14611 char *kwnames
[] = {
14612 (char *) "self",(char *) "rect", NULL
14615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14617 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14621 (arg1
)->SetRect(arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14626 Py_INCREF(Py_None
); resultobj
= Py_None
;
14633 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14634 PyObject
*resultobj
;
14635 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14638 PyObject
* obj0
= 0 ;
14639 PyObject
* obj1
= 0 ;
14640 char *kwnames
[] = {
14641 (char *) "self",(char *) "pos", NULL
14644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14646 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14650 wxMoveEvent_SetPosition(arg1
,arg2
);
14652 wxPyEndAllowThreads(__tstate
);
14653 if (PyErr_Occurred()) SWIG_fail
;
14655 Py_INCREF(Py_None
); resultobj
= Py_None
;
14662 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14663 PyObject
*resultobj
;
14664 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14665 wxPoint
*arg2
= (wxPoint
*) 0 ;
14666 PyObject
* obj0
= 0 ;
14667 PyObject
* obj1
= 0 ;
14668 char *kwnames
[] = {
14669 (char *) "self",(char *) "m_pos", NULL
14672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14674 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14675 if (arg1
) (arg1
)->m_pos
= *arg2
;
14677 Py_INCREF(Py_None
); resultobj
= Py_None
;
14684 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14685 PyObject
*resultobj
;
14686 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14688 PyObject
* obj0
= 0 ;
14689 char *kwnames
[] = {
14690 (char *) "self", NULL
14693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14695 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14704 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14705 PyObject
*resultobj
;
14706 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14707 wxRect
*arg2
= (wxRect
*) 0 ;
14708 PyObject
* obj0
= 0 ;
14709 PyObject
* obj1
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self",(char *) "m_rect", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14717 if (arg1
) (arg1
)->m_rect
= *arg2
;
14719 Py_INCREF(Py_None
); resultobj
= Py_None
;
14726 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14727 PyObject
*resultobj
;
14728 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14730 PyObject
* obj0
= 0 ;
14731 char *kwnames
[] = {
14732 (char *) "self", NULL
14735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14737 result
= (wxRect
*)& ((arg1
)->m_rect
);
14739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14746 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14748 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14749 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14751 return Py_BuildValue((char *)"");
14753 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14754 PyObject
*resultobj
;
14755 int arg1
= (int) 0 ;
14756 wxPaintEvent
*result
;
14757 char *kwnames
[] = {
14758 (char *) "Id", NULL
14761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14764 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14766 wxPyEndAllowThreads(__tstate
);
14767 if (PyErr_Occurred()) SWIG_fail
;
14769 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14776 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14778 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14779 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14781 return Py_BuildValue((char *)"");
14783 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14784 PyObject
*resultobj
;
14785 int arg1
= (int) 0 ;
14786 wxNcPaintEvent
*result
;
14787 char *kwnames
[] = {
14788 (char *) "winid", NULL
14791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14794 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14796 wxPyEndAllowThreads(__tstate
);
14797 if (PyErr_Occurred()) SWIG_fail
;
14799 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14806 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14808 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14809 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14811 return Py_BuildValue((char *)"");
14813 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14814 PyObject
*resultobj
;
14815 int arg1
= (int) 0 ;
14816 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14817 wxEraseEvent
*result
;
14818 PyObject
* obj1
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "Id",(char *) "dc", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14825 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14829 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14831 wxPyEndAllowThreads(__tstate
);
14832 if (PyErr_Occurred()) SWIG_fail
;
14834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14841 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14842 PyObject
*resultobj
;
14843 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14845 PyObject
* obj0
= 0 ;
14846 char *kwnames
[] = {
14847 (char *) "self", NULL
14850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14854 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14856 wxPyEndAllowThreads(__tstate
);
14857 if (PyErr_Occurred()) SWIG_fail
;
14860 resultobj
= wxPyMake_wxObject(result
);
14868 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14870 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14871 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
14873 return Py_BuildValue((char *)"");
14875 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14876 PyObject
*resultobj
;
14877 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14878 int arg2
= (int) 0 ;
14879 wxFocusEvent
*result
;
14880 char *kwnames
[] = {
14881 (char *) "type",(char *) "winid", NULL
14884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
14886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14887 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
14889 wxPyEndAllowThreads(__tstate
);
14890 if (PyErr_Occurred()) SWIG_fail
;
14892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
14899 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14900 PyObject
*resultobj
;
14901 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14903 PyObject
* obj0
= 0 ;
14904 char *kwnames
[] = {
14905 (char *) "self", NULL
14908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14912 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
14914 wxPyEndAllowThreads(__tstate
);
14915 if (PyErr_Occurred()) SWIG_fail
;
14918 resultobj
= wxPyMake_wxObject(result
);
14926 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14927 PyObject
*resultobj
;
14928 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14929 wxWindow
*arg2
= (wxWindow
*) 0 ;
14930 PyObject
* obj0
= 0 ;
14931 PyObject
* obj1
= 0 ;
14932 char *kwnames
[] = {
14933 (char *) "self",(char *) "win", NULL
14936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14938 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14941 (arg1
)->SetWindow(arg2
);
14943 wxPyEndAllowThreads(__tstate
);
14944 if (PyErr_Occurred()) SWIG_fail
;
14946 Py_INCREF(Py_None
); resultobj
= Py_None
;
14953 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14955 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14956 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
14958 return Py_BuildValue((char *)"");
14960 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14961 PyObject
*resultobj
;
14962 wxWindow
*arg1
= (wxWindow
*) NULL
;
14963 wxChildFocusEvent
*result
;
14964 PyObject
* obj0
= 0 ;
14965 char *kwnames
[] = {
14966 (char *) "win", NULL
14969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
14971 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14975 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
14977 wxPyEndAllowThreads(__tstate
);
14978 if (PyErr_Occurred()) SWIG_fail
;
14980 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
14987 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14988 PyObject
*resultobj
;
14989 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
14991 PyObject
* obj0
= 0 ;
14992 char *kwnames
[] = {
14993 (char *) "self", NULL
14996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15000 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15002 wxPyEndAllowThreads(__tstate
);
15003 if (PyErr_Occurred()) SWIG_fail
;
15006 resultobj
= wxPyMake_wxObject(result
);
15014 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15016 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15017 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15019 return Py_BuildValue((char *)"");
15021 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15022 PyObject
*resultobj
;
15023 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15024 bool arg2
= (bool) True
;
15025 int arg3
= (int) 0 ;
15026 wxActivateEvent
*result
;
15027 PyObject
* obj1
= 0 ;
15028 char *kwnames
[] = {
15029 (char *) "type",(char *) "active",(char *) "Id", NULL
15032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15034 arg2
= PyInt_AsLong(obj1
) ? true : false;
15035 if (PyErr_Occurred()) SWIG_fail
;
15038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15039 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15041 wxPyEndAllowThreads(__tstate
);
15042 if (PyErr_Occurred()) SWIG_fail
;
15044 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15051 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15052 PyObject
*resultobj
;
15053 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15055 PyObject
* obj0
= 0 ;
15056 char *kwnames
[] = {
15057 (char *) "self", NULL
15060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15064 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15066 wxPyEndAllowThreads(__tstate
);
15067 if (PyErr_Occurred()) SWIG_fail
;
15069 resultobj
= PyInt_FromLong((long)result
);
15076 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15078 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15079 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15081 return Py_BuildValue((char *)"");
15083 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15084 PyObject
*resultobj
;
15085 int arg1
= (int) 0 ;
15086 wxInitDialogEvent
*result
;
15087 char *kwnames
[] = {
15088 (char *) "Id", NULL
15091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15094 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15096 wxPyEndAllowThreads(__tstate
);
15097 if (PyErr_Occurred()) SWIG_fail
;
15099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15106 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15108 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15109 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15111 return Py_BuildValue((char *)"");
15113 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15114 PyObject
*resultobj
;
15115 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15116 int arg2
= (int) 0 ;
15117 wxMenu
*arg3
= (wxMenu
*) NULL
;
15118 wxMenuEvent
*result
;
15119 PyObject
* obj2
= 0 ;
15120 char *kwnames
[] = {
15121 (char *) "type",(char *) "winid",(char *) "menu", NULL
15124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15126 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15135 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15142 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15143 PyObject
*resultobj
;
15144 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15146 PyObject
* obj0
= 0 ;
15147 char *kwnames
[] = {
15148 (char *) "self", NULL
15151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15155 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15157 wxPyEndAllowThreads(__tstate
);
15158 if (PyErr_Occurred()) SWIG_fail
;
15160 resultobj
= PyInt_FromLong((long)result
);
15167 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15168 PyObject
*resultobj
;
15169 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15171 PyObject
* obj0
= 0 ;
15172 char *kwnames
[] = {
15173 (char *) "self", NULL
15176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15180 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= PyInt_FromLong((long)result
);
15192 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
;
15194 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15196 PyObject
* obj0
= 0 ;
15197 char *kwnames
[] = {
15198 (char *) "self", NULL
15201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15205 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15207 wxPyEndAllowThreads(__tstate
);
15208 if (PyErr_Occurred()) SWIG_fail
;
15211 resultobj
= wxPyMake_wxObject(result
);
15219 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15221 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15222 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15224 return Py_BuildValue((char *)"");
15226 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15227 PyObject
*resultobj
;
15228 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15229 int arg2
= (int) 0 ;
15230 wxCloseEvent
*result
;
15231 char *kwnames
[] = {
15232 (char *) "type",(char *) "winid", NULL
15235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15238 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15240 wxPyEndAllowThreads(__tstate
);
15241 if (PyErr_Occurred()) SWIG_fail
;
15243 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15250 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15251 PyObject
*resultobj
;
15252 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15254 PyObject
* obj0
= 0 ;
15255 PyObject
* obj1
= 0 ;
15256 char *kwnames
[] = {
15257 (char *) "self",(char *) "logOff", NULL
15260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15262 arg2
= PyInt_AsLong(obj1
) ? true : false;
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15266 (arg1
)->SetLoggingOff(arg2
);
15268 wxPyEndAllowThreads(__tstate
);
15269 if (PyErr_Occurred()) SWIG_fail
;
15271 Py_INCREF(Py_None
); resultobj
= Py_None
;
15278 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15279 PyObject
*resultobj
;
15280 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15282 PyObject
* obj0
= 0 ;
15283 char *kwnames
[] = {
15284 (char *) "self", NULL
15287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15291 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15293 wxPyEndAllowThreads(__tstate
);
15294 if (PyErr_Occurred()) SWIG_fail
;
15296 resultobj
= PyInt_FromLong((long)result
);
15303 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15304 PyObject
*resultobj
;
15305 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15306 bool arg2
= (bool) True
;
15307 PyObject
* obj0
= 0 ;
15308 PyObject
* obj1
= 0 ;
15309 char *kwnames
[] = {
15310 (char *) "self",(char *) "veto", NULL
15313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15316 arg2
= PyInt_AsLong(obj1
) ? true : false;
15317 if (PyErr_Occurred()) SWIG_fail
;
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 (arg1
)->Veto(arg2
);
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 Py_INCREF(Py_None
); resultobj
= Py_None
;
15333 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
;
15335 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15337 PyObject
* obj0
= 0 ;
15338 PyObject
* obj1
= 0 ;
15339 char *kwnames
[] = {
15340 (char *) "self",(char *) "canVeto", NULL
15343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15345 arg2
= PyInt_AsLong(obj1
) ? true : false;
15346 if (PyErr_Occurred()) SWIG_fail
;
15348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15349 (arg1
)->SetCanVeto(arg2
);
15351 wxPyEndAllowThreads(__tstate
);
15352 if (PyErr_Occurred()) SWIG_fail
;
15354 Py_INCREF(Py_None
); resultobj
= Py_None
;
15361 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15362 PyObject
*resultobj
;
15363 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15365 PyObject
* obj0
= 0 ;
15366 char *kwnames
[] = {
15367 (char *) "self", NULL
15370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15374 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15376 wxPyEndAllowThreads(__tstate
);
15377 if (PyErr_Occurred()) SWIG_fail
;
15379 resultobj
= PyInt_FromLong((long)result
);
15386 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15387 PyObject
*resultobj
;
15388 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15390 PyObject
* obj0
= 0 ;
15391 char *kwnames
[] = {
15392 (char *) "self", NULL
15395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15399 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15401 wxPyEndAllowThreads(__tstate
);
15402 if (PyErr_Occurred()) SWIG_fail
;
15404 resultobj
= PyInt_FromLong((long)result
);
15411 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15413 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15414 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15416 return Py_BuildValue((char *)"");
15418 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15419 PyObject
*resultobj
;
15420 int arg1
= (int) 0 ;
15421 bool arg2
= (bool) False
;
15422 wxShowEvent
*result
;
15423 PyObject
* obj1
= 0 ;
15424 char *kwnames
[] = {
15425 (char *) "winid",(char *) "show", NULL
15428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15430 arg2
= PyInt_AsLong(obj1
) ? true : false;
15431 if (PyErr_Occurred()) SWIG_fail
;
15434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15435 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15437 wxPyEndAllowThreads(__tstate
);
15438 if (PyErr_Occurred()) SWIG_fail
;
15440 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15447 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15448 PyObject
*resultobj
;
15449 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15451 PyObject
* obj0
= 0 ;
15452 PyObject
* obj1
= 0 ;
15453 char *kwnames
[] = {
15454 (char *) "self",(char *) "show", NULL
15457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15459 arg2
= PyInt_AsLong(obj1
) ? true : false;
15460 if (PyErr_Occurred()) SWIG_fail
;
15462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15463 (arg1
)->SetShow(arg2
);
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 Py_INCREF(Py_None
); resultobj
= Py_None
;
15475 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
;
15477 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15479 PyObject
* obj0
= 0 ;
15480 char *kwnames
[] = {
15481 (char *) "self", NULL
15484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15488 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15490 wxPyEndAllowThreads(__tstate
);
15491 if (PyErr_Occurred()) SWIG_fail
;
15493 resultobj
= PyInt_FromLong((long)result
);
15500 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15502 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15503 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15505 return Py_BuildValue((char *)"");
15507 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15508 PyObject
*resultobj
;
15509 int arg1
= (int) 0 ;
15510 bool arg2
= (bool) True
;
15511 wxIconizeEvent
*result
;
15512 PyObject
* obj1
= 0 ;
15513 char *kwnames
[] = {
15514 (char *) "id",(char *) "iconized", NULL
15517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15519 arg2
= PyInt_AsLong(obj1
) ? true : false;
15520 if (PyErr_Occurred()) SWIG_fail
;
15523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15524 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15526 wxPyEndAllowThreads(__tstate
);
15527 if (PyErr_Occurred()) SWIG_fail
;
15529 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15536 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15537 PyObject
*resultobj
;
15538 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15540 PyObject
* obj0
= 0 ;
15541 char *kwnames
[] = {
15542 (char *) "self", NULL
15545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15549 result
= (bool)(arg1
)->Iconized();
15551 wxPyEndAllowThreads(__tstate
);
15552 if (PyErr_Occurred()) SWIG_fail
;
15554 resultobj
= PyInt_FromLong((long)result
);
15561 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15563 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15564 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15566 return Py_BuildValue((char *)"");
15568 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15569 PyObject
*resultobj
;
15570 int arg1
= (int) 0 ;
15571 wxMaximizeEvent
*result
;
15572 char *kwnames
[] = {
15573 (char *) "id", NULL
15576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15579 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15581 wxPyEndAllowThreads(__tstate
);
15582 if (PyErr_Occurred()) SWIG_fail
;
15584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15591 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15593 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15594 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15596 return Py_BuildValue((char *)"");
15598 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15599 PyObject
*resultobj
;
15600 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15602 PyObject
* obj0
= 0 ;
15603 char *kwnames
[] = {
15604 (char *) "self", NULL
15607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15611 result
= (arg1
)->GetPosition();
15613 wxPyEndAllowThreads(__tstate
);
15614 if (PyErr_Occurred()) SWIG_fail
;
15617 wxPoint
* resultptr
;
15618 resultptr
= new wxPoint((wxPoint
&) result
);
15619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15627 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15628 PyObject
*resultobj
;
15629 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15631 PyObject
* obj0
= 0 ;
15632 char *kwnames
[] = {
15633 (char *) "self", NULL
15636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15640 result
= (int)(arg1
)->GetNumberOfFiles();
15642 wxPyEndAllowThreads(__tstate
);
15643 if (PyErr_Occurred()) SWIG_fail
;
15645 resultobj
= PyInt_FromLong((long)result
);
15652 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15653 PyObject
*resultobj
;
15654 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 char *kwnames
[] = {
15658 (char *) "self", NULL
15661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15667 wxPyEndAllowThreads(__tstate
);
15668 if (PyErr_Occurred()) SWIG_fail
;
15670 resultobj
= result
;
15677 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15679 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15680 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15682 return Py_BuildValue((char *)"");
15684 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15685 PyObject
*resultobj
;
15686 int arg1
= (int) 0 ;
15687 wxUpdateUIEvent
*result
;
15688 char *kwnames
[] = {
15689 (char *) "commandId", NULL
15692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15695 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15697 wxPyEndAllowThreads(__tstate
);
15698 if (PyErr_Occurred()) SWIG_fail
;
15700 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15707 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15708 PyObject
*resultobj
;
15709 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15711 PyObject
* obj0
= 0 ;
15712 char *kwnames
[] = {
15713 (char *) "self", NULL
15716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15722 wxPyEndAllowThreads(__tstate
);
15723 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= PyInt_FromLong((long)result
);
15732 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15733 PyObject
*resultobj
;
15734 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15736 PyObject
* obj0
= 0 ;
15737 char *kwnames
[] = {
15738 (char *) "self", NULL
15741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15745 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15747 wxPyEndAllowThreads(__tstate
);
15748 if (PyErr_Occurred()) SWIG_fail
;
15750 resultobj
= PyInt_FromLong((long)result
);
15757 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15777 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15779 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15788 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15789 PyObject
*resultobj
;
15790 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15792 PyObject
* obj0
= 0 ;
15793 char *kwnames
[] = {
15794 (char *) "self", NULL
15797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15801 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15803 wxPyEndAllowThreads(__tstate
);
15804 if (PyErr_Occurred()) SWIG_fail
;
15806 resultobj
= PyInt_FromLong((long)result
);
15813 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15814 PyObject
*resultobj
;
15815 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15817 PyObject
* obj0
= 0 ;
15818 char *kwnames
[] = {
15819 (char *) "self", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15826 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15828 wxPyEndAllowThreads(__tstate
);
15829 if (PyErr_Occurred()) SWIG_fail
;
15831 resultobj
= PyInt_FromLong((long)result
);
15838 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15839 PyObject
*resultobj
;
15840 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15842 PyObject
* obj0
= 0 ;
15843 char *kwnames
[] = {
15844 (char *) "self", NULL
15847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
15848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15851 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
15853 wxPyEndAllowThreads(__tstate
);
15854 if (PyErr_Occurred()) SWIG_fail
;
15856 resultobj
= PyInt_FromLong((long)result
);
15863 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15864 PyObject
*resultobj
;
15865 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15867 PyObject
* obj0
= 0 ;
15868 PyObject
* obj1
= 0 ;
15869 char *kwnames
[] = {
15870 (char *) "self",(char *) "check", NULL
15873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
15874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15875 arg2
= PyInt_AsLong(obj1
) ? true : false;
15876 if (PyErr_Occurred()) SWIG_fail
;
15878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15879 (arg1
)->Check(arg2
);
15881 wxPyEndAllowThreads(__tstate
);
15882 if (PyErr_Occurred()) SWIG_fail
;
15884 Py_INCREF(Py_None
); resultobj
= Py_None
;
15891 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15892 PyObject
*resultobj
;
15893 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15895 PyObject
* obj0
= 0 ;
15896 PyObject
* obj1
= 0 ;
15897 char *kwnames
[] = {
15898 (char *) "self",(char *) "enable", NULL
15901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15903 arg2
= PyInt_AsLong(obj1
) ? true : false;
15904 if (PyErr_Occurred()) SWIG_fail
;
15906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15907 (arg1
)->Enable(arg2
);
15909 wxPyEndAllowThreads(__tstate
);
15910 if (PyErr_Occurred()) SWIG_fail
;
15912 Py_INCREF(Py_None
); resultobj
= Py_None
;
15919 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15920 PyObject
*resultobj
;
15921 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15922 wxString
*arg2
= 0 ;
15923 bool temp2
= False
;
15924 PyObject
* obj0
= 0 ;
15925 PyObject
* obj1
= 0 ;
15926 char *kwnames
[] = {
15927 (char *) "self",(char *) "text", NULL
15930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15933 arg2
= wxString_in_helper(obj1
);
15934 if (arg2
== NULL
) SWIG_fail
;
15938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15939 (arg1
)->SetText((wxString
const &)*arg2
);
15941 wxPyEndAllowThreads(__tstate
);
15942 if (PyErr_Occurred()) SWIG_fail
;
15944 Py_INCREF(Py_None
); resultobj
= Py_None
;
15959 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15960 PyObject
*resultobj
;
15962 char *kwnames
[] = {
15963 (char *) "updateInterval", NULL
15966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
15968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15969 wxUpdateUIEvent::SetUpdateInterval(arg1
);
15971 wxPyEndAllowThreads(__tstate
);
15972 if (PyErr_Occurred()) SWIG_fail
;
15974 Py_INCREF(Py_None
); resultobj
= Py_None
;
15981 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15982 PyObject
*resultobj
;
15984 char *kwnames
[] = {
15988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
15990 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15991 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
15993 wxPyEndAllowThreads(__tstate
);
15994 if (PyErr_Occurred()) SWIG_fail
;
15996 resultobj
= PyInt_FromLong((long)result
);
16003 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16004 PyObject
*resultobj
;
16005 wxWindow
*arg1
= (wxWindow
*) 0 ;
16007 PyObject
* obj0
= 0 ;
16008 char *kwnames
[] = {
16009 (char *) "win", NULL
16012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16016 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16018 wxPyEndAllowThreads(__tstate
);
16019 if (PyErr_Occurred()) SWIG_fail
;
16021 resultobj
= PyInt_FromLong((long)result
);
16028 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16029 PyObject
*resultobj
;
16030 char *kwnames
[] = {
16034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 wxUpdateUIEvent::ResetUpdateTime();
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 Py_INCREF(Py_None
); resultobj
= Py_None
;
16049 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16052 char *kwnames
[] = {
16053 (char *) "mode", NULL
16056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16059 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16061 wxPyEndAllowThreads(__tstate
);
16062 if (PyErr_Occurred()) SWIG_fail
;
16064 Py_INCREF(Py_None
); resultobj
= Py_None
;
16071 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16072 PyObject
*resultobj
;
16074 char *kwnames
[] = {
16078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16081 result
= (int)wxUpdateUIEvent::GetMode();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= PyInt_FromLong((long)result
);
16093 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16096 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16098 return Py_BuildValue((char *)"");
16100 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16101 PyObject
*resultobj
;
16102 wxSysColourChangedEvent
*result
;
16103 char *kwnames
[] = {
16107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16110 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16112 wxPyEndAllowThreads(__tstate
);
16113 if (PyErr_Occurred()) SWIG_fail
;
16115 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16122 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16125 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16127 return Py_BuildValue((char *)"");
16129 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16130 PyObject
*resultobj
;
16131 int arg1
= (int) 0 ;
16132 wxWindow
*arg2
= (wxWindow
*) NULL
;
16133 wxMouseCaptureChangedEvent
*result
;
16134 PyObject
* obj1
= 0 ;
16135 char *kwnames
[] = {
16136 (char *) "winid",(char *) "gainedCapture", NULL
16139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16145 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16147 wxPyEndAllowThreads(__tstate
);
16148 if (PyErr_Occurred()) SWIG_fail
;
16150 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16157 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16158 PyObject
*resultobj
;
16159 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16161 PyObject
* obj0
= 0 ;
16162 char *kwnames
[] = {
16163 (char *) "self", NULL
16166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16170 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16176 resultobj
= wxPyMake_wxObject(result
);
16184 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16187 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16189 return Py_BuildValue((char *)"");
16191 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16192 PyObject
*resultobj
;
16193 wxDisplayChangedEvent
*result
;
16194 char *kwnames
[] = {
16198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16201 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16203 wxPyEndAllowThreads(__tstate
);
16204 if (PyErr_Occurred()) SWIG_fail
;
16206 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16213 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16216 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16218 return Py_BuildValue((char *)"");
16220 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16221 PyObject
*resultobj
;
16222 int arg1
= (int) 0 ;
16223 wxPaletteChangedEvent
*result
;
16224 char *kwnames
[] = {
16225 (char *) "id", NULL
16228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16231 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16233 wxPyEndAllowThreads(__tstate
);
16234 if (PyErr_Occurred()) SWIG_fail
;
16236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16243 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16244 PyObject
*resultobj
;
16245 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16246 wxWindow
*arg2
= (wxWindow
*) 0 ;
16247 PyObject
* obj0
= 0 ;
16248 PyObject
* obj1
= 0 ;
16249 char *kwnames
[] = {
16250 (char *) "self",(char *) "win", NULL
16253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16255 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16258 (arg1
)->SetChangedWindow(arg2
);
16260 wxPyEndAllowThreads(__tstate
);
16261 if (PyErr_Occurred()) SWIG_fail
;
16263 Py_INCREF(Py_None
); resultobj
= Py_None
;
16270 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16271 PyObject
*resultobj
;
16272 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16274 PyObject
* obj0
= 0 ;
16275 char *kwnames
[] = {
16276 (char *) "self", NULL
16279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16283 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16289 resultobj
= wxPyMake_wxObject(result
);
16297 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16299 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16300 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16302 return Py_BuildValue((char *)"");
16304 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16305 PyObject
*resultobj
;
16306 int arg1
= (int) 0 ;
16307 wxQueryNewPaletteEvent
*result
;
16308 char *kwnames
[] = {
16309 (char *) "winid", NULL
16312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16315 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16317 wxPyEndAllowThreads(__tstate
);
16318 if (PyErr_Occurred()) SWIG_fail
;
16320 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16327 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16328 PyObject
*resultobj
;
16329 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16331 PyObject
* obj0
= 0 ;
16332 PyObject
* obj1
= 0 ;
16333 char *kwnames
[] = {
16334 (char *) "self",(char *) "realized", NULL
16337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16339 arg2
= PyInt_AsLong(obj1
) ? true : false;
16340 if (PyErr_Occurred()) SWIG_fail
;
16342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16343 (arg1
)->SetPaletteRealized(arg2
);
16345 wxPyEndAllowThreads(__tstate
);
16346 if (PyErr_Occurred()) SWIG_fail
;
16348 Py_INCREF(Py_None
); resultobj
= Py_None
;
16355 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16356 PyObject
*resultobj
;
16357 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16359 PyObject
* obj0
= 0 ;
16360 char *kwnames
[] = {
16361 (char *) "self", NULL
16364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16368 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16370 wxPyEndAllowThreads(__tstate
);
16371 if (PyErr_Occurred()) SWIG_fail
;
16373 resultobj
= PyInt_FromLong((long)result
);
16380 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16383 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16385 return Py_BuildValue((char *)"");
16387 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16388 PyObject
*resultobj
;
16389 wxNavigationKeyEvent
*result
;
16390 char *kwnames
[] = {
16394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16397 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16399 wxPyEndAllowThreads(__tstate
);
16400 if (PyErr_Occurred()) SWIG_fail
;
16402 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16409 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16410 PyObject
*resultobj
;
16411 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16413 PyObject
* obj0
= 0 ;
16414 char *kwnames
[] = {
16415 (char *) "self", NULL
16418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16422 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16424 wxPyEndAllowThreads(__tstate
);
16425 if (PyErr_Occurred()) SWIG_fail
;
16427 resultobj
= PyInt_FromLong((long)result
);
16434 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16438 PyObject
* obj0
= 0 ;
16439 PyObject
* obj1
= 0 ;
16440 char *kwnames
[] = {
16441 (char *) "self",(char *) "bForward", NULL
16444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16446 arg2
= PyInt_AsLong(obj1
) ? true : false;
16447 if (PyErr_Occurred()) SWIG_fail
;
16449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16450 (arg1
)->SetDirection(arg2
);
16452 wxPyEndAllowThreads(__tstate
);
16453 if (PyErr_Occurred()) SWIG_fail
;
16455 Py_INCREF(Py_None
); resultobj
= Py_None
;
16462 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16463 PyObject
*resultobj
;
16464 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16466 PyObject
* obj0
= 0 ;
16467 char *kwnames
[] = {
16468 (char *) "self", NULL
16471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16475 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16477 wxPyEndAllowThreads(__tstate
);
16478 if (PyErr_Occurred()) SWIG_fail
;
16480 resultobj
= PyInt_FromLong((long)result
);
16487 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16488 PyObject
*resultobj
;
16489 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16491 PyObject
* obj0
= 0 ;
16492 PyObject
* obj1
= 0 ;
16493 char *kwnames
[] = {
16494 (char *) "self",(char *) "bIs", NULL
16497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16499 arg2
= PyInt_AsLong(obj1
) ? true : false;
16500 if (PyErr_Occurred()) SWIG_fail
;
16502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16503 (arg1
)->SetWindowChange(arg2
);
16505 wxPyEndAllowThreads(__tstate
);
16506 if (PyErr_Occurred()) SWIG_fail
;
16508 Py_INCREF(Py_None
); resultobj
= Py_None
;
16515 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16516 PyObject
*resultobj
;
16517 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16519 PyObject
* obj0
= 0 ;
16520 char *kwnames
[] = {
16521 (char *) "self", NULL
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16528 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16530 wxPyEndAllowThreads(__tstate
);
16531 if (PyErr_Occurred()) SWIG_fail
;
16534 resultobj
= wxPyMake_wxObject(result
);
16542 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16543 PyObject
*resultobj
;
16544 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16545 wxWindow
*arg2
= (wxWindow
*) 0 ;
16546 PyObject
* obj0
= 0 ;
16547 PyObject
* obj1
= 0 ;
16548 char *kwnames
[] = {
16549 (char *) "self",(char *) "win", NULL
16552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16557 (arg1
)->SetCurrentFocus(arg2
);
16559 wxPyEndAllowThreads(__tstate
);
16560 if (PyErr_Occurred()) SWIG_fail
;
16562 Py_INCREF(Py_None
); resultobj
= Py_None
;
16569 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16572 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16574 return Py_BuildValue((char *)"");
16576 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16577 PyObject
*resultobj
;
16578 wxWindow
*arg1
= (wxWindow
*) NULL
;
16579 wxWindowCreateEvent
*result
;
16580 PyObject
* obj0
= 0 ;
16581 char *kwnames
[] = {
16582 (char *) "win", NULL
16585 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16591 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16593 wxPyEndAllowThreads(__tstate
);
16594 if (PyErr_Occurred()) SWIG_fail
;
16596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16603 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16604 PyObject
*resultobj
;
16605 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16607 PyObject
* obj0
= 0 ;
16608 char *kwnames
[] = {
16609 (char *) "self", NULL
16612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16616 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16618 wxPyEndAllowThreads(__tstate
);
16619 if (PyErr_Occurred()) SWIG_fail
;
16622 resultobj
= wxPyMake_wxObject(result
);
16630 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16633 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16635 return Py_BuildValue((char *)"");
16637 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16638 PyObject
*resultobj
;
16639 wxWindow
*arg1
= (wxWindow
*) NULL
;
16640 wxWindowDestroyEvent
*result
;
16641 PyObject
* obj0
= 0 ;
16642 char *kwnames
[] = {
16643 (char *) "win", NULL
16646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16652 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16654 wxPyEndAllowThreads(__tstate
);
16655 if (PyErr_Occurred()) SWIG_fail
;
16657 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16664 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16665 PyObject
*resultobj
;
16666 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16668 PyObject
* obj0
= 0 ;
16669 char *kwnames
[] = {
16670 (char *) "self", NULL
16673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16677 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16679 wxPyEndAllowThreads(__tstate
);
16680 if (PyErr_Occurred()) SWIG_fail
;
16683 resultobj
= wxPyMake_wxObject(result
);
16691 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16694 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16696 return Py_BuildValue((char *)"");
16698 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16699 PyObject
*resultobj
;
16700 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16701 int arg2
= (int) 0 ;
16702 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16703 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16704 wxContextMenuEvent
*result
;
16706 PyObject
* obj2
= 0 ;
16707 char *kwnames
[] = {
16708 (char *) "type",(char *) "winid",(char *) "pt", NULL
16711 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16715 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16720 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16722 wxPyEndAllowThreads(__tstate
);
16723 if (PyErr_Occurred()) SWIG_fail
;
16725 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16732 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16733 PyObject
*resultobj
;
16734 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16736 PyObject
* obj0
= 0 ;
16737 char *kwnames
[] = {
16738 (char *) "self", NULL
16741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16747 result
= (wxPoint
*) &_result_ref
;
16750 wxPyEndAllowThreads(__tstate
);
16751 if (PyErr_Occurred()) SWIG_fail
;
16753 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16760 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16761 PyObject
*resultobj
;
16762 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16763 wxPoint
*arg2
= 0 ;
16765 PyObject
* obj0
= 0 ;
16766 PyObject
* obj1
= 0 ;
16767 char *kwnames
[] = {
16768 (char *) "self",(char *) "pos", NULL
16771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16775 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16779 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16781 wxPyEndAllowThreads(__tstate
);
16782 if (PyErr_Occurred()) SWIG_fail
;
16784 Py_INCREF(Py_None
); resultobj
= Py_None
;
16791 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16793 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16794 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16796 return Py_BuildValue((char *)"");
16798 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16799 PyObject
*resultobj
;
16800 wxIdleEvent
*result
;
16801 char *kwnames
[] = {
16805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16808 result
= (wxIdleEvent
*)new wxIdleEvent();
16810 wxPyEndAllowThreads(__tstate
);
16811 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16820 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16821 PyObject
*resultobj
;
16822 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16823 bool arg2
= (bool) True
;
16824 PyObject
* obj0
= 0 ;
16825 PyObject
* obj1
= 0 ;
16826 char *kwnames
[] = {
16827 (char *) "self",(char *) "needMore", NULL
16830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16833 arg2
= PyInt_AsLong(obj1
) ? true : false;
16834 if (PyErr_Occurred()) SWIG_fail
;
16837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16838 (arg1
)->RequestMore(arg2
);
16840 wxPyEndAllowThreads(__tstate
);
16841 if (PyErr_Occurred()) SWIG_fail
;
16843 Py_INCREF(Py_None
); resultobj
= Py_None
;
16850 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16851 PyObject
*resultobj
;
16852 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16854 PyObject
* obj0
= 0 ;
16855 char *kwnames
[] = {
16856 (char *) "self", NULL
16859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16863 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16865 wxPyEndAllowThreads(__tstate
);
16866 if (PyErr_Occurred()) SWIG_fail
;
16868 resultobj
= PyInt_FromLong((long)result
);
16875 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16876 PyObject
*resultobj
;
16878 char *kwnames
[] = {
16879 (char *) "mode", NULL
16882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16885 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
16887 wxPyEndAllowThreads(__tstate
);
16888 if (PyErr_Occurred()) SWIG_fail
;
16890 Py_INCREF(Py_None
); resultobj
= Py_None
;
16897 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16898 PyObject
*resultobj
;
16900 char *kwnames
[] = {
16904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
16906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16907 result
= (int)wxIdleEvent::GetMode();
16909 wxPyEndAllowThreads(__tstate
);
16910 if (PyErr_Occurred()) SWIG_fail
;
16912 resultobj
= PyInt_FromLong((long)result
);
16919 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16920 PyObject
*resultobj
;
16921 wxWindow
*arg1
= (wxWindow
*) 0 ;
16923 PyObject
* obj0
= 0 ;
16924 char *kwnames
[] = {
16925 (char *) "win", NULL
16928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
16929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16932 result
= (bool)wxIdleEvent::CanSend(arg1
);
16934 wxPyEndAllowThreads(__tstate
);
16935 if (PyErr_Occurred()) SWIG_fail
;
16937 resultobj
= PyInt_FromLong((long)result
);
16944 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16946 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16947 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
16949 return Py_BuildValue((char *)"");
16951 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16952 PyObject
*resultobj
;
16953 int arg1
= (int) 0 ;
16954 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
16956 char *kwnames
[] = {
16957 (char *) "winid",(char *) "commandType", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16963 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
16965 wxPyEndAllowThreads(__tstate
);
16966 if (PyErr_Occurred()) SWIG_fail
;
16968 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
16975 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16976 PyObject
*resultobj
;
16977 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
16978 PyObject
* obj0
= 0 ;
16979 char *kwnames
[] = {
16980 (char *) "self", NULL
16983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
16984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16989 wxPyEndAllowThreads(__tstate
);
16990 if (PyErr_Occurred()) SWIG_fail
;
16992 Py_INCREF(Py_None
); resultobj
= Py_None
;
16999 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17000 PyObject
*resultobj
;
17001 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17002 PyObject
*arg2
= (PyObject
*) 0 ;
17003 PyObject
* obj0
= 0 ;
17004 PyObject
* obj1
= 0 ;
17005 char *kwnames
[] = {
17006 (char *) "self",(char *) "self", NULL
17009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17014 (arg1
)->SetSelf(arg2
);
17016 wxPyEndAllowThreads(__tstate
);
17017 if (PyErr_Occurred()) SWIG_fail
;
17019 Py_INCREF(Py_None
); resultobj
= Py_None
;
17026 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17027 PyObject
*resultobj
;
17028 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17030 PyObject
* obj0
= 0 ;
17031 char *kwnames
[] = {
17032 (char *) "self", NULL
17035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17039 result
= (PyObject
*)(arg1
)->GetSelf();
17041 wxPyEndAllowThreads(__tstate
);
17042 if (PyErr_Occurred()) SWIG_fail
;
17044 resultobj
= result
;
17051 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17053 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17054 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17056 return Py_BuildValue((char *)"");
17058 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17059 PyObject
*resultobj
;
17060 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17061 int arg2
= (int) 0 ;
17062 wxPyCommandEvent
*result
;
17063 char *kwnames
[] = {
17064 (char *) "commandType",(char *) "id", NULL
17067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17070 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17082 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17083 PyObject
*resultobj
;
17084 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17085 PyObject
* obj0
= 0 ;
17086 char *kwnames
[] = {
17087 (char *) "self", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17096 wxPyEndAllowThreads(__tstate
);
17097 if (PyErr_Occurred()) SWIG_fail
;
17099 Py_INCREF(Py_None
); resultobj
= Py_None
;
17106 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17107 PyObject
*resultobj
;
17108 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17109 PyObject
*arg2
= (PyObject
*) 0 ;
17110 PyObject
* obj0
= 0 ;
17111 PyObject
* obj1
= 0 ;
17112 char *kwnames
[] = {
17113 (char *) "self",(char *) "self", NULL
17116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17121 (arg1
)->SetSelf(arg2
);
17123 wxPyEndAllowThreads(__tstate
);
17124 if (PyErr_Occurred()) SWIG_fail
;
17126 Py_INCREF(Py_None
); resultobj
= Py_None
;
17133 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17134 PyObject
*resultobj
;
17135 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17137 PyObject
* obj0
= 0 ;
17138 char *kwnames
[] = {
17139 (char *) "self", NULL
17142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17146 result
= (PyObject
*)(arg1
)->GetSelf();
17148 wxPyEndAllowThreads(__tstate
);
17149 if (PyErr_Occurred()) SWIG_fail
;
17151 resultobj
= result
;
17158 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17160 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17161 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17163 return Py_BuildValue((char *)"");
17165 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17166 PyObject
*resultobj
;
17168 char *kwnames
[] = {
17172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17175 result
= (wxPyApp
*)new_wxPyApp();
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17181 resultobj
= wxPyMake_wxObject(result
);
17189 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17190 PyObject
*resultobj
;
17191 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17192 PyObject
* obj0
= 0 ;
17193 char *kwnames
[] = {
17194 (char *) "self", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 Py_INCREF(Py_None
); resultobj
= Py_None
;
17213 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17214 PyObject
*resultobj
;
17215 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17216 PyObject
*arg2
= (PyObject
*) 0 ;
17217 PyObject
*arg3
= (PyObject
*) 0 ;
17218 PyObject
* obj0
= 0 ;
17219 PyObject
* obj1
= 0 ;
17220 PyObject
* obj2
= 0 ;
17221 char *kwnames
[] = {
17222 (char *) "self",(char *) "self",(char *) "_class", NULL
17225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17231 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17233 wxPyEndAllowThreads(__tstate
);
17234 if (PyErr_Occurred()) SWIG_fail
;
17236 Py_INCREF(Py_None
); resultobj
= Py_None
;
17243 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17244 PyObject
*resultobj
;
17245 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17247 PyObject
* obj0
= 0 ;
17248 char *kwnames
[] = {
17249 (char *) "self", NULL
17252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17256 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17274 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17275 PyObject
*resultobj
;
17276 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17277 wxString
*arg2
= 0 ;
17278 bool temp2
= False
;
17279 PyObject
* obj0
= 0 ;
17280 PyObject
* obj1
= 0 ;
17281 char *kwnames
[] = {
17282 (char *) "self",(char *) "name", NULL
17285 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17286 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17288 arg2
= wxString_in_helper(obj1
);
17289 if (arg2
== NULL
) SWIG_fail
;
17293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17294 (arg1
)->SetAppName((wxString
const &)*arg2
);
17296 wxPyEndAllowThreads(__tstate
);
17297 if (PyErr_Occurred()) SWIG_fail
;
17299 Py_INCREF(Py_None
); resultobj
= Py_None
;
17314 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17315 PyObject
*resultobj
;
17316 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17318 PyObject
* obj0
= 0 ;
17319 char *kwnames
[] = {
17320 (char *) "self", NULL
17323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17324 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17326 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17327 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17329 wxPyEndAllowThreads(__tstate
);
17330 if (PyErr_Occurred()) SWIG_fail
;
17334 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17336 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17345 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17346 PyObject
*resultobj
;
17347 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17348 wxString
*arg2
= 0 ;
17349 bool temp2
= False
;
17350 PyObject
* obj0
= 0 ;
17351 PyObject
* obj1
= 0 ;
17352 char *kwnames
[] = {
17353 (char *) "self",(char *) "name", NULL
17356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17359 arg2
= wxString_in_helper(obj1
);
17360 if (arg2
== NULL
) SWIG_fail
;
17364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17365 (arg1
)->SetClassName((wxString
const &)*arg2
);
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17370 Py_INCREF(Py_None
); resultobj
= Py_None
;
17385 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17386 PyObject
*resultobj
;
17387 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17389 PyObject
* obj0
= 0 ;
17390 char *kwnames
[] = {
17391 (char *) "self", NULL
17394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17399 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17400 result
= (wxString
*) &_result_ref
;
17403 wxPyEndAllowThreads(__tstate
);
17404 if (PyErr_Occurred()) SWIG_fail
;
17406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
17413 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17414 PyObject
*resultobj
;
17415 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17416 wxString
*arg2
= 0 ;
17417 bool temp2
= False
;
17418 PyObject
* obj0
= 0 ;
17419 PyObject
* obj1
= 0 ;
17420 char *kwnames
[] = {
17421 (char *) "self",(char *) "name", NULL
17424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17427 arg2
= wxString_in_helper(obj1
);
17428 if (arg2
== NULL
) SWIG_fail
;
17432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17433 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17435 wxPyEndAllowThreads(__tstate
);
17436 if (PyErr_Occurred()) SWIG_fail
;
17438 Py_INCREF(Py_None
); resultobj
= Py_None
;
17453 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17454 PyObject
*resultobj
;
17455 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17456 wxAppTraits
*result
;
17457 PyObject
* obj0
= 0 ;
17458 char *kwnames
[] = {
17459 (char *) "self", NULL
17462 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17463 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17466 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17468 wxPyEndAllowThreads(__tstate
);
17469 if (PyErr_Occurred()) SWIG_fail
;
17471 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17478 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17479 PyObject
*resultobj
;
17480 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17481 PyObject
* obj0
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17490 (arg1
)->ProcessPendingEvents();
17492 wxPyEndAllowThreads(__tstate
);
17493 if (PyErr_Occurred()) SWIG_fail
;
17495 Py_INCREF(Py_None
); resultobj
= Py_None
;
17502 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17503 PyObject
*resultobj
;
17504 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17505 bool arg2
= (bool) False
;
17507 PyObject
* obj0
= 0 ;
17508 PyObject
* obj1
= 0 ;
17509 char *kwnames
[] = {
17510 (char *) "self",(char *) "onlyIfNeeded", NULL
17513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17516 arg2
= PyInt_AsLong(obj1
) ? true : false;
17517 if (PyErr_Occurred()) SWIG_fail
;
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= (bool)(arg1
)->Yield(arg2
);
17523 wxPyEndAllowThreads(__tstate
);
17524 if (PyErr_Occurred()) SWIG_fail
;
17526 resultobj
= PyInt_FromLong((long)result
);
17533 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17534 PyObject
*resultobj
;
17535 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17536 PyObject
* obj0
= 0 ;
17537 char *kwnames
[] = {
17538 (char *) "self", NULL
17541 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17542 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17545 (arg1
)->WakeUpIdle();
17547 wxPyEndAllowThreads(__tstate
);
17548 if (PyErr_Occurred()) SWIG_fail
;
17550 Py_INCREF(Py_None
); resultobj
= Py_None
;
17557 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17558 PyObject
*resultobj
;
17559 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17561 PyObject
* obj0
= 0 ;
17562 char *kwnames
[] = {
17563 (char *) "self", NULL
17566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17570 result
= (int)(arg1
)->MainLoop();
17572 wxPyEndAllowThreads(__tstate
);
17573 if (PyErr_Occurred()) SWIG_fail
;
17575 resultobj
= PyInt_FromLong((long)result
);
17582 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17583 PyObject
*resultobj
;
17584 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17585 PyObject
* obj0
= 0 ;
17586 char *kwnames
[] = {
17587 (char *) "self", NULL
17590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17596 wxPyEndAllowThreads(__tstate
);
17597 if (PyErr_Occurred()) SWIG_fail
;
17599 Py_INCREF(Py_None
); resultobj
= Py_None
;
17606 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
;
17608 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17609 PyObject
* obj0
= 0 ;
17610 char *kwnames
[] = {
17611 (char *) "self", NULL
17614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17618 (arg1
)->ExitMainLoop();
17620 wxPyEndAllowThreads(__tstate
);
17621 if (PyErr_Occurred()) SWIG_fail
;
17623 Py_INCREF(Py_None
); resultobj
= Py_None
;
17630 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17631 PyObject
*resultobj
;
17632 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17634 PyObject
* obj0
= 0 ;
17635 char *kwnames
[] = {
17636 (char *) "self", NULL
17639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 result
= (bool)(arg1
)->Pending();
17645 wxPyEndAllowThreads(__tstate
);
17646 if (PyErr_Occurred()) SWIG_fail
;
17648 resultobj
= PyInt_FromLong((long)result
);
17655 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17656 PyObject
*resultobj
;
17657 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17659 PyObject
* obj0
= 0 ;
17660 char *kwnames
[] = {
17661 (char *) "self", NULL
17664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17668 result
= (bool)(arg1
)->Dispatch();
17670 wxPyEndAllowThreads(__tstate
);
17671 if (PyErr_Occurred()) SWIG_fail
;
17673 resultobj
= PyInt_FromLong((long)result
);
17680 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17681 PyObject
*resultobj
;
17682 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17684 PyObject
* obj0
= 0 ;
17685 char *kwnames
[] = {
17686 (char *) "self", NULL
17689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17693 result
= (bool)(arg1
)->ProcessIdle();
17695 wxPyEndAllowThreads(__tstate
);
17696 if (PyErr_Occurred()) SWIG_fail
;
17698 resultobj
= PyInt_FromLong((long)result
);
17705 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17706 PyObject
*resultobj
;
17707 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17708 wxWindow
*arg2
= (wxWindow
*) 0 ;
17709 wxIdleEvent
*arg3
= 0 ;
17711 PyObject
* obj0
= 0 ;
17712 PyObject
* obj1
= 0 ;
17713 PyObject
* obj2
= 0 ;
17714 char *kwnames
[] = {
17715 (char *) "self",(char *) "win",(char *) "event", NULL
17718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17721 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17722 if (arg3
== NULL
) {
17723 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17727 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17729 wxPyEndAllowThreads(__tstate
);
17730 if (PyErr_Occurred()) SWIG_fail
;
17732 resultobj
= PyInt_FromLong((long)result
);
17739 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17740 PyObject
*resultobj
;
17741 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17743 PyObject
* obj0
= 0 ;
17744 char *kwnames
[] = {
17745 (char *) "self", NULL
17748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17752 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17754 wxPyEndAllowThreads(__tstate
);
17755 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= PyInt_FromLong((long)result
);
17764 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17765 PyObject
*resultobj
;
17766 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17767 wxWindow
*arg2
= (wxWindow
*) 0 ;
17768 PyObject
* obj0
= 0 ;
17769 PyObject
* obj1
= 0 ;
17770 char *kwnames
[] = {
17771 (char *) "self",(char *) "win", NULL
17774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 (arg1
)->SetTopWindow(arg2
);
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 Py_INCREF(Py_None
); resultobj
= Py_None
;
17791 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17810 resultobj
= wxPyMake_wxObject(result
);
17818 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17819 PyObject
*resultobj
;
17820 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17822 PyObject
* obj0
= 0 ;
17823 PyObject
* obj1
= 0 ;
17824 char *kwnames
[] = {
17825 (char *) "self",(char *) "flag", NULL
17828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17830 arg2
= PyInt_AsLong(obj1
) ? true : false;
17831 if (PyErr_Occurred()) SWIG_fail
;
17833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17834 (arg1
)->SetExitOnFrameDelete(arg2
);
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17839 Py_INCREF(Py_None
); resultobj
= Py_None
;
17846 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17847 PyObject
*resultobj
;
17848 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17850 PyObject
* obj0
= 0 ;
17851 char *kwnames
[] = {
17852 (char *) "self", NULL
17855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
17856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17859 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
17861 wxPyEndAllowThreads(__tstate
);
17862 if (PyErr_Occurred()) SWIG_fail
;
17864 resultobj
= PyInt_FromLong((long)result
);
17871 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17872 PyObject
*resultobj
;
17873 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17875 PyObject
* obj0
= 0 ;
17876 PyObject
* obj1
= 0 ;
17877 char *kwnames
[] = {
17878 (char *) "self",(char *) "flag", NULL
17881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
17882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17883 arg2
= PyInt_AsLong(obj1
) ? true : false;
17884 if (PyErr_Occurred()) SWIG_fail
;
17886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17887 (arg1
)->SetUseBestVisual(arg2
);
17889 wxPyEndAllowThreads(__tstate
);
17890 if (PyErr_Occurred()) SWIG_fail
;
17892 Py_INCREF(Py_None
); resultobj
= Py_None
;
17899 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17900 PyObject
*resultobj
;
17901 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17903 PyObject
* obj0
= 0 ;
17904 char *kwnames
[] = {
17905 (char *) "self", NULL
17908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
17909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17912 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
17914 wxPyEndAllowThreads(__tstate
);
17915 if (PyErr_Occurred()) SWIG_fail
;
17917 resultobj
= PyInt_FromLong((long)result
);
17924 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17925 PyObject
*resultobj
;
17926 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17928 PyObject
* obj0
= 0 ;
17929 char *kwnames
[] = {
17930 (char *) "self",(char *) "mode", NULL
17933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
17934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17937 (arg1
)->SetPrintMode(arg2
);
17939 wxPyEndAllowThreads(__tstate
);
17940 if (PyErr_Occurred()) SWIG_fail
;
17942 Py_INCREF(Py_None
); resultobj
= Py_None
;
17949 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17950 PyObject
*resultobj
;
17951 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17953 PyObject
* obj0
= 0 ;
17954 char *kwnames
[] = {
17955 (char *) "self", NULL
17958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17962 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
17964 wxPyEndAllowThreads(__tstate
);
17965 if (PyErr_Occurred()) SWIG_fail
;
17967 resultobj
= PyInt_FromLong((long)result
);
17974 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17975 PyObject
*resultobj
;
17976 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17978 PyObject
* obj0
= 0 ;
17979 char *kwnames
[] = {
17980 (char *) "self",(char *) "mode", NULL
17983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
17984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17987 (arg1
)->SetAssertMode(arg2
);
17989 wxPyEndAllowThreads(__tstate
);
17990 if (PyErr_Occurred()) SWIG_fail
;
17992 Py_INCREF(Py_None
); resultobj
= Py_None
;
17999 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18000 PyObject
*resultobj
;
18001 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18003 PyObject
* obj0
= 0 ;
18004 char *kwnames
[] = {
18005 (char *) "self", NULL
18008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18012 result
= (int)(arg1
)->GetAssertMode();
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= PyInt_FromLong((long)result
);
18024 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18025 PyObject
*resultobj
;
18027 char *kwnames
[] = {
18031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18034 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18036 wxPyEndAllowThreads(__tstate
);
18037 if (PyErr_Occurred()) SWIG_fail
;
18039 resultobj
= PyInt_FromLong((long)result
);
18046 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18047 PyObject
*resultobj
;
18049 char *kwnames
[] = {
18053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18056 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18058 wxPyEndAllowThreads(__tstate
);
18059 if (PyErr_Occurred()) SWIG_fail
;
18061 resultobj
= PyInt_FromLong((long)result
);
18068 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18069 PyObject
*resultobj
;
18071 char *kwnames
[] = {
18075 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18078 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18080 wxPyEndAllowThreads(__tstate
);
18081 if (PyErr_Occurred()) SWIG_fail
;
18083 resultobj
= PyInt_FromLong((long)result
);
18090 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18091 PyObject
*resultobj
;
18093 char *kwnames
[] = {
18097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18100 result
= (long)wxPyApp::GetMacExitMenuItemId();
18102 wxPyEndAllowThreads(__tstate
);
18103 if (PyErr_Occurred()) SWIG_fail
;
18105 resultobj
= PyInt_FromLong((long)result
);
18112 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18113 PyObject
*resultobj
;
18115 char *kwnames
[] = {
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18122 result
= wxPyApp::GetMacHelpMenuTitleName();
18124 wxPyEndAllowThreads(__tstate
);
18125 if (PyErr_Occurred()) SWIG_fail
;
18129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18140 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18141 PyObject
*resultobj
;
18143 PyObject
* obj0
= 0 ;
18144 char *kwnames
[] = {
18145 (char *) "val", NULL
18148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18149 arg1
= PyInt_AsLong(obj0
) ? true : false;
18150 if (PyErr_Occurred()) SWIG_fail
;
18152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18153 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18155 wxPyEndAllowThreads(__tstate
);
18156 if (PyErr_Occurred()) SWIG_fail
;
18158 Py_INCREF(Py_None
); resultobj
= Py_None
;
18165 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18166 PyObject
*resultobj
;
18168 char *kwnames
[] = {
18169 (char *) "val", NULL
18172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18175 wxPyApp::SetMacAboutMenuItemId(arg1
);
18177 wxPyEndAllowThreads(__tstate
);
18178 if (PyErr_Occurred()) SWIG_fail
;
18180 Py_INCREF(Py_None
); resultobj
= Py_None
;
18187 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18188 PyObject
*resultobj
;
18190 char *kwnames
[] = {
18191 (char *) "val", NULL
18194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18197 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18199 wxPyEndAllowThreads(__tstate
);
18200 if (PyErr_Occurred()) SWIG_fail
;
18202 Py_INCREF(Py_None
); resultobj
= Py_None
;
18209 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18210 PyObject
*resultobj
;
18212 char *kwnames
[] = {
18213 (char *) "val", NULL
18216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18219 wxPyApp::SetMacExitMenuItemId(arg1
);
18221 wxPyEndAllowThreads(__tstate
);
18222 if (PyErr_Occurred()) SWIG_fail
;
18224 Py_INCREF(Py_None
); resultobj
= Py_None
;
18231 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18232 PyObject
*resultobj
;
18233 wxString
*arg1
= 0 ;
18234 bool temp1
= False
;
18235 PyObject
* obj0
= 0 ;
18236 char *kwnames
[] = {
18237 (char *) "val", NULL
18240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18242 arg1
= wxString_in_helper(obj0
);
18243 if (arg1
== NULL
) SWIG_fail
;
18247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18248 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18250 wxPyEndAllowThreads(__tstate
);
18251 if (PyErr_Occurred()) SWIG_fail
;
18253 Py_INCREF(Py_None
); resultobj
= Py_None
;
18268 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18269 PyObject
*resultobj
;
18270 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18271 PyObject
* obj0
= 0 ;
18272 char *kwnames
[] = {
18273 (char *) "self", NULL
18276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18280 (arg1
)->_BootstrapApp();
18282 wxPyEndAllowThreads(__tstate
);
18283 if (PyErr_Occurred()) SWIG_fail
;
18285 Py_INCREF(Py_None
); resultobj
= Py_None
;
18292 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18293 PyObject
*resultobj
;
18295 char *kwnames
[] = {
18299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18302 result
= (int)PyApp_GetComCtl32Version();
18304 wxPyEndAllowThreads(__tstate
);
18305 if (PyErr_Occurred()) SWIG_fail
;
18307 resultobj
= PyInt_FromLong((long)result
);
18314 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18317 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18319 return Py_BuildValue((char *)"");
18321 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18322 PyObject
*resultobj
;
18323 char *kwnames
[] = {
18327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18332 wxPyEndAllowThreads(__tstate
);
18333 if (PyErr_Occurred()) SWIG_fail
;
18335 Py_INCREF(Py_None
); resultobj
= Py_None
;
18342 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18343 PyObject
*resultobj
;
18345 char *kwnames
[] = {
18349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18352 result
= (bool)wxYield();
18354 wxPyEndAllowThreads(__tstate
);
18355 if (PyErr_Occurred()) SWIG_fail
;
18357 resultobj
= PyInt_FromLong((long)result
);
18364 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18365 PyObject
*resultobj
;
18367 char *kwnames
[] = {
18371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18374 result
= (bool)wxYieldIfNeeded();
18376 wxPyEndAllowThreads(__tstate
);
18377 if (PyErr_Occurred()) SWIG_fail
;
18379 resultobj
= PyInt_FromLong((long)result
);
18386 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18387 PyObject
*resultobj
;
18388 wxWindow
*arg1
= (wxWindow
*) NULL
;
18389 bool arg2
= (bool) False
;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 char *kwnames
[] = {
18394 (char *) "win",(char *) "onlyIfNeeded", NULL
18397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18402 arg2
= PyInt_AsLong(obj1
) ? true : false;
18403 if (PyErr_Occurred()) SWIG_fail
;
18406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18407 result
= (bool)wxSafeYield(arg1
,arg2
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= PyInt_FromLong((long)result
);
18419 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18420 PyObject
*resultobj
;
18421 char *kwnames
[] = {
18425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18430 wxPyEndAllowThreads(__tstate
);
18431 if (PyErr_Occurred()) SWIG_fail
;
18433 Py_INCREF(Py_None
); resultobj
= Py_None
;
18440 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18441 PyObject
*resultobj
;
18442 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18443 wxEvent
*arg2
= 0 ;
18444 PyObject
* obj0
= 0 ;
18445 PyObject
* obj1
= 0 ;
18446 char *kwnames
[] = {
18447 (char *) "dest",(char *) "event", NULL
18450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18452 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18453 if (arg2
== NULL
) {
18454 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18458 wxPostEvent(arg1
,*arg2
);
18460 wxPyEndAllowThreads(__tstate
);
18461 if (PyErr_Occurred()) SWIG_fail
;
18463 Py_INCREF(Py_None
); resultobj
= Py_None
;
18470 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18471 PyObject
*resultobj
;
18472 char *kwnames
[] = {
18476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18481 wxPyEndAllowThreads(__tstate
);
18482 if (PyErr_Occurred()) SWIG_fail
;
18484 Py_INCREF(Py_None
); resultobj
= Py_None
;
18491 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
;
18494 char *kwnames
[] = {
18498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18501 result
= (wxPyApp
*)wxGetApp();
18503 wxPyEndAllowThreads(__tstate
);
18504 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= wxPyMake_wxObject(result
);
18515 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18516 PyObject
*resultobj
;
18517 int arg1
= (int) 0 ;
18518 int arg2
= (int) 0 ;
18519 int arg3
= (int) 0 ;
18520 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
18521 wxAcceleratorEntry
*result
;
18522 PyObject
* obj3
= 0 ;
18523 char *kwnames
[] = {
18524 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
18529 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18533 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
18535 wxPyEndAllowThreads(__tstate
);
18536 if (PyErr_Occurred()) SWIG_fail
;
18538 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
18545 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18546 PyObject
*resultobj
;
18547 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18548 PyObject
* obj0
= 0 ;
18549 char *kwnames
[] = {
18550 (char *) "self", NULL
18553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
18554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 wxPyEndAllowThreads(__tstate
);
18560 if (PyErr_Occurred()) SWIG_fail
;
18562 Py_INCREF(Py_None
); resultobj
= Py_None
;
18569 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18570 PyObject
*resultobj
;
18571 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18575 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj4
= 0 ;
18578 char *kwnames
[] = {
18579 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
18583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18585 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18589 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18591 wxPyEndAllowThreads(__tstate
);
18592 if (PyErr_Occurred()) SWIG_fail
;
18594 Py_INCREF(Py_None
); resultobj
= Py_None
;
18601 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18602 PyObject
*resultobj
;
18603 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18604 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
18605 PyObject
* obj0
= 0 ;
18606 PyObject
* obj1
= 0 ;
18607 char *kwnames
[] = {
18608 (char *) "self",(char *) "item", NULL
18611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18613 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18616 (arg1
)->SetMenuItem(arg2
);
18618 wxPyEndAllowThreads(__tstate
);
18619 if (PyErr_Occurred()) SWIG_fail
;
18621 Py_INCREF(Py_None
); resultobj
= Py_None
;
18628 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18629 PyObject
*resultobj
;
18630 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18631 wxMenuItem
*result
;
18632 PyObject
* obj0
= 0 ;
18633 char *kwnames
[] = {
18634 (char *) "self", NULL
18637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
18638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18641 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
18643 wxPyEndAllowThreads(__tstate
);
18644 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= wxPyMake_wxObject(result
);
18655 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18656 PyObject
*resultobj
;
18657 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18659 PyObject
* obj0
= 0 ;
18660 char *kwnames
[] = {
18661 (char *) "self", NULL
18664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18668 result
= (int)(arg1
)->GetFlags();
18670 wxPyEndAllowThreads(__tstate
);
18671 if (PyErr_Occurred()) SWIG_fail
;
18673 resultobj
= PyInt_FromLong((long)result
);
18680 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18681 PyObject
*resultobj
;
18682 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18693 result
= (int)(arg1
)->GetKeyCode();
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 resultobj
= PyInt_FromLong((long)result
);
18705 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 char *kwnames
[] = {
18711 (char *) "self", NULL
18714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
18715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18718 result
= (int)(arg1
)->GetCommand();
18720 wxPyEndAllowThreads(__tstate
);
18721 if (PyErr_Occurred()) SWIG_fail
;
18723 resultobj
= PyInt_FromLong((long)result
);
18730 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
18732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18733 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
18735 return Py_BuildValue((char *)"");
18737 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18740 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
18741 wxAcceleratorTable
*result
;
18742 PyObject
* obj0
= 0 ;
18743 char *kwnames
[] = {
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18749 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
18750 if (arg2
) arg1
= PyList_Size(obj0
);
18754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18755 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
18757 wxPyEndAllowThreads(__tstate
);
18758 if (PyErr_Occurred()) SWIG_fail
;
18760 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
18773 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18774 PyObject
*resultobj
;
18775 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18776 PyObject
* obj0
= 0 ;
18777 char *kwnames
[] = {
18778 (char *) "self", NULL
18781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18787 wxPyEndAllowThreads(__tstate
);
18788 if (PyErr_Occurred()) SWIG_fail
;
18790 Py_INCREF(Py_None
); resultobj
= Py_None
;
18797 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18798 PyObject
*resultobj
;
18799 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18801 PyObject
* obj0
= 0 ;
18802 char *kwnames
[] = {
18803 (char *) "self", NULL
18806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
18807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18810 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
18812 wxPyEndAllowThreads(__tstate
);
18813 if (PyErr_Occurred()) SWIG_fail
;
18815 resultobj
= PyInt_FromLong((long)result
);
18822 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
18824 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18825 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
18827 return Py_BuildValue((char *)"");
18829 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
18830 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
18835 static PyObject
*_wrap_NullAcceleratorTable_get() {
18838 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
18843 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18844 PyObject
*resultobj
;
18845 wxString
*arg1
= 0 ;
18846 wxAcceleratorEntry
*result
;
18847 bool temp1
= False
;
18848 PyObject
* obj0
= 0 ;
18849 char *kwnames
[] = {
18850 (char *) "label", NULL
18853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
18855 arg1
= wxString_in_helper(obj0
);
18856 if (arg1
== NULL
) SWIG_fail
;
18860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18861 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
18863 wxPyEndAllowThreads(__tstate
);
18864 if (PyErr_Occurred()) SWIG_fail
;
18866 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
18881 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
18882 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
18887 static PyObject
*_wrap_PanelNameStr_get() {
18892 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18894 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18901 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
;
18903 wxWindow
*arg1
= (wxWindow
*) 0 ;
18905 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18906 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18907 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18908 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18909 long arg5
= (long) 0 ;
18910 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18911 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18915 bool temp6
= False
;
18916 PyObject
* obj0
= 0 ;
18917 PyObject
* obj2
= 0 ;
18918 PyObject
* obj3
= 0 ;
18919 PyObject
* obj5
= 0 ;
18920 char *kwnames
[] = {
18921 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18929 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18935 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18940 arg6
= wxString_in_helper(obj5
);
18941 if (arg6
== NULL
) SWIG_fail
;
18946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18947 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18949 wxPyEndAllowThreads(__tstate
);
18950 if (PyErr_Occurred()) SWIG_fail
;
18953 resultobj
= wxPyMake_wxObject(result
);
18969 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18970 PyObject
*resultobj
;
18972 char *kwnames
[] = {
18976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
18978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18979 result
= (wxWindow
*)new wxWindow();
18981 wxPyEndAllowThreads(__tstate
);
18982 if (PyErr_Occurred()) SWIG_fail
;
18985 resultobj
= wxPyMake_wxObject(result
);
18993 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18994 PyObject
*resultobj
;
18995 wxWindow
*arg1
= (wxWindow
*) 0 ;
18996 wxWindow
*arg2
= (wxWindow
*) 0 ;
18998 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
18999 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19000 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19001 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19002 long arg6
= (long) 0 ;
19003 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19004 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19008 bool temp7
= False
;
19009 PyObject
* obj0
= 0 ;
19010 PyObject
* obj1
= 0 ;
19011 PyObject
* obj3
= 0 ;
19012 PyObject
* obj4
= 0 ;
19013 PyObject
* obj6
= 0 ;
19014 char *kwnames
[] = {
19015 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19020 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19024 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19030 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19035 arg7
= wxString_in_helper(obj6
);
19036 if (arg7
== NULL
) SWIG_fail
;
19041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19042 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19044 wxPyEndAllowThreads(__tstate
);
19045 if (PyErr_Occurred()) SWIG_fail
;
19047 resultobj
= PyInt_FromLong((long)result
);
19062 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19063 PyObject
*resultobj
;
19064 wxWindow
*arg1
= (wxWindow
*) 0 ;
19065 bool arg2
= (bool) False
;
19067 PyObject
* obj0
= 0 ;
19068 PyObject
* obj1
= 0 ;
19069 char *kwnames
[] = {
19070 (char *) "self",(char *) "force", NULL
19073 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
19074 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19076 arg2
= PyInt_AsLong(obj1
) ? true : false;
19077 if (PyErr_Occurred()) SWIG_fail
;
19080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19081 result
= (bool)(arg1
)->Close(arg2
);
19083 wxPyEndAllowThreads(__tstate
);
19084 if (PyErr_Occurred()) SWIG_fail
;
19086 resultobj
= PyInt_FromLong((long)result
);
19093 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19094 PyObject
*resultobj
;
19095 wxWindow
*arg1
= (wxWindow
*) 0 ;
19097 PyObject
* obj0
= 0 ;
19098 char *kwnames
[] = {
19099 (char *) "self", NULL
19102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
19103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19106 result
= (bool)(arg1
)->Destroy();
19108 wxPyEndAllowThreads(__tstate
);
19109 if (PyErr_Occurred()) SWIG_fail
;
19111 resultobj
= PyInt_FromLong((long)result
);
19118 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19119 PyObject
*resultobj
;
19120 wxWindow
*arg1
= (wxWindow
*) 0 ;
19122 PyObject
* obj0
= 0 ;
19123 char *kwnames
[] = {
19124 (char *) "self", NULL
19127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
19128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19131 result
= (bool)(arg1
)->DestroyChildren();
19133 wxPyEndAllowThreads(__tstate
);
19134 if (PyErr_Occurred()) SWIG_fail
;
19136 resultobj
= PyInt_FromLong((long)result
);
19143 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19144 PyObject
*resultobj
;
19145 wxWindow
*arg1
= (wxWindow
*) 0 ;
19147 PyObject
* obj0
= 0 ;
19148 char *kwnames
[] = {
19149 (char *) "self", NULL
19152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
19153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
19158 wxPyEndAllowThreads(__tstate
);
19159 if (PyErr_Occurred()) SWIG_fail
;
19161 resultobj
= PyInt_FromLong((long)result
);
19168 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19169 PyObject
*resultobj
;
19170 wxWindow
*arg1
= (wxWindow
*) 0 ;
19171 wxString
*arg2
= 0 ;
19172 bool temp2
= False
;
19173 PyObject
* obj0
= 0 ;
19174 PyObject
* obj1
= 0 ;
19175 char *kwnames
[] = {
19176 (char *) "self",(char *) "title", NULL
19179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
19180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19182 arg2
= wxString_in_helper(obj1
);
19183 if (arg2
== NULL
) SWIG_fail
;
19187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19188 (arg1
)->SetTitle((wxString
const &)*arg2
);
19190 wxPyEndAllowThreads(__tstate
);
19191 if (PyErr_Occurred()) SWIG_fail
;
19193 Py_INCREF(Py_None
); resultobj
= Py_None
;
19208 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19209 PyObject
*resultobj
;
19210 wxWindow
*arg1
= (wxWindow
*) 0 ;
19212 PyObject
* obj0
= 0 ;
19213 char *kwnames
[] = {
19214 (char *) "self", NULL
19217 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
19218 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19221 result
= ((wxWindow
const *)arg1
)->GetTitle();
19223 wxPyEndAllowThreads(__tstate
);
19224 if (PyErr_Occurred()) SWIG_fail
;
19228 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19230 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19239 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19240 PyObject
*resultobj
;
19241 wxWindow
*arg1
= (wxWindow
*) 0 ;
19242 wxString
*arg2
= 0 ;
19243 bool temp2
= False
;
19244 PyObject
* obj0
= 0 ;
19245 PyObject
* obj1
= 0 ;
19246 char *kwnames
[] = {
19247 (char *) "self",(char *) "label", NULL
19250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19253 arg2
= wxString_in_helper(obj1
);
19254 if (arg2
== NULL
) SWIG_fail
;
19258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19259 (arg1
)->SetLabel((wxString
const &)*arg2
);
19261 wxPyEndAllowThreads(__tstate
);
19262 if (PyErr_Occurred()) SWIG_fail
;
19264 Py_INCREF(Py_None
); resultobj
= Py_None
;
19279 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxWindow
*arg1
= (wxWindow
*) 0 ;
19283 PyObject
* obj0
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= ((wxWindow
const *)arg1
)->GetLabel();
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19299 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19301 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19310 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19311 PyObject
*resultobj
;
19312 wxWindow
*arg1
= (wxWindow
*) 0 ;
19313 wxString
*arg2
= 0 ;
19314 bool temp2
= False
;
19315 PyObject
* obj0
= 0 ;
19316 PyObject
* obj1
= 0 ;
19317 char *kwnames
[] = {
19318 (char *) "self",(char *) "name", NULL
19321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
19322 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19324 arg2
= wxString_in_helper(obj1
);
19325 if (arg2
== NULL
) SWIG_fail
;
19329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19330 (arg1
)->SetName((wxString
const &)*arg2
);
19332 wxPyEndAllowThreads(__tstate
);
19333 if (PyErr_Occurred()) SWIG_fail
;
19335 Py_INCREF(Py_None
); resultobj
= Py_None
;
19350 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
;
19352 wxWindow
*arg1
= (wxWindow
*) 0 ;
19354 PyObject
* obj0
= 0 ;
19355 char *kwnames
[] = {
19356 (char *) "self", NULL
19359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19363 result
= ((wxWindow
const *)arg1
)->GetName();
19365 wxPyEndAllowThreads(__tstate
);
19366 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19381 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19382 PyObject
*resultobj
;
19383 wxWindow
*arg1
= (wxWindow
*) 0 ;
19385 PyObject
* obj0
= 0 ;
19386 char *kwnames
[] = {
19387 (char *) "self",(char *) "winid", NULL
19390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->SetId(arg2
);
19396 wxPyEndAllowThreads(__tstate
);
19397 if (PyErr_Occurred()) SWIG_fail
;
19399 Py_INCREF(Py_None
); resultobj
= Py_None
;
19406 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19407 PyObject
*resultobj
;
19408 wxWindow
*arg1
= (wxWindow
*) 0 ;
19410 PyObject
* obj0
= 0 ;
19411 char *kwnames
[] = {
19412 (char *) "self", NULL
19415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19419 result
= (int)((wxWindow
const *)arg1
)->GetId();
19421 wxPyEndAllowThreads(__tstate
);
19422 if (PyErr_Occurred()) SWIG_fail
;
19424 resultobj
= PyInt_FromLong((long)result
);
19431 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19432 PyObject
*resultobj
;
19434 char *kwnames
[] = {
19438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19441 result
= (int)wxWindow::NewControlId();
19443 wxPyEndAllowThreads(__tstate
);
19444 if (PyErr_Occurred()) SWIG_fail
;
19446 resultobj
= PyInt_FromLong((long)result
);
19453 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19454 PyObject
*resultobj
;
19457 char *kwnames
[] = {
19458 (char *) "winid", NULL
19461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19464 result
= (int)wxWindow::NextControlId(arg1
);
19466 wxPyEndAllowThreads(__tstate
);
19467 if (PyErr_Occurred()) SWIG_fail
;
19469 resultobj
= PyInt_FromLong((long)result
);
19476 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19477 PyObject
*resultobj
;
19480 char *kwnames
[] = {
19481 (char *) "winid", NULL
19484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19487 result
= (int)wxWindow::PrevControlId(arg1
);
19489 wxPyEndAllowThreads(__tstate
);
19490 if (PyErr_Occurred()) SWIG_fail
;
19492 resultobj
= PyInt_FromLong((long)result
);
19499 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19500 PyObject
*resultobj
;
19501 wxWindow
*arg1
= (wxWindow
*) 0 ;
19504 PyObject
* obj0
= 0 ;
19505 PyObject
* obj1
= 0 ;
19506 char *kwnames
[] = {
19507 (char *) "self",(char *) "size", NULL
19510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19511 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19514 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19518 (arg1
)->SetSize((wxSize
const &)*arg2
);
19520 wxPyEndAllowThreads(__tstate
);
19521 if (PyErr_Occurred()) SWIG_fail
;
19523 Py_INCREF(Py_None
); resultobj
= Py_None
;
19530 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19531 PyObject
*resultobj
;
19532 wxWindow
*arg1
= (wxWindow
*) 0 ;
19537 int arg6
= (int) wxSIZE_AUTO
;
19538 PyObject
* obj0
= 0 ;
19539 char *kwnames
[] = {
19540 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19547 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19549 wxPyEndAllowThreads(__tstate
);
19550 if (PyErr_Occurred()) SWIG_fail
;
19552 Py_INCREF(Py_None
); resultobj
= Py_None
;
19559 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19560 PyObject
*resultobj
;
19561 wxWindow
*arg1
= (wxWindow
*) 0 ;
19563 int arg3
= (int) wxSIZE_AUTO
;
19565 PyObject
* obj0
= 0 ;
19566 PyObject
* obj1
= 0 ;
19567 char *kwnames
[] = {
19568 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19575 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19579 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19581 wxPyEndAllowThreads(__tstate
);
19582 if (PyErr_Occurred()) SWIG_fail
;
19584 Py_INCREF(Py_None
); resultobj
= Py_None
;
19591 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19592 PyObject
*resultobj
;
19593 wxWindow
*arg1
= (wxWindow
*) 0 ;
19596 PyObject
* obj0
= 0 ;
19597 char *kwnames
[] = {
19598 (char *) "self",(char *) "width",(char *) "height", NULL
19601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19605 (arg1
)->SetSize(arg2
,arg3
);
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19610 Py_INCREF(Py_None
); resultobj
= Py_None
;
19617 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19618 PyObject
*resultobj
;
19619 wxWindow
*arg1
= (wxWindow
*) 0 ;
19620 wxPoint
*arg2
= 0 ;
19621 int arg3
= (int) wxSIZE_USE_EXISTING
;
19623 PyObject
* obj0
= 0 ;
19624 PyObject
* obj1
= 0 ;
19625 char *kwnames
[] = {
19626 (char *) "self",(char *) "pt",(char *) "flags", NULL
19629 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19630 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19633 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19637 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19639 wxPyEndAllowThreads(__tstate
);
19640 if (PyErr_Occurred()) SWIG_fail
;
19642 Py_INCREF(Py_None
); resultobj
= Py_None
;
19649 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19650 PyObject
*resultobj
;
19651 wxWindow
*arg1
= (wxWindow
*) 0 ;
19654 int arg4
= (int) wxSIZE_USE_EXISTING
;
19655 PyObject
* obj0
= 0 ;
19656 char *kwnames
[] = {
19657 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19664 (arg1
)->Move(arg2
,arg3
,arg4
);
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19669 Py_INCREF(Py_None
); resultobj
= Py_None
;
19676 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19677 PyObject
*resultobj
;
19678 wxWindow
*arg1
= (wxWindow
*) 0 ;
19679 PyObject
* obj0
= 0 ;
19680 char *kwnames
[] = {
19681 (char *) "self", NULL
19684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19690 wxPyEndAllowThreads(__tstate
);
19691 if (PyErr_Occurred()) SWIG_fail
;
19693 Py_INCREF(Py_None
); resultobj
= Py_None
;
19700 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19701 PyObject
*resultobj
;
19702 wxWindow
*arg1
= (wxWindow
*) 0 ;
19703 PyObject
* obj0
= 0 ;
19704 char *kwnames
[] = {
19705 (char *) "self", NULL
19708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19717 Py_INCREF(Py_None
); resultobj
= Py_None
;
19724 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19725 PyObject
*resultobj
;
19726 wxWindow
*arg1
= (wxWindow
*) 0 ;
19729 PyObject
* obj0
= 0 ;
19730 PyObject
* obj1
= 0 ;
19731 char *kwnames
[] = {
19732 (char *) "self",(char *) "size", NULL
19735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19739 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19743 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19745 wxPyEndAllowThreads(__tstate
);
19746 if (PyErr_Occurred()) SWIG_fail
;
19748 Py_INCREF(Py_None
); resultobj
= Py_None
;
19755 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19756 PyObject
*resultobj
;
19757 wxWindow
*arg1
= (wxWindow
*) 0 ;
19760 PyObject
* obj0
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self",(char *) "width",(char *) "height", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19769 (arg1
)->SetClientSize(arg2
,arg3
);
19771 wxPyEndAllowThreads(__tstate
);
19772 if (PyErr_Occurred()) SWIG_fail
;
19774 Py_INCREF(Py_None
); resultobj
= Py_None
;
19781 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19782 PyObject
*resultobj
;
19783 wxWindow
*arg1
= (wxWindow
*) 0 ;
19786 PyObject
* obj0
= 0 ;
19787 PyObject
* obj1
= 0 ;
19788 char *kwnames
[] = {
19789 (char *) "self",(char *) "rect", NULL
19792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19796 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 Py_INCREF(Py_None
); resultobj
= Py_None
;
19812 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxWindow
*arg1
= (wxWindow
*) 0 ;
19816 PyObject
* obj0
= 0 ;
19817 char *kwnames
[] = {
19818 (char *) "self", NULL
19821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19825 result
= (arg1
)->GetPosition();
19827 wxPyEndAllowThreads(__tstate
);
19828 if (PyErr_Occurred()) SWIG_fail
;
19831 wxPoint
* resultptr
;
19832 resultptr
= new wxPoint((wxPoint
&) result
);
19833 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19841 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19842 PyObject
*resultobj
;
19843 wxWindow
*arg1
= (wxWindow
*) 0 ;
19844 int *arg2
= (int *) 0 ;
19845 int *arg3
= (int *) 0 ;
19848 PyObject
* obj0
= 0 ;
19849 char *kwnames
[] = {
19850 (char *) "self", NULL
19855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19859 (arg1
)->GetPosition(arg2
,arg3
);
19861 wxPyEndAllowThreads(__tstate
);
19862 if (PyErr_Occurred()) SWIG_fail
;
19864 Py_INCREF(Py_None
); resultobj
= Py_None
;
19866 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19867 resultobj
= t_output_helper(resultobj
,o
);
19870 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19871 resultobj
= t_output_helper(resultobj
,o
);
19879 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19880 PyObject
*resultobj
;
19881 wxWindow
*arg1
= (wxWindow
*) 0 ;
19883 PyObject
* obj0
= 0 ;
19884 char *kwnames
[] = {
19885 (char *) "self", NULL
19888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
19889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19892 result
= ((wxWindow
const *)arg1
)->GetSize();
19894 wxPyEndAllowThreads(__tstate
);
19895 if (PyErr_Occurred()) SWIG_fail
;
19898 wxSize
* resultptr
;
19899 resultptr
= new wxSize((wxSize
&) result
);
19900 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19908 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19909 PyObject
*resultobj
;
19910 wxWindow
*arg1
= (wxWindow
*) 0 ;
19911 int *arg2
= (int *) 0 ;
19912 int *arg3
= (int *) 0 ;
19915 PyObject
* obj0
= 0 ;
19916 char *kwnames
[] = {
19917 (char *) "self", NULL
19922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
19923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19926 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
19928 wxPyEndAllowThreads(__tstate
);
19929 if (PyErr_Occurred()) SWIG_fail
;
19931 Py_INCREF(Py_None
); resultobj
= Py_None
;
19933 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19934 resultobj
= t_output_helper(resultobj
,o
);
19937 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19938 resultobj
= t_output_helper(resultobj
,o
);
19946 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19947 PyObject
*resultobj
;
19948 wxWindow
*arg1
= (wxWindow
*) 0 ;
19950 PyObject
* obj0
= 0 ;
19951 char *kwnames
[] = {
19952 (char *) "self", NULL
19955 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
19956 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19959 result
= ((wxWindow
const *)arg1
)->GetRect();
19961 wxPyEndAllowThreads(__tstate
);
19962 if (PyErr_Occurred()) SWIG_fail
;
19965 wxRect
* resultptr
;
19966 resultptr
= new wxRect((wxRect
&) result
);
19967 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19975 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19976 PyObject
*resultobj
;
19977 wxWindow
*arg1
= (wxWindow
*) 0 ;
19979 PyObject
* obj0
= 0 ;
19980 char *kwnames
[] = {
19981 (char *) "self", NULL
19984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
19985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19988 result
= ((wxWindow
const *)arg1
)->GetClientSize();
19990 wxPyEndAllowThreads(__tstate
);
19991 if (PyErr_Occurred()) SWIG_fail
;
19994 wxSize
* resultptr
;
19995 resultptr
= new wxSize((wxSize
&) result
);
19996 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20004 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20005 PyObject
*resultobj
;
20006 wxWindow
*arg1
= (wxWindow
*) 0 ;
20007 int *arg2
= (int *) 0 ;
20008 int *arg3
= (int *) 0 ;
20011 PyObject
* obj0
= 0 ;
20012 char *kwnames
[] = {
20013 (char *) "self", NULL
20018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
20019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20022 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
20024 wxPyEndAllowThreads(__tstate
);
20025 if (PyErr_Occurred()) SWIG_fail
;
20027 Py_INCREF(Py_None
); resultobj
= Py_None
;
20029 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20030 resultobj
= t_output_helper(resultobj
,o
);
20033 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20034 resultobj
= t_output_helper(resultobj
,o
);
20042 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20043 PyObject
*resultobj
;
20044 wxWindow
*arg1
= (wxWindow
*) 0 ;
20046 PyObject
* obj0
= 0 ;
20047 char *kwnames
[] = {
20048 (char *) "self", NULL
20051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
20052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20055 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
20057 wxPyEndAllowThreads(__tstate
);
20058 if (PyErr_Occurred()) SWIG_fail
;
20061 wxPoint
* resultptr
;
20062 resultptr
= new wxPoint((wxPoint
&) result
);
20063 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20071 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20072 PyObject
*resultobj
;
20073 wxWindow
*arg1
= (wxWindow
*) 0 ;
20075 PyObject
* obj0
= 0 ;
20076 char *kwnames
[] = {
20077 (char *) "self", NULL
20080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
20081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20084 result
= ((wxWindow
const *)arg1
)->GetClientRect();
20086 wxPyEndAllowThreads(__tstate
);
20087 if (PyErr_Occurred()) SWIG_fail
;
20090 wxRect
* resultptr
;
20091 resultptr
= new wxRect((wxRect
&) result
);
20092 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20100 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20101 PyObject
*resultobj
;
20102 wxWindow
*arg1
= (wxWindow
*) 0 ;
20104 PyObject
* obj0
= 0 ;
20105 char *kwnames
[] = {
20106 (char *) "self", NULL
20109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
20110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20113 result
= ((wxWindow
const *)arg1
)->GetBestSize();
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20119 wxSize
* resultptr
;
20120 resultptr
= new wxSize((wxSize
&) result
);
20121 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20129 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20130 PyObject
*resultobj
;
20131 wxWindow
*arg1
= (wxWindow
*) 0 ;
20132 int *arg2
= (int *) 0 ;
20133 int *arg3
= (int *) 0 ;
20136 PyObject
* obj0
= 0 ;
20137 char *kwnames
[] = {
20138 (char *) "self", NULL
20143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
20144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20147 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
20149 wxPyEndAllowThreads(__tstate
);
20150 if (PyErr_Occurred()) SWIG_fail
;
20152 Py_INCREF(Py_None
); resultobj
= Py_None
;
20154 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20155 resultobj
= t_output_helper(resultobj
,o
);
20158 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20159 resultobj
= t_output_helper(resultobj
,o
);
20167 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20168 PyObject
*resultobj
;
20169 wxWindow
*arg1
= (wxWindow
*) 0 ;
20171 PyObject
* obj0
= 0 ;
20172 char *kwnames
[] = {
20173 (char *) "self", NULL
20176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
20177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20180 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
20182 wxPyEndAllowThreads(__tstate
);
20183 if (PyErr_Occurred()) SWIG_fail
;
20186 wxSize
* resultptr
;
20187 resultptr
= new wxSize((wxSize
&) result
);
20188 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20196 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20197 PyObject
*resultobj
;
20198 wxWindow
*arg1
= (wxWindow
*) 0 ;
20199 int arg2
= (int) wxBOTH
;
20200 PyObject
* obj0
= 0 ;
20201 char *kwnames
[] = {
20202 (char *) "self",(char *) "direction", NULL
20205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
20206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20209 (arg1
)->Center(arg2
);
20211 wxPyEndAllowThreads(__tstate
);
20212 if (PyErr_Occurred()) SWIG_fail
;
20214 Py_INCREF(Py_None
); resultobj
= Py_None
;
20221 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20222 PyObject
*resultobj
;
20223 wxWindow
*arg1
= (wxWindow
*) 0 ;
20224 int arg2
= (int) wxBOTH
;
20225 PyObject
* obj0
= 0 ;
20226 char *kwnames
[] = {
20227 (char *) "self",(char *) "dir", NULL
20230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
20231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20234 (arg1
)->CenterOnScreen(arg2
);
20236 wxPyEndAllowThreads(__tstate
);
20237 if (PyErr_Occurred()) SWIG_fail
;
20239 Py_INCREF(Py_None
); resultobj
= Py_None
;
20246 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20247 PyObject
*resultobj
;
20248 wxWindow
*arg1
= (wxWindow
*) 0 ;
20249 int arg2
= (int) wxBOTH
;
20250 PyObject
* obj0
= 0 ;
20251 char *kwnames
[] = {
20252 (char *) "self",(char *) "dir", NULL
20255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
20256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20259 (arg1
)->CenterOnParent(arg2
);
20261 wxPyEndAllowThreads(__tstate
);
20262 if (PyErr_Occurred()) SWIG_fail
;
20264 Py_INCREF(Py_None
); resultobj
= Py_None
;
20271 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20272 PyObject
*resultobj
;
20273 wxWindow
*arg1
= (wxWindow
*) 0 ;
20274 PyObject
* obj0
= 0 ;
20275 char *kwnames
[] = {
20276 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
20280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 Py_INCREF(Py_None
); resultobj
= Py_None
;
20295 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20296 PyObject
*resultobj
;
20297 wxWindow
*arg1
= (wxWindow
*) 0 ;
20298 PyObject
* obj0
= 0 ;
20299 char *kwnames
[] = {
20300 (char *) "self", NULL
20303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
20304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20307 (arg1
)->FitInside();
20309 wxPyEndAllowThreads(__tstate
);
20310 if (PyErr_Occurred()) SWIG_fail
;
20312 Py_INCREF(Py_None
); resultobj
= Py_None
;
20319 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20320 PyObject
*resultobj
;
20321 wxWindow
*arg1
= (wxWindow
*) 0 ;
20324 int arg4
= (int) -1 ;
20325 int arg5
= (int) -1 ;
20326 int arg6
= (int) -1 ;
20327 int arg7
= (int) -1 ;
20328 PyObject
* obj0
= 0 ;
20329 char *kwnames
[] = {
20330 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20337 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20339 wxPyEndAllowThreads(__tstate
);
20340 if (PyErr_Occurred()) SWIG_fail
;
20342 Py_INCREF(Py_None
); resultobj
= Py_None
;
20349 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20350 PyObject
*resultobj
;
20351 wxWindow
*arg1
= (wxWindow
*) 0 ;
20354 int arg4
= (int) -1 ;
20355 int arg5
= (int) -1 ;
20356 PyObject
* obj0
= 0 ;
20357 char *kwnames
[] = {
20358 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20361 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20362 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20365 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20367 wxPyEndAllowThreads(__tstate
);
20368 if (PyErr_Occurred()) SWIG_fail
;
20370 Py_INCREF(Py_None
); resultobj
= Py_None
;
20377 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20378 PyObject
*resultobj
;
20379 wxWindow
*arg1
= (wxWindow
*) 0 ;
20381 PyObject
* obj0
= 0 ;
20382 char *kwnames
[] = {
20383 (char *) "self", NULL
20386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20390 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20392 wxPyEndAllowThreads(__tstate
);
20393 if (PyErr_Occurred()) SWIG_fail
;
20395 resultobj
= PyInt_FromLong((long)result
);
20402 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20403 PyObject
*resultobj
;
20404 wxWindow
*arg1
= (wxWindow
*) 0 ;
20406 PyObject
* obj0
= 0 ;
20407 char *kwnames
[] = {
20408 (char *) "self", NULL
20411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20415 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20417 wxPyEndAllowThreads(__tstate
);
20418 if (PyErr_Occurred()) SWIG_fail
;
20420 resultobj
= PyInt_FromLong((long)result
);
20427 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20428 PyObject
*resultobj
;
20429 wxWindow
*arg1
= (wxWindow
*) 0 ;
20431 PyObject
* obj0
= 0 ;
20432 char *kwnames
[] = {
20433 (char *) "self", NULL
20436 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20440 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20442 wxPyEndAllowThreads(__tstate
);
20443 if (PyErr_Occurred()) SWIG_fail
;
20445 resultobj
= PyInt_FromLong((long)result
);
20452 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
;
20454 wxWindow
*arg1
= (wxWindow
*) 0 ;
20456 PyObject
* obj0
= 0 ;
20457 char *kwnames
[] = {
20458 (char *) "self", NULL
20461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20465 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20470 resultobj
= PyInt_FromLong((long)result
);
20477 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20478 PyObject
*resultobj
;
20479 wxWindow
*arg1
= (wxWindow
*) 0 ;
20481 PyObject
* obj0
= 0 ;
20482 char *kwnames
[] = {
20483 (char *) "self", NULL
20486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20490 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20492 wxPyEndAllowThreads(__tstate
);
20493 if (PyErr_Occurred()) SWIG_fail
;
20496 wxSize
* resultptr
;
20497 resultptr
= new wxSize((wxSize
&) result
);
20498 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20506 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20507 PyObject
*resultobj
;
20508 wxWindow
*arg1
= (wxWindow
*) 0 ;
20511 PyObject
* obj0
= 0 ;
20512 PyObject
* obj1
= 0 ;
20513 char *kwnames
[] = {
20514 (char *) "self",(char *) "size", NULL
20517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20521 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20527 wxPyEndAllowThreads(__tstate
);
20528 if (PyErr_Occurred()) SWIG_fail
;
20530 Py_INCREF(Py_None
); resultobj
= Py_None
;
20537 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20538 PyObject
*resultobj
;
20539 wxWindow
*arg1
= (wxWindow
*) 0 ;
20542 PyObject
* obj0
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self",(char *) "w",(char *) "h", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 (arg1
)->SetVirtualSize(arg2
,arg3
);
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 Py_INCREF(Py_None
); resultobj
= Py_None
;
20563 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20565 wxWindow
*arg1
= (wxWindow
*) 0 ;
20567 PyObject
* obj0
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20582 wxSize
* resultptr
;
20583 resultptr
= new wxSize((wxSize
&) result
);
20584 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20592 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20593 PyObject
*resultobj
;
20594 wxWindow
*arg1
= (wxWindow
*) 0 ;
20595 int *arg2
= (int *) 0 ;
20596 int *arg3
= (int *) 0 ;
20599 PyObject
* obj0
= 0 ;
20600 char *kwnames
[] = {
20601 (char *) "self", NULL
20606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20610 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20612 wxPyEndAllowThreads(__tstate
);
20613 if (PyErr_Occurred()) SWIG_fail
;
20615 Py_INCREF(Py_None
); resultobj
= Py_None
;
20617 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20618 resultobj
= t_output_helper(resultobj
,o
);
20621 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20622 resultobj
= t_output_helper(resultobj
,o
);
20630 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20631 PyObject
*resultobj
;
20632 wxWindow
*arg1
= (wxWindow
*) 0 ;
20634 PyObject
* obj0
= 0 ;
20635 char *kwnames
[] = {
20636 (char *) "self", NULL
20639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20643 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20645 wxPyEndAllowThreads(__tstate
);
20646 if (PyErr_Occurred()) SWIG_fail
;
20649 wxSize
* resultptr
;
20650 resultptr
= new wxSize((wxSize
&) result
);
20651 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20659 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20660 PyObject
*resultobj
;
20661 wxWindow
*arg1
= (wxWindow
*) 0 ;
20662 bool arg2
= (bool) True
;
20664 PyObject
* obj0
= 0 ;
20665 PyObject
* obj1
= 0 ;
20666 char *kwnames
[] = {
20667 (char *) "self",(char *) "show", NULL
20670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20673 arg2
= PyInt_AsLong(obj1
) ? true : false;
20674 if (PyErr_Occurred()) SWIG_fail
;
20677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20678 result
= (bool)(arg1
)->Show(arg2
);
20680 wxPyEndAllowThreads(__tstate
);
20681 if (PyErr_Occurred()) SWIG_fail
;
20683 resultobj
= PyInt_FromLong((long)result
);
20690 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20691 PyObject
*resultobj
;
20692 wxWindow
*arg1
= (wxWindow
*) 0 ;
20694 PyObject
* obj0
= 0 ;
20695 char *kwnames
[] = {
20696 (char *) "self", NULL
20699 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20700 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20703 result
= (bool)(arg1
)->Hide();
20705 wxPyEndAllowThreads(__tstate
);
20706 if (PyErr_Occurred()) SWIG_fail
;
20708 resultobj
= PyInt_FromLong((long)result
);
20715 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20716 PyObject
*resultobj
;
20717 wxWindow
*arg1
= (wxWindow
*) 0 ;
20718 bool arg2
= (bool) True
;
20720 PyObject
* obj0
= 0 ;
20721 PyObject
* obj1
= 0 ;
20722 char *kwnames
[] = {
20723 (char *) "self",(char *) "enable", NULL
20726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20729 arg2
= PyInt_AsLong(obj1
) ? true : false;
20730 if (PyErr_Occurred()) SWIG_fail
;
20733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20734 result
= (bool)(arg1
)->Enable(arg2
);
20736 wxPyEndAllowThreads(__tstate
);
20737 if (PyErr_Occurred()) SWIG_fail
;
20739 resultobj
= PyInt_FromLong((long)result
);
20746 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20747 PyObject
*resultobj
;
20748 wxWindow
*arg1
= (wxWindow
*) 0 ;
20750 PyObject
* obj0
= 0 ;
20751 char *kwnames
[] = {
20752 (char *) "self", NULL
20755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20759 result
= (bool)(arg1
)->Disable();
20761 wxPyEndAllowThreads(__tstate
);
20762 if (PyErr_Occurred()) SWIG_fail
;
20764 resultobj
= PyInt_FromLong((long)result
);
20771 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20772 PyObject
*resultobj
;
20773 wxWindow
*arg1
= (wxWindow
*) 0 ;
20775 PyObject
* obj0
= 0 ;
20776 char *kwnames
[] = {
20777 (char *) "self", NULL
20780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
20781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20784 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
20786 wxPyEndAllowThreads(__tstate
);
20787 if (PyErr_Occurred()) SWIG_fail
;
20789 resultobj
= PyInt_FromLong((long)result
);
20796 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20797 PyObject
*resultobj
;
20798 wxWindow
*arg1
= (wxWindow
*) 0 ;
20800 PyObject
* obj0
= 0 ;
20801 char *kwnames
[] = {
20802 (char *) "self", NULL
20805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20809 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20811 wxPyEndAllowThreads(__tstate
);
20812 if (PyErr_Occurred()) SWIG_fail
;
20814 resultobj
= PyInt_FromLong((long)result
);
20821 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20822 PyObject
*resultobj
;
20823 wxWindow
*arg1
= (wxWindow
*) 0 ;
20825 PyObject
* obj0
= 0 ;
20826 char *kwnames
[] = {
20827 (char *) "self",(char *) "style", NULL
20830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20834 (arg1
)->SetWindowStyleFlag(arg2
);
20836 wxPyEndAllowThreads(__tstate
);
20837 if (PyErr_Occurred()) SWIG_fail
;
20839 Py_INCREF(Py_None
); resultobj
= Py_None
;
20846 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20847 PyObject
*resultobj
;
20848 wxWindow
*arg1
= (wxWindow
*) 0 ;
20850 PyObject
* obj0
= 0 ;
20851 char *kwnames
[] = {
20852 (char *) "self", NULL
20855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20859 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20861 wxPyEndAllowThreads(__tstate
);
20862 if (PyErr_Occurred()) SWIG_fail
;
20864 resultobj
= PyInt_FromLong((long)result
);
20871 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20872 PyObject
*resultobj
;
20873 wxWindow
*arg1
= (wxWindow
*) 0 ;
20875 PyObject
* obj0
= 0 ;
20876 char *kwnames
[] = {
20877 (char *) "self",(char *) "style", NULL
20880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20884 (arg1
)->SetWindowStyle(arg2
);
20886 wxPyEndAllowThreads(__tstate
);
20887 if (PyErr_Occurred()) SWIG_fail
;
20889 Py_INCREF(Py_None
); resultobj
= Py_None
;
20896 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20897 PyObject
*resultobj
;
20898 wxWindow
*arg1
= (wxWindow
*) 0 ;
20900 PyObject
* obj0
= 0 ;
20901 char *kwnames
[] = {
20902 (char *) "self", NULL
20905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
20906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20909 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
20911 wxPyEndAllowThreads(__tstate
);
20912 if (PyErr_Occurred()) SWIG_fail
;
20914 resultobj
= PyInt_FromLong((long)result
);
20921 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20922 PyObject
*resultobj
;
20923 wxWindow
*arg1
= (wxWindow
*) 0 ;
20926 PyObject
* obj0
= 0 ;
20927 char *kwnames
[] = {
20928 (char *) "self",(char *) "flag", NULL
20931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20935 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20940 resultobj
= PyInt_FromLong((long)result
);
20947 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20948 PyObject
*resultobj
;
20949 wxWindow
*arg1
= (wxWindow
*) 0 ;
20951 PyObject
* obj0
= 0 ;
20952 char *kwnames
[] = {
20953 (char *) "self", NULL
20956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
20957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20960 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
20962 wxPyEndAllowThreads(__tstate
);
20963 if (PyErr_Occurred()) SWIG_fail
;
20965 resultobj
= PyInt_FromLong((long)result
);
20972 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20973 PyObject
*resultobj
;
20974 wxWindow
*arg1
= (wxWindow
*) 0 ;
20976 PyObject
* obj0
= 0 ;
20977 char *kwnames
[] = {
20978 (char *) "self",(char *) "exStyle", NULL
20981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20985 (arg1
)->SetExtraStyle(arg2
);
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 Py_INCREF(Py_None
); resultobj
= Py_None
;
20997 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20998 PyObject
*resultobj
;
20999 wxWindow
*arg1
= (wxWindow
*) 0 ;
21001 PyObject
* obj0
= 0 ;
21002 char *kwnames
[] = {
21003 (char *) "self", NULL
21006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
21007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21010 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
21012 wxPyEndAllowThreads(__tstate
);
21013 if (PyErr_Occurred()) SWIG_fail
;
21015 resultobj
= PyInt_FromLong((long)result
);
21022 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21023 PyObject
*resultobj
;
21024 wxWindow
*arg1
= (wxWindow
*) 0 ;
21025 bool arg2
= (bool) True
;
21026 PyObject
* obj0
= 0 ;
21027 PyObject
* obj1
= 0 ;
21028 char *kwnames
[] = {
21029 (char *) "self",(char *) "modal", NULL
21032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
21033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21035 arg2
= PyInt_AsLong(obj1
) ? true : false;
21036 if (PyErr_Occurred()) SWIG_fail
;
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21040 (arg1
)->MakeModal(arg2
);
21042 wxPyEndAllowThreads(__tstate
);
21043 if (PyErr_Occurred()) SWIG_fail
;
21045 Py_INCREF(Py_None
); resultobj
= Py_None
;
21052 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21053 PyObject
*resultobj
;
21054 wxWindow
*arg1
= (wxWindow
*) 0 ;
21056 PyObject
* obj0
= 0 ;
21057 PyObject
* obj1
= 0 ;
21058 char *kwnames
[] = {
21059 (char *) "self",(char *) "enableTheme", NULL
21062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21064 arg2
= PyInt_AsLong(obj1
) ? true : false;
21065 if (PyErr_Occurred()) SWIG_fail
;
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 (arg1
)->SetThemeEnabled(arg2
);
21070 wxPyEndAllowThreads(__tstate
);
21071 if (PyErr_Occurred()) SWIG_fail
;
21073 Py_INCREF(Py_None
); resultobj
= Py_None
;
21080 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21081 PyObject
*resultobj
;
21082 wxWindow
*arg1
= (wxWindow
*) 0 ;
21084 PyObject
* obj0
= 0 ;
21085 char *kwnames
[] = {
21086 (char *) "self", NULL
21089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
21090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21093 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
21095 wxPyEndAllowThreads(__tstate
);
21096 if (PyErr_Occurred()) SWIG_fail
;
21098 resultobj
= PyInt_FromLong((long)result
);
21105 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21106 PyObject
*resultobj
;
21107 wxWindow
*arg1
= (wxWindow
*) 0 ;
21109 PyObject
* obj0
= 0 ;
21110 char *kwnames
[] = {
21111 (char *) "self", NULL
21114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
21115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21118 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
21120 wxPyEndAllowThreads(__tstate
);
21121 if (PyErr_Occurred()) SWIG_fail
;
21123 resultobj
= PyInt_FromLong((long)result
);
21130 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21131 PyObject
*resultobj
;
21132 wxWindow
*arg1
= (wxWindow
*) 0 ;
21133 PyObject
* obj0
= 0 ;
21134 char *kwnames
[] = {
21135 (char *) "self", NULL
21138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
21139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21142 (arg1
)->SetFocus();
21144 wxPyEndAllowThreads(__tstate
);
21145 if (PyErr_Occurred()) SWIG_fail
;
21147 Py_INCREF(Py_None
); resultobj
= Py_None
;
21154 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21155 PyObject
*resultobj
;
21156 wxWindow
*arg1
= (wxWindow
*) 0 ;
21157 PyObject
* obj0
= 0 ;
21158 char *kwnames
[] = {
21159 (char *) "self", NULL
21162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
21163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21166 (arg1
)->SetFocusFromKbd();
21168 wxPyEndAllowThreads(__tstate
);
21169 if (PyErr_Occurred()) SWIG_fail
;
21171 Py_INCREF(Py_None
); resultobj
= Py_None
;
21178 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21179 PyObject
*resultobj
;
21181 char *kwnames
[] = {
21185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
21187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21188 result
= (wxWindow
*)wxWindow::FindFocus();
21190 wxPyEndAllowThreads(__tstate
);
21191 if (PyErr_Occurred()) SWIG_fail
;
21194 resultobj
= wxPyMake_wxObject(result
);
21202 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21203 PyObject
*resultobj
;
21204 wxWindow
*arg1
= (wxWindow
*) 0 ;
21206 PyObject
* obj0
= 0 ;
21207 char *kwnames
[] = {
21208 (char *) "self", NULL
21211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
21212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21215 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
21217 wxPyEndAllowThreads(__tstate
);
21218 if (PyErr_Occurred()) SWIG_fail
;
21220 resultobj
= PyInt_FromLong((long)result
);
21227 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21228 PyObject
*resultobj
;
21229 wxWindow
*arg1
= (wxWindow
*) 0 ;
21231 PyObject
* obj0
= 0 ;
21232 char *kwnames
[] = {
21233 (char *) "self", NULL
21236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
21237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21240 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
21242 wxPyEndAllowThreads(__tstate
);
21243 if (PyErr_Occurred()) SWIG_fail
;
21245 resultobj
= PyInt_FromLong((long)result
);
21252 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21253 PyObject
*resultobj
;
21254 wxWindow
*arg1
= (wxWindow
*) 0 ;
21256 PyObject
* obj0
= 0 ;
21257 char *kwnames
[] = {
21258 (char *) "self", NULL
21261 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
21262 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21265 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
21267 wxPyEndAllowThreads(__tstate
);
21268 if (PyErr_Occurred()) SWIG_fail
;
21271 resultobj
= wxPyMake_wxObject(result
);
21279 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21280 PyObject
*resultobj
;
21281 wxWindow
*arg1
= (wxWindow
*) 0 ;
21282 wxWindow
*arg2
= (wxWindow
*) 0 ;
21284 PyObject
* obj0
= 0 ;
21285 PyObject
* obj1
= 0 ;
21286 char *kwnames
[] = {
21287 (char *) "self",(char *) "child", NULL
21290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21292 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21295 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
21297 wxPyEndAllowThreads(__tstate
);
21298 if (PyErr_Occurred()) SWIG_fail
;
21301 resultobj
= wxPyMake_wxObject(result
);
21309 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21310 PyObject
*resultobj
;
21311 wxWindow
*arg1
= (wxWindow
*) 0 ;
21312 wxWindow
*arg2
= (wxWindow
*) 0 ;
21313 PyObject
* obj0
= 0 ;
21314 PyObject
* obj1
= 0 ;
21315 char *kwnames
[] = {
21316 (char *) "self",(char *) "win", NULL
21319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21320 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21321 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 (arg1
)->SetTmpDefaultItem(arg2
);
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21329 Py_INCREF(Py_None
); resultobj
= Py_None
;
21336 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21337 PyObject
*resultobj
;
21338 wxWindow
*arg1
= (wxWindow
*) 0 ;
21340 PyObject
* obj0
= 0 ;
21341 char *kwnames
[] = {
21342 (char *) "self", NULL
21345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21349 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21351 wxPyEndAllowThreads(__tstate
);
21352 if (PyErr_Occurred()) SWIG_fail
;
21354 resultobj
= result
;
21361 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21362 PyObject
*resultobj
;
21363 wxWindow
*arg1
= (wxWindow
*) 0 ;
21365 PyObject
* obj0
= 0 ;
21366 char *kwnames
[] = {
21367 (char *) "self", NULL
21370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21374 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21376 wxPyEndAllowThreads(__tstate
);
21377 if (PyErr_Occurred()) SWIG_fail
;
21380 resultobj
= wxPyMake_wxObject(result
);
21388 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxWindow
*arg1
= (wxWindow
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= wxPyMake_wxObject(result
);
21415 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxWindow
*arg1
= (wxWindow
*) 0 ;
21419 PyObject
* obj0
= 0 ;
21420 char *kwnames
[] = {
21421 (char *) "self", NULL
21424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21428 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= PyInt_FromLong((long)result
);
21440 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21441 PyObject
*resultobj
;
21442 wxWindow
*arg1
= (wxWindow
*) 0 ;
21443 wxWindow
*arg2
= (wxWindow
*) 0 ;
21445 PyObject
* obj0
= 0 ;
21446 PyObject
* obj1
= 0 ;
21447 char *kwnames
[] = {
21448 (char *) "self",(char *) "newParent", NULL
21451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21456 result
= (bool)(arg1
)->Reparent(arg2
);
21458 wxPyEndAllowThreads(__tstate
);
21459 if (PyErr_Occurred()) SWIG_fail
;
21461 resultobj
= PyInt_FromLong((long)result
);
21468 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21469 PyObject
*resultobj
;
21470 wxWindow
*arg1
= (wxWindow
*) 0 ;
21471 wxWindow
*arg2
= (wxWindow
*) 0 ;
21472 PyObject
* obj0
= 0 ;
21473 PyObject
* obj1
= 0 ;
21474 char *kwnames
[] = {
21475 (char *) "self",(char *) "child", NULL
21478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21480 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 (arg1
)->AddChild(arg2
);
21485 wxPyEndAllowThreads(__tstate
);
21486 if (PyErr_Occurred()) SWIG_fail
;
21488 Py_INCREF(Py_None
); resultobj
= Py_None
;
21495 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21496 PyObject
*resultobj
;
21497 wxWindow
*arg1
= (wxWindow
*) 0 ;
21498 wxWindow
*arg2
= (wxWindow
*) 0 ;
21499 PyObject
* obj0
= 0 ;
21500 PyObject
* obj1
= 0 ;
21501 char *kwnames
[] = {
21502 (char *) "self",(char *) "child", NULL
21505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21507 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 (arg1
)->RemoveChild(arg2
);
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21515 Py_INCREF(Py_None
); resultobj
= Py_None
;
21522 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21523 PyObject
*resultobj
;
21524 wxWindow
*arg1
= (wxWindow
*) 0 ;
21527 PyObject
* obj0
= 0 ;
21528 char *kwnames
[] = {
21529 (char *) "self",(char *) "winid", NULL
21532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21538 wxPyEndAllowThreads(__tstate
);
21539 if (PyErr_Occurred()) SWIG_fail
;
21542 resultobj
= wxPyMake_wxObject(result
);
21550 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21551 PyObject
*resultobj
;
21552 wxWindow
*arg1
= (wxWindow
*) 0 ;
21553 wxString
*arg2
= 0 ;
21555 bool temp2
= False
;
21556 PyObject
* obj0
= 0 ;
21557 PyObject
* obj1
= 0 ;
21558 char *kwnames
[] = {
21559 (char *) "self",(char *) "name", NULL
21562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21565 arg2
= wxString_in_helper(obj1
);
21566 if (arg2
== NULL
) SWIG_fail
;
21570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21571 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21573 wxPyEndAllowThreads(__tstate
);
21574 if (PyErr_Occurred()) SWIG_fail
;
21577 resultobj
= wxPyMake_wxObject(result
);
21593 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21594 PyObject
*resultobj
;
21595 wxWindow
*arg1
= (wxWindow
*) 0 ;
21596 wxEvtHandler
*result
;
21597 PyObject
* obj0
= 0 ;
21598 char *kwnames
[] = {
21599 (char *) "self", NULL
21602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21606 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21608 wxPyEndAllowThreads(__tstate
);
21609 if (PyErr_Occurred()) SWIG_fail
;
21612 resultobj
= wxPyMake_wxObject(result
);
21620 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21621 PyObject
*resultobj
;
21622 wxWindow
*arg1
= (wxWindow
*) 0 ;
21623 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21624 PyObject
* obj0
= 0 ;
21625 PyObject
* obj1
= 0 ;
21626 char *kwnames
[] = {
21627 (char *) "self",(char *) "handler", NULL
21630 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21631 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21632 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21635 (arg1
)->SetEventHandler(arg2
);
21637 wxPyEndAllowThreads(__tstate
);
21638 if (PyErr_Occurred()) SWIG_fail
;
21640 Py_INCREF(Py_None
); resultobj
= Py_None
;
21647 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21648 PyObject
*resultobj
;
21649 wxWindow
*arg1
= (wxWindow
*) 0 ;
21650 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21651 PyObject
* obj0
= 0 ;
21652 PyObject
* obj1
= 0 ;
21653 char *kwnames
[] = {
21654 (char *) "self",(char *) "handler", NULL
21657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21659 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21662 (arg1
)->PushEventHandler(arg2
);
21664 wxPyEndAllowThreads(__tstate
);
21665 if (PyErr_Occurred()) SWIG_fail
;
21667 Py_INCREF(Py_None
); resultobj
= Py_None
;
21674 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21675 PyObject
*resultobj
;
21676 wxWindow
*arg1
= (wxWindow
*) 0 ;
21677 bool arg2
= (bool) False
;
21678 wxEvtHandler
*result
;
21679 PyObject
* obj0
= 0 ;
21680 PyObject
* obj1
= 0 ;
21681 char *kwnames
[] = {
21682 (char *) "self",(char *) "deleteHandler", NULL
21685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21688 arg2
= PyInt_AsLong(obj1
) ? true : false;
21689 if (PyErr_Occurred()) SWIG_fail
;
21692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21693 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21695 wxPyEndAllowThreads(__tstate
);
21696 if (PyErr_Occurred()) SWIG_fail
;
21699 resultobj
= wxPyMake_wxObject(result
);
21707 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21708 PyObject
*resultobj
;
21709 wxWindow
*arg1
= (wxWindow
*) 0 ;
21710 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21712 PyObject
* obj0
= 0 ;
21713 PyObject
* obj1
= 0 ;
21714 char *kwnames
[] = {
21715 (char *) "self",(char *) "handler", NULL
21718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21720 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21723 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21725 wxPyEndAllowThreads(__tstate
);
21726 if (PyErr_Occurred()) SWIG_fail
;
21728 resultobj
= PyInt_FromLong((long)result
);
21735 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21736 PyObject
*resultobj
;
21737 wxWindow
*arg1
= (wxWindow
*) 0 ;
21738 wxValidator
*arg2
= 0 ;
21739 PyObject
* obj0
= 0 ;
21740 PyObject
* obj1
= 0 ;
21741 char *kwnames
[] = {
21742 (char *) "self",(char *) "validator", NULL
21745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21747 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21748 if (arg2
== NULL
) {
21749 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21753 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 Py_INCREF(Py_None
); resultobj
= Py_None
;
21765 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21766 PyObject
*resultobj
;
21767 wxWindow
*arg1
= (wxWindow
*) 0 ;
21768 wxValidator
*result
;
21769 PyObject
* obj0
= 0 ;
21770 char *kwnames
[] = {
21771 (char *) "self", NULL
21774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21778 result
= (wxValidator
*)(arg1
)->GetValidator();
21780 wxPyEndAllowThreads(__tstate
);
21781 if (PyErr_Occurred()) SWIG_fail
;
21784 resultobj
= wxPyMake_wxObject(result
);
21792 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
;
21794 wxWindow
*arg1
= (wxWindow
*) 0 ;
21795 wxAcceleratorTable
*arg2
= 0 ;
21796 PyObject
* obj0
= 0 ;
21797 PyObject
* obj1
= 0 ;
21798 char *kwnames
[] = {
21799 (char *) "self",(char *) "accel", NULL
21802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21805 if (arg2
== NULL
) {
21806 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21810 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21812 wxPyEndAllowThreads(__tstate
);
21813 if (PyErr_Occurred()) SWIG_fail
;
21815 Py_INCREF(Py_None
); resultobj
= Py_None
;
21822 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21823 PyObject
*resultobj
;
21824 wxWindow
*arg1
= (wxWindow
*) 0 ;
21825 wxAcceleratorTable
*result
;
21826 PyObject
* obj0
= 0 ;
21827 char *kwnames
[] = {
21828 (char *) "self", NULL
21831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21835 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21837 wxPyEndAllowThreads(__tstate
);
21838 if (PyErr_Occurred()) SWIG_fail
;
21840 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21847 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21848 PyObject
*resultobj
;
21849 wxWindow
*arg1
= (wxWindow
*) 0 ;
21854 PyObject
* obj0
= 0 ;
21855 char *kwnames
[] = {
21856 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21863 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
21865 wxPyEndAllowThreads(__tstate
);
21866 if (PyErr_Occurred()) SWIG_fail
;
21868 resultobj
= PyInt_FromLong((long)result
);
21875 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21876 PyObject
*resultobj
;
21877 wxWindow
*arg1
= (wxWindow
*) 0 ;
21880 PyObject
* obj0
= 0 ;
21881 char *kwnames
[] = {
21882 (char *) "self",(char *) "hotkeyId", NULL
21885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
21886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 resultobj
= PyInt_FromLong((long)result
);
21901 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxWindow
*arg1
= (wxWindow
*) 0 ;
21904 wxPoint
*arg2
= 0 ;
21907 PyObject
* obj0
= 0 ;
21908 PyObject
* obj1
= 0 ;
21909 char *kwnames
[] = {
21910 (char *) "self",(char *) "pt", NULL
21913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21917 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21921 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21923 wxPyEndAllowThreads(__tstate
);
21924 if (PyErr_Occurred()) SWIG_fail
;
21927 wxPoint
* resultptr
;
21928 resultptr
= new wxPoint((wxPoint
&) result
);
21929 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21937 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21938 PyObject
*resultobj
;
21939 wxWindow
*arg1
= (wxWindow
*) 0 ;
21943 PyObject
* obj0
= 0 ;
21944 PyObject
* obj1
= 0 ;
21945 char *kwnames
[] = {
21946 (char *) "self",(char *) "sz", NULL
21949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21953 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21957 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21963 wxSize
* resultptr
;
21964 resultptr
= new wxSize((wxSize
&) result
);
21965 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21973 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21974 PyObject
*resultobj
;
21975 wxWindow
*arg1
= (wxWindow
*) 0 ;
21976 wxPoint
*arg2
= 0 ;
21979 PyObject
* obj0
= 0 ;
21980 PyObject
* obj1
= 0 ;
21981 char *kwnames
[] = {
21982 (char *) "self",(char *) "pt", NULL
21985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
21986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21989 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21993 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21995 wxPyEndAllowThreads(__tstate
);
21996 if (PyErr_Occurred()) SWIG_fail
;
21999 wxPoint
* resultptr
;
22000 resultptr
= new wxPoint((wxPoint
&) result
);
22001 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22009 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22010 PyObject
*resultobj
;
22011 wxWindow
*arg1
= (wxWindow
*) 0 ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "sz", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22025 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22029 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22031 wxPyEndAllowThreads(__tstate
);
22032 if (PyErr_Occurred()) SWIG_fail
;
22035 wxSize
* resultptr
;
22036 resultptr
= new wxSize((wxSize
&) result
);
22037 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22045 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
;
22047 wxWindow
*arg1
= (wxWindow
*) 0 ;
22048 wxPoint
*arg2
= 0 ;
22051 PyObject
* obj0
= 0 ;
22052 PyObject
* obj1
= 0 ;
22053 char *kwnames
[] = {
22054 (char *) "self",(char *) "pt", NULL
22057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22061 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22065 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
22067 wxPyEndAllowThreads(__tstate
);
22068 if (PyErr_Occurred()) SWIG_fail
;
22071 wxPoint
* resultptr
;
22072 resultptr
= new wxPoint((wxPoint
&) result
);
22073 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22081 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22082 PyObject
*resultobj
;
22083 wxWindow
*arg1
= (wxWindow
*) 0 ;
22087 PyObject
* obj0
= 0 ;
22088 PyObject
* obj1
= 0 ;
22089 char *kwnames
[] = {
22090 (char *) "self",(char *) "sz", NULL
22093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22097 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22101 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
22103 wxPyEndAllowThreads(__tstate
);
22104 if (PyErr_Occurred()) SWIG_fail
;
22107 wxSize
* resultptr
;
22108 resultptr
= new wxSize((wxSize
&) result
);
22109 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22117 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22118 PyObject
*resultobj
;
22119 wxWindow
*arg1
= (wxWindow
*) 0 ;
22122 PyObject
* obj0
= 0 ;
22123 char *kwnames
[] = {
22124 (char *) "self",(char *) "x",(char *) "y", NULL
22127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22131 (arg1
)->WarpPointer(arg2
,arg3
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 Py_INCREF(Py_None
); resultobj
= Py_None
;
22143 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
;
22145 wxWindow
*arg1
= (wxWindow
*) 0 ;
22146 PyObject
* obj0
= 0 ;
22147 char *kwnames
[] = {
22148 (char *) "self", NULL
22151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
22152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 (arg1
)->CaptureMouse();
22157 wxPyEndAllowThreads(__tstate
);
22158 if (PyErr_Occurred()) SWIG_fail
;
22160 Py_INCREF(Py_None
); resultobj
= Py_None
;
22167 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22168 PyObject
*resultobj
;
22169 wxWindow
*arg1
= (wxWindow
*) 0 ;
22170 PyObject
* obj0
= 0 ;
22171 char *kwnames
[] = {
22172 (char *) "self", NULL
22175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
22176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->ReleaseMouse();
22181 wxPyEndAllowThreads(__tstate
);
22182 if (PyErr_Occurred()) SWIG_fail
;
22184 Py_INCREF(Py_None
); resultobj
= Py_None
;
22191 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22192 PyObject
*resultobj
;
22194 char *kwnames
[] = {
22198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (wxWindow
*)wxWindow::GetCapture();
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 resultobj
= wxPyMake_wxObject(result
);
22215 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22216 PyObject
*resultobj
;
22217 wxWindow
*arg1
= (wxWindow
*) 0 ;
22219 PyObject
* obj0
= 0 ;
22220 char *kwnames
[] = {
22221 (char *) "self", NULL
22224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
22225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22228 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
22230 wxPyEndAllowThreads(__tstate
);
22231 if (PyErr_Occurred()) SWIG_fail
;
22233 resultobj
= PyInt_FromLong((long)result
);
22240 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22241 PyObject
*resultobj
;
22242 wxWindow
*arg1
= (wxWindow
*) 0 ;
22243 bool arg2
= (bool) True
;
22244 wxRect
*arg3
= (wxRect
*) NULL
;
22245 PyObject
* obj0
= 0 ;
22246 PyObject
* obj1
= 0 ;
22247 PyObject
* obj2
= 0 ;
22248 char *kwnames
[] = {
22249 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22255 arg2
= PyInt_AsLong(obj1
) ? true : false;
22256 if (PyErr_Occurred()) SWIG_fail
;
22259 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22263 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
22265 wxPyEndAllowThreads(__tstate
);
22266 if (PyErr_Occurred()) SWIG_fail
;
22268 Py_INCREF(Py_None
); resultobj
= Py_None
;
22275 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22276 PyObject
*resultobj
;
22277 wxWindow
*arg1
= (wxWindow
*) 0 ;
22280 PyObject
* obj0
= 0 ;
22281 PyObject
* obj1
= 0 ;
22282 char *kwnames
[] = {
22283 (char *) "self",(char *) "rect", NULL
22286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22290 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22294 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
22296 wxPyEndAllowThreads(__tstate
);
22297 if (PyErr_Occurred()) SWIG_fail
;
22299 Py_INCREF(Py_None
); resultobj
= Py_None
;
22306 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22307 PyObject
*resultobj
;
22308 wxWindow
*arg1
= (wxWindow
*) 0 ;
22309 PyObject
* obj0
= 0 ;
22310 char *kwnames
[] = {
22311 (char *) "self", NULL
22314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
22315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22320 wxPyEndAllowThreads(__tstate
);
22321 if (PyErr_Occurred()) SWIG_fail
;
22323 Py_INCREF(Py_None
); resultobj
= Py_None
;
22330 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22331 PyObject
*resultobj
;
22332 wxWindow
*arg1
= (wxWindow
*) 0 ;
22333 PyObject
* obj0
= 0 ;
22334 char *kwnames
[] = {
22335 (char *) "self", NULL
22338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22342 (arg1
)->ClearBackground();
22344 wxPyEndAllowThreads(__tstate
);
22345 if (PyErr_Occurred()) SWIG_fail
;
22347 Py_INCREF(Py_None
); resultobj
= Py_None
;
22354 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22355 PyObject
*resultobj
;
22356 wxWindow
*arg1
= (wxWindow
*) 0 ;
22357 PyObject
* obj0
= 0 ;
22358 char *kwnames
[] = {
22359 (char *) "self", NULL
22362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22368 wxPyEndAllowThreads(__tstate
);
22369 if (PyErr_Occurred()) SWIG_fail
;
22371 Py_INCREF(Py_None
); resultobj
= Py_None
;
22378 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22379 PyObject
*resultobj
;
22380 wxWindow
*arg1
= (wxWindow
*) 0 ;
22381 PyObject
* obj0
= 0 ;
22382 char *kwnames
[] = {
22383 (char *) "self", NULL
22386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22392 wxPyEndAllowThreads(__tstate
);
22393 if (PyErr_Occurred()) SWIG_fail
;
22395 Py_INCREF(Py_None
); resultobj
= Py_None
;
22402 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
;
22404 wxWindow
*arg1
= (wxWindow
*) 0 ;
22406 PyObject
* obj0
= 0 ;
22407 PyObject
* obj1
= 0 ;
22408 char *kwnames
[] = {
22409 (char *) "self",(char *) "dc", NULL
22412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22414 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22415 if (arg2
== NULL
) {
22416 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22420 (arg1
)->PrepareDC(*arg2
);
22422 wxPyEndAllowThreads(__tstate
);
22423 if (PyErr_Occurred()) SWIG_fail
;
22425 Py_INCREF(Py_None
); resultobj
= Py_None
;
22432 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22433 PyObject
*resultobj
;
22434 wxWindow
*arg1
= (wxWindow
*) 0 ;
22436 PyObject
* obj0
= 0 ;
22437 char *kwnames
[] = {
22438 (char *) "self", NULL
22441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22446 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22447 result
= (wxRegion
*) &_result_ref
;
22450 wxPyEndAllowThreads(__tstate
);
22451 if (PyErr_Occurred()) SWIG_fail
;
22453 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22460 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22461 PyObject
*resultobj
;
22462 wxWindow
*arg1
= (wxWindow
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 char *kwnames
[] = {
22466 (char *) "self", NULL
22469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22473 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22475 wxPyEndAllowThreads(__tstate
);
22476 if (PyErr_Occurred()) SWIG_fail
;
22479 wxRect
* resultptr
;
22480 resultptr
= new wxRect((wxRect
&) result
);
22481 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22489 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22490 PyObject
*resultobj
;
22491 wxWindow
*arg1
= (wxWindow
*) 0 ;
22494 int arg4
= (int) 1 ;
22495 int arg5
= (int) 1 ;
22497 PyObject
* obj0
= 0 ;
22498 char *kwnames
[] = {
22499 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22506 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22508 wxPyEndAllowThreads(__tstate
);
22509 if (PyErr_Occurred()) SWIG_fail
;
22511 resultobj
= PyInt_FromLong((long)result
);
22518 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22519 PyObject
*resultobj
;
22520 wxWindow
*arg1
= (wxWindow
*) 0 ;
22521 wxPoint
*arg2
= 0 ;
22524 PyObject
* obj0
= 0 ;
22525 PyObject
* obj1
= 0 ;
22526 char *kwnames
[] = {
22527 (char *) "self",(char *) "pt", NULL
22530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22534 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22538 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22540 wxPyEndAllowThreads(__tstate
);
22541 if (PyErr_Occurred()) SWIG_fail
;
22543 resultobj
= PyInt_FromLong((long)result
);
22550 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22551 PyObject
*resultobj
;
22552 wxWindow
*arg1
= (wxWindow
*) 0 ;
22556 PyObject
* obj0
= 0 ;
22557 PyObject
* obj1
= 0 ;
22558 char *kwnames
[] = {
22559 (char *) "self",(char *) "rect", NULL
22562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22566 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22572 wxPyEndAllowThreads(__tstate
);
22573 if (PyErr_Occurred()) SWIG_fail
;
22575 resultobj
= PyInt_FromLong((long)result
);
22582 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22583 PyObject
*resultobj
;
22584 wxWindow
*arg1
= (wxWindow
*) 0 ;
22585 wxColour
*arg2
= 0 ;
22588 PyObject
* obj0
= 0 ;
22589 PyObject
* obj1
= 0 ;
22590 char *kwnames
[] = {
22591 (char *) "self",(char *) "colour", NULL
22594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22598 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22602 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22604 wxPyEndAllowThreads(__tstate
);
22605 if (PyErr_Occurred()) SWIG_fail
;
22607 resultobj
= PyInt_FromLong((long)result
);
22614 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22615 PyObject
*resultobj
;
22616 wxWindow
*arg1
= (wxWindow
*) 0 ;
22617 wxColour
*arg2
= 0 ;
22620 PyObject
* obj0
= 0 ;
22621 PyObject
* obj1
= 0 ;
22622 char *kwnames
[] = {
22623 (char *) "self",(char *) "colour", NULL
22626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22630 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22634 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22636 wxPyEndAllowThreads(__tstate
);
22637 if (PyErr_Occurred()) SWIG_fail
;
22639 resultobj
= PyInt_FromLong((long)result
);
22646 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22647 PyObject
*resultobj
;
22648 wxWindow
*arg1
= (wxWindow
*) 0 ;
22650 PyObject
* obj0
= 0 ;
22651 char *kwnames
[] = {
22652 (char *) "self", NULL
22655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22659 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22661 wxPyEndAllowThreads(__tstate
);
22662 if (PyErr_Occurred()) SWIG_fail
;
22665 wxColour
* resultptr
;
22666 resultptr
= new wxColour((wxColour
&) result
);
22667 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22675 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22676 PyObject
*resultobj
;
22677 wxWindow
*arg1
= (wxWindow
*) 0 ;
22679 PyObject
* obj0
= 0 ;
22680 char *kwnames
[] = {
22681 (char *) "self", NULL
22684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
22685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22688 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22690 wxPyEndAllowThreads(__tstate
);
22691 if (PyErr_Occurred()) SWIG_fail
;
22694 wxColour
* resultptr
;
22695 resultptr
= new wxColour((wxColour
&) result
);
22696 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22704 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22705 PyObject
*resultobj
;
22706 wxWindow
*arg1
= (wxWindow
*) 0 ;
22707 wxCursor
*arg2
= 0 ;
22709 PyObject
* obj0
= 0 ;
22710 PyObject
* obj1
= 0 ;
22711 char *kwnames
[] = {
22712 (char *) "self",(char *) "cursor", NULL
22715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22717 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22718 if (arg2
== NULL
) {
22719 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22723 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22725 wxPyEndAllowThreads(__tstate
);
22726 if (PyErr_Occurred()) SWIG_fail
;
22728 resultobj
= PyInt_FromLong((long)result
);
22735 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22736 PyObject
*resultobj
;
22737 wxWindow
*arg1
= (wxWindow
*) 0 ;
22739 PyObject
* obj0
= 0 ;
22740 char *kwnames
[] = {
22741 (char *) "self", NULL
22744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22749 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22750 result
= (wxCursor
*) &_result_ref
;
22753 wxPyEndAllowThreads(__tstate
);
22754 if (PyErr_Occurred()) SWIG_fail
;
22756 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22763 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22764 PyObject
*resultobj
;
22765 wxWindow
*arg1
= (wxWindow
*) 0 ;
22768 PyObject
* obj0
= 0 ;
22769 PyObject
* obj1
= 0 ;
22770 char *kwnames
[] = {
22771 (char *) "self",(char *) "font", NULL
22774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22776 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22777 if (arg2
== NULL
) {
22778 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22782 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22784 wxPyEndAllowThreads(__tstate
);
22785 if (PyErr_Occurred()) SWIG_fail
;
22787 resultobj
= PyInt_FromLong((long)result
);
22794 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22795 PyObject
*resultobj
;
22796 wxWindow
*arg1
= (wxWindow
*) 0 ;
22798 PyObject
* obj0
= 0 ;
22799 char *kwnames
[] = {
22800 (char *) "self", NULL
22803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22808 wxFont
&_result_ref
= (arg1
)->GetFont();
22809 result
= (wxFont
*) &_result_ref
;
22812 wxPyEndAllowThreads(__tstate
);
22813 if (PyErr_Occurred()) SWIG_fail
;
22815 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22822 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22823 PyObject
*resultobj
;
22824 wxWindow
*arg1
= (wxWindow
*) 0 ;
22825 wxCaret
*arg2
= (wxCaret
*) 0 ;
22826 PyObject
* obj0
= 0 ;
22827 PyObject
* obj1
= 0 ;
22828 char *kwnames
[] = {
22829 (char *) "self",(char *) "caret", NULL
22832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22837 (arg1
)->SetCaret(arg2
);
22839 wxPyEndAllowThreads(__tstate
);
22840 if (PyErr_Occurred()) SWIG_fail
;
22842 Py_INCREF(Py_None
); resultobj
= Py_None
;
22849 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22850 PyObject
*resultobj
;
22851 wxWindow
*arg1
= (wxWindow
*) 0 ;
22853 PyObject
* obj0
= 0 ;
22854 char *kwnames
[] = {
22855 (char *) "self", NULL
22858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22862 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
22864 wxPyEndAllowThreads(__tstate
);
22865 if (PyErr_Occurred()) SWIG_fail
;
22867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
22874 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22875 PyObject
*resultobj
;
22876 wxWindow
*arg1
= (wxWindow
*) 0 ;
22878 PyObject
* obj0
= 0 ;
22879 char *kwnames
[] = {
22880 (char *) "self", NULL
22883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
22884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22887 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= PyInt_FromLong((long)result
);
22899 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxWindow
*arg1
= (wxWindow
*) 0 ;
22903 PyObject
* obj0
= 0 ;
22904 char *kwnames
[] = {
22905 (char *) "self", NULL
22908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
22909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22912 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
22914 wxPyEndAllowThreads(__tstate
);
22915 if (PyErr_Occurred()) SWIG_fail
;
22917 resultobj
= PyInt_FromLong((long)result
);
22924 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22925 PyObject
*resultobj
;
22926 wxWindow
*arg1
= (wxWindow
*) 0 ;
22927 wxString
*arg2
= 0 ;
22928 int *arg3
= (int *) 0 ;
22929 int *arg4
= (int *) 0 ;
22930 bool temp2
= False
;
22933 PyObject
* obj0
= 0 ;
22934 PyObject
* obj1
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self",(char *) "string", NULL
22941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
22942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22944 arg2
= wxString_in_helper(obj1
);
22945 if (arg2
== NULL
) SWIG_fail
;
22949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22950 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22952 wxPyEndAllowThreads(__tstate
);
22953 if (PyErr_Occurred()) SWIG_fail
;
22955 Py_INCREF(Py_None
); resultobj
= Py_None
;
22957 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22958 resultobj
= t_output_helper(resultobj
,o
);
22961 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22962 resultobj
= t_output_helper(resultobj
,o
);
22978 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22979 PyObject
*resultobj
;
22980 wxWindow
*arg1
= (wxWindow
*) 0 ;
22981 wxString
*arg2
= 0 ;
22982 int *arg3
= (int *) 0 ;
22983 int *arg4
= (int *) 0 ;
22984 int *arg5
= (int *) 0 ;
22985 int *arg6
= (int *) 0 ;
22986 wxFont
*arg7
= (wxFont
*) NULL
;
22987 bool temp2
= False
;
22992 PyObject
* obj0
= 0 ;
22993 PyObject
* obj1
= 0 ;
22994 PyObject
* obj2
= 0 ;
22995 char *kwnames
[] = {
22996 (char *) "self",(char *) "string",(char *) "font", NULL
23003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23006 arg2
= wxString_in_helper(obj1
);
23007 if (arg2
== NULL
) SWIG_fail
;
23011 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23015 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
23017 wxPyEndAllowThreads(__tstate
);
23018 if (PyErr_Occurred()) SWIG_fail
;
23020 Py_INCREF(Py_None
); resultobj
= Py_None
;
23022 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23023 resultobj
= t_output_helper(resultobj
,o
);
23026 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23027 resultobj
= t_output_helper(resultobj
,o
);
23030 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
23031 resultobj
= t_output_helper(resultobj
,o
);
23034 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
23035 resultobj
= t_output_helper(resultobj
,o
);
23051 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23052 PyObject
*resultobj
;
23053 wxWindow
*arg1
= (wxWindow
*) 0 ;
23054 int *arg2
= (int *) 0 ;
23055 int *arg3
= (int *) 0 ;
23058 PyObject
* obj0
= 0 ;
23059 PyObject
* obj1
= 0 ;
23060 PyObject
* obj2
= 0 ;
23061 char *kwnames
[] = {
23062 (char *) "self",(char *) "x",(char *) "y", NULL
23065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23068 temp2
= PyInt_AsLong(obj1
);
23069 if (PyErr_Occurred()) SWIG_fail
;
23073 temp3
= PyInt_AsLong(obj2
);
23074 if (PyErr_Occurred()) SWIG_fail
;
23078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23079 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 Py_INCREF(Py_None
); resultobj
= Py_None
;
23086 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23087 resultobj
= t_output_helper(resultobj
,o
);
23090 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23091 resultobj
= t_output_helper(resultobj
,o
);
23099 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23100 PyObject
*resultobj
;
23101 wxWindow
*arg1
= (wxWindow
*) 0 ;
23102 int *arg2
= (int *) 0 ;
23103 int *arg3
= (int *) 0 ;
23106 PyObject
* obj0
= 0 ;
23107 PyObject
* obj1
= 0 ;
23108 PyObject
* obj2
= 0 ;
23109 char *kwnames
[] = {
23110 (char *) "self",(char *) "x",(char *) "y", NULL
23113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23116 temp2
= PyInt_AsLong(obj1
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23121 temp3
= PyInt_AsLong(obj2
);
23122 if (PyErr_Occurred()) SWIG_fail
;
23126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23127 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
23129 wxPyEndAllowThreads(__tstate
);
23130 if (PyErr_Occurred()) SWIG_fail
;
23132 Py_INCREF(Py_None
); resultobj
= Py_None
;
23134 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23135 resultobj
= t_output_helper(resultobj
,o
);
23138 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23139 resultobj
= t_output_helper(resultobj
,o
);
23147 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23148 PyObject
*resultobj
;
23149 wxWindow
*arg1
= (wxWindow
*) 0 ;
23150 wxPoint
*arg2
= 0 ;
23153 PyObject
* obj0
= 0 ;
23154 PyObject
* obj1
= 0 ;
23155 char *kwnames
[] = {
23156 (char *) "self",(char *) "pt", NULL
23159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23163 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23167 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
23169 wxPyEndAllowThreads(__tstate
);
23170 if (PyErr_Occurred()) SWIG_fail
;
23173 wxPoint
* resultptr
;
23174 resultptr
= new wxPoint((wxPoint
&) result
);
23175 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23183 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23184 PyObject
*resultobj
;
23185 wxWindow
*arg1
= (wxWindow
*) 0 ;
23186 wxPoint
*arg2
= 0 ;
23189 PyObject
* obj0
= 0 ;
23190 PyObject
* obj1
= 0 ;
23191 char *kwnames
[] = {
23192 (char *) "self",(char *) "pt", NULL
23195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
23196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23199 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23203 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
23205 wxPyEndAllowThreads(__tstate
);
23206 if (PyErr_Occurred()) SWIG_fail
;
23209 wxPoint
* resultptr
;
23210 resultptr
= new wxPoint((wxPoint
&) result
);
23211 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23219 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23220 PyObject
*resultobj
;
23221 wxWindow
*arg1
= (wxWindow
*) 0 ;
23225 PyObject
* obj0
= 0 ;
23226 char *kwnames
[] = {
23227 (char *) "self",(char *) "x",(char *) "y", NULL
23230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23234 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
23236 wxPyEndAllowThreads(__tstate
);
23237 if (PyErr_Occurred()) SWIG_fail
;
23239 resultobj
= PyInt_FromLong((long)result
);
23246 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23247 PyObject
*resultobj
;
23248 wxWindow
*arg1
= (wxWindow
*) 0 ;
23249 wxPoint
*arg2
= 0 ;
23252 PyObject
* obj0
= 0 ;
23253 PyObject
* obj1
= 0 ;
23254 char *kwnames
[] = {
23255 (char *) "self",(char *) "pt", NULL
23258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23262 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23266 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
23268 wxPyEndAllowThreads(__tstate
);
23269 if (PyErr_Occurred()) SWIG_fail
;
23271 resultobj
= PyInt_FromLong((long)result
);
23278 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23279 PyObject
*resultobj
;
23280 wxWindow
*arg1
= (wxWindow
*) 0 ;
23283 PyObject
* obj0
= 0 ;
23284 char *kwnames
[] = {
23285 (char *) "self",(char *) "flags", NULL
23288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
23289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23292 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
23294 wxPyEndAllowThreads(__tstate
);
23295 if (PyErr_Occurred()) SWIG_fail
;
23297 resultobj
= PyInt_FromLong((long)result
);
23304 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23305 PyObject
*resultobj
;
23306 wxWindow
*arg1
= (wxWindow
*) 0 ;
23308 PyObject
* obj0
= 0 ;
23309 char *kwnames
[] = {
23310 (char *) "self", NULL
23313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
23314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23317 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
23319 wxPyEndAllowThreads(__tstate
);
23320 if (PyErr_Occurred()) SWIG_fail
;
23322 resultobj
= PyInt_FromLong((long)result
);
23329 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23330 PyObject
*resultobj
;
23331 wxWindow
*arg1
= (wxWindow
*) 0 ;
23332 long arg2
= (long) wxUPDATE_UI_NONE
;
23333 PyObject
* obj0
= 0 ;
23334 char *kwnames
[] = {
23335 (char *) "self",(char *) "flags", NULL
23338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23342 (arg1
)->UpdateWindowUI(arg2
);
23344 wxPyEndAllowThreads(__tstate
);
23345 if (PyErr_Occurred()) SWIG_fail
;
23347 Py_INCREF(Py_None
); resultobj
= Py_None
;
23354 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23355 PyObject
*resultobj
;
23356 wxWindow
*arg1
= (wxWindow
*) 0 ;
23357 wxMenu
*arg2
= (wxMenu
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 PyObject
* obj1
= 0 ;
23363 char *kwnames
[] = {
23364 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23369 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23372 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23374 wxPyEndAllowThreads(__tstate
);
23375 if (PyErr_Occurred()) SWIG_fail
;
23377 resultobj
= PyInt_FromLong((long)result
);
23384 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23385 PyObject
*resultobj
;
23386 wxWindow
*arg1
= (wxWindow
*) 0 ;
23387 wxMenu
*arg2
= (wxMenu
*) 0 ;
23388 wxPoint
*arg3
= 0 ;
23391 PyObject
* obj0
= 0 ;
23392 PyObject
* obj1
= 0 ;
23393 PyObject
* obj2
= 0 ;
23394 char *kwnames
[] = {
23395 (char *) "self",(char *) "menu",(char *) "pos", NULL
23398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23400 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23403 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23407 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23409 wxPyEndAllowThreads(__tstate
);
23410 if (PyErr_Occurred()) SWIG_fail
;
23412 resultobj
= PyInt_FromLong((long)result
);
23419 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23420 PyObject
*resultobj
;
23421 wxWindow
*arg1
= (wxWindow
*) 0 ;
23423 PyObject
* obj0
= 0 ;
23424 char *kwnames
[] = {
23425 (char *) "self", NULL
23428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23432 result
= (long)wxWindow_GetHandle(arg1
);
23434 wxPyEndAllowThreads(__tstate
);
23435 if (PyErr_Occurred()) SWIG_fail
;
23437 resultobj
= PyInt_FromLong((long)result
);
23444 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23445 PyObject
*resultobj
;
23446 wxWindow
*arg1
= (wxWindow
*) 0 ;
23449 PyObject
* obj0
= 0 ;
23450 char *kwnames
[] = {
23451 (char *) "self",(char *) "orient", NULL
23454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23458 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23460 wxPyEndAllowThreads(__tstate
);
23461 if (PyErr_Occurred()) SWIG_fail
;
23463 resultobj
= PyInt_FromLong((long)result
);
23470 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23471 PyObject
*resultobj
;
23472 wxWindow
*arg1
= (wxWindow
*) 0 ;
23477 bool arg6
= (bool) True
;
23478 PyObject
* obj0
= 0 ;
23479 PyObject
* obj5
= 0 ;
23480 char *kwnames
[] = {
23481 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23485 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23487 arg6
= PyInt_AsLong(obj5
) ? true : false;
23488 if (PyErr_Occurred()) SWIG_fail
;
23491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23492 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23494 wxPyEndAllowThreads(__tstate
);
23495 if (PyErr_Occurred()) SWIG_fail
;
23497 Py_INCREF(Py_None
); resultobj
= Py_None
;
23504 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23505 PyObject
*resultobj
;
23506 wxWindow
*arg1
= (wxWindow
*) 0 ;
23509 bool arg4
= (bool) True
;
23510 PyObject
* obj0
= 0 ;
23511 PyObject
* obj3
= 0 ;
23512 char *kwnames
[] = {
23513 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23516 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23517 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23519 arg4
= PyInt_AsLong(obj3
) ? true : false;
23520 if (PyErr_Occurred()) SWIG_fail
;
23523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23524 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 Py_INCREF(Py_None
); resultobj
= Py_None
;
23536 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23537 PyObject
*resultobj
;
23538 wxWindow
*arg1
= (wxWindow
*) 0 ;
23541 PyObject
* obj0
= 0 ;
23542 char *kwnames
[] = {
23543 (char *) "self",(char *) "orient", NULL
23546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23550 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23552 wxPyEndAllowThreads(__tstate
);
23553 if (PyErr_Occurred()) SWIG_fail
;
23555 resultobj
= PyInt_FromLong((long)result
);
23562 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23563 PyObject
*resultobj
;
23564 wxWindow
*arg1
= (wxWindow
*) 0 ;
23567 PyObject
* obj0
= 0 ;
23568 char *kwnames
[] = {
23569 (char *) "self",(char *) "orient", NULL
23572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23576 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23578 wxPyEndAllowThreads(__tstate
);
23579 if (PyErr_Occurred()) SWIG_fail
;
23581 resultobj
= PyInt_FromLong((long)result
);
23588 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23589 PyObject
*resultobj
;
23590 wxWindow
*arg1
= (wxWindow
*) 0 ;
23593 PyObject
* obj0
= 0 ;
23594 char *kwnames
[] = {
23595 (char *) "self",(char *) "orient", NULL
23598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23602 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23604 wxPyEndAllowThreads(__tstate
);
23605 if (PyErr_Occurred()) SWIG_fail
;
23607 resultobj
= PyInt_FromLong((long)result
);
23614 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23615 PyObject
*resultobj
;
23616 wxWindow
*arg1
= (wxWindow
*) 0 ;
23619 wxRect
*arg4
= (wxRect
*) NULL
;
23620 PyObject
* obj0
= 0 ;
23621 PyObject
* obj3
= 0 ;
23622 char *kwnames
[] = {
23623 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23629 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23633 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23635 wxPyEndAllowThreads(__tstate
);
23636 if (PyErr_Occurred()) SWIG_fail
;
23638 Py_INCREF(Py_None
); resultobj
= Py_None
;
23645 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23646 PyObject
*resultobj
;
23647 wxWindow
*arg1
= (wxWindow
*) 0 ;
23650 PyObject
* obj0
= 0 ;
23651 char *kwnames
[] = {
23652 (char *) "self",(char *) "lines", NULL
23655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23659 result
= (bool)(arg1
)->ScrollLines(arg2
);
23661 wxPyEndAllowThreads(__tstate
);
23662 if (PyErr_Occurred()) SWIG_fail
;
23664 resultobj
= PyInt_FromLong((long)result
);
23671 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23672 PyObject
*resultobj
;
23673 wxWindow
*arg1
= (wxWindow
*) 0 ;
23676 PyObject
* obj0
= 0 ;
23677 char *kwnames
[] = {
23678 (char *) "self",(char *) "pages", NULL
23681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23685 result
= (bool)(arg1
)->ScrollPages(arg2
);
23687 wxPyEndAllowThreads(__tstate
);
23688 if (PyErr_Occurred()) SWIG_fail
;
23690 resultobj
= PyInt_FromLong((long)result
);
23697 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23698 PyObject
*resultobj
;
23699 wxWindow
*arg1
= (wxWindow
*) 0 ;
23701 PyObject
* obj0
= 0 ;
23702 char *kwnames
[] = {
23703 (char *) "self", NULL
23706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
23707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23710 result
= (bool)(arg1
)->LineUp();
23712 wxPyEndAllowThreads(__tstate
);
23713 if (PyErr_Occurred()) SWIG_fail
;
23715 resultobj
= PyInt_FromLong((long)result
);
23722 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23723 PyObject
*resultobj
;
23724 wxWindow
*arg1
= (wxWindow
*) 0 ;
23726 PyObject
* obj0
= 0 ;
23727 char *kwnames
[] = {
23728 (char *) "self", NULL
23731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23735 result
= (bool)(arg1
)->LineDown();
23737 wxPyEndAllowThreads(__tstate
);
23738 if (PyErr_Occurred()) SWIG_fail
;
23740 resultobj
= PyInt_FromLong((long)result
);
23747 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23748 PyObject
*resultobj
;
23749 wxWindow
*arg1
= (wxWindow
*) 0 ;
23751 PyObject
* obj0
= 0 ;
23752 char *kwnames
[] = {
23753 (char *) "self", NULL
23756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23760 result
= (bool)(arg1
)->PageUp();
23762 wxPyEndAllowThreads(__tstate
);
23763 if (PyErr_Occurred()) SWIG_fail
;
23765 resultobj
= PyInt_FromLong((long)result
);
23772 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23773 PyObject
*resultobj
;
23774 wxWindow
*arg1
= (wxWindow
*) 0 ;
23776 PyObject
* obj0
= 0 ;
23777 char *kwnames
[] = {
23778 (char *) "self", NULL
23781 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23782 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23785 result
= (bool)(arg1
)->PageDown();
23787 wxPyEndAllowThreads(__tstate
);
23788 if (PyErr_Occurred()) SWIG_fail
;
23790 resultobj
= PyInt_FromLong((long)result
);
23797 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23798 PyObject
*resultobj
;
23799 wxWindow
*arg1
= (wxWindow
*) 0 ;
23800 wxString
*arg2
= 0 ;
23801 bool temp2
= False
;
23802 PyObject
* obj0
= 0 ;
23803 PyObject
* obj1
= 0 ;
23804 char *kwnames
[] = {
23805 (char *) "self",(char *) "text", NULL
23808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23811 arg2
= wxString_in_helper(obj1
);
23812 if (arg2
== NULL
) SWIG_fail
;
23816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23817 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23819 wxPyEndAllowThreads(__tstate
);
23820 if (PyErr_Occurred()) SWIG_fail
;
23822 Py_INCREF(Py_None
); resultobj
= Py_None
;
23837 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxWindow
*arg1
= (wxWindow
*) 0 ;
23840 wxString
*arg2
= 0 ;
23841 bool temp2
= False
;
23842 PyObject
* obj0
= 0 ;
23843 PyObject
* obj1
= 0 ;
23844 char *kwnames
[] = {
23845 (char *) "self",(char *) "text", NULL
23848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
23849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23851 arg2
= wxString_in_helper(obj1
);
23852 if (arg2
== NULL
) SWIG_fail
;
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
23859 wxPyEndAllowThreads(__tstate
);
23860 if (PyErr_Occurred()) SWIG_fail
;
23862 Py_INCREF(Py_None
); resultobj
= Py_None
;
23877 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23878 PyObject
*resultobj
;
23879 wxWindow
*arg1
= (wxWindow
*) 0 ;
23881 PyObject
* obj0
= 0 ;
23882 char *kwnames
[] = {
23883 (char *) "self", NULL
23886 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
23887 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23890 result
= ((wxWindow
const *)arg1
)->GetHelpText();
23892 wxPyEndAllowThreads(__tstate
);
23893 if (PyErr_Occurred()) SWIG_fail
;
23897 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23899 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23908 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23909 PyObject
*resultobj
;
23910 wxWindow
*arg1
= (wxWindow
*) 0 ;
23911 wxString
*arg2
= 0 ;
23912 bool temp2
= False
;
23913 PyObject
* obj0
= 0 ;
23914 PyObject
* obj1
= 0 ;
23915 char *kwnames
[] = {
23916 (char *) "self",(char *) "tip", NULL
23919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
23920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23922 arg2
= wxString_in_helper(obj1
);
23923 if (arg2
== NULL
) SWIG_fail
;
23927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23930 wxPyEndAllowThreads(__tstate
);
23931 if (PyErr_Occurred()) SWIG_fail
;
23933 Py_INCREF(Py_None
); resultobj
= Py_None
;
23948 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23949 PyObject
*resultobj
;
23950 wxWindow
*arg1
= (wxWindow
*) 0 ;
23951 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
23952 PyObject
* obj0
= 0 ;
23953 PyObject
* obj1
= 0 ;
23954 char *kwnames
[] = {
23955 (char *) "self",(char *) "tip", NULL
23958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23960 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23963 (arg1
)->SetToolTip(arg2
);
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23968 Py_INCREF(Py_None
); resultobj
= Py_None
;
23975 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23976 PyObject
*resultobj
;
23977 wxWindow
*arg1
= (wxWindow
*) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 char *kwnames
[] = {
23981 (char *) "self", NULL
23984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
23985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23988 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23994 resultobj
= wxPyMake_wxObject(result
);
24002 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24003 PyObject
*resultobj
;
24004 wxWindow
*arg1
= (wxWindow
*) 0 ;
24005 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
24006 PyObject
* obj0
= 0 ;
24007 PyObject
* obj1
= 0 ;
24008 char *kwnames
[] = {
24009 (char *) "self",(char *) "dropTarget", NULL
24012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24017 (arg1
)->SetDropTarget(arg2
);
24019 wxPyEndAllowThreads(__tstate
);
24020 if (PyErr_Occurred()) SWIG_fail
;
24022 Py_INCREF(Py_None
); resultobj
= Py_None
;
24029 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24030 PyObject
*resultobj
;
24031 wxWindow
*arg1
= (wxWindow
*) 0 ;
24032 wxPyDropTarget
*result
;
24033 PyObject
* obj0
= 0 ;
24034 char *kwnames
[] = {
24035 (char *) "self", NULL
24038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
24039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24042 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
24044 wxPyEndAllowThreads(__tstate
);
24045 if (PyErr_Occurred()) SWIG_fail
;
24047 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
24054 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24055 PyObject
*resultobj
;
24056 wxWindow
*arg1
= (wxWindow
*) 0 ;
24057 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
24058 PyObject
* obj0
= 0 ;
24059 PyObject
* obj1
= 0 ;
24060 char *kwnames
[] = {
24061 (char *) "self",(char *) "constraints", NULL
24064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
24065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24066 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24069 (arg1
)->SetConstraints(arg2
);
24071 wxPyEndAllowThreads(__tstate
);
24072 if (PyErr_Occurred()) SWIG_fail
;
24074 Py_INCREF(Py_None
); resultobj
= Py_None
;
24081 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24082 PyObject
*resultobj
;
24083 wxWindow
*arg1
= (wxWindow
*) 0 ;
24084 wxLayoutConstraints
*result
;
24085 PyObject
* obj0
= 0 ;
24086 char *kwnames
[] = {
24087 (char *) "self", NULL
24090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
24091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
24106 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24107 PyObject
*resultobj
;
24108 wxWindow
*arg1
= (wxWindow
*) 0 ;
24110 PyObject
* obj0
= 0 ;
24111 PyObject
* obj1
= 0 ;
24112 char *kwnames
[] = {
24113 (char *) "self",(char *) "autoLayout", NULL
24116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
24117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24118 arg2
= PyInt_AsLong(obj1
) ? true : false;
24119 if (PyErr_Occurred()) SWIG_fail
;
24121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24122 (arg1
)->SetAutoLayout(arg2
);
24124 wxPyEndAllowThreads(__tstate
);
24125 if (PyErr_Occurred()) SWIG_fail
;
24127 Py_INCREF(Py_None
); resultobj
= Py_None
;
24134 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24135 PyObject
*resultobj
;
24136 wxWindow
*arg1
= (wxWindow
*) 0 ;
24138 PyObject
* obj0
= 0 ;
24139 char *kwnames
[] = {
24140 (char *) "self", NULL
24143 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
24144 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24147 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= PyInt_FromLong((long)result
);
24159 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
;
24161 wxWindow
*arg1
= (wxWindow
*) 0 ;
24163 PyObject
* obj0
= 0 ;
24164 char *kwnames
[] = {
24165 (char *) "self", NULL
24168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
24169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24172 result
= (bool)(arg1
)->Layout();
24174 wxPyEndAllowThreads(__tstate
);
24175 if (PyErr_Occurred()) SWIG_fail
;
24177 resultobj
= PyInt_FromLong((long)result
);
24184 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24185 PyObject
*resultobj
;
24186 wxWindow
*arg1
= (wxWindow
*) 0 ;
24187 wxSizer
*arg2
= (wxSizer
*) 0 ;
24188 bool arg3
= (bool) True
;
24189 PyObject
* obj0
= 0 ;
24190 PyObject
* obj1
= 0 ;
24191 PyObject
* obj2
= 0 ;
24192 char *kwnames
[] = {
24193 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24198 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24200 arg3
= PyInt_AsLong(obj2
) ? true : false;
24201 if (PyErr_Occurred()) SWIG_fail
;
24204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24205 (arg1
)->SetSizer(arg2
,arg3
);
24207 wxPyEndAllowThreads(__tstate
);
24208 if (PyErr_Occurred()) SWIG_fail
;
24210 Py_INCREF(Py_None
); resultobj
= Py_None
;
24217 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24218 PyObject
*resultobj
;
24219 wxWindow
*arg1
= (wxWindow
*) 0 ;
24220 wxSizer
*arg2
= (wxSizer
*) 0 ;
24221 bool arg3
= (bool) True
;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 PyObject
* obj2
= 0 ;
24225 char *kwnames
[] = {
24226 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24231 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24233 arg3
= PyInt_AsLong(obj2
) ? true : false;
24234 if (PyErr_Occurred()) SWIG_fail
;
24237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24238 (arg1
)->SetSizerAndFit(arg2
,arg3
);
24240 wxPyEndAllowThreads(__tstate
);
24241 if (PyErr_Occurred()) SWIG_fail
;
24243 Py_INCREF(Py_None
); resultobj
= Py_None
;
24250 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24251 PyObject
*resultobj
;
24252 wxWindow
*arg1
= (wxWindow
*) 0 ;
24254 PyObject
* obj0
= 0 ;
24255 char *kwnames
[] = {
24256 (char *) "self", NULL
24259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
24260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24269 resultobj
= wxPyMake_wxSizer(result
);
24277 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24278 PyObject
*resultobj
;
24279 wxWindow
*arg1
= (wxWindow
*) 0 ;
24280 wxSizer
*arg2
= (wxSizer
*) 0 ;
24281 PyObject
* obj0
= 0 ;
24282 PyObject
* obj1
= 0 ;
24283 char *kwnames
[] = {
24284 (char *) "self",(char *) "sizer", NULL
24287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24289 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24292 (arg1
)->SetContainingSizer(arg2
);
24294 wxPyEndAllowThreads(__tstate
);
24295 if (PyErr_Occurred()) SWIG_fail
;
24297 Py_INCREF(Py_None
); resultobj
= Py_None
;
24304 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24305 PyObject
*resultobj
;
24306 wxWindow
*arg1
= (wxWindow
*) 0 ;
24308 PyObject
* obj0
= 0 ;
24309 char *kwnames
[] = {
24310 (char *) "self", NULL
24313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24319 wxPyEndAllowThreads(__tstate
);
24320 if (PyErr_Occurred()) SWIG_fail
;
24323 resultobj
= wxPyMake_wxSizer(result
);
24331 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24334 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24336 return Py_BuildValue((char *)"");
24338 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24339 PyObject
*resultobj
;
24341 wxWindow
*arg2
= (wxWindow
*) NULL
;
24343 PyObject
* obj1
= 0 ;
24344 char *kwnames
[] = {
24345 (char *) "id",(char *) "parent", NULL
24348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24350 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24356 wxPyEndAllowThreads(__tstate
);
24357 if (PyErr_Occurred()) SWIG_fail
;
24360 resultobj
= wxPyMake_wxObject(result
);
24368 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24369 PyObject
*resultobj
;
24370 wxString
*arg1
= 0 ;
24371 wxWindow
*arg2
= (wxWindow
*) NULL
;
24373 bool temp1
= False
;
24374 PyObject
* obj0
= 0 ;
24375 PyObject
* obj1
= 0 ;
24376 char *kwnames
[] = {
24377 (char *) "name",(char *) "parent", NULL
24380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24382 arg1
= wxString_in_helper(obj0
);
24383 if (arg1
== NULL
) SWIG_fail
;
24387 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24391 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24393 wxPyEndAllowThreads(__tstate
);
24394 if (PyErr_Occurred()) SWIG_fail
;
24397 resultobj
= wxPyMake_wxObject(result
);
24413 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24414 PyObject
*resultobj
;
24415 wxString
*arg1
= 0 ;
24416 wxWindow
*arg2
= (wxWindow
*) NULL
;
24418 bool temp1
= False
;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char *kwnames
[] = {
24422 (char *) "label",(char *) "parent", NULL
24425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24427 arg1
= wxString_in_helper(obj0
);
24428 if (arg1
== NULL
) SWIG_fail
;
24432 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24436 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24438 wxPyEndAllowThreads(__tstate
);
24439 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= wxPyMake_wxObject(result
);
24458 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24459 PyObject
*resultobj
;
24460 unsigned long arg1
;
24462 PyObject
* obj0
= 0 ;
24463 char *kwnames
[] = {
24464 (char *) "hWnd", NULL
24467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24468 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24469 if (PyErr_Occurred()) SWIG_fail
;
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24474 wxPyEndAllowThreads(__tstate
);
24475 if (PyErr_Occurred()) SWIG_fail
;
24478 resultobj
= wxPyMake_wxObject(result
);
24486 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24487 PyObject
*resultobj
;
24488 wxValidator
*result
;
24489 char *kwnames
[] = {
24493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24496 result
= (wxValidator
*)new wxValidator();
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24502 resultobj
= wxPyMake_wxObject(result
);
24510 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24511 PyObject
*resultobj
;
24512 wxValidator
*arg1
= (wxValidator
*) 0 ;
24513 wxValidator
*result
;
24514 PyObject
* obj0
= 0 ;
24515 char *kwnames
[] = {
24516 (char *) "self", NULL
24519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24523 result
= (wxValidator
*)(arg1
)->Clone();
24525 wxPyEndAllowThreads(__tstate
);
24526 if (PyErr_Occurred()) SWIG_fail
;
24529 resultobj
= wxPyMake_wxObject(result
);
24537 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24538 PyObject
*resultobj
;
24539 wxValidator
*arg1
= (wxValidator
*) 0 ;
24540 wxWindow
*arg2
= (wxWindow
*) 0 ;
24542 PyObject
* obj0
= 0 ;
24543 PyObject
* obj1
= 0 ;
24544 char *kwnames
[] = {
24545 (char *) "self",(char *) "parent", NULL
24548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24553 result
= (bool)(arg1
)->Validate(arg2
);
24555 wxPyEndAllowThreads(__tstate
);
24556 if (PyErr_Occurred()) SWIG_fail
;
24558 resultobj
= PyInt_FromLong((long)result
);
24565 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24566 PyObject
*resultobj
;
24567 wxValidator
*arg1
= (wxValidator
*) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 char *kwnames
[] = {
24571 (char *) "self", NULL
24574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24578 result
= (bool)(arg1
)->TransferToWindow();
24580 wxPyEndAllowThreads(__tstate
);
24581 if (PyErr_Occurred()) SWIG_fail
;
24583 resultobj
= PyInt_FromLong((long)result
);
24590 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24591 PyObject
*resultobj
;
24592 wxValidator
*arg1
= (wxValidator
*) 0 ;
24594 PyObject
* obj0
= 0 ;
24595 char *kwnames
[] = {
24596 (char *) "self", NULL
24599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24603 result
= (bool)(arg1
)->TransferFromWindow();
24605 wxPyEndAllowThreads(__tstate
);
24606 if (PyErr_Occurred()) SWIG_fail
;
24608 resultobj
= PyInt_FromLong((long)result
);
24615 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24616 PyObject
*resultobj
;
24617 wxValidator
*arg1
= (wxValidator
*) 0 ;
24619 PyObject
* obj0
= 0 ;
24620 char *kwnames
[] = {
24621 (char *) "self", NULL
24624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24628 result
= (wxWindow
*)(arg1
)->GetWindow();
24630 wxPyEndAllowThreads(__tstate
);
24631 if (PyErr_Occurred()) SWIG_fail
;
24634 resultobj
= wxPyMake_wxObject(result
);
24642 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24643 PyObject
*resultobj
;
24644 wxValidator
*arg1
= (wxValidator
*) 0 ;
24645 wxWindow
*arg2
= (wxWindow
*) 0 ;
24646 PyObject
* obj0
= 0 ;
24647 PyObject
* obj1
= 0 ;
24648 char *kwnames
[] = {
24649 (char *) "self",(char *) "window", NULL
24652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24654 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24657 (arg1
)->SetWindow(arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 Py_INCREF(Py_None
); resultobj
= Py_None
;
24669 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
;
24672 char *kwnames
[] = {
24676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24679 result
= (bool)wxValidator::IsSilent();
24681 wxPyEndAllowThreads(__tstate
);
24682 if (PyErr_Occurred()) SWIG_fail
;
24684 resultobj
= PyInt_FromLong((long)result
);
24691 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24692 PyObject
*resultobj
;
24693 int arg1
= (int) True
;
24694 char *kwnames
[] = {
24695 (char *) "doIt", NULL
24698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24701 wxValidator::SetBellOnError(arg1
);
24703 wxPyEndAllowThreads(__tstate
);
24704 if (PyErr_Occurred()) SWIG_fail
;
24706 Py_INCREF(Py_None
); resultobj
= Py_None
;
24713 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24715 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24716 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24718 return Py_BuildValue((char *)"");
24720 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24721 PyObject
*resultobj
;
24722 wxPyValidator
*result
;
24723 char *kwnames
[] = {
24727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24730 result
= (wxPyValidator
*)new wxPyValidator();
24732 wxPyEndAllowThreads(__tstate
);
24733 if (PyErr_Occurred()) SWIG_fail
;
24735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24742 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24743 PyObject
*resultobj
;
24744 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24745 PyObject
*arg2
= (PyObject
*) 0 ;
24746 PyObject
*arg3
= (PyObject
*) 0 ;
24747 int arg4
= (int) True
;
24748 PyObject
* obj0
= 0 ;
24749 PyObject
* obj1
= 0 ;
24750 PyObject
* obj2
= 0 ;
24751 char *kwnames
[] = {
24752 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24761 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24763 wxPyEndAllowThreads(__tstate
);
24764 if (PyErr_Occurred()) SWIG_fail
;
24766 Py_INCREF(Py_None
); resultobj
= Py_None
;
24773 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24775 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24776 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24778 return Py_BuildValue((char *)"");
24780 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24781 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24786 static PyObject
*_wrap_DefaultValidator_get() {
24789 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24794 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24795 PyObject
*resultobj
;
24796 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24797 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24798 long arg2
= (long) 0 ;
24800 bool temp1
= False
;
24801 PyObject
* obj0
= 0 ;
24802 char *kwnames
[] = {
24803 (char *) "title",(char *) "style", NULL
24806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
24809 arg1
= wxString_in_helper(obj0
);
24810 if (arg1
== NULL
) SWIG_fail
;
24815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24816 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
24818 wxPyEndAllowThreads(__tstate
);
24819 if (PyErr_Occurred()) SWIG_fail
;
24822 resultobj
= wxPyMake_wxObject(result
);
24838 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24839 PyObject
*resultobj
;
24840 wxMenu
*arg1
= (wxMenu
*) 0 ;
24842 wxString
*arg3
= 0 ;
24843 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24844 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24845 int arg5
= (int) wxITEM_NORMAL
;
24846 bool temp3
= False
;
24847 bool temp4
= False
;
24848 PyObject
* obj0
= 0 ;
24849 PyObject
* obj2
= 0 ;
24850 PyObject
* obj3
= 0 ;
24851 char *kwnames
[] = {
24852 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
24855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24858 arg3
= wxString_in_helper(obj2
);
24859 if (arg3
== NULL
) SWIG_fail
;
24864 arg4
= wxString_in_helper(obj3
);
24865 if (arg4
== NULL
) SWIG_fail
;
24870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24871 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
24873 wxPyEndAllowThreads(__tstate
);
24874 if (PyErr_Occurred()) SWIG_fail
;
24876 Py_INCREF(Py_None
); resultobj
= Py_None
;
24899 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24900 PyObject
*resultobj
;
24901 wxMenu
*arg1
= (wxMenu
*) 0 ;
24902 PyObject
* obj0
= 0 ;
24903 char *kwnames
[] = {
24904 (char *) "self", NULL
24907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
24908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24911 (arg1
)->AppendSeparator();
24913 wxPyEndAllowThreads(__tstate
);
24914 if (PyErr_Occurred()) SWIG_fail
;
24916 Py_INCREF(Py_None
); resultobj
= Py_None
;
24923 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24924 PyObject
*resultobj
;
24925 wxMenu
*arg1
= (wxMenu
*) 0 ;
24927 wxString
*arg3
= 0 ;
24928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24930 bool temp3
= False
;
24931 bool temp4
= False
;
24932 PyObject
* obj0
= 0 ;
24933 PyObject
* obj2
= 0 ;
24934 PyObject
* obj3
= 0 ;
24935 char *kwnames
[] = {
24936 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24942 arg3
= wxString_in_helper(obj2
);
24943 if (arg3
== NULL
) SWIG_fail
;
24948 arg4
= wxString_in_helper(obj3
);
24949 if (arg4
== NULL
) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 Py_INCREF(Py_None
); resultobj
= Py_None
;
24983 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24984 PyObject
*resultobj
;
24985 wxMenu
*arg1
= (wxMenu
*) 0 ;
24987 wxString
*arg3
= 0 ;
24988 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24989 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24990 bool temp3
= False
;
24991 bool temp4
= False
;
24992 PyObject
* obj0
= 0 ;
24993 PyObject
* obj2
= 0 ;
24994 PyObject
* obj3
= 0 ;
24995 char *kwnames
[] = {
24996 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
24999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25002 arg3
= wxString_in_helper(obj2
);
25003 if (arg3
== NULL
) SWIG_fail
;
25008 arg4
= wxString_in_helper(obj3
);
25009 if (arg4
== NULL
) SWIG_fail
;
25014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25015 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25017 wxPyEndAllowThreads(__tstate
);
25018 if (PyErr_Occurred()) SWIG_fail
;
25020 Py_INCREF(Py_None
); resultobj
= Py_None
;
25043 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25044 PyObject
*resultobj
;
25045 wxMenu
*arg1
= (wxMenu
*) 0 ;
25047 wxString
*arg3
= 0 ;
25048 wxMenu
*arg4
= (wxMenu
*) 0 ;
25049 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25050 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25051 bool temp3
= False
;
25052 bool temp5
= False
;
25053 PyObject
* obj0
= 0 ;
25054 PyObject
* obj2
= 0 ;
25055 PyObject
* obj3
= 0 ;
25056 PyObject
* obj4
= 0 ;
25057 char *kwnames
[] = {
25058 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25064 arg3
= wxString_in_helper(obj2
);
25065 if (arg3
== NULL
) SWIG_fail
;
25068 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25071 arg5
= wxString_in_helper(obj4
);
25072 if (arg5
== NULL
) SWIG_fail
;
25077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25078 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25080 wxPyEndAllowThreads(__tstate
);
25081 if (PyErr_Occurred()) SWIG_fail
;
25083 Py_INCREF(Py_None
); resultobj
= Py_None
;
25106 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25107 PyObject
*resultobj
;
25108 wxMenu
*arg1
= (wxMenu
*) 0 ;
25109 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25110 PyObject
* obj0
= 0 ;
25111 PyObject
* obj1
= 0 ;
25112 char *kwnames
[] = {
25113 (char *) "self",(char *) "item", NULL
25116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25121 (arg1
)->Append(arg2
);
25123 wxPyEndAllowThreads(__tstate
);
25124 if (PyErr_Occurred()) SWIG_fail
;
25126 Py_INCREF(Py_None
); resultobj
= Py_None
;
25133 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25134 PyObject
*resultobj
;
25135 wxMenu
*arg1
= (wxMenu
*) 0 ;
25136 PyObject
* obj0
= 0 ;
25137 char *kwnames
[] = {
25138 (char *) "self", NULL
25141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
25142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25147 wxPyEndAllowThreads(__tstate
);
25148 if (PyErr_Occurred()) SWIG_fail
;
25150 Py_INCREF(Py_None
); resultobj
= Py_None
;
25157 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25158 PyObject
*resultobj
;
25159 wxMenu
*arg1
= (wxMenu
*) 0 ;
25161 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
25163 PyObject
* obj0
= 0 ;
25164 PyObject
* obj1
= 0 ;
25165 PyObject
* obj2
= 0 ;
25166 char *kwnames
[] = {
25167 (char *) "self",(char *) "pos",(char *) "item", NULL
25170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25172 arg2
= (size_t) PyInt_AsLong(obj1
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25174 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25177 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
25179 wxPyEndAllowThreads(__tstate
);
25180 if (PyErr_Occurred()) SWIG_fail
;
25182 resultobj
= PyInt_FromLong((long)result
);
25189 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25190 PyObject
*resultobj
;
25191 wxMenu
*arg1
= (wxMenu
*) 0 ;
25194 wxString
*arg4
= 0 ;
25195 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25196 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25197 int arg6
= (int) wxITEM_NORMAL
;
25198 bool temp4
= False
;
25199 bool temp5
= False
;
25200 PyObject
* obj0
= 0 ;
25201 PyObject
* obj1
= 0 ;
25202 PyObject
* obj3
= 0 ;
25203 PyObject
* obj4
= 0 ;
25204 char *kwnames
[] = {
25205 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
25209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25210 arg2
= (size_t) PyInt_AsLong(obj1
);
25211 if (PyErr_Occurred()) SWIG_fail
;
25213 arg4
= wxString_in_helper(obj3
);
25214 if (arg4
== NULL
) SWIG_fail
;
25219 arg5
= wxString_in_helper(obj4
);
25220 if (arg5
== NULL
) SWIG_fail
;
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
25228 wxPyEndAllowThreads(__tstate
);
25229 if (PyErr_Occurred()) SWIG_fail
;
25231 Py_INCREF(Py_None
); resultobj
= Py_None
;
25254 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25255 PyObject
*resultobj
;
25256 wxMenu
*arg1
= (wxMenu
*) 0 ;
25258 PyObject
* obj0
= 0 ;
25259 PyObject
* obj1
= 0 ;
25260 char *kwnames
[] = {
25261 (char *) "self",(char *) "pos", NULL
25264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) 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 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25270 (arg1
)->InsertSeparator(arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 Py_INCREF(Py_None
); resultobj
= Py_None
;
25282 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25283 PyObject
*resultobj
;
25284 wxMenu
*arg1
= (wxMenu
*) 0 ;
25287 wxString
*arg4
= 0 ;
25288 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25289 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25290 bool temp4
= False
;
25291 bool temp5
= False
;
25292 PyObject
* obj0
= 0 ;
25293 PyObject
* obj1
= 0 ;
25294 PyObject
* obj3
= 0 ;
25295 PyObject
* obj4
= 0 ;
25296 char *kwnames
[] = {
25297 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25301 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25302 arg2
= (size_t) PyInt_AsLong(obj1
);
25303 if (PyErr_Occurred()) SWIG_fail
;
25305 arg4
= wxString_in_helper(obj3
);
25306 if (arg4
== NULL
) SWIG_fail
;
25311 arg5
= wxString_in_helper(obj4
);
25312 if (arg5
== NULL
) SWIG_fail
;
25317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25318 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25320 wxPyEndAllowThreads(__tstate
);
25321 if (PyErr_Occurred()) SWIG_fail
;
25323 Py_INCREF(Py_None
); resultobj
= Py_None
;
25346 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25347 PyObject
*resultobj
;
25348 wxMenu
*arg1
= (wxMenu
*) 0 ;
25351 wxString
*arg4
= 0 ;
25352 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25353 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25354 bool temp4
= False
;
25355 bool temp5
= False
;
25356 PyObject
* obj0
= 0 ;
25357 PyObject
* obj1
= 0 ;
25358 PyObject
* obj3
= 0 ;
25359 PyObject
* obj4
= 0 ;
25360 char *kwnames
[] = {
25361 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "help", NULL
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25366 arg2
= (size_t) PyInt_AsLong(obj1
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25369 arg4
= wxString_in_helper(obj3
);
25370 if (arg4
== NULL
) SWIG_fail
;
25375 arg5
= wxString_in_helper(obj4
);
25376 if (arg5
== NULL
) SWIG_fail
;
25381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25382 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25384 wxPyEndAllowThreads(__tstate
);
25385 if (PyErr_Occurred()) SWIG_fail
;
25387 Py_INCREF(Py_None
); resultobj
= Py_None
;
25410 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25411 PyObject
*resultobj
;
25412 wxMenu
*arg1
= (wxMenu
*) 0 ;
25415 wxString
*arg4
= 0 ;
25416 wxMenu
*arg5
= (wxMenu
*) 0 ;
25417 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25418 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25419 bool temp4
= False
;
25420 bool temp6
= False
;
25421 PyObject
* obj0
= 0 ;
25422 PyObject
* obj1
= 0 ;
25423 PyObject
* obj3
= 0 ;
25424 PyObject
* obj4
= 0 ;
25425 PyObject
* obj5
= 0 ;
25426 char *kwnames
[] = {
25427 (char *) "self",(char *) "pos",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25432 arg2
= (size_t) PyInt_AsLong(obj1
);
25433 if (PyErr_Occurred()) SWIG_fail
;
25435 arg4
= wxString_in_helper(obj3
);
25436 if (arg4
== NULL
) SWIG_fail
;
25439 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25442 arg6
= wxString_in_helper(obj5
);
25443 if (arg6
== NULL
) SWIG_fail
;
25448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25449 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25451 wxPyEndAllowThreads(__tstate
);
25452 if (PyErr_Occurred()) SWIG_fail
;
25454 Py_INCREF(Py_None
); resultobj
= Py_None
;
25477 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25478 PyObject
*resultobj
;
25479 wxMenu
*arg1
= (wxMenu
*) 0 ;
25480 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25481 PyObject
* obj0
= 0 ;
25482 PyObject
* obj1
= 0 ;
25483 char *kwnames
[] = {
25484 (char *) "self",(char *) "item", NULL
25487 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25488 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25489 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25492 (arg1
)->Prepend(arg2
);
25494 wxPyEndAllowThreads(__tstate
);
25495 if (PyErr_Occurred()) SWIG_fail
;
25497 Py_INCREF(Py_None
); resultobj
= Py_None
;
25504 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25505 PyObject
*resultobj
;
25506 wxMenu
*arg1
= (wxMenu
*) 0 ;
25508 wxString
*arg3
= 0 ;
25509 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25510 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25511 int arg5
= (int) wxITEM_NORMAL
;
25512 bool temp3
= False
;
25513 bool temp4
= False
;
25514 PyObject
* obj0
= 0 ;
25515 PyObject
* obj2
= 0 ;
25516 PyObject
* obj3
= 0 ;
25517 char *kwnames
[] = {
25518 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help",(char *) "kind", NULL
25521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25524 arg3
= wxString_in_helper(obj2
);
25525 if (arg3
== NULL
) SWIG_fail
;
25530 arg4
= wxString_in_helper(obj3
);
25531 if (arg4
== NULL
) SWIG_fail
;
25536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25537 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25539 wxPyEndAllowThreads(__tstate
);
25540 if (PyErr_Occurred()) SWIG_fail
;
25542 Py_INCREF(Py_None
); resultobj
= Py_None
;
25565 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25566 PyObject
*resultobj
;
25567 wxMenu
*arg1
= (wxMenu
*) 0 ;
25568 PyObject
* obj0
= 0 ;
25569 char *kwnames
[] = {
25570 (char *) "self", NULL
25573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 (arg1
)->PrependSeparator();
25579 wxPyEndAllowThreads(__tstate
);
25580 if (PyErr_Occurred()) SWIG_fail
;
25582 Py_INCREF(Py_None
); resultobj
= Py_None
;
25589 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25590 PyObject
*resultobj
;
25591 wxMenu
*arg1
= (wxMenu
*) 0 ;
25593 wxString
*arg3
= 0 ;
25594 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25595 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25596 bool temp3
= False
;
25597 bool temp4
= False
;
25598 PyObject
* obj0
= 0 ;
25599 PyObject
* obj2
= 0 ;
25600 PyObject
* obj3
= 0 ;
25601 char *kwnames
[] = {
25602 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25608 arg3
= wxString_in_helper(obj2
);
25609 if (arg3
== NULL
) SWIG_fail
;
25614 arg4
= wxString_in_helper(obj3
);
25615 if (arg4
== NULL
) SWIG_fail
;
25620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25621 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25623 wxPyEndAllowThreads(__tstate
);
25624 if (PyErr_Occurred()) SWIG_fail
;
25626 Py_INCREF(Py_None
); resultobj
= Py_None
;
25649 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25650 PyObject
*resultobj
;
25651 wxMenu
*arg1
= (wxMenu
*) 0 ;
25653 wxString
*arg3
= 0 ;
25654 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25655 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25656 bool temp3
= False
;
25657 bool temp4
= False
;
25658 PyObject
* obj0
= 0 ;
25659 PyObject
* obj2
= 0 ;
25660 PyObject
* obj3
= 0 ;
25661 char *kwnames
[] = {
25662 (char *) "self",(char *) "itemid",(char *) "text",(char *) "help", NULL
25665 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25666 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25668 arg3
= wxString_in_helper(obj2
);
25669 if (arg3
== NULL
) SWIG_fail
;
25674 arg4
= wxString_in_helper(obj3
);
25675 if (arg4
== NULL
) SWIG_fail
;
25680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25681 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25683 wxPyEndAllowThreads(__tstate
);
25684 if (PyErr_Occurred()) SWIG_fail
;
25686 Py_INCREF(Py_None
); resultobj
= Py_None
;
25709 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25710 PyObject
*resultobj
;
25711 wxMenu
*arg1
= (wxMenu
*) 0 ;
25713 wxString
*arg3
= 0 ;
25714 wxMenu
*arg4
= (wxMenu
*) 0 ;
25715 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25716 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25717 bool temp3
= False
;
25718 bool temp5
= False
;
25719 PyObject
* obj0
= 0 ;
25720 PyObject
* obj2
= 0 ;
25721 PyObject
* obj3
= 0 ;
25722 PyObject
* obj4
= 0 ;
25723 char *kwnames
[] = {
25724 (char *) "self",(char *) "itemid",(char *) "text",(char *) "submenu",(char *) "help", NULL
25727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25730 arg3
= wxString_in_helper(obj2
);
25731 if (arg3
== NULL
) SWIG_fail
;
25734 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25737 arg5
= wxString_in_helper(obj4
);
25738 if (arg5
== NULL
) SWIG_fail
;
25743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25744 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25746 wxPyEndAllowThreads(__tstate
);
25747 if (PyErr_Occurred()) SWIG_fail
;
25749 Py_INCREF(Py_None
); resultobj
= Py_None
;
25772 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
;
25774 wxMenu
*arg1
= (wxMenu
*) 0 ;
25776 wxMenuItem
*result
;
25777 PyObject
* obj0
= 0 ;
25778 char *kwnames
[] = {
25779 (char *) "self",(char *) "itemid", NULL
25782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25786 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25788 wxPyEndAllowThreads(__tstate
);
25789 if (PyErr_Occurred()) SWIG_fail
;
25792 resultobj
= wxPyMake_wxObject(result
);
25800 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25801 PyObject
*resultobj
;
25802 wxMenu
*arg1
= (wxMenu
*) 0 ;
25803 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25804 wxMenuItem
*result
;
25805 PyObject
* obj0
= 0 ;
25806 PyObject
* obj1
= 0 ;
25807 char *kwnames
[] = {
25808 (char *) "self",(char *) "item", NULL
25811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25813 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25816 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25818 wxPyEndAllowThreads(__tstate
);
25819 if (PyErr_Occurred()) SWIG_fail
;
25822 resultobj
= wxPyMake_wxObject(result
);
25830 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25831 PyObject
*resultobj
;
25832 wxMenu
*arg1
= (wxMenu
*) 0 ;
25835 PyObject
* obj0
= 0 ;
25836 char *kwnames
[] = {
25837 (char *) "self",(char *) "itemid", NULL
25840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
25841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25844 result
= (bool)(arg1
)->Delete(arg2
);
25846 wxPyEndAllowThreads(__tstate
);
25847 if (PyErr_Occurred()) SWIG_fail
;
25849 resultobj
= PyInt_FromLong((long)result
);
25856 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25857 PyObject
*resultobj
;
25858 wxMenu
*arg1
= (wxMenu
*) 0 ;
25859 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
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_DeleteItem",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
= (bool)(arg1
)->Delete(arg2
);
25874 wxPyEndAllowThreads(__tstate
);
25875 if (PyErr_Occurred()) SWIG_fail
;
25877 resultobj
= PyInt_FromLong((long)result
);
25884 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
;
25886 wxMenu
*arg1
= (wxMenu
*) 0 ;
25887 PyObject
* obj0
= 0 ;
25888 char *kwnames
[] = {
25889 (char *) "self", NULL
25892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
25893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 wxMenu_Destroy(arg1
);
25898 wxPyEndAllowThreads(__tstate
);
25899 if (PyErr_Occurred()) SWIG_fail
;
25901 Py_INCREF(Py_None
); resultobj
= Py_None
;
25908 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25909 PyObject
*resultobj
;
25910 wxMenu
*arg1
= (wxMenu
*) 0 ;
25913 PyObject
* obj0
= 0 ;
25914 char *kwnames
[] = {
25915 (char *) "self",(char *) "itemid", NULL
25918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
25919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (bool)(arg1
)->Destroy(arg2
);
25924 wxPyEndAllowThreads(__tstate
);
25925 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= PyInt_FromLong((long)result
);
25934 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25935 PyObject
*resultobj
;
25936 wxMenu
*arg1
= (wxMenu
*) 0 ;
25937 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25939 PyObject
* obj0
= 0 ;
25940 PyObject
* obj1
= 0 ;
25941 char *kwnames
[] = {
25942 (char *) "self",(char *) "item", NULL
25945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25947 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25950 result
= (bool)(arg1
)->Destroy(arg2
);
25952 wxPyEndAllowThreads(__tstate
);
25953 if (PyErr_Occurred()) SWIG_fail
;
25955 resultobj
= PyInt_FromLong((long)result
);
25962 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25963 PyObject
*resultobj
;
25964 wxMenu
*arg1
= (wxMenu
*) 0 ;
25966 PyObject
* obj0
= 0 ;
25967 char *kwnames
[] = {
25968 (char *) "self", NULL
25971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
25972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25975 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
25977 wxPyEndAllowThreads(__tstate
);
25978 if (PyErr_Occurred()) SWIG_fail
;
25980 resultobj
= PyInt_FromLong((long)result
);
25987 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25988 PyObject
*resultobj
;
25989 wxMenu
*arg1
= (wxMenu
*) 0 ;
25991 PyObject
* obj0
= 0 ;
25992 char *kwnames
[] = {
25993 (char *) "self", NULL
25996 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
25997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
26002 wxPyEndAllowThreads(__tstate
);
26003 if (PyErr_Occurred()) SWIG_fail
;
26005 resultobj
= result
;
26012 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26013 PyObject
*resultobj
;
26014 wxMenu
*arg1
= (wxMenu
*) 0 ;
26015 wxString
*arg2
= 0 ;
26017 bool temp2
= False
;
26018 PyObject
* obj0
= 0 ;
26019 PyObject
* obj1
= 0 ;
26020 char *kwnames
[] = {
26021 (char *) "self",(char *) "item", NULL
26024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26027 arg2
= wxString_in_helper(obj1
);
26028 if (arg2
== NULL
) SWIG_fail
;
26032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26033 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
26035 wxPyEndAllowThreads(__tstate
);
26036 if (PyErr_Occurred()) SWIG_fail
;
26038 resultobj
= PyInt_FromLong((long)result
);
26053 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26054 PyObject
*resultobj
;
26055 wxMenu
*arg1
= (wxMenu
*) 0 ;
26057 wxMenuItem
*result
;
26058 PyObject
* obj0
= 0 ;
26059 char *kwnames
[] = {
26060 (char *) "self",(char *) "itemid", NULL
26063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
26064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26067 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
26069 wxPyEndAllowThreads(__tstate
);
26070 if (PyErr_Occurred()) SWIG_fail
;
26073 resultobj
= wxPyMake_wxObject(result
);
26081 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26082 PyObject
*resultobj
;
26083 wxMenu
*arg1
= (wxMenu
*) 0 ;
26085 wxMenuItem
*result
;
26086 PyObject
* obj0
= 0 ;
26087 PyObject
* obj1
= 0 ;
26088 char *kwnames
[] = {
26089 (char *) "self",(char *) "position", NULL
26092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26094 arg2
= (size_t) PyInt_AsLong(obj1
);
26095 if (PyErr_Occurred()) SWIG_fail
;
26097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26098 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
26100 wxPyEndAllowThreads(__tstate
);
26101 if (PyErr_Occurred()) SWIG_fail
;
26104 resultobj
= wxPyMake_wxObject(result
);
26112 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
;
26114 wxMenu
*arg1
= (wxMenu
*) 0 ;
26117 PyObject
* obj0
= 0 ;
26118 PyObject
* obj2
= 0 ;
26119 char *kwnames
[] = {
26120 (char *) "self",(char *) "itemid",(char *) "enable", NULL
26123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26125 arg3
= PyInt_AsLong(obj2
) ? true : false;
26126 if (PyErr_Occurred()) SWIG_fail
;
26128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26129 (arg1
)->Enable(arg2
,arg3
);
26131 wxPyEndAllowThreads(__tstate
);
26132 if (PyErr_Occurred()) SWIG_fail
;
26134 Py_INCREF(Py_None
); resultobj
= Py_None
;
26141 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26142 PyObject
*resultobj
;
26143 wxMenu
*arg1
= (wxMenu
*) 0 ;
26146 PyObject
* obj0
= 0 ;
26147 char *kwnames
[] = {
26148 (char *) "self",(char *) "itemid", NULL
26151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
26152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26155 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
26157 wxPyEndAllowThreads(__tstate
);
26158 if (PyErr_Occurred()) SWIG_fail
;
26160 resultobj
= PyInt_FromLong((long)result
);
26167 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26168 PyObject
*resultobj
;
26169 wxMenu
*arg1
= (wxMenu
*) 0 ;
26172 PyObject
* obj0
= 0 ;
26173 PyObject
* obj2
= 0 ;
26174 char *kwnames
[] = {
26175 (char *) "self",(char *) "itemid",(char *) "check", NULL
26178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26180 arg3
= PyInt_AsLong(obj2
) ? true : false;
26181 if (PyErr_Occurred()) SWIG_fail
;
26183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26184 (arg1
)->Check(arg2
,arg3
);
26186 wxPyEndAllowThreads(__tstate
);
26187 if (PyErr_Occurred()) SWIG_fail
;
26189 Py_INCREF(Py_None
); resultobj
= Py_None
;
26196 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26197 PyObject
*resultobj
;
26198 wxMenu
*arg1
= (wxMenu
*) 0 ;
26201 PyObject
* obj0
= 0 ;
26202 char *kwnames
[] = {
26203 (char *) "self",(char *) "itemid", NULL
26206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
26207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26210 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
26212 wxPyEndAllowThreads(__tstate
);
26213 if (PyErr_Occurred()) SWIG_fail
;
26215 resultobj
= PyInt_FromLong((long)result
);
26222 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26223 PyObject
*resultobj
;
26224 wxMenu
*arg1
= (wxMenu
*) 0 ;
26226 wxString
*arg3
= 0 ;
26227 bool temp3
= False
;
26228 PyObject
* obj0
= 0 ;
26229 PyObject
* obj2
= 0 ;
26230 char *kwnames
[] = {
26231 (char *) "self",(char *) "itemid",(char *) "label", NULL
26234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26237 arg3
= wxString_in_helper(obj2
);
26238 if (arg3
== NULL
) SWIG_fail
;
26242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26243 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
26245 wxPyEndAllowThreads(__tstate
);
26246 if (PyErr_Occurred()) SWIG_fail
;
26248 Py_INCREF(Py_None
); resultobj
= Py_None
;
26263 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
;
26265 wxMenu
*arg1
= (wxMenu
*) 0 ;
26268 PyObject
* obj0
= 0 ;
26269 char *kwnames
[] = {
26270 (char *) "self",(char *) "itemid", NULL
26273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
26274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26277 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26279 wxPyEndAllowThreads(__tstate
);
26280 if (PyErr_Occurred()) SWIG_fail
;
26284 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26286 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26295 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26296 PyObject
*resultobj
;
26297 wxMenu
*arg1
= (wxMenu
*) 0 ;
26299 wxString
*arg3
= 0 ;
26300 bool temp3
= False
;
26301 PyObject
* obj0
= 0 ;
26302 PyObject
* obj2
= 0 ;
26303 char *kwnames
[] = {
26304 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
26307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26310 arg3
= wxString_in_helper(obj2
);
26311 if (arg3
== NULL
) SWIG_fail
;
26315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26316 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26318 wxPyEndAllowThreads(__tstate
);
26319 if (PyErr_Occurred()) SWIG_fail
;
26321 Py_INCREF(Py_None
); resultobj
= Py_None
;
26336 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26337 PyObject
*resultobj
;
26338 wxMenu
*arg1
= (wxMenu
*) 0 ;
26341 PyObject
* obj0
= 0 ;
26342 char *kwnames
[] = {
26343 (char *) "self",(char *) "itemid", NULL
26346 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26347 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26350 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26352 wxPyEndAllowThreads(__tstate
);
26353 if (PyErr_Occurred()) SWIG_fail
;
26357 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26359 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26368 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26369 PyObject
*resultobj
;
26370 wxMenu
*arg1
= (wxMenu
*) 0 ;
26371 wxString
*arg2
= 0 ;
26372 bool temp2
= False
;
26373 PyObject
* obj0
= 0 ;
26374 PyObject
* obj1
= 0 ;
26375 char *kwnames
[] = {
26376 (char *) "self",(char *) "title", NULL
26379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26382 arg2
= wxString_in_helper(obj1
);
26383 if (arg2
== NULL
) SWIG_fail
;
26387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26388 (arg1
)->SetTitle((wxString
const &)*arg2
);
26390 wxPyEndAllowThreads(__tstate
);
26391 if (PyErr_Occurred()) SWIG_fail
;
26393 Py_INCREF(Py_None
); resultobj
= Py_None
;
26408 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26409 PyObject
*resultobj
;
26410 wxMenu
*arg1
= (wxMenu
*) 0 ;
26412 PyObject
* obj0
= 0 ;
26413 char *kwnames
[] = {
26414 (char *) "self", NULL
26417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26421 result
= ((wxMenu
const *)arg1
)->GetTitle();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26428 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26430 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26439 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26440 PyObject
*resultobj
;
26441 wxMenu
*arg1
= (wxMenu
*) 0 ;
26442 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26443 PyObject
* obj0
= 0 ;
26444 PyObject
* obj1
= 0 ;
26445 char *kwnames
[] = {
26446 (char *) "self",(char *) "handler", NULL
26449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26451 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26454 (arg1
)->SetEventHandler(arg2
);
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26459 Py_INCREF(Py_None
); resultobj
= Py_None
;
26466 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26467 PyObject
*resultobj
;
26468 wxMenu
*arg1
= (wxMenu
*) 0 ;
26469 wxEvtHandler
*result
;
26470 PyObject
* obj0
= 0 ;
26471 char *kwnames
[] = {
26472 (char *) "self", NULL
26475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26479 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= wxPyMake_wxObject(result
);
26493 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26494 PyObject
*resultobj
;
26495 wxMenu
*arg1
= (wxMenu
*) 0 ;
26496 wxWindow
*arg2
= (wxWindow
*) 0 ;
26497 PyObject
* obj0
= 0 ;
26498 PyObject
* obj1
= 0 ;
26499 char *kwnames
[] = {
26500 (char *) "self",(char *) "win", NULL
26503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26508 (arg1
)->SetInvokingWindow(arg2
);
26510 wxPyEndAllowThreads(__tstate
);
26511 if (PyErr_Occurred()) SWIG_fail
;
26513 Py_INCREF(Py_None
); resultobj
= Py_None
;
26520 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26521 PyObject
*resultobj
;
26522 wxMenu
*arg1
= (wxMenu
*) 0 ;
26524 PyObject
* obj0
= 0 ;
26525 char *kwnames
[] = {
26526 (char *) "self", NULL
26529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26533 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26535 wxPyEndAllowThreads(__tstate
);
26536 if (PyErr_Occurred()) SWIG_fail
;
26539 resultobj
= wxPyMake_wxObject(result
);
26547 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26548 PyObject
*resultobj
;
26549 wxMenu
*arg1
= (wxMenu
*) 0 ;
26551 PyObject
* obj0
= 0 ;
26552 char *kwnames
[] = {
26553 (char *) "self", NULL
26556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26560 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26562 wxPyEndAllowThreads(__tstate
);
26563 if (PyErr_Occurred()) SWIG_fail
;
26565 resultobj
= PyInt_FromLong((long)result
);
26572 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26573 PyObject
*resultobj
;
26574 wxMenu
*arg1
= (wxMenu
*) 0 ;
26575 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26576 PyObject
* obj0
= 0 ;
26577 PyObject
* obj1
= 0 ;
26578 char *kwnames
[] = {
26579 (char *) "self",(char *) "source", NULL
26582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26585 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 (arg1
)->UpdateUI(arg2
);
26591 wxPyEndAllowThreads(__tstate
);
26592 if (PyErr_Occurred()) SWIG_fail
;
26594 Py_INCREF(Py_None
); resultobj
= Py_None
;
26601 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26602 PyObject
*resultobj
;
26603 wxMenu
*arg1
= (wxMenu
*) 0 ;
26605 PyObject
* obj0
= 0 ;
26606 char *kwnames
[] = {
26607 (char *) "self", NULL
26610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26614 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26616 wxPyEndAllowThreads(__tstate
);
26617 if (PyErr_Occurred()) SWIG_fail
;
26620 resultobj
= wxPyMake_wxObject(result
);
26628 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26629 PyObject
*resultobj
;
26630 wxMenu
*arg1
= (wxMenu
*) 0 ;
26631 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26632 PyObject
* obj0
= 0 ;
26633 PyObject
* obj1
= 0 ;
26634 char *kwnames
[] = {
26635 (char *) "self",(char *) "menubar", NULL
26638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26640 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26643 (arg1
)->Attach(arg2
);
26645 wxPyEndAllowThreads(__tstate
);
26646 if (PyErr_Occurred()) SWIG_fail
;
26648 Py_INCREF(Py_None
); resultobj
= Py_None
;
26655 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26656 PyObject
*resultobj
;
26657 wxMenu
*arg1
= (wxMenu
*) 0 ;
26658 PyObject
* obj0
= 0 ;
26659 char *kwnames
[] = {
26660 (char *) "self", NULL
26663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26669 wxPyEndAllowThreads(__tstate
);
26670 if (PyErr_Occurred()) SWIG_fail
;
26672 Py_INCREF(Py_None
); resultobj
= Py_None
;
26679 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26680 PyObject
*resultobj
;
26681 wxMenu
*arg1
= (wxMenu
*) 0 ;
26683 PyObject
* obj0
= 0 ;
26684 char *kwnames
[] = {
26685 (char *) "self", NULL
26688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26692 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= PyInt_FromLong((long)result
);
26704 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26705 PyObject
*resultobj
;
26706 wxMenu
*arg1
= (wxMenu
*) 0 ;
26707 wxMenu
*arg2
= (wxMenu
*) 0 ;
26708 PyObject
* obj0
= 0 ;
26709 PyObject
* obj1
= 0 ;
26710 char *kwnames
[] = {
26711 (char *) "self",(char *) "parent", NULL
26714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26716 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26719 (arg1
)->SetParent(arg2
);
26721 wxPyEndAllowThreads(__tstate
);
26722 if (PyErr_Occurred()) SWIG_fail
;
26724 Py_INCREF(Py_None
); resultobj
= Py_None
;
26731 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26732 PyObject
*resultobj
;
26733 wxMenu
*arg1
= (wxMenu
*) 0 ;
26735 PyObject
* obj0
= 0 ;
26736 char *kwnames
[] = {
26737 (char *) "self", NULL
26740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26744 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26746 wxPyEndAllowThreads(__tstate
);
26747 if (PyErr_Occurred()) SWIG_fail
;
26750 resultobj
= wxPyMake_wxObject(result
);
26758 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26760 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26761 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26763 return Py_BuildValue((char *)"");
26765 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26766 PyObject
*resultobj
;
26767 long arg1
= (long) 0 ;
26769 char *kwnames
[] = {
26770 (char *) "style", NULL
26773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26776 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26778 wxPyEndAllowThreads(__tstate
);
26779 if (PyErr_Occurred()) SWIG_fail
;
26782 resultobj
= wxPyMake_wxObject(result
);
26790 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26791 PyObject
*resultobj
;
26792 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26793 wxMenu
*arg2
= (wxMenu
*) 0 ;
26794 wxString
*arg3
= 0 ;
26796 bool temp3
= False
;
26797 PyObject
* obj0
= 0 ;
26798 PyObject
* obj1
= 0 ;
26799 PyObject
* obj2
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self",(char *) "menu",(char *) "title", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26806 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26808 arg3
= wxString_in_helper(obj2
);
26809 if (arg3
== NULL
) SWIG_fail
;
26813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26814 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
26816 wxPyEndAllowThreads(__tstate
);
26817 if (PyErr_Occurred()) SWIG_fail
;
26819 resultobj
= PyInt_FromLong((long)result
);
26834 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26835 PyObject
*resultobj
;
26836 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26838 wxMenu
*arg3
= (wxMenu
*) 0 ;
26839 wxString
*arg4
= 0 ;
26841 bool temp4
= False
;
26842 PyObject
* obj0
= 0 ;
26843 PyObject
* obj1
= 0 ;
26844 PyObject
* obj2
= 0 ;
26845 PyObject
* obj3
= 0 ;
26846 char *kwnames
[] = {
26847 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26852 arg2
= (size_t) PyInt_AsLong(obj1
);
26853 if (PyErr_Occurred()) SWIG_fail
;
26854 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26856 arg4
= wxString_in_helper(obj3
);
26857 if (arg4
== NULL
) SWIG_fail
;
26861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26862 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
26864 wxPyEndAllowThreads(__tstate
);
26865 if (PyErr_Occurred()) SWIG_fail
;
26867 resultobj
= PyInt_FromLong((long)result
);
26882 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26883 PyObject
*resultobj
;
26884 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26886 PyObject
* obj0
= 0 ;
26887 char *kwnames
[] = {
26888 (char *) "self", NULL
26891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
26892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26895 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
26897 wxPyEndAllowThreads(__tstate
);
26898 if (PyErr_Occurred()) SWIG_fail
;
26900 resultobj
= PyInt_FromLong((long)result
);
26907 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26908 PyObject
*resultobj
;
26909 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26912 PyObject
* obj0
= 0 ;
26913 PyObject
* obj1
= 0 ;
26914 char *kwnames
[] = {
26915 (char *) "self",(char *) "pos", NULL
26918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26920 arg2
= (size_t) PyInt_AsLong(obj1
);
26921 if (PyErr_Occurred()) SWIG_fail
;
26923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26924 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
26926 wxPyEndAllowThreads(__tstate
);
26927 if (PyErr_Occurred()) SWIG_fail
;
26930 resultobj
= wxPyMake_wxObject(result
);
26938 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26939 PyObject
*resultobj
;
26940 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26942 wxMenu
*arg3
= (wxMenu
*) 0 ;
26943 wxString
*arg4
= 0 ;
26945 bool temp4
= False
;
26946 PyObject
* obj0
= 0 ;
26947 PyObject
* obj1
= 0 ;
26948 PyObject
* obj2
= 0 ;
26949 PyObject
* obj3
= 0 ;
26950 char *kwnames
[] = {
26951 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26954 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26955 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26956 arg2
= (size_t) PyInt_AsLong(obj1
);
26957 if (PyErr_Occurred()) SWIG_fail
;
26958 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26960 arg4
= wxString_in_helper(obj3
);
26961 if (arg4
== NULL
) SWIG_fail
;
26965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26966 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
26968 wxPyEndAllowThreads(__tstate
);
26969 if (PyErr_Occurred()) SWIG_fail
;
26972 resultobj
= wxPyMake_wxObject(result
);
26988 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26989 PyObject
*resultobj
;
26990 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26993 PyObject
* obj0
= 0 ;
26994 PyObject
* obj1
= 0 ;
26995 char *kwnames
[] = {
26996 (char *) "self",(char *) "pos", NULL
26999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
27000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27001 arg2
= (size_t) PyInt_AsLong(obj1
);
27002 if (PyErr_Occurred()) SWIG_fail
;
27004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27005 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
27007 wxPyEndAllowThreads(__tstate
);
27008 if (PyErr_Occurred()) SWIG_fail
;
27011 resultobj
= wxPyMake_wxObject(result
);
27019 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27020 PyObject
*resultobj
;
27021 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27024 PyObject
* obj0
= 0 ;
27025 PyObject
* obj1
= 0 ;
27026 PyObject
* obj2
= 0 ;
27027 char *kwnames
[] = {
27028 (char *) "self",(char *) "pos",(char *) "enable", NULL
27031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27033 arg2
= (size_t) PyInt_AsLong(obj1
);
27034 if (PyErr_Occurred()) SWIG_fail
;
27035 arg3
= PyInt_AsLong(obj2
) ? true : false;
27036 if (PyErr_Occurred()) SWIG_fail
;
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 (arg1
)->EnableTop(arg2
,arg3
);
27041 wxPyEndAllowThreads(__tstate
);
27042 if (PyErr_Occurred()) SWIG_fail
;
27044 Py_INCREF(Py_None
); resultobj
= Py_None
;
27051 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27052 PyObject
*resultobj
;
27053 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27056 PyObject
* obj0
= 0 ;
27057 PyObject
* obj1
= 0 ;
27058 char *kwnames
[] = {
27059 (char *) "self",(char *) "pos", NULL
27062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27064 arg2
= (size_t) PyInt_AsLong(obj1
);
27065 if (PyErr_Occurred()) SWIG_fail
;
27067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
27070 wxPyEndAllowThreads(__tstate
);
27071 if (PyErr_Occurred()) SWIG_fail
;
27073 resultobj
= PyInt_FromLong((long)result
);
27080 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27081 PyObject
*resultobj
;
27082 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27084 wxString
*arg3
= 0 ;
27085 bool temp3
= False
;
27086 PyObject
* obj0
= 0 ;
27087 PyObject
* obj1
= 0 ;
27088 PyObject
* obj2
= 0 ;
27089 char *kwnames
[] = {
27090 (char *) "self",(char *) "pos",(char *) "label", NULL
27093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27095 arg2
= (size_t) PyInt_AsLong(obj1
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27098 arg3
= wxString_in_helper(obj2
);
27099 if (arg3
== NULL
) SWIG_fail
;
27103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27104 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
27106 wxPyEndAllowThreads(__tstate
);
27107 if (PyErr_Occurred()) SWIG_fail
;
27109 Py_INCREF(Py_None
); resultobj
= Py_None
;
27124 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27125 PyObject
*resultobj
;
27126 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27129 PyObject
* obj0
= 0 ;
27130 PyObject
* obj1
= 0 ;
27131 char *kwnames
[] = {
27132 (char *) "self",(char *) "pos", NULL
27135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27137 arg2
= (size_t) PyInt_AsLong(obj1
);
27138 if (PyErr_Occurred()) SWIG_fail
;
27140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27141 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
27143 wxPyEndAllowThreads(__tstate
);
27144 if (PyErr_Occurred()) SWIG_fail
;
27148 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27150 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27159 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27160 PyObject
*resultobj
;
27161 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27162 wxString
*arg2
= 0 ;
27163 wxString
*arg3
= 0 ;
27165 bool temp2
= False
;
27166 bool temp3
= False
;
27167 PyObject
* obj0
= 0 ;
27168 PyObject
* obj1
= 0 ;
27169 PyObject
* obj2
= 0 ;
27170 char *kwnames
[] = {
27171 (char *) "self",(char *) "menu",(char *) "item", NULL
27174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27177 arg2
= wxString_in_helper(obj1
);
27178 if (arg2
== NULL
) SWIG_fail
;
27182 arg3
= wxString_in_helper(obj2
);
27183 if (arg3
== NULL
) SWIG_fail
;
27187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27188 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
27190 wxPyEndAllowThreads(__tstate
);
27191 if (PyErr_Occurred()) SWIG_fail
;
27193 resultobj
= PyInt_FromLong((long)result
);
27216 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27217 PyObject
*resultobj
;
27218 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27220 wxMenuItem
*result
;
27221 PyObject
* obj0
= 0 ;
27222 char *kwnames
[] = {
27223 (char *) "self",(char *) "itemid", NULL
27226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
27227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27230 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
27232 wxPyEndAllowThreads(__tstate
);
27233 if (PyErr_Occurred()) SWIG_fail
;
27236 resultobj
= wxPyMake_wxObject(result
);
27244 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27245 PyObject
*resultobj
;
27246 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27247 wxString
*arg2
= 0 ;
27249 bool temp2
= False
;
27250 PyObject
* obj0
= 0 ;
27251 PyObject
* obj1
= 0 ;
27252 char *kwnames
[] = {
27253 (char *) "self",(char *) "title", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27259 arg2
= wxString_in_helper(obj1
);
27260 if (arg2
== NULL
) SWIG_fail
;
27264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27265 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
27267 wxPyEndAllowThreads(__tstate
);
27268 if (PyErr_Occurred()) SWIG_fail
;
27270 resultobj
= PyInt_FromLong((long)result
);
27285 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27286 PyObject
*resultobj
;
27287 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27290 PyObject
* obj0
= 0 ;
27291 PyObject
* obj2
= 0 ;
27292 char *kwnames
[] = {
27293 (char *) "self",(char *) "itemid",(char *) "enable", NULL
27296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27298 arg3
= PyInt_AsLong(obj2
) ? true : false;
27299 if (PyErr_Occurred()) SWIG_fail
;
27301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27302 (arg1
)->Enable(arg2
,arg3
);
27304 wxPyEndAllowThreads(__tstate
);
27305 if (PyErr_Occurred()) SWIG_fail
;
27307 Py_INCREF(Py_None
); resultobj
= Py_None
;
27314 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27315 PyObject
*resultobj
;
27316 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27319 PyObject
* obj0
= 0 ;
27320 PyObject
* obj2
= 0 ;
27321 char *kwnames
[] = {
27322 (char *) "self",(char *) "itemid",(char *) "check", NULL
27325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27327 arg3
= PyInt_AsLong(obj2
) ? true : false;
27328 if (PyErr_Occurred()) SWIG_fail
;
27330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27331 (arg1
)->Check(arg2
,arg3
);
27333 wxPyEndAllowThreads(__tstate
);
27334 if (PyErr_Occurred()) SWIG_fail
;
27336 Py_INCREF(Py_None
); resultobj
= Py_None
;
27343 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27344 PyObject
*resultobj
;
27345 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27348 PyObject
* obj0
= 0 ;
27349 char *kwnames
[] = {
27350 (char *) "self",(char *) "itemid", NULL
27353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27357 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27359 wxPyEndAllowThreads(__tstate
);
27360 if (PyErr_Occurred()) SWIG_fail
;
27362 resultobj
= PyInt_FromLong((long)result
);
27369 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27370 PyObject
*resultobj
;
27371 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27374 PyObject
* obj0
= 0 ;
27375 char *kwnames
[] = {
27376 (char *) "self",(char *) "itemid", NULL
27379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27383 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27385 wxPyEndAllowThreads(__tstate
);
27386 if (PyErr_Occurred()) SWIG_fail
;
27388 resultobj
= PyInt_FromLong((long)result
);
27395 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27396 PyObject
*resultobj
;
27397 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27399 wxString
*arg3
= 0 ;
27400 bool temp3
= False
;
27401 PyObject
* obj0
= 0 ;
27402 PyObject
* obj2
= 0 ;
27403 char *kwnames
[] = {
27404 (char *) "self",(char *) "itemid",(char *) "label", NULL
27407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27410 arg3
= wxString_in_helper(obj2
);
27411 if (arg3
== NULL
) SWIG_fail
;
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27418 wxPyEndAllowThreads(__tstate
);
27419 if (PyErr_Occurred()) SWIG_fail
;
27421 Py_INCREF(Py_None
); resultobj
= Py_None
;
27436 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27437 PyObject
*resultobj
;
27438 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27441 PyObject
* obj0
= 0 ;
27442 char *kwnames
[] = {
27443 (char *) "self",(char *) "itemid", NULL
27446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27450 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27452 wxPyEndAllowThreads(__tstate
);
27453 if (PyErr_Occurred()) SWIG_fail
;
27457 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27459 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27468 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27469 PyObject
*resultobj
;
27470 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27472 wxString
*arg3
= 0 ;
27473 bool temp3
= False
;
27474 PyObject
* obj0
= 0 ;
27475 PyObject
* obj2
= 0 ;
27476 char *kwnames
[] = {
27477 (char *) "self",(char *) "itemid",(char *) "helpString", NULL
27480 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27481 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27483 arg3
= wxString_in_helper(obj2
);
27484 if (arg3
== NULL
) SWIG_fail
;
27488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27489 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27494 Py_INCREF(Py_None
); resultobj
= Py_None
;
27509 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27510 PyObject
*resultobj
;
27511 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27514 PyObject
* obj0
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self",(char *) "itemid", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27523 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27525 wxPyEndAllowThreads(__tstate
);
27526 if (PyErr_Occurred()) SWIG_fail
;
27530 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27532 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27541 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27542 PyObject
*resultobj
;
27543 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27545 PyObject
* obj0
= 0 ;
27546 char *kwnames
[] = {
27547 (char *) "self", NULL
27550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27554 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27556 wxPyEndAllowThreads(__tstate
);
27557 if (PyErr_Occurred()) SWIG_fail
;
27560 resultobj
= wxPyMake_wxObject(result
);
27568 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27569 PyObject
*resultobj
;
27570 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27572 PyObject
* obj0
= 0 ;
27573 char *kwnames
[] = {
27574 (char *) "self", NULL
27577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27581 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= PyInt_FromLong((long)result
);
27593 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27594 PyObject
*resultobj
;
27595 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27596 wxFrame
*arg2
= (wxFrame
*) 0 ;
27597 PyObject
* obj0
= 0 ;
27598 PyObject
* obj1
= 0 ;
27599 char *kwnames
[] = {
27600 (char *) "self",(char *) "frame", NULL
27603 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27604 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27605 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27608 (arg1
)->Attach(arg2
);
27610 wxPyEndAllowThreads(__tstate
);
27611 if (PyErr_Occurred()) SWIG_fail
;
27613 Py_INCREF(Py_None
); resultobj
= Py_None
;
27620 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27621 PyObject
*resultobj
;
27622 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27623 PyObject
* obj0
= 0 ;
27624 char *kwnames
[] = {
27625 (char *) "self", NULL
27628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27634 wxPyEndAllowThreads(__tstate
);
27635 if (PyErr_Occurred()) SWIG_fail
;
27637 Py_INCREF(Py_None
); resultobj
= Py_None
;
27644 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27646 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27647 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27649 return Py_BuildValue((char *)"");
27651 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27652 PyObject
*resultobj
;
27653 wxMenu
*arg1
= (wxMenu
*) NULL
;
27654 int arg2
= (int) wxID_SEPARATOR
;
27655 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27656 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27657 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27658 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27659 int arg5
= (int) wxITEM_NORMAL
;
27660 wxMenu
*arg6
= (wxMenu
*) NULL
;
27661 wxMenuItem
*result
;
27662 bool temp3
= False
;
27663 bool temp4
= False
;
27664 PyObject
* obj0
= 0 ;
27665 PyObject
* obj2
= 0 ;
27666 PyObject
* obj3
= 0 ;
27667 PyObject
* obj5
= 0 ;
27668 char *kwnames
[] = {
27669 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27678 arg3
= wxString_in_helper(obj2
);
27679 if (arg3
== NULL
) SWIG_fail
;
27685 arg4
= wxString_in_helper(obj3
);
27686 if (arg4
== NULL
) SWIG_fail
;
27691 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27695 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27697 wxPyEndAllowThreads(__tstate
);
27698 if (PyErr_Occurred()) SWIG_fail
;
27701 resultobj
= wxPyMake_wxObject(result
);
27725 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27726 PyObject
*resultobj
;
27727 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27729 PyObject
* obj0
= 0 ;
27730 char *kwnames
[] = {
27731 (char *) "self", NULL
27734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27738 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27740 wxPyEndAllowThreads(__tstate
);
27741 if (PyErr_Occurred()) SWIG_fail
;
27744 resultobj
= wxPyMake_wxObject(result
);
27752 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27753 PyObject
*resultobj
;
27754 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27755 wxMenu
*arg2
= (wxMenu
*) 0 ;
27756 PyObject
* obj0
= 0 ;
27757 PyObject
* obj1
= 0 ;
27758 char *kwnames
[] = {
27759 (char *) "self",(char *) "menu", NULL
27762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27767 (arg1
)->SetMenu(arg2
);
27769 wxPyEndAllowThreads(__tstate
);
27770 if (PyErr_Occurred()) SWIG_fail
;
27772 Py_INCREF(Py_None
); resultobj
= Py_None
;
27779 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27780 PyObject
*resultobj
;
27781 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27783 PyObject
* obj0
= 0 ;
27784 char *kwnames
[] = {
27785 (char *) "self",(char *) "itemid", NULL
27788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27792 (arg1
)->SetId(arg2
);
27794 wxPyEndAllowThreads(__tstate
);
27795 if (PyErr_Occurred()) SWIG_fail
;
27797 Py_INCREF(Py_None
); resultobj
= Py_None
;
27804 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27805 PyObject
*resultobj
;
27806 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27808 PyObject
* obj0
= 0 ;
27809 char *kwnames
[] = {
27810 (char *) "self", NULL
27813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
27814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27817 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 resultobj
= PyInt_FromLong((long)result
);
27829 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27830 PyObject
*resultobj
;
27831 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27833 PyObject
* obj0
= 0 ;
27834 char *kwnames
[] = {
27835 (char *) "self", NULL
27838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
27839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27842 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
27844 wxPyEndAllowThreads(__tstate
);
27845 if (PyErr_Occurred()) SWIG_fail
;
27847 resultobj
= PyInt_FromLong((long)result
);
27854 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
;
27856 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27857 wxString
*arg2
= 0 ;
27858 bool temp2
= False
;
27859 PyObject
* obj0
= 0 ;
27860 PyObject
* obj1
= 0 ;
27861 char *kwnames
[] = {
27862 (char *) "self",(char *) "str", NULL
27865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27868 arg2
= wxString_in_helper(obj1
);
27869 if (arg2
== NULL
) SWIG_fail
;
27873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27874 (arg1
)->SetText((wxString
const &)*arg2
);
27876 wxPyEndAllowThreads(__tstate
);
27877 if (PyErr_Occurred()) SWIG_fail
;
27879 Py_INCREF(Py_None
); resultobj
= Py_None
;
27894 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27895 PyObject
*resultobj
;
27896 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27898 PyObject
* obj0
= 0 ;
27899 char *kwnames
[] = {
27900 (char *) "self", NULL
27903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
27904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
27909 wxPyEndAllowThreads(__tstate
);
27910 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27925 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27926 PyObject
*resultobj
;
27927 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27929 PyObject
* obj0
= 0 ;
27930 char *kwnames
[] = {
27931 (char *) "self", NULL
27934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
27935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27939 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
27940 result
= (wxString
*) &_result_ref
;
27943 wxPyEndAllowThreads(__tstate
);
27944 if (PyErr_Occurred()) SWIG_fail
;
27946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
27953 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27954 PyObject
*resultobj
;
27955 wxString
*arg1
= 0 ;
27957 bool temp1
= False
;
27958 PyObject
* obj0
= 0 ;
27959 char *kwnames
[] = {
27960 (char *) "text", NULL
27963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
27965 arg1
= wxString_in_helper(obj0
);
27966 if (arg1
== NULL
) SWIG_fail
;
27970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27971 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
27973 wxPyEndAllowThreads(__tstate
);
27974 if (PyErr_Occurred()) SWIG_fail
;
27978 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27980 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27997 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27998 PyObject
*resultobj
;
27999 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28001 PyObject
* obj0
= 0 ;
28002 char *kwnames
[] = {
28003 (char *) "self", NULL
28006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
28007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28010 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
28012 wxPyEndAllowThreads(__tstate
);
28013 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= PyInt_FromLong((long)result
);
28022 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28023 PyObject
*resultobj
;
28024 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28026 PyObject
* obj0
= 0 ;
28027 PyObject
* obj1
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self",(char *) "checkable", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
28033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28034 arg2
= PyInt_AsLong(obj1
) ? true : false;
28035 if (PyErr_Occurred()) SWIG_fail
;
28037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28038 (arg1
)->SetCheckable(arg2
);
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 Py_INCREF(Py_None
); resultobj
= Py_None
;
28050 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
;
28052 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28054 PyObject
* obj0
= 0 ;
28055 char *kwnames
[] = {
28056 (char *) "self", NULL
28059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
28060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28063 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
28065 wxPyEndAllowThreads(__tstate
);
28066 if (PyErr_Occurred()) SWIG_fail
;
28068 resultobj
= PyInt_FromLong((long)result
);
28075 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28076 PyObject
*resultobj
;
28077 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28079 PyObject
* obj0
= 0 ;
28080 char *kwnames
[] = {
28081 (char *) "self", NULL
28084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
28085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28088 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
28090 wxPyEndAllowThreads(__tstate
);
28091 if (PyErr_Occurred()) SWIG_fail
;
28093 resultobj
= PyInt_FromLong((long)result
);
28100 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28101 PyObject
*resultobj
;
28102 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28103 wxMenu
*arg2
= (wxMenu
*) 0 ;
28104 PyObject
* obj0
= 0 ;
28105 PyObject
* obj1
= 0 ;
28106 char *kwnames
[] = {
28107 (char *) "self",(char *) "menu", NULL
28110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
28111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28112 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28115 (arg1
)->SetSubMenu(arg2
);
28117 wxPyEndAllowThreads(__tstate
);
28118 if (PyErr_Occurred()) SWIG_fail
;
28120 Py_INCREF(Py_None
); resultobj
= Py_None
;
28127 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28128 PyObject
*resultobj
;
28129 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28131 PyObject
* obj0
= 0 ;
28132 char *kwnames
[] = {
28133 (char *) "self", NULL
28136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
28137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28140 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
28142 wxPyEndAllowThreads(__tstate
);
28143 if (PyErr_Occurred()) SWIG_fail
;
28146 resultobj
= wxPyMake_wxObject(result
);
28154 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28155 PyObject
*resultobj
;
28156 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28157 bool arg2
= (bool) True
;
28158 PyObject
* obj0
= 0 ;
28159 PyObject
* obj1
= 0 ;
28160 char *kwnames
[] = {
28161 (char *) "self",(char *) "enable", NULL
28164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
28165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28167 arg2
= PyInt_AsLong(obj1
) ? true : false;
28168 if (PyErr_Occurred()) SWIG_fail
;
28171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28172 (arg1
)->Enable(arg2
);
28174 wxPyEndAllowThreads(__tstate
);
28175 if (PyErr_Occurred()) SWIG_fail
;
28177 Py_INCREF(Py_None
); resultobj
= Py_None
;
28184 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28185 PyObject
*resultobj
;
28186 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28188 PyObject
* obj0
= 0 ;
28189 char *kwnames
[] = {
28190 (char *) "self", NULL
28193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
28194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28197 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
28199 wxPyEndAllowThreads(__tstate
);
28200 if (PyErr_Occurred()) SWIG_fail
;
28202 resultobj
= PyInt_FromLong((long)result
);
28209 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28210 PyObject
*resultobj
;
28211 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28212 bool arg2
= (bool) True
;
28213 PyObject
* obj0
= 0 ;
28214 PyObject
* obj1
= 0 ;
28215 char *kwnames
[] = {
28216 (char *) "self",(char *) "check", NULL
28219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
28220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28222 arg2
= PyInt_AsLong(obj1
) ? true : false;
28223 if (PyErr_Occurred()) SWIG_fail
;
28226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28227 (arg1
)->Check(arg2
);
28229 wxPyEndAllowThreads(__tstate
);
28230 if (PyErr_Occurred()) SWIG_fail
;
28232 Py_INCREF(Py_None
); resultobj
= Py_None
;
28239 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28240 PyObject
*resultobj
;
28241 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28243 PyObject
* obj0
= 0 ;
28244 char *kwnames
[] = {
28245 (char *) "self", NULL
28248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
28249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28252 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
28254 wxPyEndAllowThreads(__tstate
);
28255 if (PyErr_Occurred()) SWIG_fail
;
28257 resultobj
= PyInt_FromLong((long)result
);
28264 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28265 PyObject
*resultobj
;
28266 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28267 PyObject
* obj0
= 0 ;
28268 char *kwnames
[] = {
28269 (char *) "self", NULL
28272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
28273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28278 wxPyEndAllowThreads(__tstate
);
28279 if (PyErr_Occurred()) SWIG_fail
;
28281 Py_INCREF(Py_None
); resultobj
= Py_None
;
28288 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28289 PyObject
*resultobj
;
28290 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28291 wxString
*arg2
= 0 ;
28292 bool temp2
= False
;
28293 PyObject
* obj0
= 0 ;
28294 PyObject
* obj1
= 0 ;
28295 char *kwnames
[] = {
28296 (char *) "self",(char *) "str", NULL
28299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28302 arg2
= wxString_in_helper(obj1
);
28303 if (arg2
== NULL
) SWIG_fail
;
28307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28308 (arg1
)->SetHelp((wxString
const &)*arg2
);
28310 wxPyEndAllowThreads(__tstate
);
28311 if (PyErr_Occurred()) SWIG_fail
;
28313 Py_INCREF(Py_None
); resultobj
= Py_None
;
28328 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28329 PyObject
*resultobj
;
28330 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28332 PyObject
* obj0
= 0 ;
28333 char *kwnames
[] = {
28334 (char *) "self", NULL
28337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28342 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28343 result
= (wxString
*) &_result_ref
;
28346 wxPyEndAllowThreads(__tstate
);
28347 if (PyErr_Occurred()) SWIG_fail
;
28349 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxString
, 0);
28356 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28357 PyObject
*resultobj
;
28358 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28359 wxAcceleratorEntry
*result
;
28360 PyObject
* obj0
= 0 ;
28361 char *kwnames
[] = {
28362 (char *) "self", NULL
28365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28366 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28369 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28371 wxPyEndAllowThreads(__tstate
);
28372 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28381 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28382 PyObject
*resultobj
;
28383 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28384 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28385 PyObject
* obj0
= 0 ;
28386 PyObject
* obj1
= 0 ;
28387 char *kwnames
[] = {
28388 (char *) "self",(char *) "accel", NULL
28391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 (arg1
)->SetAccel(arg2
);
28398 wxPyEndAllowThreads(__tstate
);
28399 if (PyErr_Occurred()) SWIG_fail
;
28401 Py_INCREF(Py_None
); resultobj
= Py_None
;
28408 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28409 PyObject
*resultobj
;
28411 char *kwnames
[] = {
28415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28418 result
= (int)MenuItem_GetDefaultMarginWidth();
28420 wxPyEndAllowThreads(__tstate
);
28421 if (PyErr_Occurred()) SWIG_fail
;
28423 resultobj
= PyInt_FromLong((long)result
);
28430 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28431 PyObject
*resultobj
;
28432 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28433 wxBitmap
*arg2
= 0 ;
28434 PyObject
* obj0
= 0 ;
28435 PyObject
* obj1
= 0 ;
28436 char *kwnames
[] = {
28437 (char *) "self",(char *) "bitmap", NULL
28440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28443 if (arg2
== NULL
) {
28444 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28448 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28450 wxPyEndAllowThreads(__tstate
);
28451 if (PyErr_Occurred()) SWIG_fail
;
28453 Py_INCREF(Py_None
); resultobj
= Py_None
;
28460 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28461 PyObject
*resultobj
;
28462 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28464 PyObject
* obj0
= 0 ;
28465 char *kwnames
[] = {
28466 (char *) "self", NULL
28469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
28470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28474 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
28475 result
= (wxBitmap
*) &_result_ref
;
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28488 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
28490 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28491 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
28493 return Py_BuildValue((char *)"");
28495 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28496 PyObject
*resultobj
;
28497 wxWindow
*arg1
= (wxWindow
*) 0 ;
28499 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28500 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28501 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28502 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28503 long arg5
= (long) 0 ;
28504 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28505 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28506 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28507 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28511 bool temp7
= False
;
28512 PyObject
* obj0
= 0 ;
28513 PyObject
* obj2
= 0 ;
28514 PyObject
* obj3
= 0 ;
28515 PyObject
* obj5
= 0 ;
28516 PyObject
* obj6
= 0 ;
28517 char *kwnames
[] = {
28518 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
28522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28526 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28532 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28536 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28537 if (arg6
== NULL
) {
28538 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28543 arg7
= wxString_in_helper(obj6
);
28544 if (arg7
== NULL
) SWIG_fail
;
28549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28550 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28552 wxPyEndAllowThreads(__tstate
);
28553 if (PyErr_Occurred()) SWIG_fail
;
28556 resultobj
= wxPyMake_wxObject(result
);
28572 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28573 PyObject
*resultobj
;
28575 char *kwnames
[] = {
28579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
28581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28582 result
= (wxControl
*)new wxControl();
28584 wxPyEndAllowThreads(__tstate
);
28585 if (PyErr_Occurred()) SWIG_fail
;
28588 resultobj
= wxPyMake_wxObject(result
);
28596 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28597 PyObject
*resultobj
;
28598 wxControl
*arg1
= (wxControl
*) 0 ;
28599 wxWindow
*arg2
= (wxWindow
*) 0 ;
28601 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28602 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28603 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28604 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28605 long arg6
= (long) 0 ;
28606 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28607 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28608 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
28609 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28613 bool temp8
= False
;
28614 PyObject
* obj0
= 0 ;
28615 PyObject
* obj1
= 0 ;
28616 PyObject
* obj3
= 0 ;
28617 PyObject
* obj4
= 0 ;
28618 PyObject
* obj6
= 0 ;
28619 PyObject
* obj7
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
28625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28626 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28630 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28636 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28640 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28641 if (arg7
== NULL
) {
28642 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28647 arg8
= wxString_in_helper(obj7
);
28648 if (arg8
== NULL
) SWIG_fail
;
28653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28654 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28656 wxPyEndAllowThreads(__tstate
);
28657 if (PyErr_Occurred()) SWIG_fail
;
28659 resultobj
= PyInt_FromLong((long)result
);
28674 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28675 PyObject
*resultobj
;
28676 wxControl
*arg1
= (wxControl
*) 0 ;
28677 wxCommandEvent
*arg2
= 0 ;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 char *kwnames
[] = {
28681 (char *) "self",(char *) "event", NULL
28684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
28685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28686 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28687 if (arg2
== NULL
) {
28688 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 (arg1
)->Command(*arg2
);
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 Py_INCREF(Py_None
); resultobj
= Py_None
;
28704 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxControl
*arg1
= (wxControl
*) 0 ;
28708 PyObject
* obj0
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "self", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
28714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (arg1
)->GetLabel();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28735 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28736 PyObject
*resultobj
;
28737 wxControl
*arg1
= (wxControl
*) 0 ;
28738 wxString
*arg2
= 0 ;
28739 bool temp2
= False
;
28740 PyObject
* obj0
= 0 ;
28741 PyObject
* obj1
= 0 ;
28742 char *kwnames
[] = {
28743 (char *) "self",(char *) "label", NULL
28746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28749 arg2
= wxString_in_helper(obj1
);
28750 if (arg2
== NULL
) SWIG_fail
;
28754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28755 (arg1
)->SetLabel((wxString
const &)*arg2
);
28757 wxPyEndAllowThreads(__tstate
);
28758 if (PyErr_Occurred()) SWIG_fail
;
28760 Py_INCREF(Py_None
); resultobj
= Py_None
;
28775 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
28777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28778 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
28780 return Py_BuildValue((char *)"");
28782 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28783 PyObject
*resultobj
;
28784 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28785 wxString
*arg2
= 0 ;
28786 PyObject
*arg3
= (PyObject
*) NULL
;
28788 bool temp2
= False
;
28789 PyObject
* obj0
= 0 ;
28790 PyObject
* obj1
= 0 ;
28791 PyObject
* obj2
= 0 ;
28792 char *kwnames
[] = {
28793 (char *) "self",(char *) "item",(char *) "clientData", NULL
28796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28799 arg2
= wxString_in_helper(obj1
);
28800 if (arg2
== NULL
) SWIG_fail
;
28807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28808 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
28810 wxPyEndAllowThreads(__tstate
);
28811 if (PyErr_Occurred()) SWIG_fail
;
28813 resultobj
= PyInt_FromLong((long)result
);
28828 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28829 PyObject
*resultobj
;
28830 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28831 wxArrayString
*arg2
= 0 ;
28832 PyObject
* obj0
= 0 ;
28833 PyObject
* obj1
= 0 ;
28834 char *kwnames
[] = {
28835 (char *) "self",(char *) "strings", NULL
28838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
28839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28841 if (! PySequence_Check(obj1
)) {
28842 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
28845 arg2
= new wxArrayString
;
28846 int i
, len
=PySequence_Length(obj1
);
28847 for (i
=0; i
<len
; i
++) {
28848 PyObject
* item
= PySequence_GetItem(obj1
, i
);
28850 PyObject
* str
= PyObject_Unicode(item
);
28852 PyObject
* str
= PyObject_Str(item
);
28854 arg2
->Add(Py2wxString(str
));
28860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28861 (arg1
)->Append((wxArrayString
const &)*arg2
);
28863 wxPyEndAllowThreads(__tstate
);
28864 if (PyErr_Occurred()) SWIG_fail
;
28866 Py_INCREF(Py_None
); resultobj
= Py_None
;
28868 if (arg2
) delete arg2
;
28873 if (arg2
) delete arg2
;
28879 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28880 PyObject
*resultobj
;
28881 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28882 wxString
*arg2
= 0 ;
28884 PyObject
*arg4
= (PyObject
*) NULL
;
28886 bool temp2
= False
;
28887 PyObject
* obj0
= 0 ;
28888 PyObject
* obj1
= 0 ;
28889 PyObject
* obj3
= 0 ;
28890 char *kwnames
[] = {
28891 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28894 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
28895 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28897 arg2
= wxString_in_helper(obj1
);
28898 if (arg2
== NULL
) SWIG_fail
;
28905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28906 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
28908 wxPyEndAllowThreads(__tstate
);
28909 if (PyErr_Occurred()) SWIG_fail
;
28911 resultobj
= PyInt_FromLong((long)result
);
28926 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28927 PyObject
*resultobj
;
28928 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28929 PyObject
* obj0
= 0 ;
28930 char *kwnames
[] = {
28931 (char *) "self", NULL
28934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
28935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28940 wxPyEndAllowThreads(__tstate
);
28941 if (PyErr_Occurred()) SWIG_fail
;
28943 Py_INCREF(Py_None
); resultobj
= Py_None
;
28950 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28951 PyObject
*resultobj
;
28952 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28954 PyObject
* obj0
= 0 ;
28955 char *kwnames
[] = {
28956 (char *) "self",(char *) "n", NULL
28959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
28960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28963 (arg1
)->Delete(arg2
);
28965 wxPyEndAllowThreads(__tstate
);
28966 if (PyErr_Occurred()) SWIG_fail
;
28968 Py_INCREF(Py_None
); resultobj
= Py_None
;
28975 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28976 PyObject
*resultobj
;
28977 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28979 PyObject
* obj0
= 0 ;
28980 char *kwnames
[] = {
28981 (char *) "self", NULL
28984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
28985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28988 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
28990 wxPyEndAllowThreads(__tstate
);
28991 if (PyErr_Occurred()) SWIG_fail
;
28993 resultobj
= PyInt_FromLong((long)result
);
29000 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29001 PyObject
*resultobj
;
29002 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29004 PyObject
* obj0
= 0 ;
29005 char *kwnames
[] = {
29006 (char *) "self", NULL
29009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
29010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29013 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29018 resultobj
= PyInt_FromLong((long)result
);
29025 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29026 PyObject
*resultobj
;
29027 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29030 PyObject
* obj0
= 0 ;
29031 char *kwnames
[] = {
29032 (char *) "self",(char *) "n", NULL
29035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
29036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29039 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
29041 wxPyEndAllowThreads(__tstate
);
29042 if (PyErr_Occurred()) SWIG_fail
;
29046 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29048 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29057 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29058 PyObject
*resultobj
;
29059 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29060 wxArrayString result
;
29061 PyObject
* obj0
= 0 ;
29062 char *kwnames
[] = {
29063 (char *) "self", NULL
29066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
29067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29070 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
29072 wxPyEndAllowThreads(__tstate
);
29073 if (PyErr_Occurred()) SWIG_fail
;
29076 resultobj
= wxArrayString2PyList_helper(result
);
29084 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29085 PyObject
*resultobj
;
29086 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29088 wxString
*arg3
= 0 ;
29089 bool temp3
= False
;
29090 PyObject
* obj0
= 0 ;
29091 PyObject
* obj2
= 0 ;
29092 char *kwnames
[] = {
29093 (char *) "self",(char *) "n",(char *) "s", NULL
29096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29099 arg3
= wxString_in_helper(obj2
);
29100 if (arg3
== NULL
) SWIG_fail
;
29104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29105 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
29107 wxPyEndAllowThreads(__tstate
);
29108 if (PyErr_Occurred()) SWIG_fail
;
29110 Py_INCREF(Py_None
); resultobj
= Py_None
;
29125 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29126 PyObject
*resultobj
;
29127 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29128 wxString
*arg2
= 0 ;
29130 bool temp2
= False
;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 char *kwnames
[] = {
29134 (char *) "self",(char *) "s", NULL
29137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
29138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29140 arg2
= wxString_in_helper(obj1
);
29141 if (arg2
== NULL
) SWIG_fail
;
29145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29146 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
29148 wxPyEndAllowThreads(__tstate
);
29149 if (PyErr_Occurred()) SWIG_fail
;
29151 resultobj
= PyInt_FromLong((long)result
);
29166 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29167 PyObject
*resultobj
;
29168 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29170 PyObject
* obj0
= 0 ;
29171 char *kwnames
[] = {
29172 (char *) "self",(char *) "n", NULL
29175 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
29176 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29179 (arg1
)->Select(arg2
);
29181 wxPyEndAllowThreads(__tstate
);
29182 if (PyErr_Occurred()) SWIG_fail
;
29184 Py_INCREF(Py_None
); resultobj
= Py_None
;
29191 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29192 PyObject
*resultobj
;
29193 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29195 PyObject
* obj0
= 0 ;
29196 char *kwnames
[] = {
29197 (char *) "self", NULL
29200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
29201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29204 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
29206 wxPyEndAllowThreads(__tstate
);
29207 if (PyErr_Occurred()) SWIG_fail
;
29209 resultobj
= PyInt_FromLong((long)result
);
29216 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29217 PyObject
*resultobj
;
29218 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29220 PyObject
* obj0
= 0 ;
29221 char *kwnames
[] = {
29222 (char *) "self", NULL
29225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29231 wxPyEndAllowThreads(__tstate
);
29232 if (PyErr_Occurred()) SWIG_fail
;
29236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29247 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29248 PyObject
*resultobj
;
29249 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29252 PyObject
* obj0
= 0 ;
29253 char *kwnames
[] = {
29254 (char *) "self",(char *) "n", NULL
29257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29261 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29263 wxPyEndAllowThreads(__tstate
);
29264 if (PyErr_Occurred()) SWIG_fail
;
29266 resultobj
= result
;
29273 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29274 PyObject
*resultobj
;
29275 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29277 PyObject
*arg3
= (PyObject
*) 0 ;
29278 PyObject
* obj0
= 0 ;
29279 PyObject
* obj2
= 0 ;
29280 char *kwnames
[] = {
29281 (char *) "self",(char *) "n",(char *) "clientData", NULL
29284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29289 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29291 wxPyEndAllowThreads(__tstate
);
29292 if (PyErr_Occurred()) SWIG_fail
;
29294 Py_INCREF(Py_None
); resultobj
= Py_None
;
29301 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29303 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29304 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29306 return Py_BuildValue((char *)"");
29308 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29311 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29313 return Py_BuildValue((char *)"");
29315 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxSizerItem
*result
;
29318 char *kwnames
[] = {
29322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29325 result
= (wxSizerItem
*)new wxSizerItem();
29327 wxPyEndAllowThreads(__tstate
);
29328 if (PyErr_Occurred()) SWIG_fail
;
29330 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29337 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29338 PyObject
*resultobj
;
29344 wxObject
*arg6
= (wxObject
*) 0 ;
29345 wxSizerItem
*result
;
29346 PyObject
* obj5
= 0 ;
29347 char *kwnames
[] = {
29348 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29352 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29355 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29357 wxPyEndAllowThreads(__tstate
);
29358 if (PyErr_Occurred()) SWIG_fail
;
29360 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29367 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29368 PyObject
*resultobj
;
29369 wxWindow
*arg1
= (wxWindow
*) 0 ;
29373 wxObject
*arg5
= (wxObject
*) 0 ;
29374 wxSizerItem
*result
;
29375 PyObject
* obj0
= 0 ;
29376 PyObject
* obj4
= 0 ;
29377 char *kwnames
[] = {
29378 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29383 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29386 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29388 wxPyEndAllowThreads(__tstate
);
29389 if (PyErr_Occurred()) SWIG_fail
;
29391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29398 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29399 PyObject
*resultobj
;
29400 wxSizer
*arg1
= (wxSizer
*) 0 ;
29404 wxObject
*arg5
= (wxObject
*) 0 ;
29405 wxSizerItem
*result
;
29406 PyObject
* obj0
= 0 ;
29407 PyObject
* obj4
= 0 ;
29408 char *kwnames
[] = {
29409 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29414 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29417 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29419 wxPyEndAllowThreads(__tstate
);
29420 if (PyErr_Occurred()) SWIG_fail
;
29422 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29429 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29430 PyObject
*resultobj
;
29431 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29432 PyObject
* obj0
= 0 ;
29433 char *kwnames
[] = {
29434 (char *) "self", NULL
29437 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
29438 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 (arg1
)->DeleteWindows();
29443 wxPyEndAllowThreads(__tstate
);
29444 if (PyErr_Occurred()) SWIG_fail
;
29446 Py_INCREF(Py_None
); resultobj
= Py_None
;
29453 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29454 PyObject
*resultobj
;
29455 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29456 PyObject
* obj0
= 0 ;
29457 char *kwnames
[] = {
29458 (char *) "self", NULL
29461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
29462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29465 (arg1
)->DetachSizer();
29467 wxPyEndAllowThreads(__tstate
);
29468 if (PyErr_Occurred()) SWIG_fail
;
29470 Py_INCREF(Py_None
); resultobj
= Py_None
;
29477 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29478 PyObject
*resultobj
;
29479 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29481 PyObject
* obj0
= 0 ;
29482 char *kwnames
[] = {
29483 (char *) "self", NULL
29486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
29487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 result
= (arg1
)->GetSize();
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29496 wxSize
* resultptr
;
29497 resultptr
= new wxSize((wxSize
&) result
);
29498 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29506 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29507 PyObject
*resultobj
;
29508 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29510 PyObject
* obj0
= 0 ;
29511 char *kwnames
[] = {
29512 (char *) "self", NULL
29515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
29516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29519 result
= (arg1
)->CalcMin();
29521 wxPyEndAllowThreads(__tstate
);
29522 if (PyErr_Occurred()) SWIG_fail
;
29525 wxSize
* resultptr
;
29526 resultptr
= new wxSize((wxSize
&) result
);
29527 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29535 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29542 PyObject
* obj0
= 0 ;
29543 PyObject
* obj1
= 0 ;
29544 PyObject
* obj2
= 0 ;
29545 char *kwnames
[] = {
29546 (char *) "self",(char *) "pos",(char *) "size", NULL
29549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29551 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29553 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29557 (arg1
)->SetDimension(arg2
,arg3
);
29559 wxPyEndAllowThreads(__tstate
);
29560 if (PyErr_Occurred()) SWIG_fail
;
29562 Py_INCREF(Py_None
); resultobj
= Py_None
;
29569 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29570 PyObject
*resultobj
;
29571 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29573 PyObject
* obj0
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
29579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29582 result
= (arg1
)->GetMinSize();
29584 wxPyEndAllowThreads(__tstate
);
29585 if (PyErr_Occurred()) SWIG_fail
;
29588 wxSize
* resultptr
;
29589 resultptr
= new wxSize((wxSize
&) result
);
29590 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29598 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
;
29600 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29603 PyObject
* obj0
= 0 ;
29604 char *kwnames
[] = {
29605 (char *) "self",(char *) "x",(char *) "y", NULL
29608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29609 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29612 (arg1
)->SetInitSize(arg2
,arg3
);
29614 wxPyEndAllowThreads(__tstate
);
29615 if (PyErr_Occurred()) SWIG_fail
;
29617 Py_INCREF(Py_None
); resultobj
= Py_None
;
29624 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29625 PyObject
*resultobj
;
29626 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29629 PyObject
* obj0
= 0 ;
29630 char *kwnames
[] = {
29631 (char *) "self",(char *) "width",(char *) "height", NULL
29634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29635 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29638 (arg1
)->SetRatio(arg2
,arg3
);
29640 wxPyEndAllowThreads(__tstate
);
29641 if (PyErr_Occurred()) SWIG_fail
;
29643 Py_INCREF(Py_None
); resultobj
= Py_None
;
29650 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29651 PyObject
*resultobj
;
29652 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29655 PyObject
* obj0
= 0 ;
29656 PyObject
* obj1
= 0 ;
29657 char *kwnames
[] = {
29658 (char *) "self",(char *) "size", NULL
29661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29663 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 (arg1
)->SetRatio(arg2
);
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 Py_INCREF(Py_None
); resultobj
= Py_None
;
29679 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29683 PyObject
* obj0
= 0 ;
29684 char *kwnames
[] = {
29685 (char *) "self",(char *) "ratio", NULL
29688 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
29689 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29692 (arg1
)->SetRatio(arg2
);
29694 wxPyEndAllowThreads(__tstate
);
29695 if (PyErr_Occurred()) SWIG_fail
;
29697 Py_INCREF(Py_None
); resultobj
= Py_None
;
29704 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29705 PyObject
*resultobj
;
29706 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29708 PyObject
* obj0
= 0 ;
29709 char *kwnames
[] = {
29710 (char *) "self", NULL
29713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
29714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29717 result
= (float)(arg1
)->GetRatio();
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= PyFloat_FromDouble(result
);
29729 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29730 PyObject
*resultobj
;
29731 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29733 PyObject
* obj0
= 0 ;
29734 char *kwnames
[] = {
29735 (char *) "self", NULL
29738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
29739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29742 result
= (bool)(arg1
)->IsWindow();
29744 wxPyEndAllowThreads(__tstate
);
29745 if (PyErr_Occurred()) SWIG_fail
;
29747 resultobj
= PyInt_FromLong((long)result
);
29754 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29755 PyObject
*resultobj
;
29756 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29758 PyObject
* obj0
= 0 ;
29759 char *kwnames
[] = {
29760 (char *) "self", NULL
29763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
29764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29767 result
= (bool)(arg1
)->IsSizer();
29769 wxPyEndAllowThreads(__tstate
);
29770 if (PyErr_Occurred()) SWIG_fail
;
29772 resultobj
= PyInt_FromLong((long)result
);
29779 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29780 PyObject
*resultobj
;
29781 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29783 PyObject
* obj0
= 0 ;
29784 char *kwnames
[] = {
29785 (char *) "self", NULL
29788 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
29789 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 result
= (bool)(arg1
)->IsSpacer();
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= PyInt_FromLong((long)result
);
29804 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
;
29806 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29808 PyObject
* obj0
= 0 ;
29809 char *kwnames
[] = {
29810 (char *) "self",(char *) "proportion", NULL
29813 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
29814 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29817 (arg1
)->SetProportion(arg2
);
29819 wxPyEndAllowThreads(__tstate
);
29820 if (PyErr_Occurred()) SWIG_fail
;
29822 Py_INCREF(Py_None
); resultobj
= Py_None
;
29829 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29830 PyObject
*resultobj
;
29831 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29833 PyObject
* obj0
= 0 ;
29834 char *kwnames
[] = {
29835 (char *) "self", NULL
29838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
29839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29842 result
= (int)(arg1
)->GetProportion();
29844 wxPyEndAllowThreads(__tstate
);
29845 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= PyInt_FromLong((long)result
);
29854 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29855 PyObject
*resultobj
;
29856 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29858 PyObject
* obj0
= 0 ;
29859 char *kwnames
[] = {
29860 (char *) "self",(char *) "flag", NULL
29863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
29864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29867 (arg1
)->SetFlag(arg2
);
29869 wxPyEndAllowThreads(__tstate
);
29870 if (PyErr_Occurred()) SWIG_fail
;
29872 Py_INCREF(Py_None
); resultobj
= Py_None
;
29879 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29880 PyObject
*resultobj
;
29881 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29883 PyObject
* obj0
= 0 ;
29884 char *kwnames
[] = {
29885 (char *) "self", NULL
29888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
29889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29892 result
= (int)(arg1
)->GetFlag();
29894 wxPyEndAllowThreads(__tstate
);
29895 if (PyErr_Occurred()) SWIG_fail
;
29897 resultobj
= PyInt_FromLong((long)result
);
29904 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29905 PyObject
*resultobj
;
29906 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29908 PyObject
* obj0
= 0 ;
29909 char *kwnames
[] = {
29910 (char *) "self",(char *) "border", NULL
29913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
29914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29917 (arg1
)->SetBorder(arg2
);
29919 wxPyEndAllowThreads(__tstate
);
29920 if (PyErr_Occurred()) SWIG_fail
;
29922 Py_INCREF(Py_None
); resultobj
= Py_None
;
29929 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29930 PyObject
*resultobj
;
29931 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29933 PyObject
* obj0
= 0 ;
29934 char *kwnames
[] = {
29935 (char *) "self", NULL
29938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
29939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29942 result
= (int)(arg1
)->GetBorder();
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29947 resultobj
= PyInt_FromLong((long)result
);
29954 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29955 PyObject
*resultobj
;
29956 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29958 PyObject
* obj0
= 0 ;
29959 char *kwnames
[] = {
29960 (char *) "self", NULL
29963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
29964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29967 result
= (wxWindow
*)(arg1
)->GetWindow();
29969 wxPyEndAllowThreads(__tstate
);
29970 if (PyErr_Occurred()) SWIG_fail
;
29973 resultobj
= wxPyMake_wxObject(result
);
29981 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29982 PyObject
*resultobj
;
29983 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29984 wxWindow
*arg2
= (wxWindow
*) 0 ;
29985 PyObject
* obj0
= 0 ;
29986 PyObject
* obj1
= 0 ;
29987 char *kwnames
[] = {
29988 (char *) "self",(char *) "window", NULL
29991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
29992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29993 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 (arg1
)->SetWindow(arg2
);
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30001 Py_INCREF(Py_None
); resultobj
= Py_None
;
30008 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30009 PyObject
*resultobj
;
30010 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30012 PyObject
* obj0
= 0 ;
30013 char *kwnames
[] = {
30014 (char *) "self", NULL
30017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
30018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30021 result
= (wxSizer
*)(arg1
)->GetSizer();
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= wxPyMake_wxSizer(result
);
30035 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30036 PyObject
*resultobj
;
30037 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30038 wxSizer
*arg2
= (wxSizer
*) 0 ;
30039 PyObject
* obj0
= 0 ;
30040 PyObject
* obj1
= 0 ;
30041 char *kwnames
[] = {
30042 (char *) "self",(char *) "sizer", NULL
30045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
30046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30047 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 (arg1
)->SetSizer(arg2
);
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 Py_INCREF(Py_None
); resultobj
= Py_None
;
30062 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30063 PyObject
*resultobj
;
30064 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30066 PyObject
* obj0
= 0 ;
30067 char *kwnames
[] = {
30068 (char *) "self", NULL
30071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
30072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
30077 result
= (wxSize
*) &_result_ref
;
30080 wxPyEndAllowThreads(__tstate
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
30090 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30091 PyObject
*resultobj
;
30092 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30095 PyObject
* obj0
= 0 ;
30096 PyObject
* obj1
= 0 ;
30097 char *kwnames
[] = {
30098 (char *) "self",(char *) "size", NULL
30101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
30102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30105 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30109 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
30111 wxPyEndAllowThreads(__tstate
);
30112 if (PyErr_Occurred()) SWIG_fail
;
30114 Py_INCREF(Py_None
); resultobj
= Py_None
;
30121 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30122 PyObject
*resultobj
;
30123 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30125 PyObject
* obj0
= 0 ;
30126 PyObject
* obj1
= 0 ;
30127 char *kwnames
[] = {
30128 (char *) "self",(char *) "show", NULL
30131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
30132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30133 arg2
= PyInt_AsLong(obj1
) ? true : false;
30134 if (PyErr_Occurred()) SWIG_fail
;
30136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30137 (arg1
)->Show(arg2
);
30139 wxPyEndAllowThreads(__tstate
);
30140 if (PyErr_Occurred()) SWIG_fail
;
30142 Py_INCREF(Py_None
); resultobj
= Py_None
;
30149 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30150 PyObject
*resultobj
;
30151 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30153 PyObject
* obj0
= 0 ;
30154 char *kwnames
[] = {
30155 (char *) "self", NULL
30158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
30159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30162 result
= (bool)(arg1
)->IsShown();
30164 wxPyEndAllowThreads(__tstate
);
30165 if (PyErr_Occurred()) SWIG_fail
;
30167 resultobj
= PyInt_FromLong((long)result
);
30174 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30175 PyObject
*resultobj
;
30176 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30178 PyObject
* obj0
= 0 ;
30179 char *kwnames
[] = {
30180 (char *) "self", NULL
30183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
30184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30187 result
= (arg1
)->GetPosition();
30189 wxPyEndAllowThreads(__tstate
);
30190 if (PyErr_Occurred()) SWIG_fail
;
30193 wxPoint
* resultptr
;
30194 resultptr
= new wxPoint((wxPoint
&) result
);
30195 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30203 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30204 PyObject
*resultobj
;
30205 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30207 PyObject
* obj0
= 0 ;
30208 char *kwnames
[] = {
30209 (char *) "self", NULL
30212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
30213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30216 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30221 resultobj
= result
;
30228 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30230 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30231 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30233 return Py_BuildValue((char *)"");
30235 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
;
30237 wxSizer
*arg1
= (wxSizer
*) 0 ;
30238 PyObject
*arg2
= (PyObject
*) 0 ;
30239 PyObject
* obj0
= 0 ;
30240 PyObject
* obj1
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self",(char *) "_self", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30250 wxSizer__setOORInfo(arg1
,arg2
);
30252 wxPyEndAllowThreads(__tstate
);
30253 if (PyErr_Occurred()) SWIG_fail
;
30255 Py_INCREF(Py_None
); resultobj
= Py_None
;
30262 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30263 PyObject
*resultobj
;
30264 wxSizer
*arg1
= (wxSizer
*) 0 ;
30265 PyObject
*arg2
= (PyObject
*) 0 ;
30266 int arg3
= (int) 0 ;
30267 int arg4
= (int) 0 ;
30268 int arg5
= (int) 0 ;
30269 PyObject
*arg6
= (PyObject
*) NULL
;
30270 PyObject
* obj0
= 0 ;
30271 PyObject
* obj1
= 0 ;
30272 PyObject
* obj5
= 0 ;
30273 char *kwnames
[] = {
30274 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30285 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30287 wxPyEndAllowThreads(__tstate
);
30288 if (PyErr_Occurred()) SWIG_fail
;
30290 Py_INCREF(Py_None
); resultobj
= Py_None
;
30297 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30298 PyObject
*resultobj
;
30299 wxSizer
*arg1
= (wxSizer
*) 0 ;
30301 PyObject
*arg3
= (PyObject
*) 0 ;
30302 int arg4
= (int) 0 ;
30303 int arg5
= (int) 0 ;
30304 int arg6
= (int) 0 ;
30305 PyObject
*arg7
= (PyObject
*) NULL
;
30306 PyObject
* obj0
= 0 ;
30307 PyObject
* obj2
= 0 ;
30308 PyObject
* obj6
= 0 ;
30309 char *kwnames
[] = {
30310 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30321 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30323 wxPyEndAllowThreads(__tstate
);
30324 if (PyErr_Occurred()) SWIG_fail
;
30326 Py_INCREF(Py_None
); resultobj
= Py_None
;
30333 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30334 PyObject
*resultobj
;
30335 wxSizer
*arg1
= (wxSizer
*) 0 ;
30336 PyObject
*arg2
= (PyObject
*) 0 ;
30337 int arg3
= (int) 0 ;
30338 int arg4
= (int) 0 ;
30339 int arg5
= (int) 0 ;
30340 PyObject
*arg6
= (PyObject
*) NULL
;
30341 PyObject
* obj0
= 0 ;
30342 PyObject
* obj1
= 0 ;
30343 PyObject
* obj5
= 0 ;
30344 char *kwnames
[] = {
30345 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30356 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 Py_INCREF(Py_None
); resultobj
= Py_None
;
30368 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
;
30370 wxSizer
*arg1
= (wxSizer
*) 0 ;
30371 PyObject
*arg2
= (PyObject
*) 0 ;
30373 PyObject
* obj0
= 0 ;
30374 PyObject
* obj1
= 0 ;
30375 char *kwnames
[] = {
30376 (char *) "self",(char *) "item", NULL
30379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30384 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30386 wxPyEndAllowThreads(__tstate
);
30387 if (PyErr_Occurred()) SWIG_fail
;
30389 resultobj
= PyInt_FromLong((long)result
);
30396 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30397 PyObject
*resultobj
;
30398 wxSizer
*arg1
= (wxSizer
*) 0 ;
30399 PyObject
*arg2
= (PyObject
*) 0 ;
30402 PyObject
* obj0
= 0 ;
30403 PyObject
* obj1
= 0 ;
30404 PyObject
* obj2
= 0 ;
30405 char *kwnames
[] = {
30406 (char *) "self",(char *) "item",(char *) "size", NULL
30409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30414 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30418 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
30420 wxPyEndAllowThreads(__tstate
);
30421 if (PyErr_Occurred()) SWIG_fail
;
30423 Py_INCREF(Py_None
); resultobj
= Py_None
;
30430 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30431 PyObject
*resultobj
;
30432 wxSizer
*arg1
= (wxSizer
*) 0 ;
30433 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30434 PyObject
* obj0
= 0 ;
30435 PyObject
* obj1
= 0 ;
30436 char *kwnames
[] = {
30437 (char *) "self",(char *) "item", NULL
30440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30442 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 Py_INCREF(Py_None
); resultobj
= Py_None
;
30457 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30458 PyObject
*resultobj
;
30459 wxSizer
*arg1
= (wxSizer
*) 0 ;
30461 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
30462 PyObject
* obj0
= 0 ;
30463 PyObject
* obj1
= 0 ;
30464 PyObject
* obj2
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self",(char *) "index",(char *) "item", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30471 arg2
= (size_t) PyInt_AsLong(obj1
);
30472 if (PyErr_Occurred()) SWIG_fail
;
30473 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 (arg1
)->Insert(arg2
,arg3
);
30478 wxPyEndAllowThreads(__tstate
);
30479 if (PyErr_Occurred()) SWIG_fail
;
30481 Py_INCREF(Py_None
); resultobj
= Py_None
;
30488 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30489 PyObject
*resultobj
;
30490 wxSizer
*arg1
= (wxSizer
*) 0 ;
30491 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30492 PyObject
* obj0
= 0 ;
30493 PyObject
* obj1
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "item", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30500 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 (arg1
)->Prepend(arg2
);
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 Py_INCREF(Py_None
); resultobj
= Py_None
;
30515 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxSizer
*arg1
= (wxSizer
*) 0 ;
30522 PyObject
* obj0
= 0 ;
30523 char *kwnames
[] = {
30524 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
30528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30531 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
30533 wxPyEndAllowThreads(__tstate
);
30534 if (PyErr_Occurred()) SWIG_fail
;
30536 Py_INCREF(Py_None
); resultobj
= Py_None
;
30543 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30544 PyObject
*resultobj
;
30545 wxSizer
*arg1
= (wxSizer
*) 0 ;
30548 PyObject
* obj0
= 0 ;
30549 PyObject
* obj1
= 0 ;
30550 char *kwnames
[] = {
30551 (char *) "self",(char *) "size", NULL
30554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30558 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30562 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
30564 wxPyEndAllowThreads(__tstate
);
30565 if (PyErr_Occurred()) SWIG_fail
;
30567 Py_INCREF(Py_None
); resultobj
= Py_None
;
30574 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30575 PyObject
*resultobj
;
30576 wxSizer
*arg1
= (wxSizer
*) 0 ;
30578 PyObject
* obj0
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
30584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30587 result
= (arg1
)->GetSize();
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30593 wxSize
* resultptr
;
30594 resultptr
= new wxSize((wxSize
&) result
);
30595 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30603 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30604 PyObject
*resultobj
;
30605 wxSizer
*arg1
= (wxSizer
*) 0 ;
30607 PyObject
* obj0
= 0 ;
30608 char *kwnames
[] = {
30609 (char *) "self", NULL
30612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
30613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30616 result
= (arg1
)->GetPosition();
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30622 wxPoint
* resultptr
;
30623 resultptr
= new wxPoint((wxPoint
&) result
);
30624 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30632 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30633 PyObject
*resultobj
;
30634 wxSizer
*arg1
= (wxSizer
*) 0 ;
30636 PyObject
* obj0
= 0 ;
30637 char *kwnames
[] = {
30638 (char *) "self", NULL
30641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
30642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30645 result
= (arg1
)->GetMinSize();
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30651 wxSize
* resultptr
;
30652 resultptr
= new wxSize((wxSize
&) result
);
30653 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30661 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
;
30663 wxSizer
*arg1
= (wxSizer
*) 0 ;
30664 PyObject
* obj0
= 0 ;
30665 char *kwnames
[] = {
30666 (char *) "self", NULL
30669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30673 (arg1
)->RecalcSizes();
30675 wxPyEndAllowThreads(__tstate
);
30676 if (PyErr_Occurred()) SWIG_fail
;
30678 Py_INCREF(Py_None
); resultobj
= Py_None
;
30685 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30686 PyObject
*resultobj
;
30687 wxSizer
*arg1
= (wxSizer
*) 0 ;
30689 PyObject
* obj0
= 0 ;
30690 char *kwnames
[] = {
30691 (char *) "self", NULL
30694 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30695 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30698 result
= (arg1
)->CalcMin();
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30704 wxSize
* resultptr
;
30705 resultptr
= new wxSize((wxSize
&) result
);
30706 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30714 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
;
30716 wxSizer
*arg1
= (wxSizer
*) 0 ;
30717 PyObject
* obj0
= 0 ;
30718 char *kwnames
[] = {
30719 (char *) "self", NULL
30722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
30723 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30728 wxPyEndAllowThreads(__tstate
);
30729 if (PyErr_Occurred()) SWIG_fail
;
30731 Py_INCREF(Py_None
); resultobj
= Py_None
;
30738 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30739 PyObject
*resultobj
;
30740 wxSizer
*arg1
= (wxSizer
*) 0 ;
30741 wxWindow
*arg2
= (wxWindow
*) 0 ;
30743 PyObject
* obj0
= 0 ;
30744 PyObject
* obj1
= 0 ;
30745 char *kwnames
[] = {
30746 (char *) "self",(char *) "window", NULL
30749 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
30750 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30751 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30754 result
= (arg1
)->Fit(arg2
);
30756 wxPyEndAllowThreads(__tstate
);
30757 if (PyErr_Occurred()) SWIG_fail
;
30760 wxSize
* resultptr
;
30761 resultptr
= new wxSize((wxSize
&) result
);
30762 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30770 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30771 PyObject
*resultobj
;
30772 wxSizer
*arg1
= (wxSizer
*) 0 ;
30773 wxWindow
*arg2
= (wxWindow
*) 0 ;
30774 PyObject
* obj0
= 0 ;
30775 PyObject
* obj1
= 0 ;
30776 char *kwnames
[] = {
30777 (char *) "self",(char *) "window", NULL
30780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
30781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30782 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30785 (arg1
)->FitInside(arg2
);
30787 wxPyEndAllowThreads(__tstate
);
30788 if (PyErr_Occurred()) SWIG_fail
;
30790 Py_INCREF(Py_None
); resultobj
= Py_None
;
30797 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30798 PyObject
*resultobj
;
30799 wxSizer
*arg1
= (wxSizer
*) 0 ;
30800 wxWindow
*arg2
= (wxWindow
*) 0 ;
30801 PyObject
* obj0
= 0 ;
30802 PyObject
* obj1
= 0 ;
30803 char *kwnames
[] = {
30804 (char *) "self",(char *) "window", NULL
30807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30812 (arg1
)->SetSizeHints(arg2
);
30814 wxPyEndAllowThreads(__tstate
);
30815 if (PyErr_Occurred()) SWIG_fail
;
30817 Py_INCREF(Py_None
); resultobj
= Py_None
;
30824 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30825 PyObject
*resultobj
;
30826 wxSizer
*arg1
= (wxSizer
*) 0 ;
30827 wxWindow
*arg2
= (wxWindow
*) 0 ;
30828 PyObject
* obj0
= 0 ;
30829 PyObject
* obj1
= 0 ;
30830 char *kwnames
[] = {
30831 (char *) "self",(char *) "window", NULL
30834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30839 (arg1
)->SetVirtualSizeHints(arg2
);
30841 wxPyEndAllowThreads(__tstate
);
30842 if (PyErr_Occurred()) SWIG_fail
;
30844 Py_INCREF(Py_None
); resultobj
= Py_None
;
30851 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30852 PyObject
*resultobj
;
30853 wxSizer
*arg1
= (wxSizer
*) 0 ;
30854 bool arg2
= (bool) False
;
30855 PyObject
* obj0
= 0 ;
30856 PyObject
* obj1
= 0 ;
30857 char *kwnames
[] = {
30858 (char *) "self",(char *) "delete_windows", NULL
30861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30864 arg2
= PyInt_AsLong(obj1
) ? true : false;
30865 if (PyErr_Occurred()) SWIG_fail
;
30868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30869 (arg1
)->Clear(arg2
);
30871 wxPyEndAllowThreads(__tstate
);
30872 if (PyErr_Occurred()) SWIG_fail
;
30874 Py_INCREF(Py_None
); resultobj
= Py_None
;
30881 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30882 PyObject
*resultobj
;
30883 wxSizer
*arg1
= (wxSizer
*) 0 ;
30884 PyObject
* obj0
= 0 ;
30885 char *kwnames
[] = {
30886 (char *) "self", NULL
30889 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
30890 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30893 (arg1
)->DeleteWindows();
30895 wxPyEndAllowThreads(__tstate
);
30896 if (PyErr_Occurred()) SWIG_fail
;
30898 Py_INCREF(Py_None
); resultobj
= Py_None
;
30905 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30906 PyObject
*resultobj
;
30907 wxSizer
*arg1
= (wxSizer
*) 0 ;
30909 PyObject
* obj0
= 0 ;
30910 char *kwnames
[] = {
30911 (char *) "self", NULL
30914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
30915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30918 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
30920 wxPyEndAllowThreads(__tstate
);
30921 if (PyErr_Occurred()) SWIG_fail
;
30923 resultobj
= result
;
30930 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30931 PyObject
*resultobj
;
30932 wxSizer
*arg1
= (wxSizer
*) 0 ;
30933 PyObject
*arg2
= (PyObject
*) 0 ;
30934 bool arg3
= (bool) True
;
30935 PyObject
* obj0
= 0 ;
30936 PyObject
* obj1
= 0 ;
30937 PyObject
* obj2
= 0 ;
30938 char *kwnames
[] = {
30939 (char *) "self",(char *) "item",(char *) "show", NULL
30942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30946 arg3
= PyInt_AsLong(obj2
) ? true : false;
30947 if (PyErr_Occurred()) SWIG_fail
;
30950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30951 wxSizer_Show(arg1
,arg2
,arg3
);
30953 wxPyEndAllowThreads(__tstate
);
30954 if (PyErr_Occurred()) SWIG_fail
;
30956 Py_INCREF(Py_None
); resultobj
= Py_None
;
30963 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30964 PyObject
*resultobj
;
30965 wxSizer
*arg1
= (wxSizer
*) 0 ;
30966 PyObject
*arg2
= (PyObject
*) 0 ;
30967 PyObject
* obj0
= 0 ;
30968 PyObject
* obj1
= 0 ;
30969 char *kwnames
[] = {
30970 (char *) "self",(char *) "item", NULL
30973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
30974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30978 wxSizer_Hide(arg1
,arg2
);
30980 wxPyEndAllowThreads(__tstate
);
30981 if (PyErr_Occurred()) SWIG_fail
;
30983 Py_INCREF(Py_None
); resultobj
= Py_None
;
30990 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30991 PyObject
*resultobj
;
30992 wxSizer
*arg1
= (wxSizer
*) 0 ;
30993 PyObject
*arg2
= (PyObject
*) 0 ;
30995 PyObject
* obj0
= 0 ;
30996 PyObject
* obj1
= 0 ;
30997 char *kwnames
[] = {
30998 (char *) "self",(char *) "item", NULL
31001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
31002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31006 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
31008 wxPyEndAllowThreads(__tstate
);
31009 if (PyErr_Occurred()) SWIG_fail
;
31011 resultobj
= PyInt_FromLong((long)result
);
31018 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31019 PyObject
*resultobj
;
31020 wxSizer
*arg1
= (wxSizer
*) 0 ;
31022 PyObject
* obj0
= 0 ;
31023 PyObject
* obj1
= 0 ;
31024 char *kwnames
[] = {
31025 (char *) "self",(char *) "show", NULL
31028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31030 arg2
= PyInt_AsLong(obj1
) ? true : false;
31031 if (PyErr_Occurred()) SWIG_fail
;
31033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31034 (arg1
)->ShowItems(arg2
);
31036 wxPyEndAllowThreads(__tstate
);
31037 if (PyErr_Occurred()) SWIG_fail
;
31039 Py_INCREF(Py_None
); resultobj
= Py_None
;
31046 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
31048 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31049 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
31051 return Py_BuildValue((char *)"");
31053 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31054 PyObject
*resultobj
;
31056 char *kwnames
[] = {
31060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 result
= (wxPySizer
*)new wxPySizer();
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
31075 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31076 PyObject
*resultobj
;
31077 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
31078 PyObject
*arg2
= (PyObject
*) 0 ;
31079 PyObject
*arg3
= (PyObject
*) 0 ;
31080 PyObject
* obj0
= 0 ;
31081 PyObject
* obj1
= 0 ;
31082 PyObject
* obj2
= 0 ;
31083 char *kwnames
[] = {
31084 (char *) "self",(char *) "self",(char *) "_class", NULL
31087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31093 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31095 wxPyEndAllowThreads(__tstate
);
31096 if (PyErr_Occurred()) SWIG_fail
;
31098 Py_INCREF(Py_None
); resultobj
= Py_None
;
31105 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
31107 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31108 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
31110 return Py_BuildValue((char *)"");
31112 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31113 PyObject
*resultobj
;
31114 int arg1
= (int) wxHORIZONTAL
;
31115 wxBoxSizer
*result
;
31116 char *kwnames
[] = {
31117 (char *) "orient", NULL
31120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
31122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31123 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
31125 wxPyEndAllowThreads(__tstate
);
31126 if (PyErr_Occurred()) SWIG_fail
;
31128 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
31135 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31136 PyObject
*resultobj
;
31137 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31139 PyObject
* obj0
= 0 ;
31140 char *kwnames
[] = {
31141 (char *) "self", NULL
31144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
31145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31148 result
= (int)(arg1
)->GetOrientation();
31150 wxPyEndAllowThreads(__tstate
);
31151 if (PyErr_Occurred()) SWIG_fail
;
31153 resultobj
= PyInt_FromLong((long)result
);
31160 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31161 PyObject
*resultobj
;
31162 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31164 PyObject
* obj0
= 0 ;
31165 char *kwnames
[] = {
31166 (char *) "self",(char *) "orient", NULL
31169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
31170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 (arg1
)->SetOrientation(arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 Py_INCREF(Py_None
); resultobj
= Py_None
;
31185 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31188 PyObject
* obj0
= 0 ;
31189 char *kwnames
[] = {
31190 (char *) "self", NULL
31193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31197 (arg1
)->RecalcSizes();
31199 wxPyEndAllowThreads(__tstate
);
31200 if (PyErr_Occurred()) SWIG_fail
;
31202 Py_INCREF(Py_None
); resultobj
= Py_None
;
31209 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31210 PyObject
*resultobj
;
31211 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31213 PyObject
* obj0
= 0 ;
31214 char *kwnames
[] = {
31215 (char *) "self", NULL
31218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31222 result
= (arg1
)->CalcMin();
31224 wxPyEndAllowThreads(__tstate
);
31225 if (PyErr_Occurred()) SWIG_fail
;
31228 wxSize
* resultptr
;
31229 resultptr
= new wxSize((wxSize
&) result
);
31230 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31238 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31241 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31243 return Py_BuildValue((char *)"");
31245 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31246 PyObject
*resultobj
;
31247 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31248 int arg2
= (int) wxHORIZONTAL
;
31249 wxStaticBoxSizer
*result
;
31250 PyObject
* obj0
= 0 ;
31251 char *kwnames
[] = {
31252 (char *) "box",(char *) "orient", NULL
31255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31261 wxPyEndAllowThreads(__tstate
);
31262 if (PyErr_Occurred()) SWIG_fail
;
31264 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31271 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31272 PyObject
*resultobj
;
31273 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31274 wxStaticBox
*result
;
31275 PyObject
* obj0
= 0 ;
31276 char *kwnames
[] = {
31277 (char *) "self", NULL
31280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31284 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= wxPyMake_wxObject(result
);
31298 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31299 PyObject
*resultobj
;
31300 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31301 PyObject
* obj0
= 0 ;
31302 char *kwnames
[] = {
31303 (char *) "self", NULL
31306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31310 (arg1
)->RecalcSizes();
31312 wxPyEndAllowThreads(__tstate
);
31313 if (PyErr_Occurred()) SWIG_fail
;
31315 Py_INCREF(Py_None
); resultobj
= Py_None
;
31322 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31323 PyObject
*resultobj
;
31324 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31326 PyObject
* obj0
= 0 ;
31327 char *kwnames
[] = {
31328 (char *) "self", NULL
31331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31335 result
= (arg1
)->CalcMin();
31337 wxPyEndAllowThreads(__tstate
);
31338 if (PyErr_Occurred()) SWIG_fail
;
31341 wxSize
* resultptr
;
31342 resultptr
= new wxSize((wxSize
&) result
);
31343 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31351 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31353 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31354 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31356 return Py_BuildValue((char *)"");
31358 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31359 PyObject
*resultobj
;
31360 int arg1
= (int) 1 ;
31361 int arg2
= (int) 0 ;
31362 int arg3
= (int) 0 ;
31363 int arg4
= (int) 0 ;
31364 wxGridSizer
*result
;
31365 char *kwnames
[] = {
31366 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31369 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31372 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31374 wxPyEndAllowThreads(__tstate
);
31375 if (PyErr_Occurred()) SWIG_fail
;
31377 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31384 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31385 PyObject
*resultobj
;
31386 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31387 PyObject
* obj0
= 0 ;
31388 char *kwnames
[] = {
31389 (char *) "self", NULL
31392 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31393 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 (arg1
)->RecalcSizes();
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31401 Py_INCREF(Py_None
); resultobj
= Py_None
;
31408 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31409 PyObject
*resultobj
;
31410 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31412 PyObject
* obj0
= 0 ;
31413 char *kwnames
[] = {
31414 (char *) "self", NULL
31417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31421 result
= (arg1
)->CalcMin();
31423 wxPyEndAllowThreads(__tstate
);
31424 if (PyErr_Occurred()) SWIG_fail
;
31427 wxSize
* resultptr
;
31428 resultptr
= new wxSize((wxSize
&) result
);
31429 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31437 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
;
31439 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31441 PyObject
* obj0
= 0 ;
31442 char *kwnames
[] = {
31443 (char *) "self",(char *) "cols", NULL
31446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
31447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 (arg1
)->SetCols(arg2
);
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 Py_INCREF(Py_None
); resultobj
= Py_None
;
31462 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
;
31464 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31466 PyObject
* obj0
= 0 ;
31467 char *kwnames
[] = {
31468 (char *) "self",(char *) "rows", NULL
31471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
31472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31475 (arg1
)->SetRows(arg2
);
31477 wxPyEndAllowThreads(__tstate
);
31478 if (PyErr_Occurred()) SWIG_fail
;
31480 Py_INCREF(Py_None
); resultobj
= Py_None
;
31487 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31488 PyObject
*resultobj
;
31489 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31491 PyObject
* obj0
= 0 ;
31492 char *kwnames
[] = {
31493 (char *) "self",(char *) "gap", NULL
31496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31500 (arg1
)->SetVGap(arg2
);
31502 wxPyEndAllowThreads(__tstate
);
31503 if (PyErr_Occurred()) SWIG_fail
;
31505 Py_INCREF(Py_None
); resultobj
= Py_None
;
31512 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31513 PyObject
*resultobj
;
31514 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31516 PyObject
* obj0
= 0 ;
31517 char *kwnames
[] = {
31518 (char *) "self",(char *) "gap", NULL
31521 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31522 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31525 (arg1
)->SetHGap(arg2
);
31527 wxPyEndAllowThreads(__tstate
);
31528 if (PyErr_Occurred()) SWIG_fail
;
31530 Py_INCREF(Py_None
); resultobj
= Py_None
;
31537 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31538 PyObject
*resultobj
;
31539 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31541 PyObject
* obj0
= 0 ;
31542 char *kwnames
[] = {
31543 (char *) "self", NULL
31546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
31547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31550 result
= (int)(arg1
)->GetCols();
31552 wxPyEndAllowThreads(__tstate
);
31553 if (PyErr_Occurred()) SWIG_fail
;
31555 resultobj
= PyInt_FromLong((long)result
);
31562 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31563 PyObject
*resultobj
;
31564 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31566 PyObject
* obj0
= 0 ;
31567 char *kwnames
[] = {
31568 (char *) "self", NULL
31571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
31572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31575 result
= (int)(arg1
)->GetRows();
31577 wxPyEndAllowThreads(__tstate
);
31578 if (PyErr_Occurred()) SWIG_fail
;
31580 resultobj
= PyInt_FromLong((long)result
);
31587 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31588 PyObject
*resultobj
;
31589 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31591 PyObject
* obj0
= 0 ;
31592 char *kwnames
[] = {
31593 (char *) "self", NULL
31596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
31597 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31600 result
= (int)(arg1
)->GetVGap();
31602 wxPyEndAllowThreads(__tstate
);
31603 if (PyErr_Occurred()) SWIG_fail
;
31605 resultobj
= PyInt_FromLong((long)result
);
31612 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31613 PyObject
*resultobj
;
31614 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31616 PyObject
* obj0
= 0 ;
31617 char *kwnames
[] = {
31618 (char *) "self", NULL
31621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
31622 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31625 result
= (int)(arg1
)->GetHGap();
31627 wxPyEndAllowThreads(__tstate
);
31628 if (PyErr_Occurred()) SWIG_fail
;
31630 resultobj
= PyInt_FromLong((long)result
);
31637 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31639 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31640 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
31642 return Py_BuildValue((char *)"");
31644 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31645 PyObject
*resultobj
;
31646 int arg1
= (int) 1 ;
31647 int arg2
= (int) 0 ;
31648 int arg3
= (int) 0 ;
31649 int arg4
= (int) 0 ;
31650 wxFlexGridSizer
*result
;
31651 char *kwnames
[] = {
31652 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31658 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
31660 wxPyEndAllowThreads(__tstate
);
31661 if (PyErr_Occurred()) SWIG_fail
;
31663 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
31670 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31671 PyObject
*resultobj
;
31672 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31673 PyObject
* obj0
= 0 ;
31674 char *kwnames
[] = {
31675 (char *) "self", NULL
31678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31682 (arg1
)->RecalcSizes();
31684 wxPyEndAllowThreads(__tstate
);
31685 if (PyErr_Occurred()) SWIG_fail
;
31687 Py_INCREF(Py_None
); resultobj
= Py_None
;
31694 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31695 PyObject
*resultobj
;
31696 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31698 PyObject
* obj0
= 0 ;
31699 char *kwnames
[] = {
31700 (char *) "self", NULL
31703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31707 result
= (arg1
)->CalcMin();
31709 wxPyEndAllowThreads(__tstate
);
31710 if (PyErr_Occurred()) SWIG_fail
;
31713 wxSize
* resultptr
;
31714 resultptr
= new wxSize((wxSize
&) result
);
31715 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31723 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31727 int arg3
= (int) 0 ;
31728 PyObject
* obj0
= 0 ;
31729 PyObject
* obj1
= 0 ;
31730 char *kwnames
[] = {
31731 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31734 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31735 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31736 arg2
= (size_t) PyInt_AsLong(obj1
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31740 (arg1
)->AddGrowableRow(arg2
,arg3
);
31742 wxPyEndAllowThreads(__tstate
);
31743 if (PyErr_Occurred()) SWIG_fail
;
31745 Py_INCREF(Py_None
); resultobj
= Py_None
;
31752 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31753 PyObject
*resultobj
;
31754 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31756 PyObject
* obj0
= 0 ;
31757 PyObject
* obj1
= 0 ;
31758 char *kwnames
[] = {
31759 (char *) "self",(char *) "idx", NULL
31762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
31763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31764 arg2
= (size_t) PyInt_AsLong(obj1
);
31765 if (PyErr_Occurred()) SWIG_fail
;
31767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31768 (arg1
)->RemoveGrowableRow(arg2
);
31770 wxPyEndAllowThreads(__tstate
);
31771 if (PyErr_Occurred()) SWIG_fail
;
31773 Py_INCREF(Py_None
); resultobj
= Py_None
;
31780 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31781 PyObject
*resultobj
;
31782 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31784 int arg3
= (int) 0 ;
31785 PyObject
* obj0
= 0 ;
31786 PyObject
* obj1
= 0 ;
31787 char *kwnames
[] = {
31788 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31793 arg2
= (size_t) PyInt_AsLong(obj1
);
31794 if (PyErr_Occurred()) SWIG_fail
;
31796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31797 (arg1
)->AddGrowableCol(arg2
,arg3
);
31799 wxPyEndAllowThreads(__tstate
);
31800 if (PyErr_Occurred()) SWIG_fail
;
31802 Py_INCREF(Py_None
); resultobj
= Py_None
;
31809 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31810 PyObject
*resultobj
;
31811 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31813 PyObject
* obj0
= 0 ;
31814 PyObject
* obj1
= 0 ;
31815 char *kwnames
[] = {
31816 (char *) "self",(char *) "idx", NULL
31819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
31820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31821 arg2
= (size_t) PyInt_AsLong(obj1
);
31822 if (PyErr_Occurred()) SWIG_fail
;
31824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31825 (arg1
)->RemoveGrowableCol(arg2
);
31827 wxPyEndAllowThreads(__tstate
);
31828 if (PyErr_Occurred()) SWIG_fail
;
31830 Py_INCREF(Py_None
); resultobj
= Py_None
;
31837 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31838 PyObject
*resultobj
;
31839 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31841 PyObject
* obj0
= 0 ;
31842 char *kwnames
[] = {
31843 (char *) "self",(char *) "direction", NULL
31846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
31847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31850 (arg1
)->SetFlexibleDirection(arg2
);
31852 wxPyEndAllowThreads(__tstate
);
31853 if (PyErr_Occurred()) SWIG_fail
;
31855 Py_INCREF(Py_None
); resultobj
= Py_None
;
31862 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31863 PyObject
*resultobj
;
31864 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31866 PyObject
* obj0
= 0 ;
31867 char *kwnames
[] = {
31868 (char *) "self", NULL
31871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
31872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31875 result
= (int)(arg1
)->GetFlexibleDirection();
31877 wxPyEndAllowThreads(__tstate
);
31878 if (PyErr_Occurred()) SWIG_fail
;
31880 resultobj
= PyInt_FromLong((long)result
);
31887 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31888 PyObject
*resultobj
;
31889 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31891 PyObject
* obj0
= 0 ;
31892 char *kwnames
[] = {
31893 (char *) "self",(char *) "mode", NULL
31896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
31897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31900 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
31902 wxPyEndAllowThreads(__tstate
);
31903 if (PyErr_Occurred()) SWIG_fail
;
31905 Py_INCREF(Py_None
); resultobj
= Py_None
;
31912 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31913 PyObject
*resultobj
;
31914 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31916 PyObject
* obj0
= 0 ;
31917 char *kwnames
[] = {
31918 (char *) "self", NULL
31921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
31922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31925 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
31927 wxPyEndAllowThreads(__tstate
);
31928 if (PyErr_Occurred()) SWIG_fail
;
31930 resultobj
= PyInt_FromLong((long)result
);
31937 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31938 PyObject
*resultobj
;
31939 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31940 wxArrayInt
*result
;
31941 PyObject
* obj0
= 0 ;
31942 char *kwnames
[] = {
31943 (char *) "self", NULL
31946 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
31947 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31951 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
31952 result
= (wxArrayInt
*) &_result_ref
;
31955 wxPyEndAllowThreads(__tstate
);
31956 if (PyErr_Occurred()) SWIG_fail
;
31959 resultobj
= PyList_New(0);
31961 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
31962 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
31963 PyList_Append(resultobj
, val
);
31973 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31974 PyObject
*resultobj
;
31975 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31976 wxArrayInt
*result
;
31977 PyObject
* obj0
= 0 ;
31978 char *kwnames
[] = {
31979 (char *) "self", NULL
31982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
31983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31987 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
31988 result
= (wxArrayInt
*) &_result_ref
;
31991 wxPyEndAllowThreads(__tstate
);
31992 if (PyErr_Occurred()) SWIG_fail
;
31995 resultobj
= PyList_New(0);
31997 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
31998 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
31999 PyList_Append(resultobj
, val
);
32009 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32011 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32012 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
32014 return Py_BuildValue((char *)"");
32016 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32017 PyObject
*resultobj
;
32018 int arg1
= (int) 0 ;
32019 int arg2
= (int) 0 ;
32020 wxGBPosition
*result
;
32021 char *kwnames
[] = {
32022 (char *) "row",(char *) "col", NULL
32025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
32027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32028 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
32030 wxPyEndAllowThreads(__tstate
);
32031 if (PyErr_Occurred()) SWIG_fail
;
32033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
32040 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32041 PyObject
*resultobj
;
32042 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32044 PyObject
* obj0
= 0 ;
32045 char *kwnames
[] = {
32046 (char *) "self", NULL
32049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
32050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32053 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
32055 wxPyEndAllowThreads(__tstate
);
32056 if (PyErr_Occurred()) SWIG_fail
;
32058 resultobj
= PyInt_FromLong((long)result
);
32065 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32066 PyObject
*resultobj
;
32067 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32069 PyObject
* obj0
= 0 ;
32070 char *kwnames
[] = {
32071 (char *) "self", NULL
32074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
32075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32078 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
32080 wxPyEndAllowThreads(__tstate
);
32081 if (PyErr_Occurred()) SWIG_fail
;
32083 resultobj
= PyInt_FromLong((long)result
);
32090 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32091 PyObject
*resultobj
;
32092 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32094 PyObject
* obj0
= 0 ;
32095 char *kwnames
[] = {
32096 (char *) "self",(char *) "row", NULL
32099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
32100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32103 (arg1
)->SetRow(arg2
);
32105 wxPyEndAllowThreads(__tstate
);
32106 if (PyErr_Occurred()) SWIG_fail
;
32108 Py_INCREF(Py_None
); resultobj
= Py_None
;
32115 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32116 PyObject
*resultobj
;
32117 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32119 PyObject
* obj0
= 0 ;
32120 char *kwnames
[] = {
32121 (char *) "self",(char *) "col", NULL
32124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
32125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32128 (arg1
)->SetCol(arg2
);
32130 wxPyEndAllowThreads(__tstate
);
32131 if (PyErr_Occurred()) SWIG_fail
;
32133 Py_INCREF(Py_None
); resultobj
= Py_None
;
32140 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32141 PyObject
*resultobj
;
32142 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32143 wxGBPosition
*arg2
= 0 ;
32145 wxGBPosition temp2
;
32146 PyObject
* obj0
= 0 ;
32147 PyObject
* obj1
= 0 ;
32148 char *kwnames
[] = {
32149 (char *) "self",(char *) "p", NULL
32152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32156 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32160 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
32162 wxPyEndAllowThreads(__tstate
);
32163 if (PyErr_Occurred()) SWIG_fail
;
32165 resultobj
= PyInt_FromLong((long)result
);
32172 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32173 PyObject
*resultobj
;
32174 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32175 wxGBPosition
*arg2
= 0 ;
32177 wxGBPosition temp2
;
32178 PyObject
* obj0
= 0 ;
32179 PyObject
* obj1
= 0 ;
32180 char *kwnames
[] = {
32181 (char *) "self",(char *) "p", NULL
32184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32188 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32192 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
32194 wxPyEndAllowThreads(__tstate
);
32195 if (PyErr_Occurred()) SWIG_fail
;
32197 resultobj
= PyInt_FromLong((long)result
);
32204 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32205 PyObject
*resultobj
;
32206 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32207 int arg2
= (int) 0 ;
32208 int arg3
= (int) 0 ;
32209 PyObject
* obj0
= 0 ;
32210 char *kwnames
[] = {
32211 (char *) "self",(char *) "row",(char *) "col", NULL
32214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBPosition_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32218 wxGBPosition_Set(arg1
,arg2
,arg3
);
32220 wxPyEndAllowThreads(__tstate
);
32221 if (PyErr_Occurred()) SWIG_fail
;
32223 Py_INCREF(Py_None
); resultobj
= Py_None
;
32230 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32231 PyObject
*resultobj
;
32232 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32234 PyObject
* obj0
= 0 ;
32235 char *kwnames
[] = {
32236 (char *) "self", NULL
32239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
32240 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32243 result
= (PyObject
*)wxGBPosition_Get(arg1
);
32245 wxPyEndAllowThreads(__tstate
);
32246 if (PyErr_Occurred()) SWIG_fail
;
32248 resultobj
= result
;
32255 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
32257 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32258 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
32260 return Py_BuildValue((char *)"");
32262 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32263 PyObject
*resultobj
;
32264 int arg1
= (int) 1 ;
32265 int arg2
= (int) 1 ;
32267 char *kwnames
[] = {
32268 (char *) "rowspan",(char *) "colspan", NULL
32271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
32273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32274 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
32276 wxPyEndAllowThreads(__tstate
);
32277 if (PyErr_Occurred()) SWIG_fail
;
32279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
32286 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32287 PyObject
*resultobj
;
32288 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32290 PyObject
* obj0
= 0 ;
32291 char *kwnames
[] = {
32292 (char *) "self", NULL
32295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
32296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32299 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
32301 wxPyEndAllowThreads(__tstate
);
32302 if (PyErr_Occurred()) SWIG_fail
;
32304 resultobj
= PyInt_FromLong((long)result
);
32311 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32312 PyObject
*resultobj
;
32313 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32315 PyObject
* obj0
= 0 ;
32316 char *kwnames
[] = {
32317 (char *) "self", NULL
32320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
32321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32324 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
32326 wxPyEndAllowThreads(__tstate
);
32327 if (PyErr_Occurred()) SWIG_fail
;
32329 resultobj
= PyInt_FromLong((long)result
);
32336 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32337 PyObject
*resultobj
;
32338 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32340 PyObject
* obj0
= 0 ;
32341 char *kwnames
[] = {
32342 (char *) "self",(char *) "rowspan", NULL
32345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32349 (arg1
)->SetRowspan(arg2
);
32351 wxPyEndAllowThreads(__tstate
);
32352 if (PyErr_Occurred()) SWIG_fail
;
32354 Py_INCREF(Py_None
); resultobj
= Py_None
;
32361 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32362 PyObject
*resultobj
;
32363 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32365 PyObject
* obj0
= 0 ;
32366 char *kwnames
[] = {
32367 (char *) "self",(char *) "colspan", NULL
32370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32374 (arg1
)->SetColspan(arg2
);
32376 wxPyEndAllowThreads(__tstate
);
32377 if (PyErr_Occurred()) SWIG_fail
;
32379 Py_INCREF(Py_None
); resultobj
= Py_None
;
32386 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32387 PyObject
*resultobj
;
32388 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32389 wxGBSpan
*arg2
= 0 ;
32392 PyObject
* obj0
= 0 ;
32393 PyObject
* obj1
= 0 ;
32394 char *kwnames
[] = {
32395 (char *) "self",(char *) "o", NULL
32398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32399 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32402 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32406 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
32408 wxPyEndAllowThreads(__tstate
);
32409 if (PyErr_Occurred()) SWIG_fail
;
32411 resultobj
= PyInt_FromLong((long)result
);
32418 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32419 PyObject
*resultobj
;
32420 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32421 wxGBSpan
*arg2
= 0 ;
32424 PyObject
* obj0
= 0 ;
32425 PyObject
* obj1
= 0 ;
32426 char *kwnames
[] = {
32427 (char *) "self",(char *) "o", NULL
32430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32434 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32438 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
32440 wxPyEndAllowThreads(__tstate
);
32441 if (PyErr_Occurred()) SWIG_fail
;
32443 resultobj
= PyInt_FromLong((long)result
);
32450 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32451 PyObject
*resultobj
;
32452 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32453 int arg2
= (int) 1 ;
32454 int arg3
= (int) 1 ;
32455 PyObject
* obj0
= 0 ;
32456 char *kwnames
[] = {
32457 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBSpan_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32464 wxGBSpan_Set(arg1
,arg2
,arg3
);
32466 wxPyEndAllowThreads(__tstate
);
32467 if (PyErr_Occurred()) SWIG_fail
;
32469 Py_INCREF(Py_None
); resultobj
= Py_None
;
32476 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32477 PyObject
*resultobj
;
32478 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32480 PyObject
* obj0
= 0 ;
32481 char *kwnames
[] = {
32482 (char *) "self", NULL
32485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
32486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32489 result
= (PyObject
*)wxGBSpan_Get(arg1
);
32491 wxPyEndAllowThreads(__tstate
);
32492 if (PyErr_Occurred()) SWIG_fail
;
32494 resultobj
= result
;
32501 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
32503 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32504 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
32506 return Py_BuildValue((char *)"");
32508 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
32509 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
32514 static PyObject
*_wrap_DefaultSpan_get() {
32517 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
32522 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32523 PyObject
*resultobj
;
32524 wxGBSizerItem
*result
;
32525 char *kwnames
[] = {
32529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
32531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32532 result
= (wxGBSizerItem
*)new wxGBSizerItem();
32534 wxPyEndAllowThreads(__tstate
);
32535 if (PyErr_Occurred()) SWIG_fail
;
32537 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32544 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32545 PyObject
*resultobj
;
32546 wxWindow
*arg1
= (wxWindow
*) 0 ;
32547 wxGBPosition
*arg2
= 0 ;
32548 wxGBSpan
*arg3
= 0 ;
32551 wxObject
*arg6
= (wxObject
*) 0 ;
32552 wxGBSizerItem
*result
;
32553 wxGBPosition temp2
;
32555 PyObject
* obj0
= 0 ;
32556 PyObject
* obj1
= 0 ;
32557 PyObject
* obj2
= 0 ;
32558 PyObject
* obj5
= 0 ;
32559 char *kwnames
[] = {
32560 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32567 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32571 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32573 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32576 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32578 wxPyEndAllowThreads(__tstate
);
32579 if (PyErr_Occurred()) SWIG_fail
;
32581 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32588 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32589 PyObject
*resultobj
;
32590 wxSizer
*arg1
= (wxSizer
*) 0 ;
32591 wxGBPosition
*arg2
= 0 ;
32592 wxGBSpan
*arg3
= 0 ;
32595 wxObject
*arg6
= (wxObject
*) 0 ;
32596 wxGBSizerItem
*result
;
32597 wxGBPosition temp2
;
32599 PyObject
* obj0
= 0 ;
32600 PyObject
* obj1
= 0 ;
32601 PyObject
* obj2
= 0 ;
32602 PyObject
* obj5
= 0 ;
32603 char *kwnames
[] = {
32604 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32611 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32615 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32617 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32620 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32622 wxPyEndAllowThreads(__tstate
);
32623 if (PyErr_Occurred()) SWIG_fail
;
32625 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32632 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32633 PyObject
*resultobj
;
32636 wxGBPosition
*arg3
= 0 ;
32637 wxGBSpan
*arg4
= 0 ;
32640 wxObject
*arg7
= (wxObject
*) 0 ;
32641 wxGBSizerItem
*result
;
32642 wxGBPosition temp3
;
32644 PyObject
* obj2
= 0 ;
32645 PyObject
* obj3
= 0 ;
32646 PyObject
* obj6
= 0 ;
32647 char *kwnames
[] = {
32648 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32654 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32658 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32660 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32663 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32665 wxPyEndAllowThreads(__tstate
);
32666 if (PyErr_Occurred()) SWIG_fail
;
32668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32675 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32676 PyObject
*resultobj
;
32677 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32678 wxGBPosition result
;
32679 PyObject
* obj0
= 0 ;
32680 char *kwnames
[] = {
32681 (char *) "self", NULL
32684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
32685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32688 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
32690 wxPyEndAllowThreads(__tstate
);
32691 if (PyErr_Occurred()) SWIG_fail
;
32694 wxGBPosition
* resultptr
;
32695 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32696 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32704 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
;
32706 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32708 PyObject
* obj0
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "self", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
32714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32717 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
32719 wxPyEndAllowThreads(__tstate
);
32720 if (PyErr_Occurred()) SWIG_fail
;
32723 wxGBSpan
* resultptr
;
32724 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
32725 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
32733 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32736 wxGBPosition
*arg2
= 0 ;
32738 wxGBPosition temp2
;
32739 PyObject
* obj0
= 0 ;
32740 PyObject
* obj1
= 0 ;
32741 char *kwnames
[] = {
32742 (char *) "self",(char *) "pos", NULL
32745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
32746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32749 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32753 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
32755 wxPyEndAllowThreads(__tstate
);
32756 if (PyErr_Occurred()) SWIG_fail
;
32758 resultobj
= PyInt_FromLong((long)result
);
32765 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32766 PyObject
*resultobj
;
32767 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32768 wxGBSpan
*arg2
= 0 ;
32771 PyObject
* obj0
= 0 ;
32772 PyObject
* obj1
= 0 ;
32773 char *kwnames
[] = {
32774 (char *) "self",(char *) "span", NULL
32777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
32778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32781 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32785 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
32787 wxPyEndAllowThreads(__tstate
);
32788 if (PyErr_Occurred()) SWIG_fail
;
32790 resultobj
= PyInt_FromLong((long)result
);
32797 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
32798 PyObject
*resultobj
;
32799 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32800 wxGBSizerItem
*arg2
= 0 ;
32802 PyObject
* obj0
= 0 ;
32803 PyObject
* obj1
= 0 ;
32805 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
32806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32807 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32808 if (arg2
== NULL
) {
32809 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32813 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
32815 wxPyEndAllowThreads(__tstate
);
32816 if (PyErr_Occurred()) SWIG_fail
;
32818 resultobj
= PyInt_FromLong((long)result
);
32825 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
32826 PyObject
*resultobj
;
32827 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32828 wxGBPosition
*arg2
= 0 ;
32829 wxGBSpan
*arg3
= 0 ;
32831 wxGBPosition temp2
;
32833 PyObject
* obj0
= 0 ;
32834 PyObject
* obj1
= 0 ;
32835 PyObject
* obj2
= 0 ;
32837 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
32838 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32841 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32845 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32849 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
32851 wxPyEndAllowThreads(__tstate
);
32852 if (PyErr_Occurred()) SWIG_fail
;
32854 resultobj
= PyInt_FromLong((long)result
);
32861 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
32866 argc
= PyObject_Length(args
);
32867 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
32868 argv
[ii
] = PyTuple_GetItem(args
,ii
);
32874 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32884 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32892 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
32900 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32909 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
32913 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
32916 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
32922 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
32927 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32928 PyObject
*resultobj
;
32929 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32932 PyObject
* obj0
= 0 ;
32933 PyObject
* obj1
= 0 ;
32934 PyObject
* obj2
= 0 ;
32935 char *kwnames
[] = {
32936 (char *) "self",(char *) "row",(char *) "col", NULL
32939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32941 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32942 if (arg2
== NULL
) {
32943 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32945 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32946 if (arg3
== NULL
) {
32947 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32951 (arg1
)->GetEndPos(*arg2
,*arg3
);
32953 wxPyEndAllowThreads(__tstate
);
32954 if (PyErr_Occurred()) SWIG_fail
;
32956 Py_INCREF(Py_None
); resultobj
= Py_None
;
32963 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32964 PyObject
*resultobj
;
32965 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32966 wxGridBagSizer
*result
;
32967 PyObject
* obj0
= 0 ;
32968 char *kwnames
[] = {
32969 (char *) "self", NULL
32972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
32973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32976 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
32978 wxPyEndAllowThreads(__tstate
);
32979 if (PyErr_Occurred()) SWIG_fail
;
32981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
32988 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32989 PyObject
*resultobj
;
32990 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32991 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
32992 PyObject
* obj0
= 0 ;
32993 PyObject
* obj1
= 0 ;
32994 char *kwnames
[] = {
32995 (char *) "self",(char *) "sizer", NULL
32998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
32999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33003 (arg1
)->SetGBSizer(arg2
);
33005 wxPyEndAllowThreads(__tstate
);
33006 if (PyErr_Occurred()) SWIG_fail
;
33008 Py_INCREF(Py_None
); resultobj
= Py_None
;
33015 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33017 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33018 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
33020 return Py_BuildValue((char *)"");
33022 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33023 PyObject
*resultobj
;
33024 int arg1
= (int) 0 ;
33025 int arg2
= (int) 0 ;
33026 wxGridBagSizer
*result
;
33027 char *kwnames
[] = {
33028 (char *) "vgap",(char *) "hgap", NULL
33031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
33033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33034 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
33036 wxPyEndAllowThreads(__tstate
);
33037 if (PyErr_Occurred()) SWIG_fail
;
33039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
33046 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33047 PyObject
*resultobj
;
33048 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33049 PyObject
*arg2
= (PyObject
*) 0 ;
33050 wxGBPosition
*arg3
= 0 ;
33051 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
33052 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
33053 int arg5
= (int) 0 ;
33054 int arg6
= (int) 0 ;
33055 PyObject
*arg7
= (PyObject
*) NULL
;
33057 wxGBPosition temp3
;
33059 PyObject
* obj0
= 0 ;
33060 PyObject
* obj1
= 0 ;
33061 PyObject
* obj2
= 0 ;
33062 PyObject
* obj3
= 0 ;
33063 PyObject
* obj6
= 0 ;
33064 char *kwnames
[] = {
33065 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33073 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33078 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33086 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33088 wxPyEndAllowThreads(__tstate
);
33089 if (PyErr_Occurred()) SWIG_fail
;
33091 resultobj
= PyInt_FromLong((long)result
);
33098 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33099 PyObject
*resultobj
;
33100 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33101 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33103 PyObject
* obj0
= 0 ;
33104 PyObject
* obj1
= 0 ;
33105 char *kwnames
[] = {
33106 (char *) "self",(char *) "item", NULL
33109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33114 result
= (bool)(arg1
)->Add(arg2
);
33116 wxPyEndAllowThreads(__tstate
);
33117 if (PyErr_Occurred()) SWIG_fail
;
33119 resultobj
= PyInt_FromLong((long)result
);
33126 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33127 PyObject
*resultobj
;
33128 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33130 PyObject
* obj0
= 0 ;
33131 char *kwnames
[] = {
33132 (char *) "self", NULL
33135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
33136 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33139 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
33141 wxPyEndAllowThreads(__tstate
);
33142 if (PyErr_Occurred()) SWIG_fail
;
33145 wxSize
* resultptr
;
33146 resultptr
= new wxSize((wxSize
&) result
);
33147 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33155 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
;
33157 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33160 PyObject
* obj0
= 0 ;
33161 PyObject
* obj1
= 0 ;
33162 char *kwnames
[] = {
33163 (char *) "self",(char *) "sz", NULL
33166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33170 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33174 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
33176 wxPyEndAllowThreads(__tstate
);
33177 if (PyErr_Occurred()) SWIG_fail
;
33179 Py_INCREF(Py_None
); resultobj
= Py_None
;
33186 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33187 PyObject
*resultobj
;
33188 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33189 wxWindow
*arg2
= (wxWindow
*) 0 ;
33190 wxGBPosition result
;
33191 PyObject
* obj0
= 0 ;
33192 PyObject
* obj1
= 0 ;
33194 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33196 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33199 result
= (arg1
)->GetItemPosition(arg2
);
33201 wxPyEndAllowThreads(__tstate
);
33202 if (PyErr_Occurred()) SWIG_fail
;
33205 wxGBPosition
* resultptr
;
33206 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33207 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33215 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33216 PyObject
*resultobj
;
33217 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33218 wxSizer
*arg2
= (wxSizer
*) 0 ;
33219 wxGBPosition result
;
33220 PyObject
* obj0
= 0 ;
33221 PyObject
* obj1
= 0 ;
33223 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33225 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33228 result
= (arg1
)->GetItemPosition(arg2
);
33230 wxPyEndAllowThreads(__tstate
);
33231 if (PyErr_Occurred()) SWIG_fail
;
33234 wxGBPosition
* resultptr
;
33235 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33236 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33244 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33245 PyObject
*resultobj
;
33246 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33248 wxGBPosition result
;
33249 PyObject
* obj0
= 0 ;
33250 PyObject
* obj1
= 0 ;
33252 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33254 arg2
= (size_t) PyInt_AsLong(obj1
);
33255 if (PyErr_Occurred()) SWIG_fail
;
33257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33258 result
= (arg1
)->GetItemPosition(arg2
);
33260 wxPyEndAllowThreads(__tstate
);
33261 if (PyErr_Occurred()) SWIG_fail
;
33264 wxGBPosition
* resultptr
;
33265 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33266 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33274 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
33279 argc
= PyObject_Length(args
);
33280 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33281 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33287 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33297 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33305 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
33313 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33323 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33331 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
33339 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33348 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33351 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
33356 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33361 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33362 PyObject
*resultobj
;
33363 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33364 wxWindow
*arg2
= (wxWindow
*) 0 ;
33365 wxGBPosition
*arg3
= 0 ;
33367 wxGBPosition temp3
;
33368 PyObject
* obj0
= 0 ;
33369 PyObject
* obj1
= 0 ;
33370 PyObject
* obj2
= 0 ;
33372 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33374 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33377 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33381 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33383 wxPyEndAllowThreads(__tstate
);
33384 if (PyErr_Occurred()) SWIG_fail
;
33386 resultobj
= PyInt_FromLong((long)result
);
33393 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33394 PyObject
*resultobj
;
33395 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33396 wxSizer
*arg2
= (wxSizer
*) 0 ;
33397 wxGBPosition
*arg3
= 0 ;
33399 wxGBPosition temp3
;
33400 PyObject
* obj0
= 0 ;
33401 PyObject
* obj1
= 0 ;
33402 PyObject
* obj2
= 0 ;
33404 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33405 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33406 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33409 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33413 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33415 wxPyEndAllowThreads(__tstate
);
33416 if (PyErr_Occurred()) SWIG_fail
;
33418 resultobj
= PyInt_FromLong((long)result
);
33425 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33426 PyObject
*resultobj
;
33427 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33429 wxGBPosition
*arg3
= 0 ;
33431 wxGBPosition temp3
;
33432 PyObject
* obj0
= 0 ;
33433 PyObject
* obj1
= 0 ;
33434 PyObject
* obj2
= 0 ;
33436 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33437 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33438 arg2
= (size_t) PyInt_AsLong(obj1
);
33439 if (PyErr_Occurred()) SWIG_fail
;
33442 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33446 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33448 wxPyEndAllowThreads(__tstate
);
33449 if (PyErr_Occurred()) SWIG_fail
;
33451 resultobj
= PyInt_FromLong((long)result
);
33458 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
33463 argc
= PyObject_Length(args
);
33464 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33465 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33471 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33481 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33490 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33493 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
33502 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33512 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33521 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33524 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
33533 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33542 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33546 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33549 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
33555 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33560 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33561 PyObject
*resultobj
;
33562 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33563 wxWindow
*arg2
= (wxWindow
*) 0 ;
33565 PyObject
* obj0
= 0 ;
33566 PyObject
* obj1
= 0 ;
33568 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33569 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33570 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33573 result
= (arg1
)->GetItemSpan(arg2
);
33575 wxPyEndAllowThreads(__tstate
);
33576 if (PyErr_Occurred()) SWIG_fail
;
33579 wxGBSpan
* resultptr
;
33580 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33581 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33589 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33590 PyObject
*resultobj
;
33591 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33592 wxSizer
*arg2
= (wxSizer
*) 0 ;
33594 PyObject
* obj0
= 0 ;
33595 PyObject
* obj1
= 0 ;
33597 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33602 result
= (arg1
)->GetItemSpan(arg2
);
33604 wxPyEndAllowThreads(__tstate
);
33605 if (PyErr_Occurred()) SWIG_fail
;
33608 wxGBSpan
* resultptr
;
33609 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33610 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33618 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33619 PyObject
*resultobj
;
33620 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33623 PyObject
* obj0
= 0 ;
33624 PyObject
* obj1
= 0 ;
33626 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33628 arg2
= (size_t) PyInt_AsLong(obj1
);
33629 if (PyErr_Occurred()) SWIG_fail
;
33631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33632 result
= (arg1
)->GetItemSpan(arg2
);
33634 wxPyEndAllowThreads(__tstate
);
33635 if (PyErr_Occurred()) SWIG_fail
;
33638 wxGBSpan
* resultptr
;
33639 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33640 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33648 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
33653 argc
= PyObject_Length(args
);
33654 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33655 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33661 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33671 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33679 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
33687 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33697 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33705 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
33713 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33722 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33725 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
33730 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33735 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33736 PyObject
*resultobj
;
33737 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33738 wxWindow
*arg2
= (wxWindow
*) 0 ;
33739 wxGBSpan
*arg3
= 0 ;
33742 PyObject
* obj0
= 0 ;
33743 PyObject
* obj1
= 0 ;
33744 PyObject
* obj2
= 0 ;
33746 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33748 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33751 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33755 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33757 wxPyEndAllowThreads(__tstate
);
33758 if (PyErr_Occurred()) SWIG_fail
;
33760 resultobj
= PyInt_FromLong((long)result
);
33767 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33768 PyObject
*resultobj
;
33769 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33770 wxSizer
*arg2
= (wxSizer
*) 0 ;
33771 wxGBSpan
*arg3
= 0 ;
33774 PyObject
* obj0
= 0 ;
33775 PyObject
* obj1
= 0 ;
33776 PyObject
* obj2
= 0 ;
33778 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33783 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33787 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33789 wxPyEndAllowThreads(__tstate
);
33790 if (PyErr_Occurred()) SWIG_fail
;
33792 resultobj
= PyInt_FromLong((long)result
);
33799 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33800 PyObject
*resultobj
;
33801 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33803 wxGBSpan
*arg3
= 0 ;
33806 PyObject
* obj0
= 0 ;
33807 PyObject
* obj1
= 0 ;
33808 PyObject
* obj2
= 0 ;
33810 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33812 arg2
= (size_t) PyInt_AsLong(obj1
);
33813 if (PyErr_Occurred()) SWIG_fail
;
33816 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33820 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33822 wxPyEndAllowThreads(__tstate
);
33823 if (PyErr_Occurred()) SWIG_fail
;
33825 resultobj
= PyInt_FromLong((long)result
);
33832 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
33837 argc
= PyObject_Length(args
);
33838 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33839 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33845 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33855 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33864 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33867 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
33876 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33886 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33895 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33898 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
33907 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33916 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33920 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33923 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
33929 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33934 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
33935 PyObject
*resultobj
;
33936 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33937 wxWindow
*arg2
= (wxWindow
*) 0 ;
33938 wxGBSizerItem
*result
;
33939 PyObject
* obj0
= 0 ;
33940 PyObject
* obj1
= 0 ;
33942 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
33943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33944 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33947 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
33949 wxPyEndAllowThreads(__tstate
);
33950 if (PyErr_Occurred()) SWIG_fail
;
33952 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33959 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
33960 PyObject
*resultobj
;
33961 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33962 wxSizer
*arg2
= (wxSizer
*) 0 ;
33963 wxGBSizerItem
*result
;
33964 PyObject
* obj0
= 0 ;
33965 PyObject
* obj1
= 0 ;
33967 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
33968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33969 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33972 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
33974 wxPyEndAllowThreads(__tstate
);
33975 if (PyErr_Occurred()) SWIG_fail
;
33977 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33984 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
33989 argc
= PyObject_Length(args
);
33990 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33991 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33997 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34007 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34015 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
34023 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34033 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34041 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
34046 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
34051 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34052 PyObject
*resultobj
;
34053 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34054 wxGBPosition
*arg2
= 0 ;
34055 wxGBSizerItem
*result
;
34056 wxGBPosition temp2
;
34057 PyObject
* obj0
= 0 ;
34058 PyObject
* obj1
= 0 ;
34059 char *kwnames
[] = {
34060 (char *) "self",(char *) "pos", NULL
34063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34067 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34071 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
34073 wxPyEndAllowThreads(__tstate
);
34074 if (PyErr_Occurred()) SWIG_fail
;
34076 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34083 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34084 PyObject
*resultobj
;
34085 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34086 wxPoint
*arg2
= 0 ;
34087 wxGBSizerItem
*result
;
34089 PyObject
* obj0
= 0 ;
34090 PyObject
* obj1
= 0 ;
34091 char *kwnames
[] = {
34092 (char *) "self",(char *) "pt", NULL
34095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
34096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34099 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34103 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
34105 wxPyEndAllowThreads(__tstate
);
34106 if (PyErr_Occurred()) SWIG_fail
;
34108 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34115 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34116 PyObject
*resultobj
;
34117 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34118 wxObject
*arg2
= (wxObject
*) 0 ;
34119 wxGBSizerItem
*result
;
34120 PyObject
* obj0
= 0 ;
34121 PyObject
* obj1
= 0 ;
34122 char *kwnames
[] = {
34123 (char *) "self",(char *) "userData", NULL
34126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
34127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34128 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34131 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
34133 wxPyEndAllowThreads(__tstate
);
34134 if (PyErr_Occurred()) SWIG_fail
;
34136 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34143 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34144 PyObject
*resultobj
;
34145 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34146 PyObject
* obj0
= 0 ;
34147 char *kwnames
[] = {
34148 (char *) "self", NULL
34151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34155 (arg1
)->RecalcSizes();
34157 wxPyEndAllowThreads(__tstate
);
34158 if (PyErr_Occurred()) SWIG_fail
;
34160 Py_INCREF(Py_None
); resultobj
= Py_None
;
34167 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34168 PyObject
*resultobj
;
34169 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34171 PyObject
* obj0
= 0 ;
34172 char *kwnames
[] = {
34173 (char *) "self", NULL
34176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34180 result
= (arg1
)->CalcMin();
34182 wxPyEndAllowThreads(__tstate
);
34183 if (PyErr_Occurred()) SWIG_fail
;
34186 wxSize
* resultptr
;
34187 resultptr
= new wxSize((wxSize
&) result
);
34188 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34196 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
34197 PyObject
*resultobj
;
34198 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34199 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
34200 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
34202 PyObject
* obj0
= 0 ;
34203 PyObject
* obj1
= 0 ;
34204 PyObject
* obj2
= 0 ;
34206 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
34207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34208 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34210 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34214 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
34216 wxPyEndAllowThreads(__tstate
);
34217 if (PyErr_Occurred()) SWIG_fail
;
34219 resultobj
= PyInt_FromLong((long)result
);
34226 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
34227 PyObject
*resultobj
;
34228 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34229 wxGBPosition
*arg2
= 0 ;
34230 wxGBSpan
*arg3
= 0 ;
34231 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
34233 wxGBPosition temp2
;
34235 PyObject
* obj0
= 0 ;
34236 PyObject
* obj1
= 0 ;
34237 PyObject
* obj2
= 0 ;
34238 PyObject
* obj3
= 0 ;
34240 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34244 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34248 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34251 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34255 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
34257 wxPyEndAllowThreads(__tstate
);
34258 if (PyErr_Occurred()) SWIG_fail
;
34260 resultobj
= PyInt_FromLong((long)result
);
34267 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
34272 argc
= PyObject_Length(args
);
34273 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
34274 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34276 if ((argc
>= 2) && (argc
<= 3)) {
34280 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34290 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34299 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34303 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34311 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34316 if ((argc
>= 3) && (argc
<= 4)) {
34320 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34329 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
34333 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34337 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34341 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34349 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34356 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34361 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34363 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34364 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
34366 return Py_BuildValue((char *)"");
34368 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34369 PyObject
*resultobj
;
34370 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34372 wxWindow
*arg3
= (wxWindow
*) 0 ;
34374 int arg5
= (int) 0 ;
34375 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
34376 PyObject
* obj0
= 0 ;
34377 PyObject
* obj2
= 0 ;
34378 char *kwnames
[] = {
34379 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
34383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34384 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34387 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
34389 wxPyEndAllowThreads(__tstate
);
34390 if (PyErr_Occurred()) SWIG_fail
;
34392 Py_INCREF(Py_None
); resultobj
= Py_None
;
34399 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34400 PyObject
*resultobj
;
34401 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34402 wxWindow
*arg2
= (wxWindow
*) 0 ;
34403 int arg3
= (int) 0 ;
34404 PyObject
* obj0
= 0 ;
34405 PyObject
* obj1
= 0 ;
34406 char *kwnames
[] = {
34407 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34412 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34415 (arg1
)->LeftOf(arg2
,arg3
);
34417 wxPyEndAllowThreads(__tstate
);
34418 if (PyErr_Occurred()) SWIG_fail
;
34420 Py_INCREF(Py_None
); resultobj
= Py_None
;
34427 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34428 PyObject
*resultobj
;
34429 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34430 wxWindow
*arg2
= (wxWindow
*) 0 ;
34431 int arg3
= (int) 0 ;
34432 PyObject
* obj0
= 0 ;
34433 PyObject
* obj1
= 0 ;
34434 char *kwnames
[] = {
34435 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34440 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34443 (arg1
)->RightOf(arg2
,arg3
);
34445 wxPyEndAllowThreads(__tstate
);
34446 if (PyErr_Occurred()) SWIG_fail
;
34448 Py_INCREF(Py_None
); resultobj
= Py_None
;
34455 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34456 PyObject
*resultobj
;
34457 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34458 wxWindow
*arg2
= (wxWindow
*) 0 ;
34459 int arg3
= (int) 0 ;
34460 PyObject
* obj0
= 0 ;
34461 PyObject
* obj1
= 0 ;
34462 char *kwnames
[] = {
34463 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34468 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34471 (arg1
)->Above(arg2
,arg3
);
34473 wxPyEndAllowThreads(__tstate
);
34474 if (PyErr_Occurred()) SWIG_fail
;
34476 Py_INCREF(Py_None
); resultobj
= Py_None
;
34483 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34484 PyObject
*resultobj
;
34485 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34486 wxWindow
*arg2
= (wxWindow
*) 0 ;
34487 int arg3
= (int) 0 ;
34488 PyObject
* obj0
= 0 ;
34489 PyObject
* obj1
= 0 ;
34490 char *kwnames
[] = {
34491 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34496 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34499 (arg1
)->Below(arg2
,arg3
);
34501 wxPyEndAllowThreads(__tstate
);
34502 if (PyErr_Occurred()) SWIG_fail
;
34504 Py_INCREF(Py_None
); resultobj
= Py_None
;
34511 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34512 PyObject
*resultobj
;
34513 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34514 wxWindow
*arg2
= (wxWindow
*) 0 ;
34516 int arg4
= (int) 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 char *kwnames
[] = {
34520 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34525 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34528 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
34530 wxPyEndAllowThreads(__tstate
);
34531 if (PyErr_Occurred()) SWIG_fail
;
34533 Py_INCREF(Py_None
); resultobj
= Py_None
;
34540 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
;
34542 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34543 wxWindow
*arg2
= (wxWindow
*) 0 ;
34546 PyObject
* obj0
= 0 ;
34547 PyObject
* obj1
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34553 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34554 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34557 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
34559 wxPyEndAllowThreads(__tstate
);
34560 if (PyErr_Occurred()) SWIG_fail
;
34562 Py_INCREF(Py_None
); resultobj
= Py_None
;
34569 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
;
34571 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34573 PyObject
* obj0
= 0 ;
34574 char *kwnames
[] = {
34575 (char *) "self",(char *) "val", NULL
34578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
34579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34582 (arg1
)->Absolute(arg2
);
34584 wxPyEndAllowThreads(__tstate
);
34585 if (PyErr_Occurred()) SWIG_fail
;
34587 Py_INCREF(Py_None
); resultobj
= Py_None
;
34594 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34595 PyObject
*resultobj
;
34596 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34597 PyObject
* obj0
= 0 ;
34598 char *kwnames
[] = {
34599 (char *) "self", NULL
34602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
34603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34606 (arg1
)->Unconstrained();
34608 wxPyEndAllowThreads(__tstate
);
34609 if (PyErr_Occurred()) SWIG_fail
;
34611 Py_INCREF(Py_None
); resultobj
= Py_None
;
34618 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34619 PyObject
*resultobj
;
34620 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34621 PyObject
* obj0
= 0 ;
34622 char *kwnames
[] = {
34623 (char *) "self", NULL
34626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
34627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34632 wxPyEndAllowThreads(__tstate
);
34633 if (PyErr_Occurred()) SWIG_fail
;
34635 Py_INCREF(Py_None
); resultobj
= Py_None
;
34642 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34643 PyObject
*resultobj
;
34644 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34646 PyObject
* obj0
= 0 ;
34647 char *kwnames
[] = {
34648 (char *) "self", NULL
34651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
34652 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34655 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
34657 wxPyEndAllowThreads(__tstate
);
34658 if (PyErr_Occurred()) SWIG_fail
;
34661 resultobj
= wxPyMake_wxObject(result
);
34669 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34670 PyObject
*resultobj
;
34671 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34673 PyObject
* obj0
= 0 ;
34674 char *kwnames
[] = {
34675 (char *) "self", NULL
34678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
34679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 resultobj
= PyInt_FromLong((long)result
);
34694 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
;
34696 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34698 PyObject
* obj0
= 0 ;
34699 char *kwnames
[] = {
34700 (char *) "self",(char *) "which", NULL
34703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
34704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34707 (arg1
)->SetEdge((wxEdge
)arg2
);
34709 wxPyEndAllowThreads(__tstate
);
34710 if (PyErr_Occurred()) SWIG_fail
;
34712 Py_INCREF(Py_None
); resultobj
= Py_None
;
34719 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34720 PyObject
*resultobj
;
34721 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34723 PyObject
* obj0
= 0 ;
34724 char *kwnames
[] = {
34725 (char *) "self",(char *) "v", NULL
34728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
34729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34732 (arg1
)->SetValue(arg2
);
34734 wxPyEndAllowThreads(__tstate
);
34735 if (PyErr_Occurred()) SWIG_fail
;
34737 Py_INCREF(Py_None
); resultobj
= Py_None
;
34744 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34745 PyObject
*resultobj
;
34746 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34748 PyObject
* obj0
= 0 ;
34749 char *kwnames
[] = {
34750 (char *) "self", NULL
34753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
34754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34757 result
= (int)(arg1
)->GetMargin();
34759 wxPyEndAllowThreads(__tstate
);
34760 if (PyErr_Occurred()) SWIG_fail
;
34762 resultobj
= PyInt_FromLong((long)result
);
34769 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34770 PyObject
*resultobj
;
34771 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34773 PyObject
* obj0
= 0 ;
34774 char *kwnames
[] = {
34775 (char *) "self",(char *) "m", NULL
34778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
34779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34782 (arg1
)->SetMargin(arg2
);
34784 wxPyEndAllowThreads(__tstate
);
34785 if (PyErr_Occurred()) SWIG_fail
;
34787 Py_INCREF(Py_None
); resultobj
= Py_None
;
34794 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34795 PyObject
*resultobj
;
34796 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34798 PyObject
* obj0
= 0 ;
34799 char *kwnames
[] = {
34800 (char *) "self", NULL
34803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
34804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34807 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
34809 wxPyEndAllowThreads(__tstate
);
34810 if (PyErr_Occurred()) SWIG_fail
;
34812 resultobj
= PyInt_FromLong((long)result
);
34819 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34820 PyObject
*resultobj
;
34821 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34823 PyObject
* obj0
= 0 ;
34824 char *kwnames
[] = {
34825 (char *) "self", NULL
34828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
34829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34832 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
34834 wxPyEndAllowThreads(__tstate
);
34835 if (PyErr_Occurred()) SWIG_fail
;
34837 resultobj
= PyInt_FromLong((long)result
);
34844 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34845 PyObject
*resultobj
;
34846 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34848 PyObject
* obj0
= 0 ;
34849 char *kwnames
[] = {
34850 (char *) "self", NULL
34853 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
34854 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34857 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
34859 wxPyEndAllowThreads(__tstate
);
34860 if (PyErr_Occurred()) SWIG_fail
;
34862 resultobj
= PyInt_FromLong((long)result
);
34869 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34870 PyObject
*resultobj
;
34871 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34873 PyObject
* obj0
= 0 ;
34874 char *kwnames
[] = {
34875 (char *) "self", NULL
34878 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
34879 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34882 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
34884 wxPyEndAllowThreads(__tstate
);
34885 if (PyErr_Occurred()) SWIG_fail
;
34887 resultobj
= PyInt_FromLong((long)result
);
34894 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34895 PyObject
*resultobj
;
34896 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34898 PyObject
* obj0
= 0 ;
34899 PyObject
* obj1
= 0 ;
34900 char *kwnames
[] = {
34901 (char *) "self",(char *) "d", NULL
34904 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
34905 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34906 arg2
= PyInt_AsLong(obj1
) ? true : false;
34907 if (PyErr_Occurred()) SWIG_fail
;
34909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34910 (arg1
)->SetDone(arg2
);
34912 wxPyEndAllowThreads(__tstate
);
34913 if (PyErr_Occurred()) SWIG_fail
;
34915 Py_INCREF(Py_None
); resultobj
= Py_None
;
34922 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34923 PyObject
*resultobj
;
34924 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34926 PyObject
* obj0
= 0 ;
34927 char *kwnames
[] = {
34928 (char *) "self", NULL
34931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
34932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34935 result
= (int)(arg1
)->GetRelationship();
34937 wxPyEndAllowThreads(__tstate
);
34938 if (PyErr_Occurred()) SWIG_fail
;
34940 resultobj
= PyInt_FromLong((long)result
);
34947 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34948 PyObject
*resultobj
;
34949 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34951 PyObject
* obj0
= 0 ;
34952 char *kwnames
[] = {
34953 (char *) "self",(char *) "r", NULL
34956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
34957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34960 (arg1
)->SetRelationship((wxRelationship
)arg2
);
34962 wxPyEndAllowThreads(__tstate
);
34963 if (PyErr_Occurred()) SWIG_fail
;
34965 Py_INCREF(Py_None
); resultobj
= Py_None
;
34972 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34973 PyObject
*resultobj
;
34974 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34975 wxWindow
*arg2
= (wxWindow
*) 0 ;
34977 PyObject
* obj0
= 0 ;
34978 PyObject
* obj1
= 0 ;
34979 char *kwnames
[] = {
34980 (char *) "self",(char *) "otherW", NULL
34983 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
34984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34988 result
= (bool)(arg1
)->ResetIfWin(arg2
);
34990 wxPyEndAllowThreads(__tstate
);
34991 if (PyErr_Occurred()) SWIG_fail
;
34993 resultobj
= PyInt_FromLong((long)result
);
35000 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35001 PyObject
*resultobj
;
35002 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35003 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
35004 wxWindow
*arg3
= (wxWindow
*) 0 ;
35006 PyObject
* obj0
= 0 ;
35007 PyObject
* obj1
= 0 ;
35008 PyObject
* obj2
= 0 ;
35009 char *kwnames
[] = {
35010 (char *) "self",(char *) "constraints",(char *) "win", NULL
35013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) 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_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35016 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35019 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
35021 wxPyEndAllowThreads(__tstate
);
35022 if (PyErr_Occurred()) SWIG_fail
;
35024 resultobj
= PyInt_FromLong((long)result
);
35031 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35032 PyObject
*resultobj
;
35033 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35035 wxWindow
*arg3
= (wxWindow
*) 0 ;
35036 wxWindow
*arg4
= (wxWindow
*) 0 ;
35038 PyObject
* obj0
= 0 ;
35039 PyObject
* obj2
= 0 ;
35040 PyObject
* obj3
= 0 ;
35041 char *kwnames
[] = {
35042 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
35046 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35047 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35048 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35051 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
35053 wxPyEndAllowThreads(__tstate
);
35054 if (PyErr_Occurred()) SWIG_fail
;
35056 resultobj
= PyInt_FromLong((long)result
);
35063 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
35065 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35066 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
35068 return Py_BuildValue((char *)"");
35070 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35071 PyObject
*resultobj
;
35072 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35073 wxIndividualLayoutConstraint
*result
;
35074 PyObject
* obj0
= 0 ;
35075 char *kwnames
[] = {
35076 (char *) "self", NULL
35079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
35080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35081 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
35083 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35090 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35091 PyObject
*resultobj
;
35092 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35093 wxIndividualLayoutConstraint
*result
;
35094 PyObject
* obj0
= 0 ;
35095 char *kwnames
[] = {
35096 (char *) "self", NULL
35099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
35100 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35101 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
35103 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35110 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35111 PyObject
*resultobj
;
35112 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35113 wxIndividualLayoutConstraint
*result
;
35114 PyObject
* obj0
= 0 ;
35115 char *kwnames
[] = {
35116 (char *) "self", NULL
35119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
35120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35121 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
35123 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35130 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35131 PyObject
*resultobj
;
35132 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35133 wxIndividualLayoutConstraint
*result
;
35134 PyObject
* obj0
= 0 ;
35135 char *kwnames
[] = {
35136 (char *) "self", NULL
35139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
35140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35141 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
35143 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35150 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35151 PyObject
*resultobj
;
35152 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35153 wxIndividualLayoutConstraint
*result
;
35154 PyObject
* obj0
= 0 ;
35155 char *kwnames
[] = {
35156 (char *) "self", NULL
35159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
35160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35161 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
35163 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35170 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35171 PyObject
*resultobj
;
35172 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35173 wxIndividualLayoutConstraint
*result
;
35174 PyObject
* obj0
= 0 ;
35175 char *kwnames
[] = {
35176 (char *) "self", NULL
35179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
35180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35181 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
35183 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35190 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35191 PyObject
*resultobj
;
35192 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35193 wxIndividualLayoutConstraint
*result
;
35194 PyObject
* obj0
= 0 ;
35195 char *kwnames
[] = {
35196 (char *) "self", NULL
35199 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
35200 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35201 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
35203 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35210 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35211 PyObject
*resultobj
;
35212 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35213 wxIndividualLayoutConstraint
*result
;
35214 PyObject
* obj0
= 0 ;
35215 char *kwnames
[] = {
35216 (char *) "self", NULL
35219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
35220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35221 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
35223 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35230 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35231 PyObject
*resultobj
;
35232 wxLayoutConstraints
*result
;
35233 char *kwnames
[] = {
35237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
35239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35240 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
35242 wxPyEndAllowThreads(__tstate
);
35243 if (PyErr_Occurred()) SWIG_fail
;
35245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
35252 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35253 PyObject
*resultobj
;
35254 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35255 wxWindow
*arg2
= (wxWindow
*) 0 ;
35256 int *arg3
= (int *) 0 ;
35259 PyObject
* obj0
= 0 ;
35260 PyObject
* obj1
= 0 ;
35261 char *kwnames
[] = {
35262 (char *) "self",(char *) "win", NULL
35266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
35267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35268 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35271 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
35273 wxPyEndAllowThreads(__tstate
);
35274 if (PyErr_Occurred()) SWIG_fail
;
35276 resultobj
= PyInt_FromLong((long)result
);
35278 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
35279 resultobj
= t_output_helper(resultobj
,o
);
35287 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35288 PyObject
*resultobj
;
35289 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35291 PyObject
* obj0
= 0 ;
35292 char *kwnames
[] = {
35293 (char *) "self", NULL
35296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
35297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35300 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
35302 wxPyEndAllowThreads(__tstate
);
35303 if (PyErr_Occurred()) SWIG_fail
;
35305 resultobj
= PyInt_FromLong((long)result
);
35312 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
35314 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35315 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
35317 return Py_BuildValue((char *)"");
35319 static PyMethodDef SwigMethods
[] = {
35320 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
35321 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35322 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35323 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
35324 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35325 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35326 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35327 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35328 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
35329 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
35330 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35331 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35332 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
35333 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35334 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
35335 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
35336 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
35337 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35338 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35339 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35340 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35341 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
35342 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
35343 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35344 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35345 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35346 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35347 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35348 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35349 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35350 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35351 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
35352 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35353 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
35354 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
35355 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
35356 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35357 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35358 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35359 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35360 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
35361 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
35362 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35363 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35364 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
35365 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35366 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35367 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35368 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
35369 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
35370 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
35371 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35372 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
35373 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
35374 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35375 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35376 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
35377 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35378 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
35379 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35380 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35381 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35382 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35383 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35384 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35385 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35386 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35387 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35388 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
35389 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35390 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
35391 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35392 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
35393 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
35394 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35395 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
35396 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
35397 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
35398 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
35399 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
35400 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
35401 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35402 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35403 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35404 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
35405 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
35406 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
35407 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35408 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35409 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35410 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35411 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35412 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35413 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35414 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35415 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
35416 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
35417 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
35418 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
35419 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
35420 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
35421 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
35422 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
35423 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
35424 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35425 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35426 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35427 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35428 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
35429 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
35430 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
35431 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
35432 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
35433 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35434 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35435 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
35436 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
35437 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35438 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35439 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35440 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35441 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35442 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35443 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
35444 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
35445 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
35446 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
35447 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
35448 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
35449 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
35450 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
35451 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
35452 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
35453 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
35454 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
35455 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
35456 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
35457 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
35458 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35459 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
35460 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
35461 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
35462 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
35463 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
35464 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
35465 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
35466 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35467 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35468 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
35469 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35470 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
35471 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35472 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
35473 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
35474 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
35475 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
35476 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35477 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35478 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35479 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35480 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35481 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
35482 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
35483 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35484 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
35485 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
35486 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
35487 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35488 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35489 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
35490 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
35491 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35492 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35493 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35494 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35495 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35496 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
35497 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
35498 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
35499 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35500 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35501 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35502 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
35503 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35504 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35505 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35506 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35507 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35508 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
35509 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
35510 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35511 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
35512 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35513 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
35514 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35515 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35516 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35517 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35518 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
35519 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35520 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35521 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
35522 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35523 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35524 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35525 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35526 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
35527 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35528 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
35529 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35530 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
35531 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35532 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
35533 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
35534 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
35535 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
35536 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
35537 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
35538 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
35539 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35540 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
35541 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
35542 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35543 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
35544 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
35545 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
35546 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
35547 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
35548 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
35549 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
35550 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35551 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35552 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35553 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35554 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
35555 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35556 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
35557 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
35558 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35559 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
35560 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35561 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
35562 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
35563 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
35564 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
35565 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35566 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35567 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
35568 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
35569 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
35570 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
35571 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
35572 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35573 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35574 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35575 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35576 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35577 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35578 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
35579 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
35580 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
35581 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
35582 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
35583 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
35584 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
35585 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
35586 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
35587 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35588 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
35589 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
35590 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35591 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
35592 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35593 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
35594 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
35595 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35596 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35597 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
35598 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
35599 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
35600 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35601 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35602 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
35603 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35604 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
35605 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
35606 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
35607 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
35608 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
35609 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
35610 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
35611 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
35612 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35613 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
35614 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35615 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
35616 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
35617 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
35618 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35619 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
35620 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35621 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
35622 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35623 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
35624 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35625 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
35626 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
35627 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35628 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35629 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35630 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35631 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35632 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35633 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
35634 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
35635 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35636 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
35637 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
35638 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35639 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
35640 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
35641 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
35642 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35643 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35644 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35645 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35646 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35647 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35648 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35649 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35650 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35651 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
35652 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
35653 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
35654 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
35655 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
35656 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35657 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
35658 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35659 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35660 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
35661 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35662 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35663 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
35664 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35665 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35666 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35667 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35668 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35669 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
35670 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35671 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35672 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
35673 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
35674 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35675 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
35676 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35677 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35678 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
35679 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
35680 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
35681 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
35682 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35683 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35684 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35685 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35686 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
35687 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
35688 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35689 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35690 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35691 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35692 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
35693 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35694 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
35695 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
35696 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
35697 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
35698 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
35699 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35700 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
35701 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35702 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35703 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35704 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35705 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
35706 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
35707 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
35708 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
35709 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
35710 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
35711 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
35712 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
35713 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
35714 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35715 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35716 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35717 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
35718 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
35719 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
35720 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
35721 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35722 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35723 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
35724 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35725 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35726 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
35727 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
35728 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
35729 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
35730 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35731 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35732 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35733 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35734 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35735 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35736 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35737 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35738 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35739 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35740 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35741 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35742 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35743 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35744 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35745 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35746 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35747 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35748 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
35749 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
35750 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
35751 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
35752 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
35753 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
35754 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
35755 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
35756 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35757 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35758 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35759 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35760 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
35761 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
35762 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35763 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35764 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35765 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35766 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35767 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
35768 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35769 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
35770 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35771 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
35772 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35773 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35774 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35775 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35776 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35777 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35778 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35779 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35780 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35781 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35782 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35783 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35784 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35785 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35786 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35787 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35788 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35789 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35790 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35791 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35792 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35793 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35794 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
35795 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
35796 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
35797 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35798 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35799 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35800 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35801 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35802 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
35803 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
35804 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35805 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35806 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
35807 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
35808 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35809 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35810 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35811 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35812 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
35813 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
35814 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35815 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35816 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
35817 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35818 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
35819 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35820 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
35821 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35822 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
35823 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
35824 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35825 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35826 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35827 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
35828 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35829 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35830 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
35831 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35832 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
35833 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
35834 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
35835 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
35836 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35837 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
35838 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
35839 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35840 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
35841 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35842 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35843 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35844 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35845 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35846 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35847 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
35848 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
35849 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
35850 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
35851 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
35852 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
35853 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35854 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
35855 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
35856 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35857 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
35858 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35859 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
35860 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
35861 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
35862 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
35863 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35864 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35865 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
35866 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
35867 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35868 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35869 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
35870 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35871 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
35872 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35873 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35874 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
35875 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
35876 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35877 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35878 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
35879 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35880 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
35881 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35882 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35883 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
35884 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35885 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
35886 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35887 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35888 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35889 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
35890 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
35891 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35892 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35893 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
35894 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35895 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35896 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35897 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35898 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35899 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35900 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35901 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
35902 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35903 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35904 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
35905 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35906 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35907 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
35908 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35909 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35910 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35911 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
35912 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
35913 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
35914 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
35915 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35916 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35917 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
35918 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
35919 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35920 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35921 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35922 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35923 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
35924 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35925 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35926 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35927 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35928 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
35929 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
35930 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
35931 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35932 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
35934 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35935 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35936 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
35937 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
35938 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35940 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
35941 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
35944 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
35946 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
35948 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
35951 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
35952 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
35953 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
35954 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
35955 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
35958 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
35959 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
35961 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35963 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35964 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
35966 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35967 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35968 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
35970 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
35971 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
35972 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
35973 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
35975 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
35976 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
35978 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
35980 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
35982 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
35983 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
35984 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
35985 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
35987 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35988 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
35989 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
35990 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
35994 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
35995 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36003 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36006 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36008 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
36011 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36017 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
36019 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36031 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36033 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36035 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36043 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36056 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36061 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36067 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
36073 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36077 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36079 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36081 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
36083 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36089 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36090 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36101 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36129 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
36134 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
36137 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
36142 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36144 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
36146 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
36147 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
36148 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36149 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36150 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36151 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36152 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
36153 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
36154 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
36155 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
36156 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
36157 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
36158 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
36159 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
36160 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
36161 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36162 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
36163 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36164 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
36165 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36166 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36167 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36168 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36169 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36170 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36171 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36172 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36173 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36174 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36175 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
36176 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36177 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36178 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36179 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
36180 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36181 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36182 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
36183 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
36184 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
36185 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36186 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
36187 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
36188 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
36189 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36190 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36191 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
36192 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
36193 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
36194 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
36195 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36196 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
36197 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
36198 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
36199 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36200 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36201 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36202 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
36203 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
36204 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
36205 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36206 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36207 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36208 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36209 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36210 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
36211 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36212 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36213 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36214 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36215 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36216 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
36217 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36218 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
36219 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36220 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
36221 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36222 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
36223 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
36224 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
36225 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
36226 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
36227 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36228 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
36229 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36230 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36231 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
36232 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36233 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36234 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36235 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36236 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36237 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36238 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36239 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36240 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36241 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36242 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36243 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
36244 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
36245 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36246 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36247 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36248 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36249 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
36250 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36251 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
36252 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36253 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
36254 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36255 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
36256 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36257 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36258 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36259 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
36260 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
36261 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36262 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36263 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36264 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36265 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
36266 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36267 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
36268 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36269 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36270 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36271 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36272 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36273 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36274 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
36275 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36276 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36277 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36278 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
36279 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36280 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36281 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36282 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36283 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36284 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36285 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36286 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36287 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36288 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
36289 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
36290 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36291 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36292 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36293 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36294 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36295 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36296 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36297 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
36298 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36299 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
36300 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36301 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36302 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36303 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36304 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36305 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36306 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36307 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
36308 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
36309 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
36310 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
36311 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
36312 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36313 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36314 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
36315 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
36316 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
36317 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36318 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36319 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36320 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
36321 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
36322 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36323 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
36324 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36325 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
36326 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
36327 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36328 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
36329 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36330 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36331 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
36332 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
36333 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36334 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36335 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36336 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36337 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36338 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
36339 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36340 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36341 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36342 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36343 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
36344 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
36345 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
36346 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36347 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36348 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
36349 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
36350 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36351 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36352 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36353 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36354 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36355 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36356 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36357 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36358 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36359 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36360 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36361 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36362 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36363 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
36364 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36365 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36366 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
36367 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
36368 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36369 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36370 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36371 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36372 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36373 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36374 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36375 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36376 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36377 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36378 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36379 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36380 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36381 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36382 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36383 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36384 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36385 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36386 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36387 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36388 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36389 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36390 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36391 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36392 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
36393 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36394 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36395 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
36396 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
36397 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
36398 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36399 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
36400 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36401 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36402 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36403 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36404 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36405 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
36406 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36407 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
36408 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36409 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36410 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
36411 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36412 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36413 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36414 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
36415 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
36416 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36417 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36418 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
36419 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
36420 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36421 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36422 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
36423 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36424 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36425 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36426 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36427 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36428 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36429 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36430 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36431 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36432 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36433 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36434 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
36435 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
36436 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
36437 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
36438 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
36439 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
36440 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
36441 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
36442 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36443 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36444 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
36445 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
36446 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
36447 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
36448 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36449 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36450 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36451 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36452 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36453 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36454 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
36455 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
36456 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
36457 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36458 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36459 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36460 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36461 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
36462 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36463 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
36464 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36465 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
36466 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
36467 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36468 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36469 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
36470 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
36471 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36472 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36473 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36474 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36475 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
36476 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
36477 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
36478 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
36479 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
36480 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
36481 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
36482 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
36483 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36484 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36485 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
36486 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
36487 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36488 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
36489 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
36490 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
36491 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
36492 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
36493 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
36494 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
36495 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
36496 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
36497 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
36498 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
36499 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36500 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
36501 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36502 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36503 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
36504 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
36505 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
36506 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
36507 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
36508 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36509 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36510 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
36511 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
36512 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36513 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
36514 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
36515 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
36516 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
36517 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
36518 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36519 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36520 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
36521 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
36522 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36523 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36524 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
36525 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
36530 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36532 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
36533 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
36535 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
36536 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
36538 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
36539 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36541 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
36542 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36544 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
36545 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36547 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36548 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36550 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36551 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36553 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
36554 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36556 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36557 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36559 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36560 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36562 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36563 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36565 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36566 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36568 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36569 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36571 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36572 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36574 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36575 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36577 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36578 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36580 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36581 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36583 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36584 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36586 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36587 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36589 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36590 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36592 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36593 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36595 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36596 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36598 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36599 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36601 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36602 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36604 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36605 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36607 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36608 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36610 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36611 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36613 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36614 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36616 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36617 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36619 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36620 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36622 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36623 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36625 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36626 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36628 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36629 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36631 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36632 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36634 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36635 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36637 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36638 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36640 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36641 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36643 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36644 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36646 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36647 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36649 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36650 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36652 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36653 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36655 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36656 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36658 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36659 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36661 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
36662 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36664 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
36665 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36667 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
36668 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36670 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36671 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36673 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36674 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36676 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36677 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36679 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36680 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36682 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36683 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36685 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36686 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36688 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36689 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36691 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36692 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36694 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36695 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36697 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36698 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36700 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
36701 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
36703 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
36704 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
36706 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
36707 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
36709 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
36710 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
36712 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
36713 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
36715 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
36716 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36718 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
36719 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
36721 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
36722 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
36724 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
36725 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36727 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
36728 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36730 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
36731 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
36733 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
36734 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
36736 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
36737 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
36739 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
36740 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
36742 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
36743 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
36745 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
36746 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
36748 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
36749 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
36751 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
36752 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
36754 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36755 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
36757 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36758 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
36760 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36761 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
36763 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36764 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36766 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36767 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36769 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36770 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36772 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36773 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36775 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36776 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36778 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36779 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36781 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36782 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36784 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36787 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36788 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36790 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36791 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36793 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36794 return (void *)((wxObject
*) ((wxSizer
*) x
));
36796 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36797 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36799 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36800 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36802 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36803 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36805 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36806 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36808 static void *_p_wxImageTo_p_wxObject(void *x
) {
36809 return (void *)((wxObject
*) ((wxImage
*) x
));
36811 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36812 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36814 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36815 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36817 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36818 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36820 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36821 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36823 static void *_p_wxControlTo_p_wxObject(void *x
) {
36824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36826 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36827 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36829 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36830 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36832 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36833 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36835 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36836 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36838 static void *_p_wxEventTo_p_wxObject(void *x
) {
36839 return (void *)((wxObject
*) ((wxEvent
*) x
));
36841 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36842 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36844 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36845 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36847 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36848 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36850 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36851 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36853 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36854 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36856 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36857 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36859 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36860 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36862 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36863 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36865 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36866 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36868 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36869 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36871 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36872 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36874 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36875 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36877 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36878 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36880 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36881 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36883 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36884 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36886 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36887 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36889 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36890 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36892 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36893 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36895 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36896 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36898 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36899 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36901 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36902 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36904 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36905 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36907 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36908 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36910 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36911 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36913 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36914 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36916 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36917 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36919 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36920 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36922 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36923 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36925 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36926 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36928 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36929 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36931 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36932 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36934 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36935 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36937 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36938 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36940 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36941 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36943 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36944 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36946 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36947 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36949 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36950 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36952 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36953 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36955 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36956 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36958 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36959 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36961 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36962 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36964 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36965 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36967 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36968 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36970 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
36971 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36973 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
36974 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
36976 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
36977 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
36979 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
36980 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
36982 static void *_p_wxControlTo_p_wxWindow(void *x
) {
36983 return (void *)((wxWindow
*) ((wxControl
*) x
));
36985 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
36986 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
36988 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
36989 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
36991 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
36992 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36994 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
36995 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
36997 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
36998 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37000 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37001 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37003 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37004 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37006 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37007 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37009 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37010 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37012 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37013 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37015 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37016 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37018 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37019 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37020 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
37021 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37022 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37023 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37024 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}};
37025 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
37026 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37027 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37028 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37029 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37030 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37031 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}};
37032 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}};
37033 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
37034 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37035 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
37036 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37037 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37038 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37039 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37040 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37041 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37042 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
37043 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37044 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37045 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37046 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37047 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37048 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37049 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37050 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37051 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37052 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37053 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37054 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37055 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37056 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37057 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37058 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37059 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37060 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37061 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37062 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37063 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37064 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37065 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37066 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37067 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37068 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37069 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37070 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37071 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37072 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37073 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37074 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37075 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37076 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37077 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37078 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37079 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37080 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37081 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}};
37082 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
37083 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}};
37084 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}};
37085 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}};
37086 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}};
37087 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37088 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37089 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37090 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37091 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37092 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37093 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37094 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37095 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37096 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37097 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37098 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37099 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37100 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37101 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37102 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}};
37103 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37104 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37105 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37106 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37107 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37108 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37109 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37110 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}};
37111 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37112 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37113 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37114 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37115 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37116 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37117 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37118 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37119 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37120 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37121 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37122 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}};
37123 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37124 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
37125 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37126 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37127 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37128 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37129 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37130 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
37131 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37133 static swig_type_info
*swig_types_initial
[] = {
37134 _swigt__p_wxLayoutConstraints
,
37135 _swigt__p_wxRealPoint
,
37136 _swigt__p_wxSizerItem
,
37137 _swigt__p_wxGBSizerItem
,
37138 _swigt__p_wxScrollEvent
,
37139 _swigt__p_wxIndividualLayoutConstraint
,
37141 _swigt__p_wxBoxSizer
,
37142 _swigt__p_wxStaticBoxSizer
,
37143 _swigt__p_wxGridBagSizer
,
37144 _swigt__p_wxAcceleratorEntry
,
37145 _swigt__p_wxUpdateUIEvent
,
37148 _swigt__p_wxGridSizer
,
37149 _swigt__p_wxFlexGridSizer
,
37150 _swigt__p_wxInitDialogEvent
,
37151 _swigt__p_wxItemContainer
,
37152 _swigt__p_wxNcPaintEvent
,
37153 _swigt__p_wxPaintEvent
,
37154 _swigt__p_wxSysColourChangedEvent
,
37155 _swigt__p_wxMouseCaptureChangedEvent
,
37156 _swigt__p_wxDisplayChangedEvent
,
37157 _swigt__p_wxPaletteChangedEvent
,
37158 _swigt__p_wxControl
,
37160 _swigt__p_wxMenuBarBase
,
37161 _swigt__p_wxSetCursorEvent
,
37162 _swigt__p_wxFSFile
,
37164 _swigt__p_wxRegion
,
37165 _swigt__p_wxPoint2D
,
37169 _swigt__p_wxPySizer
,
37170 _swigt__p_wxNotifyEvent
,
37171 _swigt__p_wxPyEvent
,
37172 _swigt__p_wxPropagationDisabler
,
37173 _swigt__p_wxAppTraits
,
37174 _swigt__p_wxArrayString
,
37175 _swigt__p_wxShowEvent
,
37176 _swigt__p_wxToolTip
,
37177 _swigt__p_wxMaximizeEvent
,
37178 _swigt__p_wxIconizeEvent
,
37179 _swigt__p_wxActivateEvent
,
37180 _swigt__p_wxMoveEvent
,
37181 _swigt__p_wxSizeEvent
,
37182 _swigt__p_wxQueryNewPaletteEvent
,
37183 _swigt__p_wxWindowCreateEvent
,
37184 _swigt__p_wxIdleEvent
,
37185 _swigt__p_wxMenuItem
,
37186 _swigt__p_wxStaticBox
,
37188 _swigt__p_wxTIFFHandler
,
37189 _swigt__p_wxXPMHandler
,
37190 _swigt__p_wxPNMHandler
,
37191 _swigt__p_wxJPEGHandler
,
37192 _swigt__p_wxPCXHandler
,
37193 _swigt__p_wxGIFHandler
,
37194 _swigt__p_wxPNGHandler
,
37195 _swigt__p_wxANIHandler
,
37196 _swigt__p_wxMemoryFSHandler
,
37197 _swigt__p_wxEvtHandler
,
37198 _swigt__p_wxCURHandler
,
37199 _swigt__p_wxICOHandler
,
37200 _swigt__p_wxBMPHandler
,
37201 _swigt__p_wxImageHandler
,
37202 _swigt__p_wxFileSystemHandler
,
37203 _swigt__p_wxPyFileSystemHandler
,
37204 _swigt__p_wxInternetFSHandler
,
37205 _swigt__p_wxZipFSHandler
,
37207 _swigt__p_wxGBSpan
,
37208 _swigt__p_wxPropagateOnce
,
37209 _swigt__p_wxAcceleratorTable
,
37210 _swigt__p_wxGBPosition
,
37213 _swigt__p_wxScrollWinEvent
,
37214 _swigt__p_wxImageHistogram
,
37217 _swigt__p_wxCursor
,
37218 _swigt__p_wxObject
,
37219 _swigt__p_wxPyInputStream
,
37220 _swigt__p_wxOutputStream
,
37221 _swigt__p_wxInputStream
,
37222 _swigt__p_wxDateTime
,
37223 _swigt__p_wxKeyEvent
,
37224 _swigt__p_wxNavigationKeyEvent
,
37225 _swigt__p_wxWindowDestroyEvent
,
37226 _swigt__p_wxWindow
,
37227 _swigt__p_wxMenuBar
,
37228 _swigt__p_wxString
,
37229 _swigt__p_wxFileSystem
,
37230 _swigt__p_wxBitmap
,
37231 _swigt__p_wxMenuEvent
,
37232 _swigt__p_wxContextMenuEvent
,
37233 _swigt__p_unsigned_char
,
37234 _swigt__p_wxCloseEvent
,
37235 _swigt__p_wxEraseEvent
,
37236 _swigt__p_wxMouseEvent
,
37238 _swigt__p_wxCommandEvent
,
37239 _swigt__p_wxPyCommandEvent
,
37240 _swigt__p_wxPyDropTarget
,
37241 _swigt__p_wxChildFocusEvent
,
37242 _swigt__p_wxFocusEvent
,
37243 _swigt__p_wxDropFilesEvent
,
37244 _swigt__p_wxControlWithItems
,
37245 _swigt__p_wxColour
,
37246 _swigt__p_wxValidator
,
37247 _swigt__p_wxPyValidator
,
37252 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37254 static swig_const_info swig_const_table
[] = {
37255 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
37256 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
37257 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
37258 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
37259 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
37260 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
37261 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
37262 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
37263 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
37264 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
37265 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
37266 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
37267 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
37268 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
37269 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
37270 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
37271 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
37272 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
37273 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
37274 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
37275 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
37276 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
37277 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
37278 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
37279 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
37280 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
37281 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
37282 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
37283 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
37284 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
37285 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
37286 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
37287 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
37288 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
37289 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
37290 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
37291 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
37292 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
37293 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
37294 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
37295 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
37296 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
37297 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
37298 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
37299 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
37300 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
37301 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
37302 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
37303 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
37304 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
37305 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
37306 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
37307 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
37308 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
37309 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
37310 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
37311 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
37312 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
37313 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
37314 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
37315 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
37316 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
37317 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
37318 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
37319 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
37320 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
37321 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
37322 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
37323 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
37324 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
37325 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
37326 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
37327 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
37328 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
37329 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
37330 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
37331 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
37332 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
37333 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
37334 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
37335 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
37336 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
37337 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
37338 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
37339 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
37340 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
37341 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
37342 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
37343 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
37344 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
37345 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
37346 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
37347 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
37348 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
37349 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
37350 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
37351 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
37352 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
37353 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
37354 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
37355 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
37356 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
37357 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
37358 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
37359 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
37360 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
37361 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
37362 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
37363 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
37364 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
37365 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
37366 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
37367 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
37368 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
37369 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
37370 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
37371 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
37372 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
37373 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
37374 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
37375 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
37376 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
37377 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
37378 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
37379 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
37380 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
37381 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
37382 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
37383 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
37384 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
37385 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
37386 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
37387 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
37388 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
37389 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
37390 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
37391 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
37392 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
37393 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
37394 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
37395 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
37396 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
37397 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
37398 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
37399 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
37400 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
37401 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
37402 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
37403 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
37404 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
37405 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
37406 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
37407 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
37408 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
37409 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
37410 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
37411 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
37412 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
37413 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
37414 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
37415 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
37416 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
37417 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
37418 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
37419 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
37420 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
37421 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
37422 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
37423 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
37424 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
37425 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
37426 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
37427 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
37428 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
37429 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
37430 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
37431 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
37432 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
37433 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
37434 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
37435 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
37436 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
37437 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
37438 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
37439 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
37440 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
37441 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
37442 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
37443 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
37444 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
37445 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
37446 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
37447 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
37448 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
37449 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
37450 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
37451 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
37452 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
37453 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
37454 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
37455 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
37456 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
37457 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
37458 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
37459 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
37460 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
37461 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
37462 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
37463 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
37464 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
37465 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
37466 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
37467 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
37468 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
37469 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
37470 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
37471 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
37472 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
37473 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
37474 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
37475 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37476 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
37477 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
37478 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
37479 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
37480 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
37481 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
37482 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
37483 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
37484 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
37485 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
37486 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
37487 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
37488 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
37489 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
37490 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
37491 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
37492 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
37493 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
37494 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
37495 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
37496 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
37497 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
37498 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
37499 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
37500 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
37501 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
37502 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
37503 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
37504 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
37505 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
37506 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
37507 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
37508 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
37509 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
37510 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
37511 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
37512 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
37513 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
37514 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
37515 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
37516 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
37517 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
37518 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
37519 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
37520 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
37521 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
37522 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
37523 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
37524 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
37525 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
37526 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
37527 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
37528 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
37529 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
37530 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
37531 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
37532 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
37533 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
37534 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
37535 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
37536 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
37537 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
37538 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
37539 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
37540 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
37541 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
37542 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
37543 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
37544 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
37545 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
37546 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
37547 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
37548 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
37549 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
37550 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
37551 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
37552 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
37553 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
37554 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
37555 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
37556 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
37557 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
37558 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
37559 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
37560 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
37561 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
37562 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
37563 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
37564 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
37565 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
37566 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
37567 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
37568 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
37569 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
37570 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
37571 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
37572 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
37573 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
37574 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
37575 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
37576 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
37577 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
37578 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
37579 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
37580 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
37581 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
37582 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
37583 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
37584 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
37585 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
37586 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
37587 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
37588 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
37589 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
37590 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
37591 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
37592 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
37593 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
37594 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
37595 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
37596 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
37597 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
37598 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
37599 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
37600 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
37601 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
37602 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
37603 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
37604 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
37605 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
37606 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
37607 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
37608 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
37609 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
37610 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
37611 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
37612 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
37613 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
37614 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
37615 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
37616 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
37617 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
37618 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
37619 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
37620 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
37621 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
37622 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
37623 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
37624 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
37625 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
37626 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
37627 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
37628 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
37629 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
37630 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
37631 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
37632 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
37633 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
37634 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
37635 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
37636 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
37637 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
37638 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
37639 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
37640 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
37641 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
37642 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
37643 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
37644 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
37645 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
37646 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
37647 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
37648 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
37649 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
37650 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
37651 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
37652 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
37653 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
37654 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
37655 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
37656 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
37657 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
37658 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
37659 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
37660 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
37661 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
37662 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
37663 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
37664 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
37665 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
37666 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
37667 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
37668 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
37669 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
37670 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
37671 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
37672 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
37673 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
37674 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
37675 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
37676 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
37677 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
37678 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
37679 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
37680 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
37681 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
37682 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
37683 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
37684 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
37685 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
37686 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
37687 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
37688 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
37689 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
37690 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
37691 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
37692 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
37693 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
37694 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
37695 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
37696 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
37697 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
37698 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
37699 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
37700 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
37701 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
37702 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
37703 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
37704 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
37705 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
37706 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
37707 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
37708 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
37709 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
37710 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
37711 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
37712 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
37713 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
37714 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
37715 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
37716 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
37717 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
37718 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
37719 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
37720 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
37721 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
37722 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
37723 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
37724 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
37725 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
37726 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
37727 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
37728 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
37729 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
37730 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
37731 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
37732 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
37733 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
37734 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
37735 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
37736 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
37737 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
37738 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
37739 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
37740 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
37741 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
37742 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
37743 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
37744 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
37745 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
37746 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
37747 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
37748 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
37749 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
37750 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
37751 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
37752 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
37753 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
37754 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
37755 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
37756 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
37757 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
37758 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
37759 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
37760 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
37761 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
37762 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
37763 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
37764 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
37765 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
37766 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
37767 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
37768 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
37769 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
37770 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
37771 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
37772 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
37773 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
37774 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
37775 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
37776 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
37777 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
37778 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
37779 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
37780 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
37781 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
37782 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
37783 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
37784 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
37785 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
37786 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
37787 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
37788 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
37789 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
37790 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
37791 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
37792 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
37793 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
37794 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
37795 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
37796 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
37797 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
37798 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
37799 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
37800 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
37801 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
37802 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
37803 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
37804 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
37805 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
37806 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
37807 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
37808 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
37809 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
37810 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
37811 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
37812 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
37813 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
37814 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
37815 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
37816 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
37817 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
37818 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
37819 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
37820 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
37821 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
37822 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
37823 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
37824 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
37825 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
37826 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
37827 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
37828 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
37829 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
37830 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
37831 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
37832 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
37833 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
37834 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
37835 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
37836 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
37837 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
37838 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
37839 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
37840 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
37841 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
37842 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
37843 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
37844 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
37845 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
37846 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
37847 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
37848 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
37849 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
37850 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
37851 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
37852 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
37853 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
37854 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
37855 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
37856 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
37857 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
37858 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
37859 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
37860 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
37861 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
37862 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
37863 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
37864 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
37865 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
37866 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
37867 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
37868 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
37869 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
37870 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
37871 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
37872 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
37873 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
37874 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
37875 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
37876 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
37877 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
37878 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
37879 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
37880 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
37881 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
37882 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
37883 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
37884 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
37885 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
37886 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
37887 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
37888 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
37889 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
37890 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
37891 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
37892 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
37893 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
37894 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
37895 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
37896 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
37897 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
37898 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
37899 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
37900 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
37901 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
37902 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
37903 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
37904 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
37905 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
37906 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
37907 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
37908 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
37909 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
37910 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
37911 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
37912 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
37913 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
37914 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
37915 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
37916 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
37917 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
37918 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
37919 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
37920 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
37921 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
37922 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
37923 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
37924 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
37925 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
37926 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
37927 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
37928 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
37929 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
37930 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
37931 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
37932 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
37933 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
37934 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
37935 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
37936 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
37937 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
37938 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
37939 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
37940 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
37941 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
37942 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
37943 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
37944 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
37945 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
37946 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
37947 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
37948 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
37949 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
37950 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
37951 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
37952 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
37953 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
37954 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
37955 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
37956 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
37957 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
37958 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
37959 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
37960 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
37961 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
37962 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
37963 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
37964 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
37965 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
37966 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
37967 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
37968 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
37969 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
37970 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
37971 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
37972 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
37973 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
37974 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
37975 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
37976 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
37977 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
37978 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
37979 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
37980 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
37981 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
37982 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
37983 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
37984 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
37985 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
37986 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
37987 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
37988 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
37989 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
37990 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
37991 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
37992 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
37993 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
37994 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
37995 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
37996 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
37997 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
37998 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
37999 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
38000 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
38001 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
38002 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
38003 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
38004 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
38005 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
38006 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
38007 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
38008 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
38009 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
38010 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
38011 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
38012 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
38013 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
38014 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
38015 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
38016 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
38017 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
38018 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
38019 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
38020 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
38021 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
38022 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
38032 SWIGEXPORT(void) SWIG_init(void) {
38033 static PyObject
*SWIG_globals
= 0;
38034 static int typeinit
= 0;
38037 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38038 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38039 d
= PyModule_GetDict(m
);
38042 for (i
= 0; swig_types_initial
[i
]; i
++) {
38043 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38047 SWIG_InstallConstants(d
,swig_const_table
);
38050 #ifndef wxPyUSE_EXPORT
38051 // Make our API structure a CObject so other modules can import it
38052 // from this module.
38053 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
38054 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
38058 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38059 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
38060 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
38062 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38065 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38067 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
38068 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
38069 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
38070 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
38071 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
38072 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
38073 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
38074 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
38075 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
38076 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
38077 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
38078 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
38079 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
38080 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
38081 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
38082 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
38083 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
38084 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
38085 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
38086 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
38087 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
38088 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
38089 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
38090 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
38091 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
38092 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
38093 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
38094 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
38095 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
38096 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
38097 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
38098 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
38099 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
38100 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
38101 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
38102 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
38103 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
38104 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
38105 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
38106 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
38107 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
38108 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
38109 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
38110 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
38111 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
38112 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
38113 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
38114 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
38115 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
38116 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
38117 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
38118 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
38119 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
38120 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
38121 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
38122 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
38123 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
38124 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
38125 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
38126 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
38127 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
38128 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
38129 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
38130 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
38131 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
38132 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
38133 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
38134 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
38135 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
38136 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
38137 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
38138 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
38139 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
38140 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
38141 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
38142 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
38143 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
38144 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
38145 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
38146 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
38147 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
38148 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
38149 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
38150 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
38151 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
38152 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
38153 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
38154 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
38155 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
38156 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
38157 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
38158 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
38159 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
38160 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
38161 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
38162 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
38163 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
38164 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
38165 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
38166 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
38167 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
38168 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
38169 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
38170 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
38171 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
38172 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
38173 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
38174 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
38175 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
38176 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
38177 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
38178 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
38179 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
38180 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
38181 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
38182 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
38183 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
38184 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
38185 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
38186 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
38187 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
38188 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
38189 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
38190 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
38192 // Initialize threading, some globals and such
38196 // Although these are defined in __version__ they need to be here too so
38197 // that an assert can be done to ensure that the wxPython and the wxWindows
38199 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
38200 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
38201 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));