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
48 #define SWIG_PackData SWIG_Python_PackData
49 #define SWIG_UnpackData SWIG_Python_UnpackData
51 /***********************************************************************
52 * common.swg for wxPython
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
59 ************************************************************************/
63 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64 # if defined(_MSC_VER) || defined(__GNUC__)
65 # if defined(STATIC_LINKED)
66 # define SWIGEXPORT(a) a
67 # define SWIGIMPORT(a) extern a
69 # define SWIGEXPORT(a) __declspec(dllexport) a
70 # define SWIGIMPORT(a) extern a
73 # if defined(__BORLANDC__)
74 # define SWIGEXPORT(a) a _export
75 # define SWIGIMPORT(a) a _export
77 # define SWIGEXPORT(a) a
78 # define SWIGIMPORT(a) a
82 # define SWIGEXPORT(a) a
83 # define SWIGIMPORT(a) a
87 # define SWIGRUNTIME(a) SWIGEXPORT(a)
89 # 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 *);
117 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
127 /***********************************************************************
128 * pyrun.swg for wxPython
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
135 ************************************************************************/
143 #define SWIG_PY_INT 1
144 #define SWIG_PY_FLOAT 2
145 #define SWIG_PY_STRING 3
146 #define SWIG_PY_POINTER 4
147 #define SWIG_PY_BINARY 5
149 /* Flags for pointer conversion */
151 #define SWIG_POINTER_EXCEPTION 0x1
152 #define SWIG_POINTER_DISOWN 0x2
154 /* Exception handling in wrappers */
155 #define SWIG_fail goto fail
157 /* Constant information structure */
158 typedef struct swig_const_info
{
164 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_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184 #define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
188 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
189 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
190 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
191 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
192 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
193 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
194 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
195 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
199 /* Contract support */
201 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
209 /* -------- TYPES TABLE (BEGIN) -------- */
211 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
212 #define SWIGTYPE_p_wxRealPoint swig_types[1]
213 #define SWIGTYPE_p_wxSizerItem swig_types[2]
214 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
215 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
216 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
217 #define SWIGTYPE_p_wxSizer swig_types[6]
218 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
219 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
220 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
221 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
222 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
223 #define SWIGTYPE_p_wxMenu swig_types[12]
224 #define SWIGTYPE_p_wxEvent swig_types[13]
225 #define SWIGTYPE_p_wxGridSizer swig_types[14]
226 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
227 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
228 #define SWIGTYPE_p_wxItemContainer swig_types[17]
229 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
230 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
231 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
232 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
233 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
234 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
235 #define SWIGTYPE_p_wxControl swig_types[24]
236 #define SWIGTYPE_p_wxFont swig_types[25]
237 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
238 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
239 #define SWIGTYPE_p_wxFSFile swig_types[28]
240 #define SWIGTYPE_p_wxCaret swig_types[29]
241 #define SWIGTYPE_p_wxRegion swig_types[30]
242 #define SWIGTYPE_p_wxPoint2D swig_types[31]
243 #define SWIGTYPE_p_int swig_types[32]
244 #define SWIGTYPE_p_wxSize swig_types[33]
245 #define SWIGTYPE_p_wxDC swig_types[34]
246 #define SWIGTYPE_p_wxPySizer swig_types[35]
247 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
248 #define SWIGTYPE_p_wxPyEvent swig_types[37]
249 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
250 #define SWIGTYPE_p_wxAppTraits swig_types[39]
251 #define SWIGTYPE_p_wxArrayString swig_types[40]
252 #define SWIGTYPE_p_wxShowEvent swig_types[41]
253 #define SWIGTYPE_p_wxToolTip swig_types[42]
254 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
255 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
256 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
257 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
258 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
259 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
260 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
261 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
262 #define SWIGTYPE_p_wxMenuItem swig_types[51]
263 #define SWIGTYPE_p_wxStaticBox swig_types[52]
264 #define SWIGTYPE_p_long swig_types[53]
265 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
266 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
267 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
268 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
269 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
270 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
271 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
272 #define SWIGTYPE_p_wxANIHandler swig_types[61]
273 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
274 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
275 #define SWIGTYPE_p_wxCURHandler swig_types[64]
276 #define SWIGTYPE_p_wxICOHandler swig_types[65]
277 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
278 #define SWIGTYPE_p_wxImageHandler swig_types[67]
279 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
280 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
281 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
282 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
283 #define SWIGTYPE_p_wxRect swig_types[72]
284 #define SWIGTYPE_p_wxGBSpan swig_types[73]
285 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
286 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
287 #define SWIGTYPE_p_wxGBPosition swig_types[76]
288 #define SWIGTYPE_p_wxImage swig_types[77]
289 #define SWIGTYPE_p_wxFrame swig_types[78]
290 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
291 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
292 #define SWIGTYPE_p_byte swig_types[81]
293 #define SWIGTYPE_p_wxPoint swig_types[82]
294 #define SWIGTYPE_p_wxCursor swig_types[83]
295 #define SWIGTYPE_p_wxObject swig_types[84]
296 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
297 #define SWIGTYPE_p_wxOutputStream swig_types[86]
298 #define SWIGTYPE_p_wxInputStream swig_types[87]
299 #define SWIGTYPE_p_wxDateTime swig_types[88]
300 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
301 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
302 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
303 #define SWIGTYPE_p_wxWindow swig_types[92]
304 #define SWIGTYPE_p_wxMenuBar swig_types[93]
305 #define SWIGTYPE_p_wxString swig_types[94]
306 #define SWIGTYPE_p_wxFileSystem swig_types[95]
307 #define SWIGTYPE_p_wxBitmap swig_types[96]
308 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
309 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
310 #define SWIGTYPE_p_unsigned_char swig_types[99]
311 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
312 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
313 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
314 #define SWIGTYPE_p_wxPyApp swig_types[103]
315 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
316 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
317 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
318 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
319 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
320 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
321 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
322 #define SWIGTYPE_p_wxColour swig_types[111]
323 #define SWIGTYPE_p_wxValidator swig_types[112]
324 #define SWIGTYPE_p_wxPyValidator swig_types[113]
325 static swig_type_info
*swig_types
[115];
327 /* -------- TYPES TABLE (END) -------- */
330 /*-----------------------------------------------
332 ------------------------------------------------*/
333 #define SWIG_init init_core
335 #define SWIG_name "_core"
337 #include "wx/wxPython/wxPython_int.h"
338 #include "wx/wxPython/pyclasses.h"
341 #ifndef wxPyUSE_EXPORT
342 // Helper functions for dealing with SWIG objects and such. These are
343 // located here so they know about the SWIG types and functions declared
344 // in the wrapper code.
346 #include <wx/hashmap.h>
347 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
350 // Maintains a hashmap of className to swig_type_info pointers. Given the
351 // name of a class either looks up the type info in the cache, or scans the
352 // SWIG tables for it.
353 extern PyObject
* wxPyPtrTypeMap
;
355 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
357 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
359 if (typeInfoCache
== NULL
)
360 typeInfoCache
= new wxPyTypeInfoHashMap
;
362 wxString
name(className
);
363 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
366 // it wasn't in the cache, so look it up from SWIG
367 name
.Append(wxT(" *"));
368 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
370 // if it still wasn't found, try looking for a mapped name
375 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
376 (char*)(const char*)name
.mbc_str())) != NULL
) {
377 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
378 name
.Append(wxT(" *"));
379 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
383 // and add it to the map if found
384 (*typeInfoCache
)[className
] = swigType
;
391 // Check if a class name is a type known to SWIG
392 bool wxPyCheckSwigType(const wxChar
* className
) {
394 swig_type_info
* swigType
= wxPyFindSwigType(className
);
395 return swigType
!= NULL
;
399 // Given a pointer to a C++ object and a class name, construct a Python proxy
401 PyObject
* wxPyConstructObject(void* ptr
,
402 const wxChar
* className
,
405 swig_type_info
* swigType
= wxPyFindSwigType(className
);
406 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
408 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
412 // Extract a pointer to the wrapped C++ object from a Python proxy object.
413 // Ensures that the proxy object is of the specified (or derived) type. If
414 // not able to perform the conversion then a Python exception is set and the
415 // error should be handled properly in the caller. Returns True on success.
416 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
417 const wxChar
* className
) {
419 swig_type_info
* swigType
= wxPyFindSwigType(className
);
420 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
422 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
426 // Make a SWIGified pointer object suitable for a .this attribute
427 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
429 PyObject
* robj
= NULL
;
431 swig_type_info
* swigType
= wxPyFindSwigType(className
);
432 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
434 #ifdef SWIG_COBJECT_TYPES
435 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
441 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
442 strcpy(r
, swigType
->name
);
443 robj
= PyString_FromString(result
);
453 // Export a C API in a struct. Other modules will be able to load this from
454 // the wx.core module and will then have safe access to these functions, even if
455 // they are located in another shared library.
456 static wxPyCoreAPI API
= {
458 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
459 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
460 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
461 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
462 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
463 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
464 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
465 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
466 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
467 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
468 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
469 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
470 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
471 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
472 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
473 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
474 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
481 wxPyBeginAllowThreads
,
483 wxPyBeginBlockThreads
,
497 wxBitmap_LIST_helper
,
498 wxString_LIST_helper
,
499 wxAcceleratorEntry_LIST_helper
,
508 wxPySimple_typecheck
,
511 wxPyCBH_setCallbackInfo
,
512 wxPyCBH_findCallback
,
513 wxPyCBH_callCallback
,
514 wxPyCBH_callCallbackObj
,
522 wxArrayString2PyList_helper
,
523 wxArrayInt2PyList_helper
,
527 wxPyOORClientData_dtor
,
529 wxPyCBInputStream_create
,
532 wxPySwigInstance_Check
539 DECLARE_DEF_STRING(EmptyString
);
540 // DECLARE_DEF_STRING(PanelNameStr);
544 enum wxHotkeyModifier
552 #define wxEVT_HOTKEY 9999
555 wxString
wxObject_GetClassName(wxObject
*self
){
556 return self
->GetClassInfo()->GetClassName();
558 void wxObject_Destroy(wxObject
*self
){
563 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
566 PyObject
*wxSize_Get(wxSize
*self
){
567 wxPyBeginBlockThreads();
568 PyObject
* tup
= PyTuple_New(2);
569 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
570 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
571 wxPyEndBlockThreads();
574 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
578 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
579 wxPyBeginBlockThreads();
580 PyObject
* tup
= PyTuple_New(2);
581 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
582 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
583 wxPyEndBlockThreads();
586 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
590 PyObject
*wxPoint_Get(wxPoint
*self
){
591 wxPyBeginBlockThreads();
592 PyObject
* tup
= PyTuple_New(2);
593 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
594 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
595 wxPyEndBlockThreads();
598 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
602 self
->height
= height
;
604 PyObject
*wxRect_Get(wxRect
*self
){
605 wxPyBeginBlockThreads();
606 PyObject
* tup
= PyTuple_New(4);
607 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
608 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
609 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
610 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
611 wxPyEndBlockThreads();
615 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
618 wxRect
dest(0,0,0,0);
621 reg1
.Intersect(reg2
);
622 dest
= reg1
.GetBox();
624 if (dest
!= wxRect(0,0,0,0)) {
625 wxPyBeginBlockThreads();
626 wxRect
* newRect
= new wxRect(dest
);
627 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
628 wxPyEndBlockThreads();
636 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
642 } else if (target
== Py_None
) {
646 if (!PyTuple_Check(target
)) {
648 target
= PyTuple_New(1);
649 PyTuple_SetItem(target
, 0, o2
);
652 PyTuple_SetItem(o3
, 0, o
);
655 target
= PySequence_Concat(o2
, o3
);
662 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
666 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
667 wxPyBeginBlockThreads();
668 PyObject
* tup
= PyTuple_New(2);
669 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
670 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
671 wxPyEndBlockThreads();
675 #include "wx/wxPython/pyistream.h"
677 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
678 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
680 return new wxPyInputStream(wxis
);
684 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
685 // We use only strings for the streams, not unicode
686 PyObject
* str
= PyObject_Str(obj
);
688 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
691 self
->Write(PyString_AS_STRING(str
),
692 PyString_GET_SIZE(str
));
696 #include "wx/wxPython/pyistream.h"
699 class wxPyFileSystemHandler
: public wxFileSystemHandler
702 wxPyFileSystemHandler() : wxFileSystemHandler() {}
704 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
705 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
706 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
707 DEC_PYCALLBACK_STRING__pure(FindNext
);
709 wxString
GetProtocol(const wxString
& location
) {
710 return wxFileSystemHandler::GetProtocol(location
);
713 wxString
GetLeftLocation(const wxString
& location
) {
714 return wxFileSystemHandler::GetLeftLocation(location
);
717 wxString
GetAnchor(const wxString
& location
) {
718 return wxFileSystemHandler::GetAnchor(location
);
721 wxString
GetRightLocation(const wxString
& location
) {
722 return wxFileSystemHandler::GetRightLocation(location
);
725 wxString
GetMimeTypeFromExt(const wxString
& location
) {
726 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
733 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
734 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
735 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
736 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
739 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
740 wxFileName fname
= wxFileSystem::URLToFileName(url
);
741 return fname
.GetFullPath();
745 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
748 wxMemoryFSHandler::AddFile(filename
, image
, type
);
751 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
752 const wxBitmap
& bitmap
,
754 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
757 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
759 wxMemoryFSHandler::AddFile(filename
,
760 // TODO: Verify data type
761 (void*)PyString_AsString(data
),
762 (size_t)PyString_Size(data
));
766 #include "wx/wxPython/pyistream.h"
768 wxImage
*new_wxImage(int width
,int height
,bool clear
){
769 if (width
> 0 && height
> 0)
770 return new wxImage(width
, height
, clear
);
774 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
775 return new wxImage(bitmap
.ConvertToImage());
777 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
778 // Copy the source data so the wxImage can clean it up later
779 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
784 memcpy(copy
, data
, width
*height
*3);
785 return new wxImage(width
, height
, copy
, False
);
787 PyObject
*wxImage_GetData(wxImage
*self
){
788 unsigned char* data
= self
->GetData();
789 int len
= self
->GetWidth() * self
->GetHeight() * 3;
791 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
794 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
795 unsigned char* dataPtr
;
797 if (! PyString_Check(data
)) {
798 PyErr_SetString(PyExc_TypeError
, "Expected string object");
802 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
803 dataPtr
= (unsigned char*) malloc(len
);
804 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
805 self
->SetData(dataPtr
);
806 // wxImage takes ownership of dataPtr...
808 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
809 unsigned char* data
= self
->GetData();
810 int len
= self
->GetWidth() * self
->GetHeight() * 3;
812 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
815 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
816 unsigned char* buffer
;
819 wxPyBeginBlockThreads();
820 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
823 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
824 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
827 self
->SetData(buffer
);
829 wxPyEndBlockThreads();
831 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
832 unsigned char* data
= self
->GetAlpha();
836 int len
= self
->GetWidth() * self
->GetHeight();
838 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
842 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
843 unsigned char* dataPtr
;
845 if (! PyString_Check(data
)) {
846 PyErr_SetString(PyExc_TypeError
, "Expected string object");
850 size_t len
= self
->GetWidth() * self
->GetHeight();
851 dataPtr
= (unsigned char*) malloc(len
);
852 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
853 self
->SetAlpha(dataPtr
);
854 // wxImage takes ownership of dataPtr...
856 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
857 unsigned char* data
= self
->GetAlpha();
858 int len
= self
->GetWidth() * self
->GetHeight();
860 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
863 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
864 unsigned char* buffer
;
867 wxPyBeginBlockThreads();
868 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
871 if (size
!= self
->GetWidth() * self
->GetHeight()) {
872 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
875 self
->SetAlpha(buffer
);
877 wxPyEndBlockThreads();
879 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
880 wxBitmap
bitmap(*self
);
883 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
884 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
885 wxBitmap
bitmap( mono
, 1 );
888 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
889 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
890 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
891 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
892 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
893 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
894 if (PyCallable_Check(func
)) {
895 self
->Connect(id
, lastId
, eventType
,
896 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
897 new wxPyCallback(func
));
899 else if (func
== Py_None
) {
900 self
->Disconnect(id
, lastId
, eventType
,
901 (wxObjectEventFunction
)
902 &wxPyCallback::EventThunker
);
905 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
908 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
909 return self
->Disconnect(id
, lastId
, eventType
,
910 (wxObjectEventFunction
)
911 &wxPyCallback::EventThunker
);
913 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
914 if (_self
&& _self
!= Py_None
) {
915 self
->SetClientObject(new wxPyOORClientData(_self
));
918 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
920 self
->SetClientObject(NULL
); // This will delete it too
924 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
926 return self
->m_uniChar
;
931 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
934 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
937 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
938 int count
= self
->GetNumberOfFiles();
939 wxString
* files
= self
->GetFiles();
940 PyObject
* list
= PyList_New(count
);
943 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
947 for (int i
=0; i
<count
; i
++) {
948 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
954 wxPyApp
*new_wxPyApp(){
955 wxPythonApp
= new wxPyApp();
958 int PyApp_GetComCtl32Version(){ PyErr_SetNone(PyExc_NotImplementedError
); return 0; }
960 void wxApp_CleanUp() {
965 wxPyApp
* wxGetApp() {
966 return (wxPyApp
*)wxTheApp
;
971 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
972 PyObject
*wxWindow_GetChildren(wxWindow
*self
){
973 wxWindowList
& list
= self
->GetChildren();
974 return wxPy_ConvertList(&list
);
976 bool wxWindow_RegisterHotKey(wxWindow
*self
,int hotkeyId
,int modifiers
,int keycode
){
983 bool wxWindow_UnregisterHotKey(wxWindow
*self
,int hotkeyId
){
990 long wxWindow_GetHandle(wxWindow
*self
){
991 return wxPyGetWinHandle(self
);
994 wxWindow
* wxFindWindowById( long id
, const wxWindow
*parent
= NULL
) {
995 return wxWindow::FindWindowById(id
, parent
);
998 wxWindow
* wxFindWindowByName( const wxString
& name
,
999 const wxWindow
*parent
= NULL
) {
1000 return wxWindow::FindWindowByName(name
, parent
);
1003 wxWindow
* wxFindWindowByLabel( const wxString
& label
,
1004 const wxWindow
*parent
= NULL
) {
1005 return wxWindow::FindWindowByLabel(label
, parent
);
1009 wxWindow
* wxWindow_FromHWND(unsigned long hWnd
) {
1011 wxWindow
* win
= new wxWindow
;
1013 win
->SubclassWin(hWnd
);
1016 PyErr_SetNone(PyExc_NotImplementedError
);
1022 IMP_PYCALLBACK_BOOL_WXWIN(wxPyValidator
, wxValidator
, Validate
);
1023 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferToWindow
);
1024 IMP_PYCALLBACK_BOOL_(wxPyValidator
, wxValidator
, TransferFromWindow
);
1026 IMPLEMENT_DYNAMIC_CLASS(wxPyValidator
, wxValidator
);
1028 void wxMenu_Destroy(wxMenu
*self
){ delete self
; }
1029 PyObject
*wxMenu_GetMenuItems(wxMenu
*self
){
1030 wxMenuItemList
& list
= self
->GetMenuItems();
1031 return wxPy_ConvertList(&list
);
1033 int MenuItem_GetDefaultMarginWidth(){ return 0; }
1035 DECLARE_DEF_STRING(ControlNameStr
);
1037 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1039 wxPyClientData
* data
= new wxPyClientData(clientData
);
1040 return self
->Append(item
, data
);
1042 return self
->Append(item
);
1044 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1046 wxPyClientData
* data
= new wxPyClientData(clientData
);
1047 return self
->Insert(item
, pos
, data
);
1049 return self
->Insert(item
, pos
);
1051 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1052 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1054 Py_INCREF(data
->m_obj
);
1061 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1062 wxPyClientData
* data
= new wxPyClientData(clientData
);
1063 self
->SetClientObject(n
, data
);
1067 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1068 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1070 Py_INCREF(data
->m_obj
);
1078 // Figure out the type of the sizer item
1080 struct wxPySizerItemInfo
{
1082 : window(NULL
), sizer(NULL
), gotSize(False
),
1083 size(wxDefaultSize
), gotPos(False
), pos(-1)
1094 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1096 wxPySizerItemInfo info
;
1098 wxSize
* sizePtr
= &size
;
1100 // Find out what the type of the item is
1102 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1107 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1111 // try wxSize or (w,h)
1112 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1113 info
.size
= *sizePtr
;
1114 info
.gotSize
= True
;
1118 if (checkIdx
&& PyInt_Check(item
)) {
1119 info
.pos
= PyInt_AsLong(item
);
1125 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1126 // no expected type, figure out what kind of error message to generate
1127 if ( !checkSize
&& !checkIdx
)
1128 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1129 else if ( checkSize
&& !checkIdx
)
1130 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1131 else if ( !checkSize
&& checkIdx
)
1132 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1134 // can this one happen?
1135 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1141 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1142 self
->SetClientObject(new wxPyOORClientData(_self
));
1144 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1146 wxPyUserData
* data
= NULL
;
1147 wxPyBeginBlockThreads();
1148 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1149 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1150 data
= new wxPyUserData(userData
);
1151 wxPyEndBlockThreads();
1153 // Now call the real Add method if a valid item type was found
1155 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1156 else if ( info
.sizer
)
1157 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1158 else if (info
.gotSize
)
1159 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1160 proportion
, flag
, border
, data
);
1162 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1164 wxPyUserData
* data
= NULL
;
1165 wxPyBeginBlockThreads();
1166 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1167 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1168 data
= new wxPyUserData(userData
);
1169 wxPyEndBlockThreads();
1171 // Now call the real Insert method if a valid item type was found
1173 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1174 else if ( info
.sizer
)
1175 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1176 else if (info
.gotSize
)
1177 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1178 proportion
, flag
, border
, data
);
1180 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1182 wxPyUserData
* data
= NULL
;
1183 wxPyBeginBlockThreads();
1184 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1185 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1186 data
= new wxPyUserData(userData
);
1187 wxPyEndBlockThreads();
1189 // Now call the real Prepend method if a valid item type was found
1191 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1192 else if ( info
.sizer
)
1193 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1194 else if (info
.gotSize
)
1195 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1196 proportion
, flag
, border
, data
);
1198 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1199 wxPyBeginBlockThreads();
1200 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1201 wxPyEndBlockThreads();
1203 return self
->Remove(info
.window
);
1204 else if ( info
.sizer
)
1205 return self
->Remove(info
.sizer
);
1206 else if ( info
.gotPos
)
1207 return self
->Remove(info
.pos
);
1211 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1212 wxPyBeginBlockThreads();
1213 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1214 wxPyEndBlockThreads();
1216 self
->SetItemMinSize(info
.window
, size
);
1217 else if ( info
.sizer
)
1218 self
->SetItemMinSize(info
.sizer
, size
);
1219 else if ( info
.gotPos
)
1220 self
->SetItemMinSize(info
.pos
, size
);
1222 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1223 wxSizerItemList
& list
= self
->GetChildren();
1224 return wxPy_ConvertList(&list
);
1226 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1227 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1229 self
->Show(info
.window
, show
);
1230 else if ( info
.sizer
)
1231 self
->Show(info
.sizer
, show
);
1233 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1234 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1236 self
->Hide(info
.window
);
1237 else if ( info
.sizer
)
1238 self
->Hide(info
.sizer
);
1240 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1241 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1243 return self
->IsShown(info
.window
);
1244 else if ( info
.sizer
)
1245 return self
->IsShown(info
.sizer
);
1251 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1252 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1253 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1258 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1260 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1263 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1265 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1269 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1273 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1274 wxPyBeginBlockThreads();
1275 PyObject
* tup
= PyTuple_New(2);
1276 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1277 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1278 wxPyEndBlockThreads();
1281 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1282 self
->SetRowspan(rowspan
);
1283 self
->SetColspan(colspan
);
1285 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1286 wxPyBeginBlockThreads();
1287 PyObject
* tup
= PyTuple_New(2);
1288 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1289 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1290 wxPyEndBlockThreads();
1293 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1295 wxPyUserData
* data
= NULL
;
1296 wxPyBeginBlockThreads();
1297 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1298 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1299 data
= new wxPyUserData(userData
);
1300 wxPyEndBlockThreads();
1302 // Now call the real Add method if a valid item type was found
1304 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1305 else if ( info
.sizer
)
1306 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1307 else if (info
.gotSize
)
1308 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1309 pos
, span
, flag
, border
, data
);
1317 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1318 PyObject
*resultobj
;
1319 wxObject
*arg1
= (wxObject
*) 0 ;
1321 PyObject
* obj0
= 0 ;
1323 (char *) "self", NULL
1326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1330 result
= wxObject_GetClassName(arg1
);
1332 wxPyEndAllowThreads(__tstate
);
1333 if (PyErr_Occurred()) SWIG_fail
;
1337 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1339 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1348 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1349 PyObject
*resultobj
;
1350 wxObject
*arg1
= (wxObject
*) 0 ;
1351 PyObject
* obj0
= 0 ;
1353 (char *) "self", NULL
1356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1360 wxObject_Destroy(arg1
);
1362 wxPyEndAllowThreads(__tstate
);
1363 if (PyErr_Occurred()) SWIG_fail
;
1365 Py_INCREF(Py_None
); resultobj
= Py_None
;
1372 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1374 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1375 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1377 return Py_BuildValue((char *)"");
1379 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1380 PyObject
*resultobj
;
1381 wxSize
*arg1
= (wxSize
*) 0 ;
1383 PyObject
* obj0
= 0 ;
1385 (char *) "self",(char *) "x", NULL
1388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1390 if (arg1
) (arg1
)->x
= arg2
;
1392 Py_INCREF(Py_None
); resultobj
= Py_None
;
1399 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1400 PyObject
*resultobj
;
1401 wxSize
*arg1
= (wxSize
*) 0 ;
1403 PyObject
* obj0
= 0 ;
1405 (char *) "self", NULL
1408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1410 result
= (int) ((arg1
)->x
);
1412 resultobj
= PyInt_FromLong((long)result
);
1419 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1420 PyObject
*resultobj
;
1421 wxSize
*arg1
= (wxSize
*) 0 ;
1423 PyObject
* obj0
= 0 ;
1425 (char *) "self",(char *) "y", NULL
1428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1430 if (arg1
) (arg1
)->y
= arg2
;
1432 Py_INCREF(Py_None
); resultobj
= Py_None
;
1439 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1440 PyObject
*resultobj
;
1441 wxSize
*arg1
= (wxSize
*) 0 ;
1443 PyObject
* obj0
= 0 ;
1445 (char *) "self", NULL
1448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1450 result
= (int) ((arg1
)->y
);
1452 resultobj
= PyInt_FromLong((long)result
);
1459 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1460 PyObject
*resultobj
;
1461 int arg1
= (int) 0 ;
1462 int arg2
= (int) 0 ;
1465 (char *) "w",(char *) "h", NULL
1468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1471 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1473 wxPyEndAllowThreads(__tstate
);
1474 if (PyErr_Occurred()) SWIG_fail
;
1476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1483 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1484 PyObject
*resultobj
;
1485 wxSize
*arg1
= (wxSize
*) 0 ;
1486 PyObject
* obj0
= 0 ;
1488 (char *) "self", NULL
1491 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1492 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1497 wxPyEndAllowThreads(__tstate
);
1498 if (PyErr_Occurred()) SWIG_fail
;
1500 Py_INCREF(Py_None
); resultobj
= Py_None
;
1507 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1508 PyObject
*resultobj
;
1509 wxSize
*arg1
= (wxSize
*) 0 ;
1513 PyObject
* obj0
= 0 ;
1514 PyObject
* obj1
= 0 ;
1516 (char *) "self",(char *) "sz", NULL
1519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1523 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1527 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1529 wxPyEndAllowThreads(__tstate
);
1530 if (PyErr_Occurred()) SWIG_fail
;
1532 resultobj
= PyInt_FromLong((long)result
);
1539 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1540 PyObject
*resultobj
;
1541 wxSize
*arg1
= (wxSize
*) 0 ;
1545 PyObject
* obj0
= 0 ;
1546 PyObject
* obj1
= 0 ;
1548 (char *) "self",(char *) "sz", NULL
1551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1555 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1559 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1561 wxPyEndAllowThreads(__tstate
);
1562 if (PyErr_Occurred()) SWIG_fail
;
1564 resultobj
= PyInt_FromLong((long)result
);
1571 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1572 PyObject
*resultobj
;
1573 wxSize
*arg1
= (wxSize
*) 0 ;
1577 PyObject
* obj0
= 0 ;
1578 PyObject
* obj1
= 0 ;
1580 (char *) "self",(char *) "sz", NULL
1583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1591 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1593 wxPyEndAllowThreads(__tstate
);
1594 if (PyErr_Occurred()) SWIG_fail
;
1598 resultptr
= new wxSize((wxSize
&) result
);
1599 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1607 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1608 PyObject
*resultobj
;
1609 wxSize
*arg1
= (wxSize
*) 0 ;
1613 PyObject
* obj0
= 0 ;
1614 PyObject
* obj1
= 0 ;
1616 (char *) "self",(char *) "sz", NULL
1619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1623 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1627 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1629 wxPyEndAllowThreads(__tstate
);
1630 if (PyErr_Occurred()) SWIG_fail
;
1634 resultptr
= new wxSize((wxSize
&) result
);
1635 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1643 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1644 PyObject
*resultobj
;
1645 wxSize
*arg1
= (wxSize
*) 0 ;
1648 PyObject
* obj0
= 0 ;
1649 PyObject
* obj1
= 0 ;
1651 (char *) "self",(char *) "sz", NULL
1654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1662 (arg1
)->IncTo((wxSize
const &)*arg2
);
1664 wxPyEndAllowThreads(__tstate
);
1665 if (PyErr_Occurred()) SWIG_fail
;
1667 Py_INCREF(Py_None
); resultobj
= Py_None
;
1674 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1675 PyObject
*resultobj
;
1676 wxSize
*arg1
= (wxSize
*) 0 ;
1679 PyObject
* obj0
= 0 ;
1680 PyObject
* obj1
= 0 ;
1682 (char *) "self",(char *) "sz", NULL
1685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1689 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1693 (arg1
)->DecTo((wxSize
const &)*arg2
);
1695 wxPyEndAllowThreads(__tstate
);
1696 if (PyErr_Occurred()) SWIG_fail
;
1698 Py_INCREF(Py_None
); resultobj
= Py_None
;
1705 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1706 PyObject
*resultobj
;
1707 wxSize
*arg1
= (wxSize
*) 0 ;
1710 PyObject
* obj0
= 0 ;
1712 (char *) "self",(char *) "w",(char *) "h", NULL
1715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1719 (arg1
)->Set(arg2
,arg3
);
1721 wxPyEndAllowThreads(__tstate
);
1722 if (PyErr_Occurred()) SWIG_fail
;
1724 Py_INCREF(Py_None
); resultobj
= Py_None
;
1731 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1732 PyObject
*resultobj
;
1733 wxSize
*arg1
= (wxSize
*) 0 ;
1735 PyObject
* obj0
= 0 ;
1737 (char *) "self",(char *) "w", NULL
1740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1744 (arg1
)->SetWidth(arg2
);
1746 wxPyEndAllowThreads(__tstate
);
1747 if (PyErr_Occurred()) SWIG_fail
;
1749 Py_INCREF(Py_None
); resultobj
= Py_None
;
1756 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1757 PyObject
*resultobj
;
1758 wxSize
*arg1
= (wxSize
*) 0 ;
1760 PyObject
* obj0
= 0 ;
1762 (char *) "self",(char *) "h", NULL
1765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1769 (arg1
)->SetHeight(arg2
);
1771 wxPyEndAllowThreads(__tstate
);
1772 if (PyErr_Occurred()) SWIG_fail
;
1774 Py_INCREF(Py_None
); resultobj
= Py_None
;
1781 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1782 PyObject
*resultobj
;
1783 wxSize
*arg1
= (wxSize
*) 0 ;
1785 PyObject
* obj0
= 0 ;
1787 (char *) "self", NULL
1790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1794 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1796 wxPyEndAllowThreads(__tstate
);
1797 if (PyErr_Occurred()) SWIG_fail
;
1799 resultobj
= PyInt_FromLong((long)result
);
1806 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1807 PyObject
*resultobj
;
1808 wxSize
*arg1
= (wxSize
*) 0 ;
1810 PyObject
* obj0
= 0 ;
1812 (char *) "self", NULL
1815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1819 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1821 wxPyEndAllowThreads(__tstate
);
1822 if (PyErr_Occurred()) SWIG_fail
;
1824 resultobj
= PyInt_FromLong((long)result
);
1831 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1832 PyObject
*resultobj
;
1833 wxSize
*arg1
= (wxSize
*) 0 ;
1835 PyObject
* obj0
= 0 ;
1837 (char *) "self", NULL
1840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
1841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1844 result
= (PyObject
*)wxSize_Get(arg1
);
1846 wxPyEndAllowThreads(__tstate
);
1847 if (PyErr_Occurred()) SWIG_fail
;
1856 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1858 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1859 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1861 return Py_BuildValue((char *)"");
1863 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1864 PyObject
*resultobj
;
1865 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1867 PyObject
* obj0
= 0 ;
1869 (char *) "self",(char *) "x", NULL
1872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1874 if (arg1
) (arg1
)->x
= arg2
;
1876 Py_INCREF(Py_None
); resultobj
= Py_None
;
1883 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1884 PyObject
*resultobj
;
1885 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1887 PyObject
* obj0
= 0 ;
1889 (char *) "self", NULL
1892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1894 result
= (double) ((arg1
)->x
);
1896 resultobj
= PyFloat_FromDouble(result
);
1903 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1904 PyObject
*resultobj
;
1905 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1907 PyObject
* obj0
= 0 ;
1909 (char *) "self",(char *) "y", NULL
1912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1914 if (arg1
) (arg1
)->y
= arg2
;
1916 Py_INCREF(Py_None
); resultobj
= Py_None
;
1923 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1924 PyObject
*resultobj
;
1925 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1927 PyObject
* obj0
= 0 ;
1929 (char *) "self", NULL
1932 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1933 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1934 result
= (double) ((arg1
)->y
);
1936 resultobj
= PyFloat_FromDouble(result
);
1943 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1944 PyObject
*resultobj
;
1945 double arg1
= (double) 0.0 ;
1946 double arg2
= (double) 0.0 ;
1947 wxRealPoint
*result
;
1949 (char *) "x",(char *) "y", NULL
1952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
1954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1955 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
1957 wxPyEndAllowThreads(__tstate
);
1958 if (PyErr_Occurred()) SWIG_fail
;
1960 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
1967 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1968 PyObject
*resultobj
;
1969 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1970 PyObject
* obj0
= 0 ;
1972 (char *) "self", NULL
1975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
1976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1981 wxPyEndAllowThreads(__tstate
);
1982 if (PyErr_Occurred()) SWIG_fail
;
1984 Py_INCREF(Py_None
); resultobj
= Py_None
;
1991 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1992 PyObject
*resultobj
;
1993 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1994 wxRealPoint
*arg2
= 0 ;
1997 PyObject
* obj0
= 0 ;
1998 PyObject
* obj1
= 0 ;
2000 (char *) "self",(char *) "pt", NULL
2003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2007 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2011 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2013 wxPyEndAllowThreads(__tstate
);
2014 if (PyErr_Occurred()) SWIG_fail
;
2016 resultobj
= PyInt_FromLong((long)result
);
2023 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2024 PyObject
*resultobj
;
2025 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2026 wxRealPoint
*arg2
= 0 ;
2029 PyObject
* obj0
= 0 ;
2030 PyObject
* obj1
= 0 ;
2032 (char *) "self",(char *) "pt", NULL
2035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2039 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2043 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2045 wxPyEndAllowThreads(__tstate
);
2046 if (PyErr_Occurred()) SWIG_fail
;
2048 resultobj
= PyInt_FromLong((long)result
);
2055 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2056 PyObject
*resultobj
;
2057 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2058 wxRealPoint
*arg2
= 0 ;
2061 PyObject
* obj0
= 0 ;
2062 PyObject
* obj1
= 0 ;
2064 (char *) "self",(char *) "pt", NULL
2067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2071 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2075 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2077 wxPyEndAllowThreads(__tstate
);
2078 if (PyErr_Occurred()) SWIG_fail
;
2081 wxRealPoint
* resultptr
;
2082 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2083 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2091 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2092 PyObject
*resultobj
;
2093 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2094 wxRealPoint
*arg2
= 0 ;
2097 PyObject
* obj0
= 0 ;
2098 PyObject
* obj1
= 0 ;
2100 (char *) "self",(char *) "pt", NULL
2103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2107 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2111 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2113 wxPyEndAllowThreads(__tstate
);
2114 if (PyErr_Occurred()) SWIG_fail
;
2117 wxRealPoint
* resultptr
;
2118 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2119 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2127 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2128 PyObject
*resultobj
;
2129 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2132 PyObject
* obj0
= 0 ;
2134 (char *) "self",(char *) "x",(char *) "y", NULL
2137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2141 wxRealPoint_Set(arg1
,arg2
,arg3
);
2143 wxPyEndAllowThreads(__tstate
);
2144 if (PyErr_Occurred()) SWIG_fail
;
2146 Py_INCREF(Py_None
); resultobj
= Py_None
;
2153 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2154 PyObject
*resultobj
;
2155 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2157 PyObject
* obj0
= 0 ;
2159 (char *) "self", NULL
2162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2166 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2168 wxPyEndAllowThreads(__tstate
);
2169 if (PyErr_Occurred()) SWIG_fail
;
2178 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2180 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2181 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2183 return Py_BuildValue((char *)"");
2185 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2186 PyObject
*resultobj
;
2187 wxPoint
*arg1
= (wxPoint
*) 0 ;
2189 PyObject
* obj0
= 0 ;
2191 (char *) "self",(char *) "x", NULL
2194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2196 if (arg1
) (arg1
)->x
= arg2
;
2198 Py_INCREF(Py_None
); resultobj
= Py_None
;
2205 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2206 PyObject
*resultobj
;
2207 wxPoint
*arg1
= (wxPoint
*) 0 ;
2209 PyObject
* obj0
= 0 ;
2211 (char *) "self", NULL
2214 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2215 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2216 result
= (int) ((arg1
)->x
);
2218 resultobj
= PyInt_FromLong((long)result
);
2225 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2226 PyObject
*resultobj
;
2227 wxPoint
*arg1
= (wxPoint
*) 0 ;
2229 PyObject
* obj0
= 0 ;
2231 (char *) "self",(char *) "y", NULL
2234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2236 if (arg1
) (arg1
)->y
= arg2
;
2238 Py_INCREF(Py_None
); resultobj
= Py_None
;
2245 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2246 PyObject
*resultobj
;
2247 wxPoint
*arg1
= (wxPoint
*) 0 ;
2249 PyObject
* obj0
= 0 ;
2251 (char *) "self", NULL
2254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2256 result
= (int) ((arg1
)->y
);
2258 resultobj
= PyInt_FromLong((long)result
);
2265 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2266 PyObject
*resultobj
;
2267 int arg1
= (int) 0 ;
2268 int arg2
= (int) 0 ;
2271 (char *) "x",(char *) "y", NULL
2274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2277 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2279 wxPyEndAllowThreads(__tstate
);
2280 if (PyErr_Occurred()) SWIG_fail
;
2282 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2289 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2290 PyObject
*resultobj
;
2291 wxPoint
*arg1
= (wxPoint
*) 0 ;
2292 PyObject
* obj0
= 0 ;
2294 (char *) "self", NULL
2297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2303 wxPyEndAllowThreads(__tstate
);
2304 if (PyErr_Occurred()) SWIG_fail
;
2306 Py_INCREF(Py_None
); resultobj
= Py_None
;
2313 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2314 PyObject
*resultobj
;
2315 wxPoint
*arg1
= (wxPoint
*) 0 ;
2319 PyObject
* obj0
= 0 ;
2320 PyObject
* obj1
= 0 ;
2322 (char *) "self",(char *) "pt", NULL
2325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2329 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2333 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2335 wxPyEndAllowThreads(__tstate
);
2336 if (PyErr_Occurred()) SWIG_fail
;
2338 resultobj
= PyInt_FromLong((long)result
);
2345 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2346 PyObject
*resultobj
;
2347 wxPoint
*arg1
= (wxPoint
*) 0 ;
2351 PyObject
* obj0
= 0 ;
2352 PyObject
* obj1
= 0 ;
2354 (char *) "self",(char *) "pt", NULL
2357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2361 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2365 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2367 wxPyEndAllowThreads(__tstate
);
2368 if (PyErr_Occurred()) SWIG_fail
;
2370 resultobj
= PyInt_FromLong((long)result
);
2377 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2378 PyObject
*resultobj
;
2379 wxPoint
*arg1
= (wxPoint
*) 0 ;
2383 PyObject
* obj0
= 0 ;
2384 PyObject
* obj1
= 0 ;
2386 (char *) "self",(char *) "pt", NULL
2389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2397 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2399 wxPyEndAllowThreads(__tstate
);
2400 if (PyErr_Occurred()) SWIG_fail
;
2403 wxPoint
* resultptr
;
2404 resultptr
= new wxPoint((wxPoint
&) result
);
2405 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2413 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2414 PyObject
*resultobj
;
2415 wxPoint
*arg1
= (wxPoint
*) 0 ;
2419 PyObject
* obj0
= 0 ;
2420 PyObject
* obj1
= 0 ;
2422 (char *) "self",(char *) "pt", NULL
2425 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2426 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2433 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2435 wxPyEndAllowThreads(__tstate
);
2436 if (PyErr_Occurred()) SWIG_fail
;
2439 wxPoint
* resultptr
;
2440 resultptr
= new wxPoint((wxPoint
&) result
);
2441 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2449 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2450 PyObject
*resultobj
;
2451 wxPoint
*arg1
= (wxPoint
*) 0 ;
2455 PyObject
* obj0
= 0 ;
2456 PyObject
* obj1
= 0 ;
2458 (char *) "self",(char *) "pt", NULL
2461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2470 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2471 result
= (wxPoint
*) &_result_ref
;
2474 wxPyEndAllowThreads(__tstate
);
2475 if (PyErr_Occurred()) SWIG_fail
;
2477 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2484 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2485 PyObject
*resultobj
;
2486 wxPoint
*arg1
= (wxPoint
*) 0 ;
2490 PyObject
* obj0
= 0 ;
2491 PyObject
* obj1
= 0 ;
2493 (char *) "self",(char *) "pt", NULL
2496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2500 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2505 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2506 result
= (wxPoint
*) &_result_ref
;
2509 wxPyEndAllowThreads(__tstate
);
2510 if (PyErr_Occurred()) SWIG_fail
;
2512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2519 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2520 PyObject
*resultobj
;
2521 wxPoint
*arg1
= (wxPoint
*) 0 ;
2524 PyObject
* obj0
= 0 ;
2526 (char *) "self",(char *) "x",(char *) "y", NULL
2529 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2530 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2533 wxPoint_Set(arg1
,arg2
,arg3
);
2535 wxPyEndAllowThreads(__tstate
);
2536 if (PyErr_Occurred()) SWIG_fail
;
2538 Py_INCREF(Py_None
); resultobj
= Py_None
;
2545 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2546 PyObject
*resultobj
;
2547 wxPoint
*arg1
= (wxPoint
*) 0 ;
2549 PyObject
* obj0
= 0 ;
2551 (char *) "self", NULL
2554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2558 result
= (PyObject
*)wxPoint_Get(arg1
);
2560 wxPyEndAllowThreads(__tstate
);
2561 if (PyErr_Occurred()) SWIG_fail
;
2570 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2572 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2573 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2575 return Py_BuildValue((char *)"");
2577 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2578 PyObject
*resultobj
;
2579 int arg1
= (int) 0 ;
2580 int arg2
= (int) 0 ;
2581 int arg3
= (int) 0 ;
2582 int arg4
= (int) 0 ;
2585 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2591 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2593 wxPyEndAllowThreads(__tstate
);
2594 if (PyErr_Occurred()) SWIG_fail
;
2596 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2603 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2604 PyObject
*resultobj
;
2610 PyObject
* obj0
= 0 ;
2611 PyObject
* obj1
= 0 ;
2613 (char *) "topLeft",(char *) "bottomRight", NULL
2616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2619 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2623 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2627 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2629 wxPyEndAllowThreads(__tstate
);
2630 if (PyErr_Occurred()) SWIG_fail
;
2632 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2639 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2640 PyObject
*resultobj
;
2646 PyObject
* obj0
= 0 ;
2647 PyObject
* obj1
= 0 ;
2649 (char *) "pos",(char *) "size", NULL
2652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2655 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2659 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2663 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2665 wxPyEndAllowThreads(__tstate
);
2666 if (PyErr_Occurred()) SWIG_fail
;
2668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2675 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2676 PyObject
*resultobj
;
2677 wxRect
*arg1
= (wxRect
*) 0 ;
2678 PyObject
* obj0
= 0 ;
2680 (char *) "self", NULL
2683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2689 wxPyEndAllowThreads(__tstate
);
2690 if (PyErr_Occurred()) SWIG_fail
;
2692 Py_INCREF(Py_None
); resultobj
= Py_None
;
2699 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2700 PyObject
*resultobj
;
2701 wxRect
*arg1
= (wxRect
*) 0 ;
2703 PyObject
* obj0
= 0 ;
2705 (char *) "self", NULL
2708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2712 result
= (int)((wxRect
const *)arg1
)->GetX();
2714 wxPyEndAllowThreads(__tstate
);
2715 if (PyErr_Occurred()) SWIG_fail
;
2717 resultobj
= PyInt_FromLong((long)result
);
2724 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2725 PyObject
*resultobj
;
2726 wxRect
*arg1
= (wxRect
*) 0 ;
2728 PyObject
* obj0
= 0 ;
2730 (char *) "self",(char *) "x", NULL
2733 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2734 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2739 wxPyEndAllowThreads(__tstate
);
2740 if (PyErr_Occurred()) SWIG_fail
;
2742 Py_INCREF(Py_None
); resultobj
= Py_None
;
2749 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2750 PyObject
*resultobj
;
2751 wxRect
*arg1
= (wxRect
*) 0 ;
2753 PyObject
* obj0
= 0 ;
2755 (char *) "self", NULL
2758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2759 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2762 result
= (int)(arg1
)->GetY();
2764 wxPyEndAllowThreads(__tstate
);
2765 if (PyErr_Occurred()) SWIG_fail
;
2767 resultobj
= PyInt_FromLong((long)result
);
2774 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2775 PyObject
*resultobj
;
2776 wxRect
*arg1
= (wxRect
*) 0 ;
2778 PyObject
* obj0
= 0 ;
2780 (char *) "self",(char *) "y", NULL
2783 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2784 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2789 wxPyEndAllowThreads(__tstate
);
2790 if (PyErr_Occurred()) SWIG_fail
;
2792 Py_INCREF(Py_None
); resultobj
= Py_None
;
2799 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2800 PyObject
*resultobj
;
2801 wxRect
*arg1
= (wxRect
*) 0 ;
2803 PyObject
* obj0
= 0 ;
2805 (char *) "self", NULL
2808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2812 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2814 wxPyEndAllowThreads(__tstate
);
2815 if (PyErr_Occurred()) SWIG_fail
;
2817 resultobj
= PyInt_FromLong((long)result
);
2824 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2825 PyObject
*resultobj
;
2826 wxRect
*arg1
= (wxRect
*) 0 ;
2828 PyObject
* obj0
= 0 ;
2830 (char *) "self",(char *) "w", NULL
2833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2837 (arg1
)->SetWidth(arg2
);
2839 wxPyEndAllowThreads(__tstate
);
2840 if (PyErr_Occurred()) SWIG_fail
;
2842 Py_INCREF(Py_None
); resultobj
= Py_None
;
2849 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2850 PyObject
*resultobj
;
2851 wxRect
*arg1
= (wxRect
*) 0 ;
2853 PyObject
* obj0
= 0 ;
2855 (char *) "self", NULL
2858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2862 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2864 wxPyEndAllowThreads(__tstate
);
2865 if (PyErr_Occurred()) SWIG_fail
;
2867 resultobj
= PyInt_FromLong((long)result
);
2874 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2875 PyObject
*resultobj
;
2876 wxRect
*arg1
= (wxRect
*) 0 ;
2878 PyObject
* obj0
= 0 ;
2880 (char *) "self",(char *) "h", NULL
2883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2887 (arg1
)->SetHeight(arg2
);
2889 wxPyEndAllowThreads(__tstate
);
2890 if (PyErr_Occurred()) SWIG_fail
;
2892 Py_INCREF(Py_None
); resultobj
= Py_None
;
2899 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2900 PyObject
*resultobj
;
2901 wxRect
*arg1
= (wxRect
*) 0 ;
2903 PyObject
* obj0
= 0 ;
2905 (char *) "self", NULL
2908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2912 result
= ((wxRect
const *)arg1
)->GetPosition();
2914 wxPyEndAllowThreads(__tstate
);
2915 if (PyErr_Occurred()) SWIG_fail
;
2918 wxPoint
* resultptr
;
2919 resultptr
= new wxPoint((wxPoint
&) result
);
2920 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2928 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2929 PyObject
*resultobj
;
2930 wxRect
*arg1
= (wxRect
*) 0 ;
2933 PyObject
* obj0
= 0 ;
2934 PyObject
* obj1
= 0 ;
2936 (char *) "self",(char *) "p", NULL
2939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2943 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2947 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
2949 wxPyEndAllowThreads(__tstate
);
2950 if (PyErr_Occurred()) SWIG_fail
;
2952 Py_INCREF(Py_None
); resultobj
= Py_None
;
2959 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2960 PyObject
*resultobj
;
2961 wxRect
*arg1
= (wxRect
*) 0 ;
2963 PyObject
* obj0
= 0 ;
2965 (char *) "self", NULL
2968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
2969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2972 result
= ((wxRect
const *)arg1
)->GetSize();
2974 wxPyEndAllowThreads(__tstate
);
2975 if (PyErr_Occurred()) SWIG_fail
;
2979 resultptr
= new wxSize((wxSize
&) result
);
2980 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
2988 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2989 PyObject
*resultobj
;
2990 wxRect
*arg1
= (wxRect
*) 0 ;
2993 PyObject
* obj0
= 0 ;
2994 PyObject
* obj1
= 0 ;
2996 (char *) "self",(char *) "s", NULL
2999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
3000 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3003 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3007 (arg1
)->SetSize((wxSize
const &)*arg2
);
3009 wxPyEndAllowThreads(__tstate
);
3010 if (PyErr_Occurred()) SWIG_fail
;
3012 Py_INCREF(Py_None
); resultobj
= Py_None
;
3019 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3020 PyObject
*resultobj
;
3021 wxRect
*arg1
= (wxRect
*) 0 ;
3023 PyObject
* obj0
= 0 ;
3025 (char *) "self", NULL
3028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3032 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3034 wxPyEndAllowThreads(__tstate
);
3035 if (PyErr_Occurred()) SWIG_fail
;
3037 resultobj
= PyInt_FromLong((long)result
);
3044 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3045 PyObject
*resultobj
;
3046 wxRect
*arg1
= (wxRect
*) 0 ;
3048 PyObject
* obj0
= 0 ;
3050 (char *) "self", NULL
3053 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3054 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3057 result
= (int)((wxRect
const *)arg1
)->GetTop();
3059 wxPyEndAllowThreads(__tstate
);
3060 if (PyErr_Occurred()) SWIG_fail
;
3062 resultobj
= PyInt_FromLong((long)result
);
3069 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3070 PyObject
*resultobj
;
3071 wxRect
*arg1
= (wxRect
*) 0 ;
3073 PyObject
* obj0
= 0 ;
3075 (char *) "self", NULL
3078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3082 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3084 wxPyEndAllowThreads(__tstate
);
3085 if (PyErr_Occurred()) SWIG_fail
;
3087 resultobj
= PyInt_FromLong((long)result
);
3094 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3095 PyObject
*resultobj
;
3096 wxRect
*arg1
= (wxRect
*) 0 ;
3098 PyObject
* obj0
= 0 ;
3100 (char *) "self", NULL
3103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3107 result
= (int)((wxRect
const *)arg1
)->GetRight();
3109 wxPyEndAllowThreads(__tstate
);
3110 if (PyErr_Occurred()) SWIG_fail
;
3112 resultobj
= PyInt_FromLong((long)result
);
3119 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3120 PyObject
*resultobj
;
3121 wxRect
*arg1
= (wxRect
*) 0 ;
3123 PyObject
* obj0
= 0 ;
3125 (char *) "self",(char *) "left", NULL
3128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3132 (arg1
)->SetLeft(arg2
);
3134 wxPyEndAllowThreads(__tstate
);
3135 if (PyErr_Occurred()) SWIG_fail
;
3137 Py_INCREF(Py_None
); resultobj
= Py_None
;
3144 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3145 PyObject
*resultobj
;
3146 wxRect
*arg1
= (wxRect
*) 0 ;
3148 PyObject
* obj0
= 0 ;
3150 (char *) "self",(char *) "right", NULL
3153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3157 (arg1
)->SetRight(arg2
);
3159 wxPyEndAllowThreads(__tstate
);
3160 if (PyErr_Occurred()) SWIG_fail
;
3162 Py_INCREF(Py_None
); resultobj
= Py_None
;
3169 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3170 PyObject
*resultobj
;
3171 wxRect
*arg1
= (wxRect
*) 0 ;
3173 PyObject
* obj0
= 0 ;
3175 (char *) "self",(char *) "top", NULL
3178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3182 (arg1
)->SetTop(arg2
);
3184 wxPyEndAllowThreads(__tstate
);
3185 if (PyErr_Occurred()) SWIG_fail
;
3187 Py_INCREF(Py_None
); resultobj
= Py_None
;
3194 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3195 PyObject
*resultobj
;
3196 wxRect
*arg1
= (wxRect
*) 0 ;
3198 PyObject
* obj0
= 0 ;
3200 (char *) "self",(char *) "bottom", NULL
3203 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3204 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3207 (arg1
)->SetBottom(arg2
);
3209 wxPyEndAllowThreads(__tstate
);
3210 if (PyErr_Occurred()) SWIG_fail
;
3212 Py_INCREF(Py_None
); resultobj
= Py_None
;
3219 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3220 PyObject
*resultobj
;
3221 wxRect
*arg1
= (wxRect
*) 0 ;
3225 PyObject
* obj0
= 0 ;
3227 (char *) "self",(char *) "dx",(char *) "dy", NULL
3230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3235 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3236 result
= (wxRect
*) &_result_ref
;
3239 wxPyEndAllowThreads(__tstate
);
3240 if (PyErr_Occurred()) SWIG_fail
;
3242 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3249 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3250 PyObject
*resultobj
;
3251 wxRect
*arg1
= (wxRect
*) 0 ;
3255 PyObject
* obj0
= 0 ;
3257 (char *) "self",(char *) "dx",(char *) "dy", NULL
3260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3265 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3266 result
= (wxRect
*) &_result_ref
;
3269 wxPyEndAllowThreads(__tstate
);
3270 if (PyErr_Occurred()) SWIG_fail
;
3272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3279 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3280 PyObject
*resultobj
;
3281 wxRect
*arg1
= (wxRect
*) 0 ;
3284 PyObject
* obj0
= 0 ;
3286 (char *) "self",(char *) "dx",(char *) "dy", NULL
3289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3293 (arg1
)->Offset(arg2
,arg3
);
3295 wxPyEndAllowThreads(__tstate
);
3296 if (PyErr_Occurred()) SWIG_fail
;
3298 Py_INCREF(Py_None
); resultobj
= Py_None
;
3305 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3306 PyObject
*resultobj
;
3307 wxRect
*arg1
= (wxRect
*) 0 ;
3310 PyObject
* obj0
= 0 ;
3311 PyObject
* obj1
= 0 ;
3313 (char *) "self",(char *) "pt", NULL
3316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3317 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3320 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3324 (arg1
)->Offset((wxPoint
const &)*arg2
);
3326 wxPyEndAllowThreads(__tstate
);
3327 if (PyErr_Occurred()) SWIG_fail
;
3329 Py_INCREF(Py_None
); resultobj
= Py_None
;
3336 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3337 PyObject
*resultobj
;
3338 wxRect
*arg1
= (wxRect
*) 0 ;
3342 PyObject
* obj0
= 0 ;
3343 PyObject
* obj1
= 0 ;
3345 (char *) "self",(char *) "rect", NULL
3348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3352 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3357 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3358 result
= (wxRect
*) &_result_ref
;
3361 wxPyEndAllowThreads(__tstate
);
3362 if (PyErr_Occurred()) SWIG_fail
;
3364 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3371 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3372 PyObject
*resultobj
;
3373 wxRect
*arg1
= (wxRect
*) 0 ;
3377 PyObject
* obj0
= 0 ;
3378 PyObject
* obj1
= 0 ;
3380 (char *) "self",(char *) "rect", NULL
3383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3387 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3391 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3393 wxPyEndAllowThreads(__tstate
);
3394 if (PyErr_Occurred()) SWIG_fail
;
3398 resultptr
= new wxRect((wxRect
&) result
);
3399 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3407 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3408 PyObject
*resultobj
;
3409 wxRect
*arg1
= (wxRect
*) 0 ;
3413 PyObject
* obj0
= 0 ;
3414 PyObject
* obj1
= 0 ;
3416 (char *) "self",(char *) "rect", NULL
3419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3423 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3428 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3429 result
= (wxRect
*) &_result_ref
;
3432 wxPyEndAllowThreads(__tstate
);
3433 if (PyErr_Occurred()) SWIG_fail
;
3435 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3442 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3443 PyObject
*resultobj
;
3444 wxRect
*arg1
= (wxRect
*) 0 ;
3448 PyObject
* obj0
= 0 ;
3449 PyObject
* obj1
= 0 ;
3451 (char *) "self",(char *) "rect", NULL
3454 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3455 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3458 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3462 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3464 wxPyEndAllowThreads(__tstate
);
3465 if (PyErr_Occurred()) SWIG_fail
;
3467 resultobj
= PyInt_FromLong((long)result
);
3474 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3475 PyObject
*resultobj
;
3476 wxRect
*arg1
= (wxRect
*) 0 ;
3480 PyObject
* obj0
= 0 ;
3481 PyObject
* obj1
= 0 ;
3483 (char *) "self",(char *) "rect", NULL
3486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3490 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3494 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3496 wxPyEndAllowThreads(__tstate
);
3497 if (PyErr_Occurred()) SWIG_fail
;
3499 resultobj
= PyInt_FromLong((long)result
);
3506 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3507 PyObject
*resultobj
;
3508 wxRect
*arg1
= (wxRect
*) 0 ;
3512 PyObject
* obj0
= 0 ;
3514 (char *) "self",(char *) "x",(char *) "y", NULL
3517 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3518 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3521 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3523 wxPyEndAllowThreads(__tstate
);
3524 if (PyErr_Occurred()) SWIG_fail
;
3526 resultobj
= PyInt_FromLong((long)result
);
3533 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3534 PyObject
*resultobj
;
3535 wxRect
*arg1
= (wxRect
*) 0 ;
3539 PyObject
* obj0
= 0 ;
3540 PyObject
* obj1
= 0 ;
3542 (char *) "self",(char *) "pt", NULL
3545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3549 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3553 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3555 wxPyEndAllowThreads(__tstate
);
3556 if (PyErr_Occurred()) SWIG_fail
;
3558 resultobj
= PyInt_FromLong((long)result
);
3565 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3566 PyObject
*resultobj
;
3567 wxRect
*arg1
= (wxRect
*) 0 ;
3571 PyObject
* obj0
= 0 ;
3572 PyObject
* obj1
= 0 ;
3574 (char *) "self",(char *) "rect", NULL
3577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3581 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3585 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3587 wxPyEndAllowThreads(__tstate
);
3588 if (PyErr_Occurred()) SWIG_fail
;
3590 resultobj
= PyInt_FromLong((long)result
);
3597 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3598 PyObject
*resultobj
;
3599 wxRect
*arg1
= (wxRect
*) 0 ;
3601 PyObject
* obj0
= 0 ;
3603 (char *) "self",(char *) "x", NULL
3606 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3607 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3608 if (arg1
) (arg1
)->x
= arg2
;
3610 Py_INCREF(Py_None
); resultobj
= Py_None
;
3617 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3618 PyObject
*resultobj
;
3619 wxRect
*arg1
= (wxRect
*) 0 ;
3621 PyObject
* obj0
= 0 ;
3623 (char *) "self", NULL
3626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3628 result
= (int) ((arg1
)->x
);
3630 resultobj
= PyInt_FromLong((long)result
);
3637 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3638 PyObject
*resultobj
;
3639 wxRect
*arg1
= (wxRect
*) 0 ;
3641 PyObject
* obj0
= 0 ;
3643 (char *) "self",(char *) "y", NULL
3646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3648 if (arg1
) (arg1
)->y
= arg2
;
3650 Py_INCREF(Py_None
); resultobj
= Py_None
;
3657 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3658 PyObject
*resultobj
;
3659 wxRect
*arg1
= (wxRect
*) 0 ;
3661 PyObject
* obj0
= 0 ;
3663 (char *) "self", NULL
3666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3668 result
= (int) ((arg1
)->y
);
3670 resultobj
= PyInt_FromLong((long)result
);
3677 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3678 PyObject
*resultobj
;
3679 wxRect
*arg1
= (wxRect
*) 0 ;
3681 PyObject
* obj0
= 0 ;
3683 (char *) "self",(char *) "width", NULL
3686 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3687 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3688 if (arg1
) (arg1
)->width
= arg2
;
3690 Py_INCREF(Py_None
); resultobj
= Py_None
;
3697 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3698 PyObject
*resultobj
;
3699 wxRect
*arg1
= (wxRect
*) 0 ;
3701 PyObject
* obj0
= 0 ;
3703 (char *) "self", NULL
3706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3708 result
= (int) ((arg1
)->width
);
3710 resultobj
= PyInt_FromLong((long)result
);
3717 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3718 PyObject
*resultobj
;
3719 wxRect
*arg1
= (wxRect
*) 0 ;
3721 PyObject
* obj0
= 0 ;
3723 (char *) "self",(char *) "height", NULL
3726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3728 if (arg1
) (arg1
)->height
= arg2
;
3730 Py_INCREF(Py_None
); resultobj
= Py_None
;
3737 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3738 PyObject
*resultobj
;
3739 wxRect
*arg1
= (wxRect
*) 0 ;
3741 PyObject
* obj0
= 0 ;
3743 (char *) "self", NULL
3746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3748 result
= (int) ((arg1
)->height
);
3750 resultobj
= PyInt_FromLong((long)result
);
3757 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3758 PyObject
*resultobj
;
3759 wxRect
*arg1
= (wxRect
*) 0 ;
3760 int arg2
= (int) 0 ;
3761 int arg3
= (int) 0 ;
3762 int arg4
= (int) 0 ;
3763 int arg5
= (int) 0 ;
3764 PyObject
* obj0
= 0 ;
3766 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3773 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3775 wxPyEndAllowThreads(__tstate
);
3776 if (PyErr_Occurred()) SWIG_fail
;
3778 Py_INCREF(Py_None
); resultobj
= Py_None
;
3785 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3786 PyObject
*resultobj
;
3787 wxRect
*arg1
= (wxRect
*) 0 ;
3789 PyObject
* obj0
= 0 ;
3791 (char *) "self", NULL
3794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
3795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3798 result
= (PyObject
*)wxRect_Get(arg1
);
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3810 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3812 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3813 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3815 return Py_BuildValue((char *)"");
3817 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3818 PyObject
*resultobj
;
3819 wxRect
*arg1
= (wxRect
*) 0 ;
3820 wxRect
*arg2
= (wxRect
*) 0 ;
3822 PyObject
* obj0
= 0 ;
3823 PyObject
* obj1
= 0 ;
3825 (char *) "r1",(char *) "r2", NULL
3828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3830 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3835 wxPyEndAllowThreads(__tstate
);
3836 if (PyErr_Occurred()) SWIG_fail
;
3845 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3846 PyObject
*resultobj
;
3847 double arg1
= (double) 0.0 ;
3848 double arg2
= (double) 0.0 ;
3851 (char *) "x",(char *) "y", NULL
3854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3857 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3859 wxPyEndAllowThreads(__tstate
);
3860 if (PyErr_Occurred()) SWIG_fail
;
3862 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3869 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3870 PyObject
*resultobj
;
3871 wxPoint2D
*arg1
= 0 ;
3874 PyObject
* obj0
= 0 ;
3879 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
3882 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
3885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3886 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
3888 wxPyEndAllowThreads(__tstate
);
3889 if (PyErr_Occurred()) SWIG_fail
;
3891 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3898 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3899 PyObject
*resultobj
;
3903 PyObject
* obj0
= 0 ;
3908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
3911 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
3914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3915 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
3917 wxPyEndAllowThreads(__tstate
);
3918 if (PyErr_Occurred()) SWIG_fail
;
3920 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3927 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3928 PyObject
*resultobj
;
3929 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3930 int *arg2
= (int *) 0 ;
3931 int *arg3
= (int *) 0 ;
3934 PyObject
* obj0
= 0 ;
3936 (char *) "self", NULL
3941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
3942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3945 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
3947 wxPyEndAllowThreads(__tstate
);
3948 if (PyErr_Occurred()) SWIG_fail
;
3950 Py_INCREF(Py_None
); resultobj
= Py_None
;
3952 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3953 resultobj
= t_output_helper(resultobj
,o
);
3956 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3957 resultobj
= t_output_helper(resultobj
,o
);
3965 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3966 PyObject
*resultobj
;
3967 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
3968 int *arg2
= (int *) 0 ;
3969 int *arg3
= (int *) 0 ;
3972 PyObject
* obj0
= 0 ;
3974 (char *) "self", NULL
3979 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
3980 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3983 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
3985 wxPyEndAllowThreads(__tstate
);
3986 if (PyErr_Occurred()) SWIG_fail
;
3988 Py_INCREF(Py_None
); resultobj
= Py_None
;
3990 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
3991 resultobj
= t_output_helper(resultobj
,o
);
3994 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
3995 resultobj
= t_output_helper(resultobj
,o
);
4003 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4004 PyObject
*resultobj
;
4005 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4007 PyObject
* obj0
= 0 ;
4009 (char *) "self", NULL
4012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4015 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4016 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4018 wxPyEndAllowThreads(__tstate
);
4019 if (PyErr_Occurred()) SWIG_fail
;
4021 resultobj
= PyFloat_FromDouble(result
);
4028 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4029 PyObject
*resultobj
;
4030 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4032 PyObject
* obj0
= 0 ;
4034 (char *) "self", NULL
4037 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4038 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4041 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4043 wxPyEndAllowThreads(__tstate
);
4044 if (PyErr_Occurred()) SWIG_fail
;
4046 resultobj
= PyFloat_FromDouble(result
);
4053 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4054 PyObject
*resultobj
;
4055 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4057 PyObject
* obj0
= 0 ;
4059 (char *) "self",(char *) "length", NULL
4062 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4063 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4066 (arg1
)->SetVectorLength(arg2
);
4068 wxPyEndAllowThreads(__tstate
);
4069 if (PyErr_Occurred()) SWIG_fail
;
4071 Py_INCREF(Py_None
); resultobj
= Py_None
;
4078 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4079 PyObject
*resultobj
;
4080 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4082 PyObject
* obj0
= 0 ;
4084 (char *) "self",(char *) "degrees", NULL
4087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4091 (arg1
)->SetVectorAngle(arg2
);
4093 wxPyEndAllowThreads(__tstate
);
4094 if (PyErr_Occurred()) SWIG_fail
;
4096 Py_INCREF(Py_None
); resultobj
= Py_None
;
4103 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4104 PyObject
*resultobj
;
4105 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4106 wxPoint2D
*arg2
= 0 ;
4109 PyObject
* obj0
= 0 ;
4110 PyObject
* obj1
= 0 ;
4112 (char *) "self",(char *) "pt", NULL
4115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4119 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4123 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4125 wxPyEndAllowThreads(__tstate
);
4126 if (PyErr_Occurred()) SWIG_fail
;
4128 resultobj
= PyFloat_FromDouble(result
);
4135 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4136 PyObject
*resultobj
;
4137 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4138 wxPoint2D
*arg2
= 0 ;
4141 PyObject
* obj0
= 0 ;
4142 PyObject
* obj1
= 0 ;
4144 (char *) "self",(char *) "pt", NULL
4147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4151 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4155 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4157 wxPyEndAllowThreads(__tstate
);
4158 if (PyErr_Occurred()) SWIG_fail
;
4160 resultobj
= PyFloat_FromDouble(result
);
4167 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4168 PyObject
*resultobj
;
4169 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4170 wxPoint2D
*arg2
= 0 ;
4173 PyObject
* obj0
= 0 ;
4174 PyObject
* obj1
= 0 ;
4176 (char *) "self",(char *) "vec", NULL
4179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4183 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4187 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4189 wxPyEndAllowThreads(__tstate
);
4190 if (PyErr_Occurred()) SWIG_fail
;
4192 resultobj
= PyFloat_FromDouble(result
);
4199 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4200 PyObject
*resultobj
;
4201 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4202 wxPoint2D
*arg2
= 0 ;
4205 PyObject
* obj0
= 0 ;
4206 PyObject
* obj1
= 0 ;
4208 (char *) "self",(char *) "vec", NULL
4211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4212 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4215 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4219 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4221 wxPyEndAllowThreads(__tstate
);
4222 if (PyErr_Occurred()) SWIG_fail
;
4224 resultobj
= PyFloat_FromDouble(result
);
4231 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4232 PyObject
*resultobj
;
4233 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4235 PyObject
* obj0
= 0 ;
4237 (char *) "self", NULL
4240 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4241 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4244 result
= (arg1
)->operator -();
4246 wxPyEndAllowThreads(__tstate
);
4247 if (PyErr_Occurred()) SWIG_fail
;
4250 wxPoint2D
* resultptr
;
4251 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4252 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4260 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4261 PyObject
*resultobj
;
4262 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4263 wxPoint2D
*arg2
= 0 ;
4266 PyObject
* obj0
= 0 ;
4267 PyObject
* obj1
= 0 ;
4269 (char *) "self",(char *) "pt", NULL
4272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4276 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4281 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4282 result
= (wxPoint2D
*) &_result_ref
;
4285 wxPyEndAllowThreads(__tstate
);
4286 if (PyErr_Occurred()) SWIG_fail
;
4288 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4295 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4296 PyObject
*resultobj
;
4297 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4298 wxPoint2D
*arg2
= 0 ;
4301 PyObject
* obj0
= 0 ;
4302 PyObject
* obj1
= 0 ;
4304 (char *) "self",(char *) "pt", NULL
4307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4311 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4316 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4317 result
= (wxPoint2D
*) &_result_ref
;
4320 wxPyEndAllowThreads(__tstate
);
4321 if (PyErr_Occurred()) SWIG_fail
;
4323 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4330 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4331 PyObject
*resultobj
;
4332 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4333 wxPoint2D
*arg2
= 0 ;
4336 PyObject
* obj0
= 0 ;
4337 PyObject
* obj1
= 0 ;
4339 (char *) "self",(char *) "pt", NULL
4342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4346 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4351 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4352 result
= (wxPoint2D
*) &_result_ref
;
4355 wxPyEndAllowThreads(__tstate
);
4356 if (PyErr_Occurred()) SWIG_fail
;
4358 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4365 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4366 PyObject
*resultobj
;
4367 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4368 wxPoint2D
*arg2
= 0 ;
4371 PyObject
* obj0
= 0 ;
4372 PyObject
* obj1
= 0 ;
4374 (char *) "self",(char *) "pt", NULL
4377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4381 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4386 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4387 result
= (wxPoint2D
*) &_result_ref
;
4390 wxPyEndAllowThreads(__tstate
);
4391 if (PyErr_Occurred()) SWIG_fail
;
4393 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4400 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4401 PyObject
*resultobj
;
4402 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4403 wxPoint2D
*arg2
= 0 ;
4406 PyObject
* obj0
= 0 ;
4407 PyObject
* obj1
= 0 ;
4409 (char *) "self",(char *) "pt", NULL
4412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4416 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4420 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4422 wxPyEndAllowThreads(__tstate
);
4423 if (PyErr_Occurred()) SWIG_fail
;
4425 resultobj
= PyInt_FromLong((long)result
);
4432 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4433 PyObject
*resultobj
;
4434 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4435 wxPoint2D
*arg2
= 0 ;
4438 PyObject
* obj0
= 0 ;
4439 PyObject
* obj1
= 0 ;
4441 (char *) "self",(char *) "pt", NULL
4444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4445 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4448 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4452 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4454 wxPyEndAllowThreads(__tstate
);
4455 if (PyErr_Occurred()) SWIG_fail
;
4457 resultobj
= PyInt_FromLong((long)result
);
4464 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4465 PyObject
*resultobj
;
4466 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4468 PyObject
* obj0
= 0 ;
4470 (char *) "self",(char *) "m_x", NULL
4473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4475 if (arg1
) (arg1
)->m_x
= arg2
;
4477 Py_INCREF(Py_None
); resultobj
= Py_None
;
4484 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4488 PyObject
* obj0
= 0 ;
4490 (char *) "self", NULL
4493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4494 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4495 result
= (double) ((arg1
)->m_x
);
4497 resultobj
= PyFloat_FromDouble(result
);
4504 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4505 PyObject
*resultobj
;
4506 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4508 PyObject
* obj0
= 0 ;
4510 (char *) "self",(char *) "m_y", NULL
4513 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4514 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4515 if (arg1
) (arg1
)->m_y
= arg2
;
4517 Py_INCREF(Py_None
); resultobj
= Py_None
;
4524 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4525 PyObject
*resultobj
;
4526 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4528 PyObject
* obj0
= 0 ;
4530 (char *) "self", NULL
4533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4535 result
= (double) ((arg1
)->m_y
);
4537 resultobj
= PyFloat_FromDouble(result
);
4544 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4545 PyObject
*resultobj
;
4546 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4547 double arg2
= (double) 0 ;
4548 double arg3
= (double) 0 ;
4549 PyObject
* obj0
= 0 ;
4551 (char *) "self",(char *) "x",(char *) "y", NULL
4554 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4555 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4558 wxPoint2D_Set(arg1
,arg2
,arg3
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 Py_INCREF(Py_None
); resultobj
= Py_None
;
4570 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4571 PyObject
*resultobj
;
4572 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4576 (char *) "self", NULL
4579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
4580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4583 result
= (PyObject
*)wxPoint2D_Get(arg1
);
4585 wxPyEndAllowThreads(__tstate
);
4586 if (PyErr_Occurred()) SWIG_fail
;
4595 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4597 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4598 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4600 return Py_BuildValue((char *)"");
4602 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4603 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4608 static PyObject
*_wrap_DefaultPosition_get() {
4611 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4616 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4617 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4622 static PyObject
*_wrap_DefaultSize_get() {
4625 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4630 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4631 PyObject
*resultobj
;
4632 PyObject
*arg1
= (PyObject
*) 0 ;
4633 wxPyInputStream
*result
;
4634 PyObject
* obj0
= 0 ;
4639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4643 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4645 wxPyEndAllowThreads(__tstate
);
4646 if (PyErr_Occurred()) SWIG_fail
;
4648 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4655 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4656 PyObject
*resultobj
;
4657 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4658 PyObject
* obj0
= 0 ;
4660 (char *) "self", NULL
4663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4669 wxPyEndAllowThreads(__tstate
);
4670 if (PyErr_Occurred()) SWIG_fail
;
4672 Py_INCREF(Py_None
); resultobj
= Py_None
;
4679 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4680 PyObject
*resultobj
;
4681 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4682 PyObject
* obj0
= 0 ;
4684 (char *) "self", NULL
4687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 wxPyEndAllowThreads(__tstate
);
4694 if (PyErr_Occurred()) SWIG_fail
;
4696 Py_INCREF(Py_None
); resultobj
= Py_None
;
4703 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4704 PyObject
*resultobj
;
4705 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4707 PyObject
* obj0
= 0 ;
4709 (char *) "self", NULL
4712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4716 result
= (bool)(arg1
)->eof();
4718 wxPyEndAllowThreads(__tstate
);
4719 if (PyErr_Occurred()) SWIG_fail
;
4721 resultobj
= PyInt_FromLong((long)result
);
4728 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4729 PyObject
*resultobj
;
4730 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4731 int arg2
= (int) -1 ;
4733 PyObject
* obj0
= 0 ;
4735 (char *) "self",(char *) "size", NULL
4738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4742 result
= (PyObject
*)(arg1
)->read(arg2
);
4744 wxPyEndAllowThreads(__tstate
);
4745 if (PyErr_Occurred()) SWIG_fail
;
4754 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4755 PyObject
*resultobj
;
4756 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4757 int arg2
= (int) -1 ;
4759 PyObject
* obj0
= 0 ;
4761 (char *) "self",(char *) "size", NULL
4764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (PyObject
*)(arg1
)->readline(arg2
);
4770 wxPyEndAllowThreads(__tstate
);
4771 if (PyErr_Occurred()) SWIG_fail
;
4780 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4781 PyObject
*resultobj
;
4782 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4783 int arg2
= (int) -1 ;
4785 PyObject
* obj0
= 0 ;
4787 (char *) "self",(char *) "sizehint", NULL
4790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4794 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4796 wxPyEndAllowThreads(__tstate
);
4797 if (PyErr_Occurred()) SWIG_fail
;
4806 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4807 PyObject
*resultobj
;
4808 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4810 int arg3
= (int) 0 ;
4811 PyObject
* obj0
= 0 ;
4813 (char *) "self",(char *) "offset",(char *) "whence", NULL
4816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4817 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4820 (arg1
)->seek(arg2
,arg3
);
4822 wxPyEndAllowThreads(__tstate
);
4823 if (PyErr_Occurred()) SWIG_fail
;
4825 Py_INCREF(Py_None
); resultobj
= Py_None
;
4832 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4833 PyObject
*resultobj
;
4834 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4836 PyObject
* obj0
= 0 ;
4838 (char *) "self", NULL
4841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4845 result
= (int)(arg1
)->tell();
4847 wxPyEndAllowThreads(__tstate
);
4848 if (PyErr_Occurred()) SWIG_fail
;
4850 resultobj
= PyInt_FromLong((long)result
);
4857 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4858 PyObject
*resultobj
;
4859 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4861 PyObject
* obj0
= 0 ;
4863 (char *) "self", NULL
4866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
4867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4870 result
= (char)(arg1
)->Peek();
4872 wxPyEndAllowThreads(__tstate
);
4873 if (PyErr_Occurred()) SWIG_fail
;
4875 resultobj
= Py_BuildValue((char*)"c",result
);
4882 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4883 PyObject
*resultobj
;
4884 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4886 PyObject
* obj0
= 0 ;
4888 (char *) "self", NULL
4891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
4892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4895 result
= (char)(arg1
)->GetC();
4897 wxPyEndAllowThreads(__tstate
);
4898 if (PyErr_Occurred()) SWIG_fail
;
4900 resultobj
= Py_BuildValue((char*)"c",result
);
4907 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4908 PyObject
*resultobj
;
4909 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4911 PyObject
* obj0
= 0 ;
4913 (char *) "self", NULL
4916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
4917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4920 result
= (size_t)(arg1
)->LastRead();
4922 wxPyEndAllowThreads(__tstate
);
4923 if (PyErr_Occurred()) SWIG_fail
;
4925 resultobj
= PyInt_FromLong((long)result
);
4932 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4933 PyObject
*resultobj
;
4934 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4936 PyObject
* obj0
= 0 ;
4938 (char *) "self", NULL
4941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
4942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4945 result
= (bool)(arg1
)->CanRead();
4947 wxPyEndAllowThreads(__tstate
);
4948 if (PyErr_Occurred()) SWIG_fail
;
4950 resultobj
= PyInt_FromLong((long)result
);
4957 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4958 PyObject
*resultobj
;
4959 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4961 PyObject
* obj0
= 0 ;
4963 (char *) "self", NULL
4966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
4967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4970 result
= (bool)(arg1
)->Eof();
4972 wxPyEndAllowThreads(__tstate
);
4973 if (PyErr_Occurred()) SWIG_fail
;
4975 resultobj
= PyInt_FromLong((long)result
);
4982 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4983 PyObject
*resultobj
;
4984 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4987 PyObject
* obj0
= 0 ;
4989 (char *) "self",(char *) "c", NULL
4992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
4993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4996 result
= (bool)(arg1
)->Ungetch(arg2
);
4998 wxPyEndAllowThreads(__tstate
);
4999 if (PyErr_Occurred()) SWIG_fail
;
5001 resultobj
= PyInt_FromLong((long)result
);
5008 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5009 PyObject
*resultobj
;
5010 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5012 int arg3
= (int) wxFromStart
;
5014 PyObject
* obj0
= 0 ;
5016 (char *) "self",(char *) "pos",(char *) "mode", NULL
5019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5023 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5025 wxPyEndAllowThreads(__tstate
);
5026 if (PyErr_Occurred()) SWIG_fail
;
5028 resultobj
= PyInt_FromLong((long)result
);
5035 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5036 PyObject
*resultobj
;
5037 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5039 PyObject
* obj0
= 0 ;
5041 (char *) "self", NULL
5044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5048 result
= (long)(arg1
)->TellI();
5050 wxPyEndAllowThreads(__tstate
);
5051 if (PyErr_Occurred()) SWIG_fail
;
5053 resultobj
= PyInt_FromLong((long)result
);
5060 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5062 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5063 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5065 return Py_BuildValue((char *)"");
5067 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5068 PyObject
*resultobj
;
5069 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5070 PyObject
*arg2
= (PyObject
*) 0 ;
5071 PyObject
* obj0
= 0 ;
5072 PyObject
* obj1
= 0 ;
5074 (char *) "self",(char *) "obj", NULL
5077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5082 wxOutputStream_write(arg1
,arg2
);
5084 wxPyEndAllowThreads(__tstate
);
5085 if (PyErr_Occurred()) SWIG_fail
;
5087 Py_INCREF(Py_None
); resultobj
= Py_None
;
5094 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5096 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5097 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5099 return Py_BuildValue((char *)"");
5101 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5104 wxString
*arg2
= 0 ;
5105 wxString
*arg3
= 0 ;
5106 wxString
*arg4
= 0 ;
5109 wxPyInputStream
*temp1
;
5111 bool temp2
= False
;
5112 bool temp3
= False
;
5113 bool temp4
= False
;
5115 PyObject
* obj0
= 0 ;
5116 PyObject
* obj1
= 0 ;
5117 PyObject
* obj2
= 0 ;
5118 PyObject
* obj3
= 0 ;
5119 PyObject
* obj4
= 0 ;
5121 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5126 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5127 arg1
= temp1
->m_wxis
;
5130 PyErr_Clear(); // clear the failure of the wxPyConvert above
5131 arg1
= wxPyCBInputStream_create(obj0
, False
);
5133 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5140 arg2
= wxString_in_helper(obj1
);
5141 if (arg2
== NULL
) SWIG_fail
;
5145 arg3
= wxString_in_helper(obj2
);
5146 if (arg3
== NULL
) SWIG_fail
;
5150 arg4
= wxString_in_helper(obj3
);
5151 if (arg4
== NULL
) SWIG_fail
;
5154 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5158 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5160 wxPyEndAllowThreads(__tstate
);
5161 if (PyErr_Occurred()) SWIG_fail
;
5164 resultobj
= wxPyMake_wxObject(result
);
5204 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
;
5206 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5207 PyObject
* obj0
= 0 ;
5209 (char *) "self", NULL
5212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5218 wxPyEndAllowThreads(__tstate
);
5219 if (PyErr_Occurred()) SWIG_fail
;
5221 Py_INCREF(Py_None
); resultobj
= Py_None
;
5228 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5229 PyObject
*resultobj
;
5230 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5231 wxInputStream
*result
;
5232 PyObject
* obj0
= 0 ;
5234 (char *) "self", NULL
5237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5241 result
= (wxInputStream
*)(arg1
)->GetStream();
5243 wxPyEndAllowThreads(__tstate
);
5244 if (PyErr_Occurred()) SWIG_fail
;
5247 wxPyInputStream
* _ptr
= NULL
;
5250 _ptr
= new wxPyInputStream(result
);
5252 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5260 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5261 PyObject
*resultobj
;
5262 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5264 PyObject
* obj0
= 0 ;
5266 (char *) "self", NULL
5269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5274 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5275 result
= (wxString
*) &_result_ref
;
5278 wxPyEndAllowThreads(__tstate
);
5279 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5285 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5294 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5295 PyObject
*resultobj
;
5296 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5298 PyObject
* obj0
= 0 ;
5300 (char *) "self", NULL
5303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5308 wxString
const &_result_ref
= (arg1
)->GetLocation();
5309 result
= (wxString
*) &_result_ref
;
5312 wxPyEndAllowThreads(__tstate
);
5313 if (PyErr_Occurred()) SWIG_fail
;
5317 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5319 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5328 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5329 PyObject
*resultobj
;
5330 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5332 PyObject
* obj0
= 0 ;
5334 (char *) "self", NULL
5337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5342 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5343 result
= (wxString
*) &_result_ref
;
5346 wxPyEndAllowThreads(__tstate
);
5347 if (PyErr_Occurred()) SWIG_fail
;
5351 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5353 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5362 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5363 PyObject
*resultobj
;
5364 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5366 PyObject
* obj0
= 0 ;
5368 (char *) "self", NULL
5371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5372 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5375 result
= (arg1
)->GetModificationTime();
5377 wxPyEndAllowThreads(__tstate
);
5378 if (PyErr_Occurred()) SWIG_fail
;
5381 wxDateTime
* resultptr
;
5382 resultptr
= new wxDateTime((wxDateTime
&) result
);
5383 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5391 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5394 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5396 return Py_BuildValue((char *)"");
5398 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5400 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5401 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5403 return Py_BuildValue((char *)"");
5405 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5406 PyObject
*resultobj
;
5407 wxPyFileSystemHandler
*result
;
5412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5415 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5417 wxPyEndAllowThreads(__tstate
);
5418 if (PyErr_Occurred()) SWIG_fail
;
5420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5427 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5428 PyObject
*resultobj
;
5429 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5430 PyObject
*arg2
= (PyObject
*) 0 ;
5431 PyObject
*arg3
= (PyObject
*) 0 ;
5432 PyObject
* obj0
= 0 ;
5433 PyObject
* obj1
= 0 ;
5434 PyObject
* obj2
= 0 ;
5436 (char *) "self",(char *) "self",(char *) "_class", NULL
5439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5445 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 Py_INCREF(Py_None
); resultobj
= Py_None
;
5457 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5458 PyObject
*resultobj
;
5459 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5460 wxString
*arg2
= 0 ;
5462 bool temp2
= False
;
5463 PyObject
* obj0
= 0 ;
5464 PyObject
* obj1
= 0 ;
5466 (char *) "self",(char *) "location", NULL
5469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5472 arg2
= wxString_in_helper(obj1
);
5473 if (arg2
== NULL
) SWIG_fail
;
5477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5478 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5480 wxPyEndAllowThreads(__tstate
);
5481 if (PyErr_Occurred()) SWIG_fail
;
5483 resultobj
= PyInt_FromLong((long)result
);
5498 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5499 PyObject
*resultobj
;
5500 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5501 wxFileSystem
*arg2
= 0 ;
5502 wxString
*arg3
= 0 ;
5504 bool temp3
= False
;
5505 PyObject
* obj0
= 0 ;
5506 PyObject
* obj1
= 0 ;
5507 PyObject
* obj2
= 0 ;
5509 (char *) "self",(char *) "fs",(char *) "location", NULL
5512 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5513 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5514 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5516 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5519 arg3
= wxString_in_helper(obj2
);
5520 if (arg3
== NULL
) SWIG_fail
;
5524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5525 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5527 wxPyEndAllowThreads(__tstate
);
5528 if (PyErr_Occurred()) SWIG_fail
;
5531 resultobj
= wxPyMake_wxObject(result
);
5547 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5548 PyObject
*resultobj
;
5549 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5550 wxString
*arg2
= 0 ;
5551 int arg3
= (int) 0 ;
5553 bool temp2
= False
;
5554 PyObject
* obj0
= 0 ;
5555 PyObject
* obj1
= 0 ;
5557 (char *) "self",(char *) "spec",(char *) "flags", NULL
5560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5563 arg2
= wxString_in_helper(obj1
);
5564 if (arg2
== NULL
) SWIG_fail
;
5568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5569 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5571 wxPyEndAllowThreads(__tstate
);
5572 if (PyErr_Occurred()) SWIG_fail
;
5576 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5578 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5595 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5596 PyObject
*resultobj
;
5597 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5599 PyObject
* obj0
= 0 ;
5601 (char *) "self", NULL
5604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5608 result
= (arg1
)->FindNext();
5610 wxPyEndAllowThreads(__tstate
);
5611 if (PyErr_Occurred()) SWIG_fail
;
5615 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5617 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5626 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5627 PyObject
*resultobj
;
5628 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5629 wxString
*arg2
= 0 ;
5631 bool temp2
= False
;
5632 PyObject
* obj0
= 0 ;
5633 PyObject
* obj1
= 0 ;
5635 (char *) "self",(char *) "location", NULL
5638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5641 arg2
= wxString_in_helper(obj1
);
5642 if (arg2
== NULL
) SWIG_fail
;
5646 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5647 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5649 wxPyEndAllowThreads(__tstate
);
5650 if (PyErr_Occurred()) SWIG_fail
;
5654 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5656 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5673 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5674 PyObject
*resultobj
;
5675 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5676 wxString
*arg2
= 0 ;
5678 bool temp2
= False
;
5679 PyObject
* obj0
= 0 ;
5680 PyObject
* obj1
= 0 ;
5682 (char *) "self",(char *) "location", NULL
5685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5688 arg2
= wxString_in_helper(obj1
);
5689 if (arg2
== NULL
) SWIG_fail
;
5693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5694 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5696 wxPyEndAllowThreads(__tstate
);
5697 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5703 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5720 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5721 PyObject
*resultobj
;
5722 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5723 wxString
*arg2
= 0 ;
5725 bool temp2
= False
;
5726 PyObject
* obj0
= 0 ;
5727 PyObject
* obj1
= 0 ;
5729 (char *) "self",(char *) "location", NULL
5732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5735 arg2
= wxString_in_helper(obj1
);
5736 if (arg2
== NULL
) SWIG_fail
;
5740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5741 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5743 wxPyEndAllowThreads(__tstate
);
5744 if (PyErr_Occurred()) SWIG_fail
;
5748 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5750 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5767 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5768 PyObject
*resultobj
;
5769 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5770 wxString
*arg2
= 0 ;
5772 bool temp2
= False
;
5773 PyObject
* obj0
= 0 ;
5774 PyObject
* obj1
= 0 ;
5776 (char *) "self",(char *) "location", NULL
5779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5782 arg2
= wxString_in_helper(obj1
);
5783 if (arg2
== NULL
) SWIG_fail
;
5787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5788 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5790 wxPyEndAllowThreads(__tstate
);
5791 if (PyErr_Occurred()) SWIG_fail
;
5795 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5797 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5814 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5815 PyObject
*resultobj
;
5816 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5817 wxString
*arg2
= 0 ;
5819 bool temp2
= False
;
5820 PyObject
* obj0
= 0 ;
5821 PyObject
* obj1
= 0 ;
5823 (char *) "self",(char *) "location", NULL
5826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5829 arg2
= wxString_in_helper(obj1
);
5830 if (arg2
== NULL
) SWIG_fail
;
5834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5835 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5837 wxPyEndAllowThreads(__tstate
);
5838 if (PyErr_Occurred()) SWIG_fail
;
5842 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5844 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5861 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5863 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5864 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5866 return Py_BuildValue((char *)"");
5868 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5869 PyObject
*resultobj
;
5870 wxFileSystem
*result
;
5875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5878 result
= (wxFileSystem
*)new wxFileSystem();
5880 wxPyEndAllowThreads(__tstate
);
5881 if (PyErr_Occurred()) SWIG_fail
;
5884 resultobj
= wxPyMake_wxObject(result
);
5892 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5893 PyObject
*resultobj
;
5894 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5895 PyObject
* obj0
= 0 ;
5897 (char *) "self", NULL
5900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
5901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5906 wxPyEndAllowThreads(__tstate
);
5907 if (PyErr_Occurred()) SWIG_fail
;
5909 Py_INCREF(Py_None
); resultobj
= Py_None
;
5916 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5917 PyObject
*resultobj
;
5918 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5919 wxString
*arg2
= 0 ;
5920 bool arg3
= (bool) False
;
5921 bool temp2
= False
;
5922 PyObject
* obj0
= 0 ;
5923 PyObject
* obj1
= 0 ;
5924 PyObject
* obj2
= 0 ;
5926 (char *) "self",(char *) "location",(char *) "is_dir", NULL
5929 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5930 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5932 arg2
= wxString_in_helper(obj1
);
5933 if (arg2
== NULL
) SWIG_fail
;
5937 arg3
= PyInt_AsLong(obj2
) ? true : false;
5938 if (PyErr_Occurred()) SWIG_fail
;
5941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5942 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
5944 wxPyEndAllowThreads(__tstate
);
5945 if (PyErr_Occurred()) SWIG_fail
;
5947 Py_INCREF(Py_None
); resultobj
= Py_None
;
5962 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5963 PyObject
*resultobj
;
5964 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5966 PyObject
* obj0
= 0 ;
5968 (char *) "self", NULL
5971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
5972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5975 result
= (arg1
)->GetPath();
5977 wxPyEndAllowThreads(__tstate
);
5978 if (PyErr_Occurred()) SWIG_fail
;
5982 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5984 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5993 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5994 PyObject
*resultobj
;
5995 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
5996 wxString
*arg2
= 0 ;
5998 bool temp2
= False
;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6002 (char *) "self",(char *) "location", NULL
6005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6008 arg2
= wxString_in_helper(obj1
);
6009 if (arg2
== NULL
) SWIG_fail
;
6013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6014 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6016 wxPyEndAllowThreads(__tstate
);
6017 if (PyErr_Occurred()) SWIG_fail
;
6020 resultobj
= wxPyMake_wxObject(result
);
6036 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6037 PyObject
*resultobj
;
6038 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6039 wxString
*arg2
= 0 ;
6040 int arg3
= (int) 0 ;
6042 bool temp2
= False
;
6043 PyObject
* obj0
= 0 ;
6044 PyObject
* obj1
= 0 ;
6046 (char *) "self",(char *) "spec",(char *) "flags", NULL
6049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6052 arg2
= wxString_in_helper(obj1
);
6053 if (arg2
== NULL
) SWIG_fail
;
6057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6058 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6065 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6067 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6084 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6085 PyObject
*resultobj
;
6086 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6088 PyObject
* obj0
= 0 ;
6090 (char *) "self", NULL
6093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6097 result
= (arg1
)->FindNext();
6099 wxPyEndAllowThreads(__tstate
);
6100 if (PyErr_Occurred()) SWIG_fail
;
6104 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6106 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6115 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6116 PyObject
*resultobj
;
6117 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6118 PyObject
* obj0
= 0 ;
6120 (char *) "handler", NULL
6123 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6124 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6127 wxFileSystem::AddHandler(arg1
);
6129 wxPyEndAllowThreads(__tstate
);
6130 if (PyErr_Occurred()) SWIG_fail
;
6132 Py_INCREF(Py_None
); resultobj
= Py_None
;
6139 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6140 PyObject
*resultobj
;
6145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6148 wxFileSystem::CleanUpHandlers();
6150 wxPyEndAllowThreads(__tstate
);
6151 if (PyErr_Occurred()) SWIG_fail
;
6153 Py_INCREF(Py_None
); resultobj
= Py_None
;
6160 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6161 PyObject
*resultobj
;
6162 wxString
*arg1
= 0 ;
6164 bool temp1
= False
;
6165 PyObject
* obj0
= 0 ;
6167 (char *) "filename", NULL
6170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6172 arg1
= wxString_in_helper(obj0
);
6173 if (arg1
== NULL
) SWIG_fail
;
6177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6178 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6180 wxPyEndAllowThreads(__tstate
);
6181 if (PyErr_Occurred()) SWIG_fail
;
6185 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6187 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6204 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6206 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6207 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6209 return Py_BuildValue((char *)"");
6211 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6212 PyObject
*resultobj
;
6213 wxString
*arg1
= 0 ;
6215 bool temp1
= False
;
6216 PyObject
* obj0
= 0 ;
6218 (char *) "url", NULL
6221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6223 arg1
= wxString_in_helper(obj0
);
6224 if (arg1
== NULL
) SWIG_fail
;
6228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6229 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6231 wxPyEndAllowThreads(__tstate
);
6232 if (PyErr_Occurred()) SWIG_fail
;
6236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6255 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6256 PyObject
*resultobj
;
6257 wxInternetFSHandler
*result
;
6262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6265 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6267 wxPyEndAllowThreads(__tstate
);
6268 if (PyErr_Occurred()) SWIG_fail
;
6270 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6277 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6278 PyObject
*resultobj
;
6279 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6280 wxString
*arg2
= 0 ;
6282 bool temp2
= False
;
6283 PyObject
* obj0
= 0 ;
6284 PyObject
* obj1
= 0 ;
6286 (char *) "self",(char *) "location", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6292 arg2
= wxString_in_helper(obj1
);
6293 if (arg2
== NULL
) SWIG_fail
;
6297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6298 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6300 wxPyEndAllowThreads(__tstate
);
6301 if (PyErr_Occurred()) SWIG_fail
;
6303 resultobj
= PyInt_FromLong((long)result
);
6318 static PyObject
*_wrap_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6319 PyObject
*resultobj
;
6320 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 0 ;
6321 wxFileSystem
*arg2
= 0 ;
6322 wxString
*arg3
= 0 ;
6324 bool temp3
= False
;
6325 PyObject
* obj0
= 0 ;
6326 PyObject
* obj1
= 0 ;
6327 PyObject
* obj2
= 0 ;
6329 (char *) "self",(char *) "fs",(char *) "location", NULL
6332 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6333 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6334 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6336 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6339 arg3
= wxString_in_helper(obj2
);
6340 if (arg3
== NULL
) SWIG_fail
;
6344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6345 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6347 wxPyEndAllowThreads(__tstate
);
6348 if (PyErr_Occurred()) SWIG_fail
;
6351 resultobj
= wxPyMake_wxObject(result
);
6367 static PyObject
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6369 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6370 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6372 return Py_BuildValue((char *)"");
6374 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxZipFSHandler
*result
;
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6396 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6399 wxString
*arg2
= 0 ;
6401 bool temp2
= False
;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6405 (char *) "self",(char *) "location", NULL
6408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6411 arg2
= wxString_in_helper(obj1
);
6412 if (arg2
== NULL
) SWIG_fail
;
6416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6417 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6419 wxPyEndAllowThreads(__tstate
);
6420 if (PyErr_Occurred()) SWIG_fail
;
6422 resultobj
= PyInt_FromLong((long)result
);
6437 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6440 wxFileSystem
*arg2
= 0 ;
6441 wxString
*arg3
= 0 ;
6443 bool temp3
= False
;
6444 PyObject
* obj0
= 0 ;
6445 PyObject
* obj1
= 0 ;
6446 PyObject
* obj2
= 0 ;
6448 (char *) "self",(char *) "fs",(char *) "location", NULL
6451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6453 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6455 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6458 arg3
= wxString_in_helper(obj2
);
6459 if (arg3
== NULL
) SWIG_fail
;
6463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6464 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6466 wxPyEndAllowThreads(__tstate
);
6467 if (PyErr_Occurred()) SWIG_fail
;
6470 resultobj
= wxPyMake_wxObject(result
);
6486 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6487 PyObject
*resultobj
;
6488 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6489 wxString
*arg2
= 0 ;
6490 int arg3
= (int) 0 ;
6492 bool temp2
= False
;
6493 PyObject
* obj0
= 0 ;
6494 PyObject
* obj1
= 0 ;
6496 (char *) "self",(char *) "spec",(char *) "flags", NULL
6499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6502 arg2
= wxString_in_helper(obj1
);
6503 if (arg2
== NULL
) SWIG_fail
;
6507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6508 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6510 wxPyEndAllowThreads(__tstate
);
6511 if (PyErr_Occurred()) SWIG_fail
;
6515 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6517 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6534 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6535 PyObject
*resultobj
;
6536 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6538 PyObject
* obj0
= 0 ;
6540 (char *) "self", NULL
6543 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6544 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6547 result
= (arg1
)->FindNext();
6549 wxPyEndAllowThreads(__tstate
);
6550 if (PyErr_Occurred()) SWIG_fail
;
6554 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6556 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6565 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6567 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6568 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6570 return Py_BuildValue((char *)"");
6572 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6573 PyObject
*resultobj
;
6574 wxString
*arg1
= 0 ;
6577 bool temp1
= False
;
6578 PyObject
* obj0
= 0 ;
6579 PyObject
* obj1
= 0 ;
6581 (char *) "filename",(char *) "image",(char *) "type", NULL
6584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6586 arg1
= wxString_in_helper(obj0
);
6587 if (arg1
== NULL
) SWIG_fail
;
6590 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6592 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6598 wxPyEndAllowThreads(__tstate
);
6599 if (PyErr_Occurred()) SWIG_fail
;
6601 Py_INCREF(Py_None
); resultobj
= Py_None
;
6616 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6617 PyObject
*resultobj
;
6618 wxString
*arg1
= 0 ;
6619 wxBitmap
*arg2
= 0 ;
6621 bool temp1
= False
;
6622 PyObject
* obj0
= 0 ;
6623 PyObject
* obj1
= 0 ;
6625 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6630 arg1
= wxString_in_helper(obj0
);
6631 if (arg1
== NULL
) SWIG_fail
;
6634 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6636 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6640 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6642 wxPyEndAllowThreads(__tstate
);
6643 if (PyErr_Occurred()) SWIG_fail
;
6645 Py_INCREF(Py_None
); resultobj
= Py_None
;
6660 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6661 PyObject
*resultobj
;
6662 wxString
*arg1
= 0 ;
6663 PyObject
*arg2
= (PyObject
*) 0 ;
6664 bool temp1
= False
;
6665 PyObject
* obj0
= 0 ;
6666 PyObject
* obj1
= 0 ;
6668 (char *) "filename",(char *) "data", NULL
6671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6673 arg1
= wxString_in_helper(obj0
);
6674 if (arg1
== NULL
) SWIG_fail
;
6679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6680 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6682 wxPyEndAllowThreads(__tstate
);
6683 if (PyErr_Occurred()) SWIG_fail
;
6685 Py_INCREF(Py_None
); resultobj
= Py_None
;
6700 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6701 PyObject
*resultobj
;
6702 wxMemoryFSHandler
*result
;
6707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6710 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6712 wxPyEndAllowThreads(__tstate
);
6713 if (PyErr_Occurred()) SWIG_fail
;
6715 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6722 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6723 PyObject
*resultobj
;
6724 wxString
*arg1
= 0 ;
6725 bool temp1
= False
;
6726 PyObject
* obj0
= 0 ;
6728 (char *) "filename", NULL
6731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6733 arg1
= wxString_in_helper(obj0
);
6734 if (arg1
== NULL
) SWIG_fail
;
6738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6739 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6741 wxPyEndAllowThreads(__tstate
);
6742 if (PyErr_Occurred()) SWIG_fail
;
6744 Py_INCREF(Py_None
); resultobj
= Py_None
;
6759 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6760 PyObject
*resultobj
;
6761 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6762 wxString
*arg2
= 0 ;
6764 bool temp2
= False
;
6765 PyObject
* obj0
= 0 ;
6766 PyObject
* obj1
= 0 ;
6768 (char *) "self",(char *) "location", NULL
6771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6774 arg2
= wxString_in_helper(obj1
);
6775 if (arg2
== NULL
) SWIG_fail
;
6779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6780 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6782 wxPyEndAllowThreads(__tstate
);
6783 if (PyErr_Occurred()) SWIG_fail
;
6785 resultobj
= PyInt_FromLong((long)result
);
6800 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6801 PyObject
*resultobj
;
6802 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6803 wxFileSystem
*arg2
= 0 ;
6804 wxString
*arg3
= 0 ;
6806 bool temp3
= False
;
6807 PyObject
* obj0
= 0 ;
6808 PyObject
* obj1
= 0 ;
6809 PyObject
* obj2
= 0 ;
6811 (char *) "self",(char *) "fs",(char *) "location", NULL
6814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6816 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6818 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6821 arg3
= wxString_in_helper(obj2
);
6822 if (arg3
== NULL
) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6829 wxPyEndAllowThreads(__tstate
);
6830 if (PyErr_Occurred()) SWIG_fail
;
6833 resultobj
= wxPyMake_wxObject(result
);
6849 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6850 PyObject
*resultobj
;
6851 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6852 wxString
*arg2
= 0 ;
6853 int arg3
= (int) 0 ;
6855 bool temp2
= False
;
6856 PyObject
* obj0
= 0 ;
6857 PyObject
* obj1
= 0 ;
6859 (char *) "self",(char *) "spec",(char *) "flags", NULL
6862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6865 arg2
= wxString_in_helper(obj1
);
6866 if (arg2
== NULL
) SWIG_fail
;
6870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6871 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6873 wxPyEndAllowThreads(__tstate
);
6874 if (PyErr_Occurred()) SWIG_fail
;
6878 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6880 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6897 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6898 PyObject
*resultobj
;
6899 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6901 PyObject
* obj0
= 0 ;
6903 (char *) "self", NULL
6906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6910 result
= (arg1
)->FindNext();
6912 wxPyEndAllowThreads(__tstate
);
6913 if (PyErr_Occurred()) SWIG_fail
;
6917 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6919 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6928 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6930 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6931 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
6933 return Py_BuildValue((char *)"");
6935 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6936 PyObject
*resultobj
;
6937 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6939 PyObject
* obj0
= 0 ;
6941 (char *) "self", NULL
6944 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
6945 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6948 result
= (arg1
)->GetName();
6950 wxPyEndAllowThreads(__tstate
);
6951 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6957 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6966 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6967 PyObject
*resultobj
;
6968 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
6970 PyObject
* obj0
= 0 ;
6972 (char *) "self", NULL
6975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
6976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6979 result
= (arg1
)->GetExtension();
6981 wxPyEndAllowThreads(__tstate
);
6982 if (PyErr_Occurred()) SWIG_fail
;
6986 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6988 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6997 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6998 PyObject
*resultobj
;
6999 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7001 PyObject
* obj0
= 0 ;
7003 (char *) "self", NULL
7006 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7007 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7010 result
= (long)(arg1
)->GetType();
7012 wxPyEndAllowThreads(__tstate
);
7013 if (PyErr_Occurred()) SWIG_fail
;
7015 resultobj
= PyInt_FromLong((long)result
);
7022 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7023 PyObject
*resultobj
;
7024 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7026 PyObject
* obj0
= 0 ;
7028 (char *) "self", NULL
7031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (arg1
)->GetMimeType();
7037 wxPyEndAllowThreads(__tstate
);
7038 if (PyErr_Occurred()) SWIG_fail
;
7042 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7044 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7053 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7054 PyObject
*resultobj
;
7055 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7056 wxString
*arg2
= 0 ;
7058 bool temp2
= False
;
7059 PyObject
* obj0
= 0 ;
7060 PyObject
* obj1
= 0 ;
7062 (char *) "self",(char *) "name", NULL
7065 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7066 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7068 arg2
= wxString_in_helper(obj1
);
7069 if (arg2
== NULL
) SWIG_fail
;
7073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7074 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7076 wxPyEndAllowThreads(__tstate
);
7077 if (PyErr_Occurred()) SWIG_fail
;
7079 resultobj
= PyInt_FromLong((long)result
);
7094 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7095 PyObject
*resultobj
;
7096 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7097 wxString
*arg2
= 0 ;
7098 bool temp2
= False
;
7099 PyObject
* obj0
= 0 ;
7100 PyObject
* obj1
= 0 ;
7102 (char *) "self",(char *) "name", NULL
7105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7108 arg2
= wxString_in_helper(obj1
);
7109 if (arg2
== NULL
) SWIG_fail
;
7113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7114 (arg1
)->SetName((wxString
const &)*arg2
);
7116 wxPyEndAllowThreads(__tstate
);
7117 if (PyErr_Occurred()) SWIG_fail
;
7119 Py_INCREF(Py_None
); resultobj
= Py_None
;
7134 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7135 PyObject
*resultobj
;
7136 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7137 wxString
*arg2
= 0 ;
7138 bool temp2
= False
;
7139 PyObject
* obj0
= 0 ;
7140 PyObject
* obj1
= 0 ;
7142 (char *) "self",(char *) "extension", NULL
7145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7148 arg2
= wxString_in_helper(obj1
);
7149 if (arg2
== NULL
) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 (arg1
)->SetExtension((wxString
const &)*arg2
);
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7159 Py_INCREF(Py_None
); resultobj
= Py_None
;
7174 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7175 PyObject
*resultobj
;
7176 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7178 PyObject
* obj0
= 0 ;
7180 (char *) "self",(char *) "type", NULL
7183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7184 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7187 (arg1
)->SetType(arg2
);
7189 wxPyEndAllowThreads(__tstate
);
7190 if (PyErr_Occurred()) SWIG_fail
;
7192 Py_INCREF(Py_None
); resultobj
= Py_None
;
7199 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7200 PyObject
*resultobj
;
7201 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7202 wxString
*arg2
= 0 ;
7203 bool temp2
= False
;
7204 PyObject
* obj0
= 0 ;
7205 PyObject
* obj1
= 0 ;
7207 (char *) "self",(char *) "mimetype", NULL
7210 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7211 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7213 arg2
= wxString_in_helper(obj1
);
7214 if (arg2
== NULL
) SWIG_fail
;
7218 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7219 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7221 wxPyEndAllowThreads(__tstate
);
7222 if (PyErr_Occurred()) SWIG_fail
;
7224 Py_INCREF(Py_None
); resultobj
= Py_None
;
7239 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7241 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7242 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7244 return Py_BuildValue((char *)"");
7246 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7247 PyObject
*resultobj
;
7248 wxImageHistogram
*result
;
7253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7256 result
= (wxImageHistogram
*)new wxImageHistogram();
7258 wxPyEndAllowThreads(__tstate
);
7259 if (PyErr_Occurred()) SWIG_fail
;
7261 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7268 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7269 PyObject
*resultobj
;
7270 unsigned char arg1
;
7271 unsigned char arg2
;
7272 unsigned char arg3
;
7273 unsigned long result
;
7274 PyObject
* obj0
= 0 ;
7275 PyObject
* obj1
= 0 ;
7276 PyObject
* obj2
= 0 ;
7278 (char *) "r",(char *) "g",(char *) "b", NULL
7281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7282 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7283 if (PyErr_Occurred()) SWIG_fail
;
7284 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7285 if (PyErr_Occurred()) SWIG_fail
;
7286 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7287 if (PyErr_Occurred()) SWIG_fail
;
7289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7290 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7292 wxPyEndAllowThreads(__tstate
);
7293 if (PyErr_Occurred()) SWIG_fail
;
7295 resultobj
= PyInt_FromLong((long)result
);
7302 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7303 PyObject
*resultobj
;
7304 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7305 unsigned char *arg2
= (unsigned char *) 0 ;
7306 unsigned char *arg3
= (unsigned char *) 0 ;
7307 unsigned char *arg4
= (unsigned char *) 0 ;
7308 unsigned char arg5
= (unsigned char) 1 ;
7309 unsigned char arg6
= (unsigned char) 0 ;
7310 unsigned char arg7
= (unsigned char) 0 ;
7312 unsigned char temp2
;
7313 unsigned char temp3
;
7314 unsigned char temp4
;
7315 PyObject
* obj0
= 0 ;
7316 PyObject
* obj1
= 0 ;
7317 PyObject
* obj2
= 0 ;
7318 PyObject
* obj3
= 0 ;
7320 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7329 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7330 if (PyErr_Occurred()) SWIG_fail
;
7333 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7337 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7338 if (PyErr_Occurred()) SWIG_fail
;
7341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7342 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7344 wxPyEndAllowThreads(__tstate
);
7345 if (PyErr_Occurred()) SWIG_fail
;
7347 resultobj
= PyInt_FromLong((long)result
);
7349 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7350 resultobj
= t_output_helper(resultobj
,o
);
7353 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7354 resultobj
= t_output_helper(resultobj
,o
);
7357 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7358 resultobj
= t_output_helper(resultobj
,o
);
7366 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7368 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7369 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7371 return Py_BuildValue((char *)"");
7373 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7374 PyObject
*resultobj
;
7375 wxString
*arg1
= 0 ;
7376 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7377 int arg3
= (int) -1 ;
7379 bool temp1
= False
;
7380 PyObject
* obj0
= 0 ;
7382 (char *) "name",(char *) "type",(char *) "index", NULL
7385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7387 arg1
= wxString_in_helper(obj0
);
7388 if (arg1
== NULL
) SWIG_fail
;
7392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7393 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7395 wxPyEndAllowThreads(__tstate
);
7396 if (PyErr_Occurred()) SWIG_fail
;
7398 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7413 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7414 PyObject
*resultobj
;
7415 wxImage
*arg1
= (wxImage
*) 0 ;
7416 PyObject
* obj0
= 0 ;
7418 (char *) "self", NULL
7421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 Py_INCREF(Py_None
); resultobj
= Py_None
;
7437 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
;
7439 wxString
*arg1
= 0 ;
7440 wxString
*arg2
= 0 ;
7441 int arg3
= (int) -1 ;
7443 bool temp1
= False
;
7444 bool temp2
= False
;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7448 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7453 arg1
= wxString_in_helper(obj0
);
7454 if (arg1
== NULL
) SWIG_fail
;
7458 arg2
= wxString_in_helper(obj1
);
7459 if (arg2
== NULL
) SWIG_fail
;
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7466 wxPyEndAllowThreads(__tstate
);
7467 if (PyErr_Occurred()) SWIG_fail
;
7469 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7492 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxInputStream
*arg1
= 0 ;
7495 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7496 int arg3
= (int) -1 ;
7498 wxPyInputStream
*temp1
;
7500 PyObject
* obj0
= 0 ;
7502 (char *) "stream",(char *) "type",(char *) "index", NULL
7505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7507 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7508 arg1
= temp1
->m_wxis
;
7511 PyErr_Clear(); // clear the failure of the wxPyConvert above
7512 arg1
= wxPyCBInputStream_create(obj0
, False
);
7514 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7522 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7524 wxPyEndAllowThreads(__tstate
);
7525 if (PyErr_Occurred()) SWIG_fail
;
7527 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7542 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7543 PyObject
*resultobj
;
7544 wxInputStream
*arg1
= 0 ;
7545 wxString
*arg2
= 0 ;
7546 int arg3
= (int) -1 ;
7548 wxPyInputStream
*temp1
;
7550 bool temp2
= False
;
7551 PyObject
* obj0
= 0 ;
7552 PyObject
* obj1
= 0 ;
7554 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7559 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7560 arg1
= temp1
->m_wxis
;
7563 PyErr_Clear(); // clear the failure of the wxPyConvert above
7564 arg1
= wxPyCBInputStream_create(obj0
, False
);
7566 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7573 arg2
= wxString_in_helper(obj1
);
7574 if (arg2
== NULL
) SWIG_fail
;
7578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7579 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7581 wxPyEndAllowThreads(__tstate
);
7582 if (PyErr_Occurred()) SWIG_fail
;
7584 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7607 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7608 PyObject
*resultobj
;
7609 int arg1
= (int) 0 ;
7610 int arg2
= (int) 0 ;
7611 bool arg3
= (bool) True
;
7613 PyObject
* obj2
= 0 ;
7615 (char *) "width",(char *) "height",(char *) "clear", NULL
7618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7620 arg3
= PyInt_AsLong(obj2
) ? true : false;
7621 if (PyErr_Occurred()) SWIG_fail
;
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7627 wxPyEndAllowThreads(__tstate
);
7628 if (PyErr_Occurred()) SWIG_fail
;
7630 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7637 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7638 PyObject
*resultobj
;
7639 wxBitmap
*arg1
= 0 ;
7641 PyObject
* obj0
= 0 ;
7643 (char *) "bitmap", NULL
7646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7653 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7655 wxPyEndAllowThreads(__tstate
);
7656 if (PyErr_Occurred()) SWIG_fail
;
7658 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7665 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7666 PyObject
*resultobj
;
7669 unsigned char *arg3
= (unsigned char *) 0 ;
7671 PyObject
* obj2
= 0 ;
7673 (char *) "width",(char *) "height",(char *) "data", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7677 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7680 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7682 wxPyEndAllowThreads(__tstate
);
7683 if (PyErr_Occurred()) SWIG_fail
;
7685 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7692 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7693 PyObject
*resultobj
;
7694 wxImage
*arg1
= (wxImage
*) 0 ;
7697 PyObject
* obj0
= 0 ;
7699 (char *) "self",(char *) "width",(char *) "height", NULL
7702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7706 (arg1
)->Create(arg2
,arg3
);
7708 wxPyEndAllowThreads(__tstate
);
7709 if (PyErr_Occurred()) SWIG_fail
;
7711 Py_INCREF(Py_None
); resultobj
= Py_None
;
7718 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7719 PyObject
*resultobj
;
7720 wxImage
*arg1
= (wxImage
*) 0 ;
7721 PyObject
* obj0
= 0 ;
7723 (char *) "self", NULL
7726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7732 wxPyEndAllowThreads(__tstate
);
7733 if (PyErr_Occurred()) SWIG_fail
;
7735 Py_INCREF(Py_None
); resultobj
= Py_None
;
7742 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7743 PyObject
*resultobj
;
7744 wxImage
*arg1
= (wxImage
*) 0 ;
7747 SwigValueWrapper
< wxImage
> result
;
7748 PyObject
* obj0
= 0 ;
7750 (char *) "self",(char *) "width",(char *) "height", NULL
7753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (arg1
)->Scale(arg2
,arg3
);
7759 wxPyEndAllowThreads(__tstate
);
7760 if (PyErr_Occurred()) SWIG_fail
;
7763 wxImage
* resultptr
;
7764 resultptr
= new wxImage((wxImage
&) result
);
7765 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7773 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7774 PyObject
*resultobj
;
7775 wxImage
*arg1
= (wxImage
*) 0 ;
7778 SwigValueWrapper
< wxImage
> result
;
7779 PyObject
* obj0
= 0 ;
7781 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7784 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7785 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7788 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7790 wxPyEndAllowThreads(__tstate
);
7791 if (PyErr_Occurred()) SWIG_fail
;
7794 wxImage
* resultptr
;
7795 resultptr
= new wxImage((wxImage
&) result
);
7796 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7804 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7805 PyObject
*resultobj
;
7806 wxImage
*arg1
= (wxImage
*) 0 ;
7810 PyObject
* obj0
= 0 ;
7812 (char *) "self",(char *) "width",(char *) "height", NULL
7815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7820 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7821 result
= (wxImage
*) &_result_ref
;
7824 wxPyEndAllowThreads(__tstate
);
7825 if (PyErr_Occurred()) SWIG_fail
;
7827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7834 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7835 PyObject
*resultobj
;
7836 wxImage
*arg1
= (wxImage
*) 0 ;
7839 unsigned char arg4
;
7840 unsigned char arg5
;
7841 unsigned char arg6
;
7842 PyObject
* obj0
= 0 ;
7843 PyObject
* obj3
= 0 ;
7844 PyObject
* obj4
= 0 ;
7845 PyObject
* obj5
= 0 ;
7847 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7852 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7853 if (PyErr_Occurred()) SWIG_fail
;
7854 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7855 if (PyErr_Occurred()) SWIG_fail
;
7856 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7857 if (PyErr_Occurred()) SWIG_fail
;
7859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7860 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7862 wxPyEndAllowThreads(__tstate
);
7863 if (PyErr_Occurred()) SWIG_fail
;
7865 Py_INCREF(Py_None
); resultobj
= Py_None
;
7872 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7873 PyObject
*resultobj
;
7874 wxImage
*arg1
= (wxImage
*) 0 ;
7877 unsigned char result
;
7878 PyObject
* obj0
= 0 ;
7880 (char *) "self",(char *) "x",(char *) "y", NULL
7883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7887 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
7889 wxPyEndAllowThreads(__tstate
);
7890 if (PyErr_Occurred()) SWIG_fail
;
7892 resultobj
= PyInt_FromLong((long)result
);
7899 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7900 PyObject
*resultobj
;
7901 wxImage
*arg1
= (wxImage
*) 0 ;
7904 unsigned char result
;
7905 PyObject
* obj0
= 0 ;
7907 (char *) "self",(char *) "x",(char *) "y", NULL
7910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7914 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
7916 wxPyEndAllowThreads(__tstate
);
7917 if (PyErr_Occurred()) SWIG_fail
;
7919 resultobj
= PyInt_FromLong((long)result
);
7926 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7927 PyObject
*resultobj
;
7928 wxImage
*arg1
= (wxImage
*) 0 ;
7931 unsigned char result
;
7932 PyObject
* obj0
= 0 ;
7934 (char *) "self",(char *) "x",(char *) "y", NULL
7937 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7938 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7941 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= PyInt_FromLong((long)result
);
7953 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxImage
*arg1
= (wxImage
*) 0 ;
7958 unsigned char arg4
;
7959 PyObject
* obj0
= 0 ;
7960 PyObject
* obj3
= 0 ;
7962 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
7965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
7966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7967 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7968 if (PyErr_Occurred()) SWIG_fail
;
7970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7971 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
7973 wxPyEndAllowThreads(__tstate
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7976 Py_INCREF(Py_None
); resultobj
= Py_None
;
7983 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7984 PyObject
*resultobj
;
7985 wxImage
*arg1
= (wxImage
*) 0 ;
7988 unsigned char result
;
7989 PyObject
* obj0
= 0 ;
7991 (char *) "self",(char *) "x",(char *) "y", NULL
7994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7998 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8000 wxPyEndAllowThreads(__tstate
);
8001 if (PyErr_Occurred()) SWIG_fail
;
8003 resultobj
= PyInt_FromLong((long)result
);
8010 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8011 PyObject
*resultobj
;
8012 wxImage
*arg1
= (wxImage
*) 0 ;
8014 PyObject
* obj0
= 0 ;
8016 (char *) "self", NULL
8019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8023 result
= (bool)(arg1
)->HasAlpha();
8025 wxPyEndAllowThreads(__tstate
);
8026 if (PyErr_Occurred()) SWIG_fail
;
8028 resultobj
= PyInt_FromLong((long)result
);
8035 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8036 PyObject
*resultobj
;
8037 wxImage
*arg1
= (wxImage
*) 0 ;
8038 byte
*arg2
= (byte
*) 0 ;
8039 byte
*arg3
= (byte
*) 0 ;
8040 byte
*arg4
= (byte
*) 0 ;
8041 byte arg5
= (byte
) 0 ;
8042 byte arg6
= (byte
) 0 ;
8043 byte arg7
= (byte
) 0 ;
8048 PyObject
* obj0
= 0 ;
8049 PyObject
* obj1
= 0 ;
8050 PyObject
* obj2
= 0 ;
8051 PyObject
* obj3
= 0 ;
8053 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8062 arg5
= (byte
) PyInt_AsLong(obj1
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8066 arg6
= (byte
) PyInt_AsLong(obj2
);
8067 if (PyErr_Occurred()) SWIG_fail
;
8070 arg7
= (byte
) PyInt_AsLong(obj3
);
8071 if (PyErr_Occurred()) SWIG_fail
;
8074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8075 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8077 wxPyEndAllowThreads(__tstate
);
8078 if (PyErr_Occurred()) SWIG_fail
;
8080 resultobj
= PyInt_FromLong((long)result
);
8082 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8083 resultobj
= t_output_helper(resultobj
,o
);
8086 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8087 resultobj
= t_output_helper(resultobj
,o
);
8090 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8091 resultobj
= t_output_helper(resultobj
,o
);
8099 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8100 PyObject
*resultobj
;
8101 wxImage
*arg1
= (wxImage
*) 0 ;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 PyObject
* obj2
= 0 ;
8110 PyObject
* obj3
= 0 ;
8111 PyObject
* obj4
= 0 ;
8113 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8118 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8120 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8122 arg3
= (byte
) PyInt_AsLong(obj2
);
8123 if (PyErr_Occurred()) SWIG_fail
;
8124 arg4
= (byte
) PyInt_AsLong(obj3
);
8125 if (PyErr_Occurred()) SWIG_fail
;
8126 arg5
= (byte
) PyInt_AsLong(obj4
);
8127 if (PyErr_Occurred()) SWIG_fail
;
8129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8130 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8132 wxPyEndAllowThreads(__tstate
);
8133 if (PyErr_Occurred()) SWIG_fail
;
8135 resultobj
= PyInt_FromLong((long)result
);
8142 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8143 PyObject
*resultobj
;
8144 wxString
*arg1
= 0 ;
8146 bool temp1
= False
;
8147 PyObject
* obj0
= 0 ;
8149 (char *) "name", NULL
8152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8154 arg1
= wxString_in_helper(obj0
);
8155 if (arg1
== NULL
) SWIG_fail
;
8159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8160 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8162 wxPyEndAllowThreads(__tstate
);
8163 if (PyErr_Occurred()) SWIG_fail
;
8165 resultobj
= PyInt_FromLong((long)result
);
8180 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8181 PyObject
*resultobj
;
8182 wxString
*arg1
= 0 ;
8183 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8185 bool temp1
= False
;
8186 PyObject
* obj0
= 0 ;
8188 (char *) "name",(char *) "type", NULL
8191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8193 arg1
= wxString_in_helper(obj0
);
8194 if (arg1
== NULL
) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8201 wxPyEndAllowThreads(__tstate
);
8202 if (PyErr_Occurred()) SWIG_fail
;
8204 resultobj
= PyInt_FromLong((long)result
);
8219 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8220 PyObject
*resultobj
;
8221 wxImage
*arg1
= (wxImage
*) 0 ;
8222 wxString
*arg2
= 0 ;
8223 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8224 int arg4
= (int) -1 ;
8226 bool temp2
= False
;
8227 PyObject
* obj0
= 0 ;
8228 PyObject
* obj1
= 0 ;
8230 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8236 arg2
= wxString_in_helper(obj1
);
8237 if (arg2
== NULL
) SWIG_fail
;
8241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8242 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8244 wxPyEndAllowThreads(__tstate
);
8245 if (PyErr_Occurred()) SWIG_fail
;
8247 resultobj
= PyInt_FromLong((long)result
);
8262 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8263 PyObject
*resultobj
;
8264 wxImage
*arg1
= (wxImage
*) 0 ;
8265 wxString
*arg2
= 0 ;
8266 wxString
*arg3
= 0 ;
8267 int arg4
= (int) -1 ;
8269 bool temp2
= False
;
8270 bool temp3
= False
;
8271 PyObject
* obj0
= 0 ;
8272 PyObject
* obj1
= 0 ;
8273 PyObject
* obj2
= 0 ;
8275 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8281 arg2
= wxString_in_helper(obj1
);
8282 if (arg2
== NULL
) SWIG_fail
;
8286 arg3
= wxString_in_helper(obj2
);
8287 if (arg3
== NULL
) SWIG_fail
;
8291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8292 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8294 wxPyEndAllowThreads(__tstate
);
8295 if (PyErr_Occurred()) SWIG_fail
;
8297 resultobj
= PyInt_FromLong((long)result
);
8320 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
;
8322 wxImage
*arg1
= (wxImage
*) 0 ;
8323 wxString
*arg2
= 0 ;
8326 bool temp2
= False
;
8327 PyObject
* obj0
= 0 ;
8328 PyObject
* obj1
= 0 ;
8330 (char *) "self",(char *) "name",(char *) "type", NULL
8333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8336 arg2
= wxString_in_helper(obj1
);
8337 if (arg2
== NULL
) SWIG_fail
;
8341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8342 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8344 wxPyEndAllowThreads(__tstate
);
8345 if (PyErr_Occurred()) SWIG_fail
;
8347 resultobj
= PyInt_FromLong((long)result
);
8362 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8363 PyObject
*resultobj
;
8364 wxImage
*arg1
= (wxImage
*) 0 ;
8365 wxString
*arg2
= 0 ;
8366 wxString
*arg3
= 0 ;
8368 bool temp2
= False
;
8369 bool temp3
= False
;
8370 PyObject
* obj0
= 0 ;
8371 PyObject
* obj1
= 0 ;
8372 PyObject
* obj2
= 0 ;
8374 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8380 arg2
= wxString_in_helper(obj1
);
8381 if (arg2
== NULL
) SWIG_fail
;
8385 arg3
= wxString_in_helper(obj2
);
8386 if (arg3
== NULL
) SWIG_fail
;
8390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8391 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= PyInt_FromLong((long)result
);
8419 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8420 PyObject
*resultobj
;
8421 wxInputStream
*arg1
= 0 ;
8423 wxPyInputStream
*temp1
;
8425 PyObject
* obj0
= 0 ;
8427 (char *) "stream", NULL
8430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8432 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8433 arg1
= temp1
->m_wxis
;
8436 PyErr_Clear(); // clear the failure of the wxPyConvert above
8437 arg1
= wxPyCBInputStream_create(obj0
, False
);
8439 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8447 result
= (bool)wxImage::CanRead(*arg1
);
8449 wxPyEndAllowThreads(__tstate
);
8450 if (PyErr_Occurred()) SWIG_fail
;
8452 resultobj
= PyInt_FromLong((long)result
);
8467 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8468 PyObject
*resultobj
;
8469 wxImage
*arg1
= (wxImage
*) 0 ;
8470 wxInputStream
*arg2
= 0 ;
8471 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8472 int arg4
= (int) -1 ;
8474 wxPyInputStream
*temp2
;
8476 PyObject
* obj0
= 0 ;
8477 PyObject
* obj1
= 0 ;
8479 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8485 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8486 arg2
= temp2
->m_wxis
;
8489 PyErr_Clear(); // clear the failure of the wxPyConvert above
8490 arg2
= wxPyCBInputStream_create(obj1
, False
);
8492 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8500 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8502 wxPyEndAllowThreads(__tstate
);
8503 if (PyErr_Occurred()) SWIG_fail
;
8505 resultobj
= PyInt_FromLong((long)result
);
8520 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8521 PyObject
*resultobj
;
8522 wxImage
*arg1
= (wxImage
*) 0 ;
8523 wxInputStream
*arg2
= 0 ;
8524 wxString
*arg3
= 0 ;
8525 int arg4
= (int) -1 ;
8527 wxPyInputStream
*temp2
;
8529 bool temp3
= False
;
8530 PyObject
* obj0
= 0 ;
8531 PyObject
* obj1
= 0 ;
8532 PyObject
* obj2
= 0 ;
8534 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8540 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8541 arg2
= temp2
->m_wxis
;
8544 PyErr_Clear(); // clear the failure of the wxPyConvert above
8545 arg2
= wxPyCBInputStream_create(obj1
, False
);
8547 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8554 arg3
= wxString_in_helper(obj2
);
8555 if (arg3
== NULL
) SWIG_fail
;
8559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8560 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8562 wxPyEndAllowThreads(__tstate
);
8563 if (PyErr_Occurred()) SWIG_fail
;
8565 resultobj
= PyInt_FromLong((long)result
);
8588 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8589 PyObject
*resultobj
;
8590 wxImage
*arg1
= (wxImage
*) 0 ;
8592 PyObject
* obj0
= 0 ;
8594 (char *) "self", NULL
8597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8601 result
= (bool)(arg1
)->Ok();
8603 wxPyEndAllowThreads(__tstate
);
8604 if (PyErr_Occurred()) SWIG_fail
;
8606 resultobj
= PyInt_FromLong((long)result
);
8613 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8614 PyObject
*resultobj
;
8615 wxImage
*arg1
= (wxImage
*) 0 ;
8617 PyObject
* obj0
= 0 ;
8619 (char *) "self", NULL
8622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8626 result
= (int)(arg1
)->GetWidth();
8628 wxPyEndAllowThreads(__tstate
);
8629 if (PyErr_Occurred()) SWIG_fail
;
8631 resultobj
= PyInt_FromLong((long)result
);
8638 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8639 PyObject
*resultobj
;
8640 wxImage
*arg1
= (wxImage
*) 0 ;
8642 PyObject
* obj0
= 0 ;
8644 (char *) "self", NULL
8647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8651 result
= (int)(arg1
)->GetHeight();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= PyInt_FromLong((long)result
);
8663 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
;
8665 wxImage
*arg1
= (wxImage
*) 0 ;
8667 SwigValueWrapper
< wxImage
> result
;
8669 PyObject
* obj0
= 0 ;
8670 PyObject
* obj1
= 0 ;
8672 (char *) "self",(char *) "rect", NULL
8675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8679 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8683 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8685 wxPyEndAllowThreads(__tstate
);
8686 if (PyErr_Occurred()) SWIG_fail
;
8689 wxImage
* resultptr
;
8690 resultptr
= new wxImage((wxImage
&) result
);
8691 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8699 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8700 PyObject
*resultobj
;
8701 wxImage
*arg1
= (wxImage
*) 0 ;
8702 SwigValueWrapper
< wxImage
> result
;
8703 PyObject
* obj0
= 0 ;
8705 (char *) "self", NULL
8708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8712 result
= (arg1
)->Copy();
8714 wxPyEndAllowThreads(__tstate
);
8715 if (PyErr_Occurred()) SWIG_fail
;
8718 wxImage
* resultptr
;
8719 resultptr
= new wxImage((wxImage
&) result
);
8720 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8728 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8729 PyObject
*resultobj
;
8730 wxImage
*arg1
= (wxImage
*) 0 ;
8734 PyObject
* obj0
= 0 ;
8735 PyObject
* obj1
= 0 ;
8737 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8741 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8742 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8744 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8748 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8753 Py_INCREF(Py_None
); resultobj
= Py_None
;
8760 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8761 PyObject
*resultobj
;
8762 wxImage
*arg1
= (wxImage
*) 0 ;
8764 PyObject
* obj0
= 0 ;
8766 (char *) "self", NULL
8769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8773 result
= (PyObject
*)wxImage_GetData(arg1
);
8775 wxPyEndAllowThreads(__tstate
);
8776 if (PyErr_Occurred()) SWIG_fail
;
8785 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8786 PyObject
*resultobj
;
8787 wxImage
*arg1
= (wxImage
*) 0 ;
8788 PyObject
*arg2
= (PyObject
*) 0 ;
8789 PyObject
* obj0
= 0 ;
8790 PyObject
* obj1
= 0 ;
8792 (char *) "self",(char *) "data", NULL
8795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8800 wxImage_SetData(arg1
,arg2
);
8802 wxPyEndAllowThreads(__tstate
);
8803 if (PyErr_Occurred()) SWIG_fail
;
8805 Py_INCREF(Py_None
); resultobj
= Py_None
;
8812 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8813 PyObject
*resultobj
;
8814 wxImage
*arg1
= (wxImage
*) 0 ;
8816 PyObject
* obj0
= 0 ;
8818 (char *) "self", NULL
8821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8825 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8827 wxPyEndAllowThreads(__tstate
);
8828 if (PyErr_Occurred()) SWIG_fail
;
8837 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8838 PyObject
*resultobj
;
8839 wxImage
*arg1
= (wxImage
*) 0 ;
8840 PyObject
*arg2
= (PyObject
*) 0 ;
8841 PyObject
* obj0
= 0 ;
8842 PyObject
* obj1
= 0 ;
8844 (char *) "self",(char *) "data", NULL
8847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8852 wxImage_SetDataBuffer(arg1
,arg2
);
8854 wxPyEndAllowThreads(__tstate
);
8855 if (PyErr_Occurred()) SWIG_fail
;
8857 Py_INCREF(Py_None
); resultobj
= Py_None
;
8864 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8865 PyObject
*resultobj
;
8866 wxImage
*arg1
= (wxImage
*) 0 ;
8868 PyObject
* obj0
= 0 ;
8870 (char *) "self", NULL
8873 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8874 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8877 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
8879 wxPyEndAllowThreads(__tstate
);
8880 if (PyErr_Occurred()) SWIG_fail
;
8889 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8890 PyObject
*resultobj
;
8891 wxImage
*arg1
= (wxImage
*) 0 ;
8892 PyObject
*arg2
= (PyObject
*) 0 ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8896 (char *) "self",(char *) "data", NULL
8899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
8900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8904 wxImage_SetAlphaData(arg1
,arg2
);
8906 wxPyEndAllowThreads(__tstate
);
8907 if (PyErr_Occurred()) SWIG_fail
;
8909 Py_INCREF(Py_None
); resultobj
= Py_None
;
8916 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8917 PyObject
*resultobj
;
8918 wxImage
*arg1
= (wxImage
*) 0 ;
8920 PyObject
* obj0
= 0 ;
8922 (char *) "self", NULL
8925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
8926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8929 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
8931 wxPyEndAllowThreads(__tstate
);
8932 if (PyErr_Occurred()) SWIG_fail
;
8941 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8942 PyObject
*resultobj
;
8943 wxImage
*arg1
= (wxImage
*) 0 ;
8944 PyObject
*arg2
= (PyObject
*) 0 ;
8945 PyObject
* obj0
= 0 ;
8946 PyObject
* obj1
= 0 ;
8948 (char *) "self",(char *) "data", NULL
8951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8956 wxImage_SetAlphaBuffer(arg1
,arg2
);
8958 wxPyEndAllowThreads(__tstate
);
8959 if (PyErr_Occurred()) SWIG_fail
;
8961 Py_INCREF(Py_None
); resultobj
= Py_None
;
8968 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8969 PyObject
*resultobj
;
8970 wxImage
*arg1
= (wxImage
*) 0 ;
8971 unsigned char arg2
;
8972 unsigned char arg3
;
8973 unsigned char arg4
;
8974 PyObject
* obj0
= 0 ;
8975 PyObject
* obj1
= 0 ;
8976 PyObject
* obj2
= 0 ;
8977 PyObject
* obj3
= 0 ;
8979 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
8982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8984 arg2
= (unsigned char) PyInt_AsLong(obj1
);
8985 if (PyErr_Occurred()) SWIG_fail
;
8986 arg3
= (unsigned char) PyInt_AsLong(obj2
);
8987 if (PyErr_Occurred()) SWIG_fail
;
8988 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8989 if (PyErr_Occurred()) SWIG_fail
;
8991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8992 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
8994 wxPyEndAllowThreads(__tstate
);
8995 if (PyErr_Occurred()) SWIG_fail
;
8997 Py_INCREF(Py_None
); resultobj
= Py_None
;
9004 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9005 PyObject
*resultobj
;
9006 wxImage
*arg1
= (wxImage
*) 0 ;
9007 unsigned char result
;
9008 PyObject
* obj0
= 0 ;
9010 (char *) "self", NULL
9013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9017 result
= (unsigned char)(arg1
)->GetMaskRed();
9019 wxPyEndAllowThreads(__tstate
);
9020 if (PyErr_Occurred()) SWIG_fail
;
9022 resultobj
= PyInt_FromLong((long)result
);
9029 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9030 PyObject
*resultobj
;
9031 wxImage
*arg1
= (wxImage
*) 0 ;
9032 unsigned char result
;
9033 PyObject
* obj0
= 0 ;
9035 (char *) "self", NULL
9038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 result
= (unsigned char)(arg1
)->GetMaskGreen();
9044 wxPyEndAllowThreads(__tstate
);
9045 if (PyErr_Occurred()) SWIG_fail
;
9047 resultobj
= PyInt_FromLong((long)result
);
9054 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9055 PyObject
*resultobj
;
9056 wxImage
*arg1
= (wxImage
*) 0 ;
9057 unsigned char result
;
9058 PyObject
* obj0
= 0 ;
9060 (char *) "self", NULL
9063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9067 result
= (unsigned char)(arg1
)->GetMaskBlue();
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= PyInt_FromLong((long)result
);
9079 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9080 PyObject
*resultobj
;
9081 wxImage
*arg1
= (wxImage
*) 0 ;
9082 bool arg2
= (bool) True
;
9083 PyObject
* obj0
= 0 ;
9084 PyObject
* obj1
= 0 ;
9086 (char *) "self",(char *) "mask", NULL
9089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9090 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9092 arg2
= PyInt_AsLong(obj1
) ? true : false;
9093 if (PyErr_Occurred()) SWIG_fail
;
9096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9097 (arg1
)->SetMask(arg2
);
9099 wxPyEndAllowThreads(__tstate
);
9100 if (PyErr_Occurred()) SWIG_fail
;
9102 Py_INCREF(Py_None
); resultobj
= Py_None
;
9109 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9110 PyObject
*resultobj
;
9111 wxImage
*arg1
= (wxImage
*) 0 ;
9113 PyObject
* obj0
= 0 ;
9115 (char *) "self", NULL
9118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9122 result
= (bool)(arg1
)->HasMask();
9124 wxPyEndAllowThreads(__tstate
);
9125 if (PyErr_Occurred()) SWIG_fail
;
9127 resultobj
= PyInt_FromLong((long)result
);
9134 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9135 PyObject
*resultobj
;
9136 wxImage
*arg1
= (wxImage
*) 0 ;
9139 bool arg4
= (bool) True
;
9140 wxPoint
*arg5
= (wxPoint
*) NULL
;
9141 SwigValueWrapper
< wxImage
> result
;
9143 PyObject
* obj0
= 0 ;
9144 PyObject
* obj2
= 0 ;
9145 PyObject
* obj3
= 0 ;
9146 PyObject
* obj4
= 0 ;
9148 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9155 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9158 arg4
= PyInt_AsLong(obj3
) ? true : false;
9159 if (PyErr_Occurred()) SWIG_fail
;
9162 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9166 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9168 wxPyEndAllowThreads(__tstate
);
9169 if (PyErr_Occurred()) SWIG_fail
;
9172 wxImage
* resultptr
;
9173 resultptr
= new wxImage((wxImage
&) result
);
9174 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9182 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9183 PyObject
*resultobj
;
9184 wxImage
*arg1
= (wxImage
*) 0 ;
9185 bool arg2
= (bool) True
;
9186 SwigValueWrapper
< wxImage
> result
;
9187 PyObject
* obj0
= 0 ;
9188 PyObject
* obj1
= 0 ;
9190 (char *) "self",(char *) "clockwise", NULL
9193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9196 arg2
= PyInt_AsLong(obj1
) ? true : false;
9197 if (PyErr_Occurred()) SWIG_fail
;
9200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9201 result
= (arg1
)->Rotate90(arg2
);
9203 wxPyEndAllowThreads(__tstate
);
9204 if (PyErr_Occurred()) SWIG_fail
;
9207 wxImage
* resultptr
;
9208 resultptr
= new wxImage((wxImage
&) result
);
9209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9217 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
;
9219 wxImage
*arg1
= (wxImage
*) 0 ;
9220 bool arg2
= (bool) True
;
9221 SwigValueWrapper
< wxImage
> result
;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9225 (char *) "self",(char *) "horizontally", NULL
9228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9231 arg2
= PyInt_AsLong(obj1
) ? true : false;
9232 if (PyErr_Occurred()) SWIG_fail
;
9235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9236 result
= (arg1
)->Mirror(arg2
);
9238 wxPyEndAllowThreads(__tstate
);
9239 if (PyErr_Occurred()) SWIG_fail
;
9242 wxImage
* resultptr
;
9243 resultptr
= new wxImage((wxImage
&) result
);
9244 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9252 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
;
9254 wxImage
*arg1
= (wxImage
*) 0 ;
9255 unsigned char arg2
;
9256 unsigned char arg3
;
9257 unsigned char arg4
;
9258 unsigned char arg5
;
9259 unsigned char arg6
;
9260 unsigned char arg7
;
9261 PyObject
* obj0
= 0 ;
9262 PyObject
* obj1
= 0 ;
9263 PyObject
* obj2
= 0 ;
9264 PyObject
* obj3
= 0 ;
9265 PyObject
* obj4
= 0 ;
9266 PyObject
* obj5
= 0 ;
9267 PyObject
* obj6
= 0 ;
9269 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9274 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9275 if (PyErr_Occurred()) SWIG_fail
;
9276 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9277 if (PyErr_Occurred()) SWIG_fail
;
9278 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9279 if (PyErr_Occurred()) SWIG_fail
;
9280 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9282 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9283 if (PyErr_Occurred()) SWIG_fail
;
9284 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9285 if (PyErr_Occurred()) SWIG_fail
;
9287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9288 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9290 wxPyEndAllowThreads(__tstate
);
9291 if (PyErr_Occurred()) SWIG_fail
;
9293 Py_INCREF(Py_None
); resultobj
= Py_None
;
9300 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9301 PyObject
*resultobj
;
9302 wxImage
*arg1
= (wxImage
*) 0 ;
9303 unsigned char arg2
;
9304 unsigned char arg3
;
9305 unsigned char arg4
;
9306 SwigValueWrapper
< wxImage
> result
;
9307 PyObject
* obj0
= 0 ;
9308 PyObject
* obj1
= 0 ;
9309 PyObject
* obj2
= 0 ;
9310 PyObject
* obj3
= 0 ;
9312 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9317 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9318 if (PyErr_Occurred()) SWIG_fail
;
9319 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9320 if (PyErr_Occurred()) SWIG_fail
;
9321 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9322 if (PyErr_Occurred()) SWIG_fail
;
9324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9325 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9327 wxPyEndAllowThreads(__tstate
);
9328 if (PyErr_Occurred()) SWIG_fail
;
9331 wxImage
* resultptr
;
9332 resultptr
= new wxImage((wxImage
&) result
);
9333 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9341 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9342 PyObject
*resultobj
;
9343 wxImage
*arg1
= (wxImage
*) 0 ;
9344 wxString
*arg2
= 0 ;
9345 wxString
*arg3
= 0 ;
9346 bool temp2
= False
;
9347 bool temp3
= False
;
9348 PyObject
* obj0
= 0 ;
9349 PyObject
* obj1
= 0 ;
9350 PyObject
* obj2
= 0 ;
9352 (char *) "self",(char *) "name",(char *) "value", NULL
9355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9358 arg2
= wxString_in_helper(obj1
);
9359 if (arg2
== NULL
) SWIG_fail
;
9363 arg3
= wxString_in_helper(obj2
);
9364 if (arg3
== NULL
) SWIG_fail
;
9368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9369 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9371 wxPyEndAllowThreads(__tstate
);
9372 if (PyErr_Occurred()) SWIG_fail
;
9374 Py_INCREF(Py_None
); resultobj
= Py_None
;
9397 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9398 PyObject
*resultobj
;
9399 wxImage
*arg1
= (wxImage
*) 0 ;
9400 wxString
*arg2
= 0 ;
9402 bool temp2
= False
;
9403 PyObject
* obj0
= 0 ;
9404 PyObject
* obj1
= 0 ;
9406 (char *) "self",(char *) "name",(char *) "value", NULL
9409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9412 arg2
= wxString_in_helper(obj1
);
9413 if (arg2
== NULL
) SWIG_fail
;
9417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9418 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9420 wxPyEndAllowThreads(__tstate
);
9421 if (PyErr_Occurred()) SWIG_fail
;
9423 Py_INCREF(Py_None
); resultobj
= Py_None
;
9438 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9439 PyObject
*resultobj
;
9440 wxImage
*arg1
= (wxImage
*) 0 ;
9441 wxString
*arg2
= 0 ;
9443 bool temp2
= False
;
9444 PyObject
* obj0
= 0 ;
9445 PyObject
* obj1
= 0 ;
9447 (char *) "self",(char *) "name", NULL
9450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9453 arg2
= wxString_in_helper(obj1
);
9454 if (arg2
== NULL
) SWIG_fail
;
9458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9459 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9461 wxPyEndAllowThreads(__tstate
);
9462 if (PyErr_Occurred()) SWIG_fail
;
9466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9485 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9486 PyObject
*resultobj
;
9487 wxImage
*arg1
= (wxImage
*) 0 ;
9488 wxString
*arg2
= 0 ;
9490 bool temp2
= False
;
9491 PyObject
* obj0
= 0 ;
9492 PyObject
* obj1
= 0 ;
9494 (char *) "self",(char *) "name", NULL
9497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9500 arg2
= wxString_in_helper(obj1
);
9501 if (arg2
== NULL
) SWIG_fail
;
9505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9506 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9508 wxPyEndAllowThreads(__tstate
);
9509 if (PyErr_Occurred()) SWIG_fail
;
9511 resultobj
= PyInt_FromLong((long)result
);
9526 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9527 PyObject
*resultobj
;
9528 wxImage
*arg1
= (wxImage
*) 0 ;
9529 wxString
*arg2
= 0 ;
9531 bool temp2
= False
;
9532 PyObject
* obj0
= 0 ;
9533 PyObject
* obj1
= 0 ;
9535 (char *) "self",(char *) "name", NULL
9538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9541 arg2
= wxString_in_helper(obj1
);
9542 if (arg2
== NULL
) SWIG_fail
;
9546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9547 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9549 wxPyEndAllowThreads(__tstate
);
9550 if (PyErr_Occurred()) SWIG_fail
;
9552 resultobj
= PyInt_FromLong((long)result
);
9567 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9568 PyObject
*resultobj
;
9569 wxImage
*arg1
= (wxImage
*) 0 ;
9570 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9571 unsigned long result
;
9572 PyObject
* obj0
= 0 ;
9573 PyObject
* obj1
= 0 ;
9575 (char *) "self",(char *) "stopafter", NULL
9578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9581 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9582 if (PyErr_Occurred()) SWIG_fail
;
9585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9586 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9588 wxPyEndAllowThreads(__tstate
);
9589 if (PyErr_Occurred()) SWIG_fail
;
9591 resultobj
= PyInt_FromLong((long)result
);
9598 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9599 PyObject
*resultobj
;
9600 wxImage
*arg1
= (wxImage
*) 0 ;
9601 wxImageHistogram
*arg2
= 0 ;
9602 unsigned long result
;
9603 PyObject
* obj0
= 0 ;
9604 PyObject
* obj1
= 0 ;
9606 (char *) "self",(char *) "h", NULL
9609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9613 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9617 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9619 wxPyEndAllowThreads(__tstate
);
9620 if (PyErr_Occurred()) SWIG_fail
;
9622 resultobj
= PyInt_FromLong((long)result
);
9629 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9630 PyObject
*resultobj
;
9631 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9632 PyObject
* obj0
= 0 ;
9634 (char *) "handler", NULL
9637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9641 wxImage::AddHandler(arg1
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9646 Py_INCREF(Py_None
); resultobj
= Py_None
;
9653 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9654 PyObject
*resultobj
;
9655 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9656 PyObject
* obj0
= 0 ;
9658 (char *) "handler", NULL
9661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9662 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 wxImage::InsertHandler(arg1
);
9667 wxPyEndAllowThreads(__tstate
);
9668 if (PyErr_Occurred()) SWIG_fail
;
9670 Py_INCREF(Py_None
); resultobj
= Py_None
;
9677 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9678 PyObject
*resultobj
;
9679 wxString
*arg1
= 0 ;
9681 bool temp1
= False
;
9682 PyObject
* obj0
= 0 ;
9684 (char *) "name", NULL
9687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9689 arg1
= wxString_in_helper(obj0
);
9690 if (arg1
== NULL
) SWIG_fail
;
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9697 wxPyEndAllowThreads(__tstate
);
9698 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= PyInt_FromLong((long)result
);
9715 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9716 PyObject
*resultobj
;
9722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9725 result
= wxImage::GetImageExtWildcard();
9727 wxPyEndAllowThreads(__tstate
);
9728 if (PyErr_Occurred()) SWIG_fail
;
9732 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9734 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9743 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9744 PyObject
*resultobj
;
9745 wxImage
*arg1
= (wxImage
*) 0 ;
9747 PyObject
* obj0
= 0 ;
9749 (char *) "self", NULL
9752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9756 result
= wxImage_ConvertToBitmap(arg1
);
9758 wxPyEndAllowThreads(__tstate
);
9759 if (PyErr_Occurred()) SWIG_fail
;
9762 wxBitmap
* resultptr
;
9763 resultptr
= new wxBitmap((wxBitmap
&) result
);
9764 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9772 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxImage
*arg1
= (wxImage
*) 0 ;
9775 unsigned char arg2
;
9776 unsigned char arg3
;
9777 unsigned char arg4
;
9779 PyObject
* obj0
= 0 ;
9780 PyObject
* obj1
= 0 ;
9781 PyObject
* obj2
= 0 ;
9782 PyObject
* obj3
= 0 ;
9784 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9789 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9790 if (PyErr_Occurred()) SWIG_fail
;
9791 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9792 if (PyErr_Occurred()) SWIG_fail
;
9793 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9794 if (PyErr_Occurred()) SWIG_fail
;
9796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9797 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9799 wxPyEndAllowThreads(__tstate
);
9800 if (PyErr_Occurred()) SWIG_fail
;
9803 wxBitmap
* resultptr
;
9804 resultptr
= new wxBitmap((wxBitmap
&) result
);
9805 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9813 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9815 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9816 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9818 return Py_BuildValue((char *)"");
9820 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9821 PyObject
*resultobj
;
9826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9829 wxInitAllImageHandlers();
9831 wxPyEndAllowThreads(__tstate
);
9832 if (PyErr_Occurred()) SWIG_fail
;
9834 Py_INCREF(Py_None
); resultobj
= Py_None
;
9841 static int _wrap_NullImage_set(PyObject
*_val
) {
9842 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9847 static PyObject
*_wrap_NullImage_get() {
9850 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9855 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9856 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9861 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9866 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9868 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9875 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9876 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
9881 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
9886 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9888 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
9895 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
9896 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
9901 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
9906 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9908 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
9915 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
9916 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
9921 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
9926 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9928 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
9935 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
9936 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
9941 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
9946 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9948 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
9955 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9956 PyObject
*resultobj
;
9957 wxBMPHandler
*result
;
9962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
9964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9965 result
= (wxBMPHandler
*)new wxBMPHandler();
9967 wxPyEndAllowThreads(__tstate
);
9968 if (PyErr_Occurred()) SWIG_fail
;
9970 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
9977 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
9979 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9980 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
9982 return Py_BuildValue((char *)"");
9984 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9985 PyObject
*resultobj
;
9986 wxICOHandler
*result
;
9991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
9993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9994 result
= (wxICOHandler
*)new wxICOHandler();
9996 wxPyEndAllowThreads(__tstate
);
9997 if (PyErr_Occurred()) SWIG_fail
;
9999 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
10006 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10008 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10009 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10011 return Py_BuildValue((char *)"");
10013 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10014 PyObject
*resultobj
;
10015 wxCURHandler
*result
;
10016 char *kwnames
[] = {
10020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10023 result
= (wxCURHandler
*)new wxCURHandler();
10025 wxPyEndAllowThreads(__tstate
);
10026 if (PyErr_Occurred()) SWIG_fail
;
10028 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10035 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10037 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10038 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10040 return Py_BuildValue((char *)"");
10042 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10043 PyObject
*resultobj
;
10044 wxANIHandler
*result
;
10045 char *kwnames
[] = {
10049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10052 result
= (wxANIHandler
*)new wxANIHandler();
10054 wxPyEndAllowThreads(__tstate
);
10055 if (PyErr_Occurred()) SWIG_fail
;
10057 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10064 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10066 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10067 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10069 return Py_BuildValue((char *)"");
10071 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10072 PyObject
*resultobj
;
10073 wxPNGHandler
*result
;
10074 char *kwnames
[] = {
10078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10081 result
= (wxPNGHandler
*)new wxPNGHandler();
10083 wxPyEndAllowThreads(__tstate
);
10084 if (PyErr_Occurred()) SWIG_fail
;
10086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10093 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10095 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10096 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10098 return Py_BuildValue((char *)"");
10100 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10101 PyObject
*resultobj
;
10102 wxGIFHandler
*result
;
10103 char *kwnames
[] = {
10107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10110 result
= (wxGIFHandler
*)new wxGIFHandler();
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10122 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10124 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10125 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10127 return Py_BuildValue((char *)"");
10129 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10130 PyObject
*resultobj
;
10131 wxPCXHandler
*result
;
10132 char *kwnames
[] = {
10136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10139 result
= (wxPCXHandler
*)new wxPCXHandler();
10141 wxPyEndAllowThreads(__tstate
);
10142 if (PyErr_Occurred()) SWIG_fail
;
10144 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10151 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10153 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10154 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10156 return Py_BuildValue((char *)"");
10158 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10159 PyObject
*resultobj
;
10160 wxJPEGHandler
*result
;
10161 char *kwnames
[] = {
10165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10170 wxPyEndAllowThreads(__tstate
);
10171 if (PyErr_Occurred()) SWIG_fail
;
10173 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10180 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10182 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10183 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10185 return Py_BuildValue((char *)"");
10187 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10188 PyObject
*resultobj
;
10189 wxPNMHandler
*result
;
10190 char *kwnames
[] = {
10194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10197 result
= (wxPNMHandler
*)new wxPNMHandler();
10199 wxPyEndAllowThreads(__tstate
);
10200 if (PyErr_Occurred()) SWIG_fail
;
10202 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10209 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10211 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10212 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10214 return Py_BuildValue((char *)"");
10216 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
;
10218 wxXPMHandler
*result
;
10219 char *kwnames
[] = {
10223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10226 result
= (wxXPMHandler
*)new wxXPMHandler();
10228 wxPyEndAllowThreads(__tstate
);
10229 if (PyErr_Occurred()) SWIG_fail
;
10231 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10238 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10240 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10241 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10243 return Py_BuildValue((char *)"");
10245 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10246 PyObject
*resultobj
;
10247 wxTIFFHandler
*result
;
10248 char *kwnames
[] = {
10252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10257 wxPyEndAllowThreads(__tstate
);
10258 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10267 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10270 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10272 return Py_BuildValue((char *)"");
10274 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10275 PyObject
*resultobj
;
10276 wxEvtHandler
*result
;
10277 char *kwnames
[] = {
10281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 result
= (wxEvtHandler
*)new wxEvtHandler();
10286 wxPyEndAllowThreads(__tstate
);
10287 if (PyErr_Occurred()) SWIG_fail
;
10290 resultobj
= wxPyMake_wxObject(result
);
10298 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10299 PyObject
*resultobj
;
10300 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10301 wxEvtHandler
*result
;
10302 PyObject
* obj0
= 0 ;
10303 char *kwnames
[] = {
10304 (char *) "self", NULL
10307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10311 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10313 wxPyEndAllowThreads(__tstate
);
10314 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= wxPyMake_wxObject(result
);
10325 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10326 PyObject
*resultobj
;
10327 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10328 wxEvtHandler
*result
;
10329 PyObject
* obj0
= 0 ;
10330 char *kwnames
[] = {
10331 (char *) "self", NULL
10334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10338 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10340 wxPyEndAllowThreads(__tstate
);
10341 if (PyErr_Occurred()) SWIG_fail
;
10344 resultobj
= wxPyMake_wxObject(result
);
10352 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10353 PyObject
*resultobj
;
10354 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10355 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10356 PyObject
* obj0
= 0 ;
10357 PyObject
* obj1
= 0 ;
10358 char *kwnames
[] = {
10359 (char *) "self",(char *) "handler", NULL
10362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10364 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 (arg1
)->SetNextHandler(arg2
);
10369 wxPyEndAllowThreads(__tstate
);
10370 if (PyErr_Occurred()) SWIG_fail
;
10372 Py_INCREF(Py_None
); resultobj
= Py_None
;
10379 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10380 PyObject
*resultobj
;
10381 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10382 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10383 PyObject
* obj0
= 0 ;
10384 PyObject
* obj1
= 0 ;
10385 char *kwnames
[] = {
10386 (char *) "self",(char *) "handler", NULL
10389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10394 (arg1
)->SetPreviousHandler(arg2
);
10396 wxPyEndAllowThreads(__tstate
);
10397 if (PyErr_Occurred()) SWIG_fail
;
10399 Py_INCREF(Py_None
); resultobj
= Py_None
;
10406 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10407 PyObject
*resultobj
;
10408 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10410 PyObject
* obj0
= 0 ;
10411 char *kwnames
[] = {
10412 (char *) "self", NULL
10415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10419 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10421 wxPyEndAllowThreads(__tstate
);
10422 if (PyErr_Occurred()) SWIG_fail
;
10424 resultobj
= PyInt_FromLong((long)result
);
10431 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10432 PyObject
*resultobj
;
10433 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10435 PyObject
* obj0
= 0 ;
10436 PyObject
* obj1
= 0 ;
10437 char *kwnames
[] = {
10438 (char *) "self",(char *) "enabled", NULL
10441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10443 arg2
= PyInt_AsLong(obj1
) ? true : false;
10444 if (PyErr_Occurred()) SWIG_fail
;
10446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10447 (arg1
)->SetEvtHandlerEnabled(arg2
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10452 Py_INCREF(Py_None
); resultobj
= Py_None
;
10459 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10460 PyObject
*resultobj
;
10461 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10462 wxEvent
*arg2
= 0 ;
10464 PyObject
* obj0
= 0 ;
10465 PyObject
* obj1
= 0 ;
10466 char *kwnames
[] = {
10467 (char *) "self",(char *) "event", NULL
10470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10472 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10473 if (arg2
== NULL
) {
10474 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10478 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10480 wxPyEndAllowThreads(__tstate
);
10481 if (PyErr_Occurred()) SWIG_fail
;
10483 resultobj
= PyInt_FromLong((long)result
);
10490 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10491 PyObject
*resultobj
;
10492 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10493 wxEvent
*arg2
= 0 ;
10494 PyObject
* obj0
= 0 ;
10495 PyObject
* obj1
= 0 ;
10496 char *kwnames
[] = {
10497 (char *) "self",(char *) "event", NULL
10500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10502 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10503 if (arg2
== NULL
) {
10504 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10508 (arg1
)->AddPendingEvent(*arg2
);
10510 wxPyEndAllowThreads(__tstate
);
10511 if (PyErr_Occurred()) SWIG_fail
;
10513 Py_INCREF(Py_None
); resultobj
= Py_None
;
10520 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10521 PyObject
*resultobj
;
10522 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10523 PyObject
* obj0
= 0 ;
10524 char *kwnames
[] = {
10525 (char *) "self", NULL
10528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10532 (arg1
)->ProcessPendingEvents();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10537 Py_INCREF(Py_None
); resultobj
= Py_None
;
10544 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10545 PyObject
*resultobj
;
10546 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10550 PyObject
*arg5
= (PyObject
*) 0 ;
10551 PyObject
* obj0
= 0 ;
10552 PyObject
* obj4
= 0 ;
10553 char *kwnames
[] = {
10554 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10562 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 Py_INCREF(Py_None
); resultobj
= Py_None
;
10574 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10575 PyObject
*resultobj
;
10576 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10578 int arg3
= (int) -1 ;
10579 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10581 PyObject
* obj0
= 0 ;
10582 char *kwnames
[] = {
10583 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10590 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= PyInt_FromLong((long)result
);
10602 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10603 PyObject
*resultobj
;
10604 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10605 PyObject
*arg2
= (PyObject
*) 0 ;
10606 PyObject
* obj0
= 0 ;
10607 PyObject
* obj1
= 0 ;
10608 char *kwnames
[] = {
10609 (char *) "self",(char *) "_self", NULL
10612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10617 wxEvtHandler__setOORInfo(arg1
,arg2
);
10619 wxPyEndAllowThreads(__tstate
);
10620 if (PyErr_Occurred()) SWIG_fail
;
10622 Py_INCREF(Py_None
); resultobj
= Py_None
;
10629 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10631 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10632 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10634 return Py_BuildValue((char *)"");
10636 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10637 PyObject
*resultobj
;
10638 wxEventType result
;
10639 char *kwnames
[] = {
10643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10646 result
= (wxEventType
)wxNewEventType();
10648 wxPyEndAllowThreads(__tstate
);
10649 if (PyErr_Occurred()) SWIG_fail
;
10651 resultobj
= PyInt_FromLong((long)result
);
10658 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10659 PyObject
*resultobj
;
10660 wxEvent
*arg1
= (wxEvent
*) 0 ;
10661 PyObject
* obj0
= 0 ;
10662 char *kwnames
[] = {
10663 (char *) "self", NULL
10666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10672 wxPyEndAllowThreads(__tstate
);
10673 if (PyErr_Occurred()) SWIG_fail
;
10675 Py_INCREF(Py_None
); resultobj
= Py_None
;
10682 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10683 PyObject
*resultobj
;
10684 wxEvent
*arg1
= (wxEvent
*) 0 ;
10686 PyObject
* obj0
= 0 ;
10687 char *kwnames
[] = {
10688 (char *) "self",(char *) "typ", NULL
10691 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10692 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 (arg1
)->SetEventType(arg2
);
10697 wxPyEndAllowThreads(__tstate
);
10698 if (PyErr_Occurred()) SWIG_fail
;
10700 Py_INCREF(Py_None
); resultobj
= Py_None
;
10707 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10708 PyObject
*resultobj
;
10709 wxEvent
*arg1
= (wxEvent
*) 0 ;
10710 wxEventType result
;
10711 PyObject
* obj0
= 0 ;
10712 char *kwnames
[] = {
10713 (char *) "self", NULL
10716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10720 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10722 wxPyEndAllowThreads(__tstate
);
10723 if (PyErr_Occurred()) SWIG_fail
;
10725 resultobj
= PyInt_FromLong((long)result
);
10732 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10733 PyObject
*resultobj
;
10734 wxEvent
*arg1
= (wxEvent
*) 0 ;
10736 PyObject
* obj0
= 0 ;
10737 char *kwnames
[] = {
10738 (char *) "self", NULL
10741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10745 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10747 wxPyEndAllowThreads(__tstate
);
10748 if (PyErr_Occurred()) SWIG_fail
;
10751 resultobj
= wxPyMake_wxObject(result
);
10759 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10760 PyObject
*resultobj
;
10761 wxEvent
*arg1
= (wxEvent
*) 0 ;
10762 wxObject
*arg2
= (wxObject
*) 0 ;
10763 PyObject
* obj0
= 0 ;
10764 PyObject
* obj1
= 0 ;
10765 char *kwnames
[] = {
10766 (char *) "self",(char *) "obj", NULL
10769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10771 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10774 (arg1
)->SetEventObject(arg2
);
10776 wxPyEndAllowThreads(__tstate
);
10777 if (PyErr_Occurred()) SWIG_fail
;
10779 Py_INCREF(Py_None
); resultobj
= Py_None
;
10786 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10787 PyObject
*resultobj
;
10788 wxEvent
*arg1
= (wxEvent
*) 0 ;
10790 PyObject
* obj0
= 0 ;
10791 char *kwnames
[] = {
10792 (char *) "self", NULL
10795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10799 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10801 wxPyEndAllowThreads(__tstate
);
10802 if (PyErr_Occurred()) SWIG_fail
;
10804 resultobj
= PyInt_FromLong((long)result
);
10811 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10812 PyObject
*resultobj
;
10813 wxEvent
*arg1
= (wxEvent
*) 0 ;
10814 long arg2
= (long) 0 ;
10815 PyObject
* obj0
= 0 ;
10816 char *kwnames
[] = {
10817 (char *) "self",(char *) "ts", NULL
10820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10824 (arg1
)->SetTimestamp(arg2
);
10826 wxPyEndAllowThreads(__tstate
);
10827 if (PyErr_Occurred()) SWIG_fail
;
10829 Py_INCREF(Py_None
); resultobj
= Py_None
;
10836 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10837 PyObject
*resultobj
;
10838 wxEvent
*arg1
= (wxEvent
*) 0 ;
10840 PyObject
* obj0
= 0 ;
10841 char *kwnames
[] = {
10842 (char *) "self", NULL
10845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10849 result
= (int)((wxEvent
const *)arg1
)->GetId();
10851 wxPyEndAllowThreads(__tstate
);
10852 if (PyErr_Occurred()) SWIG_fail
;
10854 resultobj
= PyInt_FromLong((long)result
);
10861 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10862 PyObject
*resultobj
;
10863 wxEvent
*arg1
= (wxEvent
*) 0 ;
10865 PyObject
* obj0
= 0 ;
10866 char *kwnames
[] = {
10867 (char *) "self",(char *) "Id", NULL
10870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10874 (arg1
)->SetId(arg2
);
10876 wxPyEndAllowThreads(__tstate
);
10877 if (PyErr_Occurred()) SWIG_fail
;
10879 Py_INCREF(Py_None
); resultobj
= Py_None
;
10886 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10887 PyObject
*resultobj
;
10888 wxEvent
*arg1
= (wxEvent
*) 0 ;
10890 PyObject
* obj0
= 0 ;
10891 char *kwnames
[] = {
10892 (char *) "self", NULL
10895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
10896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10899 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
10901 wxPyEndAllowThreads(__tstate
);
10902 if (PyErr_Occurred()) SWIG_fail
;
10904 resultobj
= PyInt_FromLong((long)result
);
10911 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10912 PyObject
*resultobj
;
10913 wxEvent
*arg1
= (wxEvent
*) 0 ;
10914 bool arg2
= (bool) True
;
10915 PyObject
* obj0
= 0 ;
10916 PyObject
* obj1
= 0 ;
10917 char *kwnames
[] = {
10918 (char *) "self",(char *) "skip", NULL
10921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
10922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10924 arg2
= PyInt_AsLong(obj1
) ? true : false;
10925 if (PyErr_Occurred()) SWIG_fail
;
10928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10929 (arg1
)->Skip(arg2
);
10931 wxPyEndAllowThreads(__tstate
);
10932 if (PyErr_Occurred()) SWIG_fail
;
10934 Py_INCREF(Py_None
); resultobj
= Py_None
;
10941 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10942 PyObject
*resultobj
;
10943 wxEvent
*arg1
= (wxEvent
*) 0 ;
10945 PyObject
* obj0
= 0 ;
10946 char *kwnames
[] = {
10947 (char *) "self", NULL
10950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
10951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10954 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
10956 wxPyEndAllowThreads(__tstate
);
10957 if (PyErr_Occurred()) SWIG_fail
;
10959 resultobj
= PyInt_FromLong((long)result
);
10966 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10967 PyObject
*resultobj
;
10968 wxEvent
*arg1
= (wxEvent
*) 0 ;
10970 PyObject
* obj0
= 0 ;
10971 char *kwnames
[] = {
10972 (char *) "self", NULL
10975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
10976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10979 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
10981 wxPyEndAllowThreads(__tstate
);
10982 if (PyErr_Occurred()) SWIG_fail
;
10984 resultobj
= PyInt_FromLong((long)result
);
10991 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10992 PyObject
*resultobj
;
10993 wxEvent
*arg1
= (wxEvent
*) 0 ;
10995 PyObject
* obj0
= 0 ;
10996 char *kwnames
[] = {
10997 (char *) "self", NULL
11000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
11001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11004 result
= (int)(arg1
)->StopPropagation();
11006 wxPyEndAllowThreads(__tstate
);
11007 if (PyErr_Occurred()) SWIG_fail
;
11009 resultobj
= PyInt_FromLong((long)result
);
11016 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11017 PyObject
*resultobj
;
11018 wxEvent
*arg1
= (wxEvent
*) 0 ;
11020 PyObject
* obj0
= 0 ;
11021 char *kwnames
[] = {
11022 (char *) "self",(char *) "propagationLevel", NULL
11025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 (arg1
)->ResumePropagation(arg2
);
11031 wxPyEndAllowThreads(__tstate
);
11032 if (PyErr_Occurred()) SWIG_fail
;
11034 Py_INCREF(Py_None
); resultobj
= Py_None
;
11041 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11042 PyObject
*resultobj
;
11043 wxEvent
*arg1
= (wxEvent
*) 0 ;
11045 PyObject
* obj0
= 0 ;
11046 char *kwnames
[] = {
11047 (char *) "self", NULL
11050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11054 result
= (wxEvent
*)(arg1
)->Clone();
11056 wxPyEndAllowThreads(__tstate
);
11057 if (PyErr_Occurred()) SWIG_fail
;
11059 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11066 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11068 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11069 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11071 return Py_BuildValue((char *)"");
11073 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11074 PyObject
*resultobj
;
11075 wxEvent
*arg1
= 0 ;
11076 wxPropagationDisabler
*result
;
11077 PyObject
* obj0
= 0 ;
11078 char *kwnames
[] = {
11079 (char *) "event", NULL
11082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11084 if (arg1
== NULL
) {
11085 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11089 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11091 wxPyEndAllowThreads(__tstate
);
11092 if (PyErr_Occurred()) SWIG_fail
;
11094 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11101 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11102 PyObject
*resultobj
;
11103 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11104 PyObject
* obj0
= 0 ;
11105 char *kwnames
[] = {
11106 (char *) "self", NULL
11109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11115 wxPyEndAllowThreads(__tstate
);
11116 if (PyErr_Occurred()) SWIG_fail
;
11118 Py_INCREF(Py_None
); resultobj
= Py_None
;
11125 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11128 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11130 return Py_BuildValue((char *)"");
11132 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11133 PyObject
*resultobj
;
11134 wxEvent
*arg1
= 0 ;
11135 wxPropagateOnce
*result
;
11136 PyObject
* obj0
= 0 ;
11137 char *kwnames
[] = {
11138 (char *) "event", NULL
11141 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11142 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11143 if (arg1
== NULL
) {
11144 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11160 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11163 PyObject
* obj0
= 0 ;
11164 char *kwnames
[] = {
11165 (char *) "self", NULL
11168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 wxPyEndAllowThreads(__tstate
);
11175 if (PyErr_Occurred()) SWIG_fail
;
11177 Py_INCREF(Py_None
); resultobj
= Py_None
;
11184 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11186 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11187 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11189 return Py_BuildValue((char *)"");
11191 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11192 PyObject
*resultobj
;
11193 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11194 int arg2
= (int) 0 ;
11195 wxCommandEvent
*result
;
11196 char *kwnames
[] = {
11197 (char *) "commandType",(char *) "winid", NULL
11200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11203 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11205 wxPyEndAllowThreads(__tstate
);
11206 if (PyErr_Occurred()) SWIG_fail
;
11208 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11215 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11216 PyObject
*resultobj
;
11217 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 char *kwnames
[] = {
11221 (char *) "self", NULL
11224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11228 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11230 wxPyEndAllowThreads(__tstate
);
11231 if (PyErr_Occurred()) SWIG_fail
;
11233 resultobj
= PyInt_FromLong((long)result
);
11240 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11241 PyObject
*resultobj
;
11242 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11243 wxString
*arg2
= 0 ;
11244 bool temp2
= False
;
11245 PyObject
* obj0
= 0 ;
11246 PyObject
* obj1
= 0 ;
11247 char *kwnames
[] = {
11248 (char *) "self",(char *) "s", NULL
11251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11254 arg2
= wxString_in_helper(obj1
);
11255 if (arg2
== NULL
) SWIG_fail
;
11259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11260 (arg1
)->SetString((wxString
const &)*arg2
);
11262 wxPyEndAllowThreads(__tstate
);
11263 if (PyErr_Occurred()) SWIG_fail
;
11265 Py_INCREF(Py_None
); resultobj
= Py_None
;
11280 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11281 PyObject
*resultobj
;
11282 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11284 PyObject
* obj0
= 0 ;
11285 char *kwnames
[] = {
11286 (char *) "self", NULL
11289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11295 wxPyEndAllowThreads(__tstate
);
11296 if (PyErr_Occurred()) SWIG_fail
;
11300 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11302 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11311 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
;
11313 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11315 PyObject
* obj0
= 0 ;
11316 char *kwnames
[] = {
11317 (char *) "self", NULL
11320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11324 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11326 wxPyEndAllowThreads(__tstate
);
11327 if (PyErr_Occurred()) SWIG_fail
;
11329 resultobj
= PyInt_FromLong((long)result
);
11336 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11337 PyObject
*resultobj
;
11338 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11340 PyObject
* obj0
= 0 ;
11341 char *kwnames
[] = {
11342 (char *) "self", NULL
11345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11349 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11351 wxPyEndAllowThreads(__tstate
);
11352 if (PyErr_Occurred()) SWIG_fail
;
11354 resultobj
= PyInt_FromLong((long)result
);
11361 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11362 PyObject
*resultobj
;
11363 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11365 PyObject
* obj0
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "extraLong", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11374 (arg1
)->SetExtraLong(arg2
);
11376 wxPyEndAllowThreads(__tstate
);
11377 if (PyErr_Occurred()) SWIG_fail
;
11379 Py_INCREF(Py_None
); resultobj
= Py_None
;
11386 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11387 PyObject
*resultobj
;
11388 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11390 PyObject
* obj0
= 0 ;
11391 char *kwnames
[] = {
11392 (char *) "self", NULL
11395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11399 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11401 wxPyEndAllowThreads(__tstate
);
11402 if (PyErr_Occurred()) SWIG_fail
;
11404 resultobj
= PyInt_FromLong((long)result
);
11411 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11412 PyObject
*resultobj
;
11413 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11415 PyObject
* obj0
= 0 ;
11416 char *kwnames
[] = {
11417 (char *) "self",(char *) "i", NULL
11420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11424 (arg1
)->SetInt(arg2
);
11426 wxPyEndAllowThreads(__tstate
);
11427 if (PyErr_Occurred()) SWIG_fail
;
11429 Py_INCREF(Py_None
); resultobj
= Py_None
;
11436 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11437 PyObject
*resultobj
;
11438 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11440 PyObject
* obj0
= 0 ;
11441 char *kwnames
[] = {
11442 (char *) "self", NULL
11445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11449 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11451 wxPyEndAllowThreads(__tstate
);
11452 if (PyErr_Occurred()) SWIG_fail
;
11454 resultobj
= PyInt_FromLong((long)result
);
11461 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11462 PyObject
*resultobj
;
11463 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11465 PyObject
* obj0
= 0 ;
11466 char *kwnames
[] = {
11467 (char *) "self", NULL
11470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11474 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11476 wxPyEndAllowThreads(__tstate
);
11477 if (PyErr_Occurred()) SWIG_fail
;
11479 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11486 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11489 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11491 return Py_BuildValue((char *)"");
11493 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11494 PyObject
*resultobj
;
11495 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11496 int arg2
= (int) 0 ;
11497 wxNotifyEvent
*result
;
11498 char *kwnames
[] = {
11499 (char *) "commandType",(char *) "winid", NULL
11502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11505 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11507 wxPyEndAllowThreads(__tstate
);
11508 if (PyErr_Occurred()) SWIG_fail
;
11510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11517 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11518 PyObject
*resultobj
;
11519 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11520 PyObject
* obj0
= 0 ;
11521 char *kwnames
[] = {
11522 (char *) "self", NULL
11525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11531 wxPyEndAllowThreads(__tstate
);
11532 if (PyErr_Occurred()) SWIG_fail
;
11534 Py_INCREF(Py_None
); resultobj
= Py_None
;
11541 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11542 PyObject
*resultobj
;
11543 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11544 PyObject
* obj0
= 0 ;
11545 char *kwnames
[] = {
11546 (char *) "self", NULL
11549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11555 wxPyEndAllowThreads(__tstate
);
11556 if (PyErr_Occurred()) SWIG_fail
;
11558 Py_INCREF(Py_None
); resultobj
= Py_None
;
11565 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11566 PyObject
*resultobj
;
11567 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11569 PyObject
* obj0
= 0 ;
11570 char *kwnames
[] = {
11571 (char *) "self", NULL
11574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11578 result
= (bool)(arg1
)->IsAllowed();
11580 wxPyEndAllowThreads(__tstate
);
11581 if (PyErr_Occurred()) SWIG_fail
;
11583 resultobj
= PyInt_FromLong((long)result
);
11590 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11592 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11593 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11595 return Py_BuildValue((char *)"");
11597 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11598 PyObject
*resultobj
;
11599 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11600 int arg2
= (int) 0 ;
11601 int arg3
= (int) 0 ;
11602 int arg4
= (int) 0 ;
11603 wxScrollEvent
*result
;
11604 char *kwnames
[] = {
11605 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11611 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11613 wxPyEndAllowThreads(__tstate
);
11614 if (PyErr_Occurred()) SWIG_fail
;
11616 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11623 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11624 PyObject
*resultobj
;
11625 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11627 PyObject
* obj0
= 0 ;
11628 char *kwnames
[] = {
11629 (char *) "self", NULL
11632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11638 wxPyEndAllowThreads(__tstate
);
11639 if (PyErr_Occurred()) SWIG_fail
;
11641 resultobj
= PyInt_FromLong((long)result
);
11648 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11649 PyObject
*resultobj
;
11650 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11652 PyObject
* obj0
= 0 ;
11653 char *kwnames
[] = {
11654 (char *) "self", NULL
11657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11661 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11663 wxPyEndAllowThreads(__tstate
);
11664 if (PyErr_Occurred()) SWIG_fail
;
11666 resultobj
= PyInt_FromLong((long)result
);
11673 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11674 PyObject
*resultobj
;
11675 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11677 PyObject
* obj0
= 0 ;
11678 char *kwnames
[] = {
11679 (char *) "self",(char *) "orient", NULL
11682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11686 (arg1
)->SetOrientation(arg2
);
11688 wxPyEndAllowThreads(__tstate
);
11689 if (PyErr_Occurred()) SWIG_fail
;
11691 Py_INCREF(Py_None
); resultobj
= Py_None
;
11698 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11699 PyObject
*resultobj
;
11700 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11702 PyObject
* obj0
= 0 ;
11703 char *kwnames
[] = {
11704 (char *) "self",(char *) "pos", NULL
11707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11711 (arg1
)->SetPosition(arg2
);
11713 wxPyEndAllowThreads(__tstate
);
11714 if (PyErr_Occurred()) SWIG_fail
;
11716 Py_INCREF(Py_None
); resultobj
= Py_None
;
11723 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11725 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11726 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11728 return Py_BuildValue((char *)"");
11730 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11731 PyObject
*resultobj
;
11732 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11733 int arg2
= (int) 0 ;
11734 int arg3
= (int) 0 ;
11735 wxScrollWinEvent
*result
;
11736 char *kwnames
[] = {
11737 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11740 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11743 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11745 wxPyEndAllowThreads(__tstate
);
11746 if (PyErr_Occurred()) SWIG_fail
;
11748 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11755 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11756 PyObject
*resultobj
;
11757 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11759 PyObject
* obj0
= 0 ;
11760 char *kwnames
[] = {
11761 (char *) "self", NULL
11764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11768 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11770 wxPyEndAllowThreads(__tstate
);
11771 if (PyErr_Occurred()) SWIG_fail
;
11773 resultobj
= PyInt_FromLong((long)result
);
11780 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11781 PyObject
*resultobj
;
11782 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11784 PyObject
* obj0
= 0 ;
11785 char *kwnames
[] = {
11786 (char *) "self", NULL
11789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11793 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11795 wxPyEndAllowThreads(__tstate
);
11796 if (PyErr_Occurred()) SWIG_fail
;
11798 resultobj
= PyInt_FromLong((long)result
);
11805 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11806 PyObject
*resultobj
;
11807 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11809 PyObject
* obj0
= 0 ;
11810 char *kwnames
[] = {
11811 (char *) "self",(char *) "orient", NULL
11814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11818 (arg1
)->SetOrientation(arg2
);
11820 wxPyEndAllowThreads(__tstate
);
11821 if (PyErr_Occurred()) SWIG_fail
;
11823 Py_INCREF(Py_None
); resultobj
= Py_None
;
11830 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11831 PyObject
*resultobj
;
11832 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11834 PyObject
* obj0
= 0 ;
11835 char *kwnames
[] = {
11836 (char *) "self",(char *) "pos", NULL
11839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11843 (arg1
)->SetPosition(arg2
);
11845 wxPyEndAllowThreads(__tstate
);
11846 if (PyErr_Occurred()) SWIG_fail
;
11848 Py_INCREF(Py_None
); resultobj
= Py_None
;
11855 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11858 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11860 return Py_BuildValue((char *)"");
11862 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11863 PyObject
*resultobj
;
11864 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11865 wxMouseEvent
*result
;
11866 char *kwnames
[] = {
11867 (char *) "mouseType", NULL
11870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11873 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11875 wxPyEndAllowThreads(__tstate
);
11876 if (PyErr_Occurred()) SWIG_fail
;
11879 resultobj
= wxPyMake_wxObject(result
);
11887 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11888 PyObject
*resultobj
;
11889 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11891 PyObject
* obj0
= 0 ;
11892 char *kwnames
[] = {
11893 (char *) "self", NULL
11896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
11897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11900 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= PyInt_FromLong((long)result
);
11912 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11913 PyObject
*resultobj
;
11914 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11915 int arg2
= (int) wxMOUSE_BTN_ANY
;
11917 PyObject
* obj0
= 0 ;
11918 char *kwnames
[] = {
11919 (char *) "self",(char *) "but", NULL
11922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
11923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11926 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
11928 wxPyEndAllowThreads(__tstate
);
11929 if (PyErr_Occurred()) SWIG_fail
;
11931 resultobj
= PyInt_FromLong((long)result
);
11938 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11939 PyObject
*resultobj
;
11940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11941 int arg2
= (int) wxMOUSE_BTN_ANY
;
11943 PyObject
* obj0
= 0 ;
11944 char *kwnames
[] = {
11945 (char *) "self",(char *) "but", NULL
11948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
11949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11952 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
11954 wxPyEndAllowThreads(__tstate
);
11955 if (PyErr_Occurred()) SWIG_fail
;
11957 resultobj
= PyInt_FromLong((long)result
);
11964 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11965 PyObject
*resultobj
;
11966 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11967 int arg2
= (int) wxMOUSE_BTN_ANY
;
11969 PyObject
* obj0
= 0 ;
11970 char *kwnames
[] = {
11971 (char *) "self",(char *) "but", NULL
11974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
11975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11978 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
11980 wxPyEndAllowThreads(__tstate
);
11981 if (PyErr_Occurred()) SWIG_fail
;
11983 resultobj
= PyInt_FromLong((long)result
);
11990 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11991 PyObject
*resultobj
;
11992 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 char *kwnames
[] = {
11997 (char *) "self",(char *) "but", NULL
12000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
12001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12004 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
12006 wxPyEndAllowThreads(__tstate
);
12007 if (PyErr_Occurred()) SWIG_fail
;
12009 resultobj
= PyInt_FromLong((long)result
);
12016 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12017 PyObject
*resultobj
;
12018 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12021 PyObject
* obj0
= 0 ;
12022 char *kwnames
[] = {
12023 (char *) "self",(char *) "but", NULL
12026 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12027 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12030 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12032 wxPyEndAllowThreads(__tstate
);
12033 if (PyErr_Occurred()) SWIG_fail
;
12035 resultobj
= PyInt_FromLong((long)result
);
12042 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12043 PyObject
*resultobj
;
12044 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12046 PyObject
* obj0
= 0 ;
12047 char *kwnames
[] = {
12048 (char *) "self", NULL
12051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12054 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12055 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12057 wxPyEndAllowThreads(__tstate
);
12058 if (PyErr_Occurred()) SWIG_fail
;
12060 resultobj
= PyInt_FromLong((long)result
);
12067 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12068 PyObject
*resultobj
;
12069 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12071 PyObject
* obj0
= 0 ;
12072 char *kwnames
[] = {
12073 (char *) "self", NULL
12076 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12077 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12080 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12082 wxPyEndAllowThreads(__tstate
);
12083 if (PyErr_Occurred()) SWIG_fail
;
12085 resultobj
= PyInt_FromLong((long)result
);
12092 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12093 PyObject
*resultobj
;
12094 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12096 PyObject
* obj0
= 0 ;
12097 char *kwnames
[] = {
12098 (char *) "self", NULL
12101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12105 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12107 wxPyEndAllowThreads(__tstate
);
12108 if (PyErr_Occurred()) SWIG_fail
;
12110 resultobj
= PyInt_FromLong((long)result
);
12117 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12118 PyObject
*resultobj
;
12119 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12121 PyObject
* obj0
= 0 ;
12122 char *kwnames
[] = {
12123 (char *) "self", NULL
12126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12130 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12132 wxPyEndAllowThreads(__tstate
);
12133 if (PyErr_Occurred()) SWIG_fail
;
12135 resultobj
= PyInt_FromLong((long)result
);
12142 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12143 PyObject
*resultobj
;
12144 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12146 PyObject
* obj0
= 0 ;
12147 char *kwnames
[] = {
12148 (char *) "self", NULL
12151 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12152 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12155 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12157 wxPyEndAllowThreads(__tstate
);
12158 if (PyErr_Occurred()) SWIG_fail
;
12160 resultobj
= PyInt_FromLong((long)result
);
12167 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12168 PyObject
*resultobj
;
12169 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12171 PyObject
* obj0
= 0 ;
12172 char *kwnames
[] = {
12173 (char *) "self", NULL
12176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12180 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12182 wxPyEndAllowThreads(__tstate
);
12183 if (PyErr_Occurred()) SWIG_fail
;
12185 resultobj
= PyInt_FromLong((long)result
);
12192 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12193 PyObject
*resultobj
;
12194 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12196 PyObject
* obj0
= 0 ;
12197 char *kwnames
[] = {
12198 (char *) "self", NULL
12201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12205 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= PyInt_FromLong((long)result
);
12217 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12218 PyObject
*resultobj
;
12219 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12221 PyObject
* obj0
= 0 ;
12222 char *kwnames
[] = {
12223 (char *) "self", NULL
12226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12227 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12230 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12232 wxPyEndAllowThreads(__tstate
);
12233 if (PyErr_Occurred()) SWIG_fail
;
12235 resultobj
= PyInt_FromLong((long)result
);
12242 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12243 PyObject
*resultobj
;
12244 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12246 PyObject
* obj0
= 0 ;
12247 char *kwnames
[] = {
12248 (char *) "self", NULL
12251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12255 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12257 wxPyEndAllowThreads(__tstate
);
12258 if (PyErr_Occurred()) SWIG_fail
;
12260 resultobj
= PyInt_FromLong((long)result
);
12267 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12268 PyObject
*resultobj
;
12269 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12271 PyObject
* obj0
= 0 ;
12272 char *kwnames
[] = {
12273 (char *) "self", NULL
12276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12280 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12282 wxPyEndAllowThreads(__tstate
);
12283 if (PyErr_Occurred()) SWIG_fail
;
12285 resultobj
= PyInt_FromLong((long)result
);
12292 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12293 PyObject
*resultobj
;
12294 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12296 PyObject
* obj0
= 0 ;
12297 char *kwnames
[] = {
12298 (char *) "self", NULL
12301 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12302 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12305 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12307 wxPyEndAllowThreads(__tstate
);
12308 if (PyErr_Occurred()) SWIG_fail
;
12310 resultobj
= PyInt_FromLong((long)result
);
12317 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12318 PyObject
*resultobj
;
12319 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12321 PyObject
* obj0
= 0 ;
12322 char *kwnames
[] = {
12323 (char *) "self", NULL
12326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12330 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12332 wxPyEndAllowThreads(__tstate
);
12333 if (PyErr_Occurred()) SWIG_fail
;
12335 resultobj
= PyInt_FromLong((long)result
);
12342 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12343 PyObject
*resultobj
;
12344 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12346 PyObject
* obj0
= 0 ;
12347 char *kwnames
[] = {
12348 (char *) "self", NULL
12351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12352 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12355 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12357 wxPyEndAllowThreads(__tstate
);
12358 if (PyErr_Occurred()) SWIG_fail
;
12360 resultobj
= PyInt_FromLong((long)result
);
12367 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12368 PyObject
*resultobj
;
12369 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12371 PyObject
* obj0
= 0 ;
12372 char *kwnames
[] = {
12373 (char *) "self", NULL
12376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12380 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12382 wxPyEndAllowThreads(__tstate
);
12383 if (PyErr_Occurred()) SWIG_fail
;
12385 resultobj
= PyInt_FromLong((long)result
);
12392 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12393 PyObject
*resultobj
;
12394 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12396 PyObject
* obj0
= 0 ;
12397 char *kwnames
[] = {
12398 (char *) "self", NULL
12401 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12405 result
= (bool)(arg1
)->LeftIsDown();
12407 wxPyEndAllowThreads(__tstate
);
12408 if (PyErr_Occurred()) SWIG_fail
;
12410 resultobj
= PyInt_FromLong((long)result
);
12417 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12418 PyObject
*resultobj
;
12419 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12421 PyObject
* obj0
= 0 ;
12422 char *kwnames
[] = {
12423 (char *) "self", NULL
12426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12430 result
= (bool)(arg1
)->MiddleIsDown();
12432 wxPyEndAllowThreads(__tstate
);
12433 if (PyErr_Occurred()) SWIG_fail
;
12435 resultobj
= PyInt_FromLong((long)result
);
12442 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12443 PyObject
*resultobj
;
12444 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12446 PyObject
* obj0
= 0 ;
12447 char *kwnames
[] = {
12448 (char *) "self", NULL
12451 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12455 result
= (bool)(arg1
)->RightIsDown();
12457 wxPyEndAllowThreads(__tstate
);
12458 if (PyErr_Occurred()) SWIG_fail
;
12460 resultobj
= PyInt_FromLong((long)result
);
12467 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12468 PyObject
*resultobj
;
12469 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12471 PyObject
* obj0
= 0 ;
12472 char *kwnames
[] = {
12473 (char *) "self", NULL
12476 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12477 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12480 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12482 wxPyEndAllowThreads(__tstate
);
12483 if (PyErr_Occurred()) SWIG_fail
;
12485 resultobj
= PyInt_FromLong((long)result
);
12492 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12493 PyObject
*resultobj
;
12494 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12496 PyObject
* obj0
= 0 ;
12497 char *kwnames
[] = {
12498 (char *) "self", NULL
12501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12505 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12507 wxPyEndAllowThreads(__tstate
);
12508 if (PyErr_Occurred()) SWIG_fail
;
12510 resultobj
= PyInt_FromLong((long)result
);
12517 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12518 PyObject
*resultobj
;
12519 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12521 PyObject
* obj0
= 0 ;
12522 char *kwnames
[] = {
12523 (char *) "self", NULL
12526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12530 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12532 wxPyEndAllowThreads(__tstate
);
12533 if (PyErr_Occurred()) SWIG_fail
;
12535 resultobj
= PyInt_FromLong((long)result
);
12542 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12543 PyObject
*resultobj
;
12544 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12546 PyObject
* obj0
= 0 ;
12547 char *kwnames
[] = {
12548 (char *) "self", NULL
12551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12555 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12557 wxPyEndAllowThreads(__tstate
);
12558 if (PyErr_Occurred()) SWIG_fail
;
12560 resultobj
= PyInt_FromLong((long)result
);
12567 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12568 PyObject
*resultobj
;
12569 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12571 PyObject
* obj0
= 0 ;
12572 char *kwnames
[] = {
12573 (char *) "self", NULL
12576 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12577 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12580 result
= (arg1
)->GetPosition();
12582 wxPyEndAllowThreads(__tstate
);
12583 if (PyErr_Occurred()) SWIG_fail
;
12586 wxPoint
* resultptr
;
12587 resultptr
= new wxPoint((wxPoint
&) result
);
12588 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12596 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12597 PyObject
*resultobj
;
12598 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12599 long *arg2
= (long *) 0 ;
12600 long *arg3
= (long *) 0 ;
12603 PyObject
* obj0
= 0 ;
12604 char *kwnames
[] = {
12605 (char *) "self", NULL
12610 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12611 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12614 (arg1
)->GetPosition(arg2
,arg3
);
12616 wxPyEndAllowThreads(__tstate
);
12617 if (PyErr_Occurred()) SWIG_fail
;
12619 Py_INCREF(Py_None
); resultobj
= Py_None
;
12621 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12622 resultobj
= t_output_helper(resultobj
,o
);
12625 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12626 resultobj
= t_output_helper(resultobj
,o
);
12634 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12635 PyObject
*resultobj
;
12636 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12639 PyObject
* obj0
= 0 ;
12640 PyObject
* obj1
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self",(char *) "dc", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12647 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12648 if (arg2
== NULL
) {
12649 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12653 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12655 wxPyEndAllowThreads(__tstate
);
12656 if (PyErr_Occurred()) SWIG_fail
;
12659 wxPoint
* resultptr
;
12660 resultptr
= new wxPoint((wxPoint
&) result
);
12661 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12669 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12670 PyObject
*resultobj
;
12671 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12673 PyObject
* obj0
= 0 ;
12674 char *kwnames
[] = {
12675 (char *) "self", NULL
12678 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12679 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12682 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
12684 wxPyEndAllowThreads(__tstate
);
12685 if (PyErr_Occurred()) SWIG_fail
;
12687 resultobj
= PyInt_FromLong((long)result
);
12694 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12695 PyObject
*resultobj
;
12696 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12698 PyObject
* obj0
= 0 ;
12699 char *kwnames
[] = {
12700 (char *) "self", NULL
12703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12704 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12707 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
12709 wxPyEndAllowThreads(__tstate
);
12710 if (PyErr_Occurred()) SWIG_fail
;
12712 resultobj
= PyInt_FromLong((long)result
);
12719 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12720 PyObject
*resultobj
;
12721 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12723 PyObject
* obj0
= 0 ;
12724 char *kwnames
[] = {
12725 (char *) "self", NULL
12728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12732 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12734 wxPyEndAllowThreads(__tstate
);
12735 if (PyErr_Occurred()) SWIG_fail
;
12737 resultobj
= PyInt_FromLong((long)result
);
12744 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12745 PyObject
*resultobj
;
12746 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12748 PyObject
* obj0
= 0 ;
12749 char *kwnames
[] = {
12750 (char *) "self", NULL
12753 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12754 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12757 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12759 wxPyEndAllowThreads(__tstate
);
12760 if (PyErr_Occurred()) SWIG_fail
;
12762 resultobj
= PyInt_FromLong((long)result
);
12769 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12770 PyObject
*resultobj
;
12771 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12773 PyObject
* obj0
= 0 ;
12774 char *kwnames
[] = {
12775 (char *) "self", NULL
12778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12782 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12784 wxPyEndAllowThreads(__tstate
);
12785 if (PyErr_Occurred()) SWIG_fail
;
12787 resultobj
= PyInt_FromLong((long)result
);
12794 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12795 PyObject
*resultobj
;
12796 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12798 PyObject
* obj0
= 0 ;
12799 char *kwnames
[] = {
12800 (char *) "self", NULL
12803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12807 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12809 wxPyEndAllowThreads(__tstate
);
12810 if (PyErr_Occurred()) SWIG_fail
;
12812 resultobj
= PyInt_FromLong((long)result
);
12819 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12820 PyObject
*resultobj
;
12821 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12823 PyObject
* obj0
= 0 ;
12824 char *kwnames
[] = {
12825 (char *) "self",(char *) "m_x", NULL
12828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12830 if (arg1
) (arg1
)->m_x
= arg2
;
12832 Py_INCREF(Py_None
); resultobj
= Py_None
;
12839 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12840 PyObject
*resultobj
;
12841 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12843 PyObject
* obj0
= 0 ;
12844 char *kwnames
[] = {
12845 (char *) "self", NULL
12848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12850 result
= (int) ((arg1
)->m_x
);
12852 resultobj
= PyInt_FromLong((long)result
);
12859 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12860 PyObject
*resultobj
;
12861 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12863 PyObject
* obj0
= 0 ;
12864 char *kwnames
[] = {
12865 (char *) "self",(char *) "m_y", NULL
12868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12870 if (arg1
) (arg1
)->m_y
= arg2
;
12872 Py_INCREF(Py_None
); resultobj
= Py_None
;
12879 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12880 PyObject
*resultobj
;
12881 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12883 PyObject
* obj0
= 0 ;
12884 char *kwnames
[] = {
12885 (char *) "self", NULL
12888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
12889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12890 result
= (int) ((arg1
)->m_y
);
12892 resultobj
= PyInt_FromLong((long)result
);
12899 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12900 PyObject
*resultobj
;
12901 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12903 PyObject
* obj0
= 0 ;
12904 PyObject
* obj1
= 0 ;
12905 char *kwnames
[] = {
12906 (char *) "self",(char *) "m_leftDown", NULL
12909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12911 arg2
= PyInt_AsLong(obj1
) ? true : false;
12912 if (PyErr_Occurred()) SWIG_fail
;
12913 if (arg1
) (arg1
)->m_leftDown
= arg2
;
12915 Py_INCREF(Py_None
); resultobj
= Py_None
;
12922 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12923 PyObject
*resultobj
;
12924 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12926 PyObject
* obj0
= 0 ;
12927 char *kwnames
[] = {
12928 (char *) "self", NULL
12931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
12932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12933 result
= (bool) ((arg1
)->m_leftDown
);
12935 resultobj
= PyInt_FromLong((long)result
);
12942 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12943 PyObject
*resultobj
;
12944 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12946 PyObject
* obj0
= 0 ;
12947 PyObject
* obj1
= 0 ;
12948 char *kwnames
[] = {
12949 (char *) "self",(char *) "m_middleDown", NULL
12952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12954 arg2
= PyInt_AsLong(obj1
) ? true : false;
12955 if (PyErr_Occurred()) SWIG_fail
;
12956 if (arg1
) (arg1
)->m_middleDown
= arg2
;
12958 Py_INCREF(Py_None
); resultobj
= Py_None
;
12965 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12966 PyObject
*resultobj
;
12967 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12969 PyObject
* obj0
= 0 ;
12970 char *kwnames
[] = {
12971 (char *) "self", NULL
12974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
12975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12976 result
= (bool) ((arg1
)->m_middleDown
);
12978 resultobj
= PyInt_FromLong((long)result
);
12985 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12986 PyObject
*resultobj
;
12987 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12989 PyObject
* obj0
= 0 ;
12990 PyObject
* obj1
= 0 ;
12991 char *kwnames
[] = {
12992 (char *) "self",(char *) "m_rightDown", NULL
12995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
12996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12997 arg2
= PyInt_AsLong(obj1
) ? true : false;
12998 if (PyErr_Occurred()) SWIG_fail
;
12999 if (arg1
) (arg1
)->m_rightDown
= arg2
;
13001 Py_INCREF(Py_None
); resultobj
= Py_None
;
13008 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13009 PyObject
*resultobj
;
13010 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13012 PyObject
* obj0
= 0 ;
13013 char *kwnames
[] = {
13014 (char *) "self", NULL
13017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13019 result
= (bool) ((arg1
)->m_rightDown
);
13021 resultobj
= PyInt_FromLong((long)result
);
13028 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13029 PyObject
*resultobj
;
13030 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13032 PyObject
* obj0
= 0 ;
13033 PyObject
* obj1
= 0 ;
13034 char *kwnames
[] = {
13035 (char *) "self",(char *) "m_controlDown", NULL
13038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13040 arg2
= PyInt_AsLong(obj1
) ? true : false;
13041 if (PyErr_Occurred()) SWIG_fail
;
13042 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13044 Py_INCREF(Py_None
); resultobj
= Py_None
;
13051 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
;
13053 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13055 PyObject
* obj0
= 0 ;
13056 char *kwnames
[] = {
13057 (char *) "self", NULL
13060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13062 result
= (bool) ((arg1
)->m_controlDown
);
13064 resultobj
= PyInt_FromLong((long)result
);
13071 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13072 PyObject
*resultobj
;
13073 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13075 PyObject
* obj0
= 0 ;
13076 PyObject
* obj1
= 0 ;
13077 char *kwnames
[] = {
13078 (char *) "self",(char *) "m_shiftDown", NULL
13081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13083 arg2
= PyInt_AsLong(obj1
) ? true : false;
13084 if (PyErr_Occurred()) SWIG_fail
;
13085 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13087 Py_INCREF(Py_None
); resultobj
= Py_None
;
13094 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13095 PyObject
*resultobj
;
13096 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13098 PyObject
* obj0
= 0 ;
13099 char *kwnames
[] = {
13100 (char *) "self", NULL
13103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13105 result
= (bool) ((arg1
)->m_shiftDown
);
13107 resultobj
= PyInt_FromLong((long)result
);
13114 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13115 PyObject
*resultobj
;
13116 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13118 PyObject
* obj0
= 0 ;
13119 PyObject
* obj1
= 0 ;
13120 char *kwnames
[] = {
13121 (char *) "self",(char *) "m_altDown", NULL
13124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13126 arg2
= PyInt_AsLong(obj1
) ? true : false;
13127 if (PyErr_Occurred()) SWIG_fail
;
13128 if (arg1
) (arg1
)->m_altDown
= arg2
;
13130 Py_INCREF(Py_None
); resultobj
= Py_None
;
13137 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13138 PyObject
*resultobj
;
13139 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13141 PyObject
* obj0
= 0 ;
13142 char *kwnames
[] = {
13143 (char *) "self", NULL
13146 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13147 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13148 result
= (bool) ((arg1
)->m_altDown
);
13150 resultobj
= PyInt_FromLong((long)result
);
13157 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13158 PyObject
*resultobj
;
13159 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13161 PyObject
* obj0
= 0 ;
13162 PyObject
* obj1
= 0 ;
13163 char *kwnames
[] = {
13164 (char *) "self",(char *) "m_metaDown", NULL
13167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13168 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13169 arg2
= PyInt_AsLong(obj1
) ? true : false;
13170 if (PyErr_Occurred()) SWIG_fail
;
13171 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13173 Py_INCREF(Py_None
); resultobj
= Py_None
;
13180 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13181 PyObject
*resultobj
;
13182 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13184 PyObject
* obj0
= 0 ;
13185 char *kwnames
[] = {
13186 (char *) "self", NULL
13189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13191 result
= (bool) ((arg1
)->m_metaDown
);
13193 resultobj
= PyInt_FromLong((long)result
);
13200 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13201 PyObject
*resultobj
;
13202 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13204 PyObject
* obj0
= 0 ;
13205 char *kwnames
[] = {
13206 (char *) "self",(char *) "m_wheelRotation", NULL
13209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13211 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13213 Py_INCREF(Py_None
); resultobj
= Py_None
;
13220 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13221 PyObject
*resultobj
;
13222 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13224 PyObject
* obj0
= 0 ;
13225 char *kwnames
[] = {
13226 (char *) "self", NULL
13229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13231 result
= (int) ((arg1
)->m_wheelRotation
);
13233 resultobj
= PyInt_FromLong((long)result
);
13240 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13241 PyObject
*resultobj
;
13242 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13244 PyObject
* obj0
= 0 ;
13245 char *kwnames
[] = {
13246 (char *) "self",(char *) "m_wheelDelta", NULL
13249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13251 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13253 Py_INCREF(Py_None
); resultobj
= Py_None
;
13260 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13261 PyObject
*resultobj
;
13262 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13264 PyObject
* obj0
= 0 ;
13265 char *kwnames
[] = {
13266 (char *) "self", NULL
13269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13271 result
= (int) ((arg1
)->m_wheelDelta
);
13273 resultobj
= PyInt_FromLong((long)result
);
13280 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13281 PyObject
*resultobj
;
13282 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13284 PyObject
* obj0
= 0 ;
13285 char *kwnames
[] = {
13286 (char *) "self",(char *) "m_linesPerAction", NULL
13289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13291 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13293 Py_INCREF(Py_None
); resultobj
= Py_None
;
13300 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13301 PyObject
*resultobj
;
13302 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13304 PyObject
* obj0
= 0 ;
13305 char *kwnames
[] = {
13306 (char *) "self", NULL
13309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13311 result
= (int) ((arg1
)->m_linesPerAction
);
13313 resultobj
= PyInt_FromLong((long)result
);
13320 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13322 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13323 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13325 return Py_BuildValue((char *)"");
13327 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13328 PyObject
*resultobj
;
13329 int arg1
= (int) 0 ;
13330 int arg2
= (int) 0 ;
13331 wxSetCursorEvent
*result
;
13332 char *kwnames
[] = {
13333 (char *) "x",(char *) "y", NULL
13336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13339 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13341 wxPyEndAllowThreads(__tstate
);
13342 if (PyErr_Occurred()) SWIG_fail
;
13344 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13351 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13352 PyObject
*resultobj
;
13353 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13355 PyObject
* obj0
= 0 ;
13356 char *kwnames
[] = {
13357 (char *) "self", NULL
13360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
13366 wxPyEndAllowThreads(__tstate
);
13367 if (PyErr_Occurred()) SWIG_fail
;
13369 resultobj
= PyInt_FromLong((long)result
);
13376 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13377 PyObject
*resultobj
;
13378 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13380 PyObject
* obj0
= 0 ;
13381 char *kwnames
[] = {
13382 (char *) "self", NULL
13385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13389 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
13391 wxPyEndAllowThreads(__tstate
);
13392 if (PyErr_Occurred()) SWIG_fail
;
13394 resultobj
= PyInt_FromLong((long)result
);
13401 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13402 PyObject
*resultobj
;
13403 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13404 wxCursor
*arg2
= 0 ;
13405 PyObject
* obj0
= 0 ;
13406 PyObject
* obj1
= 0 ;
13407 char *kwnames
[] = {
13408 (char *) "self",(char *) "cursor", NULL
13411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13413 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13414 if (arg2
== NULL
) {
13415 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13419 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13421 wxPyEndAllowThreads(__tstate
);
13422 if (PyErr_Occurred()) SWIG_fail
;
13424 Py_INCREF(Py_None
); resultobj
= Py_None
;
13431 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13432 PyObject
*resultobj
;
13433 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13435 PyObject
* obj0
= 0 ;
13436 char *kwnames
[] = {
13437 (char *) "self", NULL
13440 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13441 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13445 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13446 result
= (wxCursor
*) &_result_ref
;
13449 wxPyEndAllowThreads(__tstate
);
13450 if (PyErr_Occurred()) SWIG_fail
;
13452 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13459 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13460 PyObject
*resultobj
;
13461 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13463 PyObject
* obj0
= 0 ;
13464 char *kwnames
[] = {
13465 (char *) "self", NULL
13468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13472 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13474 wxPyEndAllowThreads(__tstate
);
13475 if (PyErr_Occurred()) SWIG_fail
;
13477 resultobj
= PyInt_FromLong((long)result
);
13484 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13486 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13487 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13489 return Py_BuildValue((char *)"");
13491 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13492 PyObject
*resultobj
;
13493 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13494 wxKeyEvent
*result
;
13495 char *kwnames
[] = {
13496 (char *) "keyType", NULL
13499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13502 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13504 wxPyEndAllowThreads(__tstate
);
13505 if (PyErr_Occurred()) SWIG_fail
;
13507 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13514 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13515 PyObject
*resultobj
;
13516 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13518 PyObject
* obj0
= 0 ;
13519 char *kwnames
[] = {
13520 (char *) "self", NULL
13523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13524 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13527 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13529 wxPyEndAllowThreads(__tstate
);
13530 if (PyErr_Occurred()) SWIG_fail
;
13532 resultobj
= PyInt_FromLong((long)result
);
13539 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13540 PyObject
*resultobj
;
13541 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13543 PyObject
* obj0
= 0 ;
13544 char *kwnames
[] = {
13545 (char *) "self", NULL
13548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13552 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13554 wxPyEndAllowThreads(__tstate
);
13555 if (PyErr_Occurred()) SWIG_fail
;
13557 resultobj
= PyInt_FromLong((long)result
);
13564 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13565 PyObject
*resultobj
;
13566 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13568 PyObject
* obj0
= 0 ;
13569 char *kwnames
[] = {
13570 (char *) "self", NULL
13573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13577 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13579 wxPyEndAllowThreads(__tstate
);
13580 if (PyErr_Occurred()) SWIG_fail
;
13582 resultobj
= PyInt_FromLong((long)result
);
13589 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13590 PyObject
*resultobj
;
13591 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13593 PyObject
* obj0
= 0 ;
13594 char *kwnames
[] = {
13595 (char *) "self", NULL
13598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13602 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13604 wxPyEndAllowThreads(__tstate
);
13605 if (PyErr_Occurred()) SWIG_fail
;
13607 resultobj
= PyInt_FromLong((long)result
);
13614 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13615 PyObject
*resultobj
;
13616 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13618 PyObject
* obj0
= 0 ;
13619 char *kwnames
[] = {
13620 (char *) "self", NULL
13623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13627 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13629 wxPyEndAllowThreads(__tstate
);
13630 if (PyErr_Occurred()) SWIG_fail
;
13632 resultobj
= PyInt_FromLong((long)result
);
13639 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13640 PyObject
*resultobj
;
13641 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13643 PyObject
* obj0
= 0 ;
13644 char *kwnames
[] = {
13645 (char *) "self", NULL
13648 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13649 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13652 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13654 wxPyEndAllowThreads(__tstate
);
13655 if (PyErr_Occurred()) SWIG_fail
;
13657 resultobj
= PyInt_FromLong((long)result
);
13664 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13665 PyObject
*resultobj
;
13666 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13668 PyObject
* obj0
= 0 ;
13669 char *kwnames
[] = {
13670 (char *) "self", NULL
13673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13677 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13679 wxPyEndAllowThreads(__tstate
);
13680 if (PyErr_Occurred()) SWIG_fail
;
13682 resultobj
= PyInt_FromLong((long)result
);
13689 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13690 PyObject
*resultobj
;
13691 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13692 unsigned int result
;
13693 PyObject
* obj0
= 0 ;
13694 char *kwnames
[] = {
13695 (char *) "self", NULL
13698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13702 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13704 wxPyEndAllowThreads(__tstate
);
13705 if (PyErr_Occurred()) SWIG_fail
;
13707 resultobj
= PyInt_FromLong((long)result
);
13714 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13715 PyObject
*resultobj
;
13716 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13717 unsigned int result
;
13718 PyObject
* obj0
= 0 ;
13719 char *kwnames
[] = {
13720 (char *) "self", NULL
13723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13727 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13729 wxPyEndAllowThreads(__tstate
);
13730 if (PyErr_Occurred()) SWIG_fail
;
13732 resultobj
= PyInt_FromLong((long)result
);
13739 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13740 PyObject
*resultobj
;
13741 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13743 PyObject
* obj0
= 0 ;
13744 char *kwnames
[] = {
13745 (char *) "self", NULL
13748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13752 result
= (arg1
)->GetPosition();
13754 wxPyEndAllowThreads(__tstate
);
13755 if (PyErr_Occurred()) SWIG_fail
;
13758 wxPoint
* resultptr
;
13759 resultptr
= new wxPoint((wxPoint
&) result
);
13760 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13768 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13769 PyObject
*resultobj
;
13770 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13771 long *arg2
= (long *) 0 ;
13772 long *arg3
= (long *) 0 ;
13775 PyObject
* obj0
= 0 ;
13776 char *kwnames
[] = {
13777 (char *) "self", NULL
13782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 (arg1
)->GetPosition(arg2
,arg3
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 Py_INCREF(Py_None
); resultobj
= Py_None
;
13793 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13794 resultobj
= t_output_helper(resultobj
,o
);
13797 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13798 resultobj
= t_output_helper(resultobj
,o
);
13806 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13807 PyObject
*resultobj
;
13808 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 char *kwnames
[] = {
13812 (char *) "self", NULL
13815 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13816 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13819 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
13821 wxPyEndAllowThreads(__tstate
);
13822 if (PyErr_Occurred()) SWIG_fail
;
13824 resultobj
= PyInt_FromLong((long)result
);
13831 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13832 PyObject
*resultobj
;
13833 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13835 PyObject
* obj0
= 0 ;
13836 char *kwnames
[] = {
13837 (char *) "self", NULL
13840 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13841 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13844 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
13846 wxPyEndAllowThreads(__tstate
);
13847 if (PyErr_Occurred()) SWIG_fail
;
13849 resultobj
= PyInt_FromLong((long)result
);
13856 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13857 PyObject
*resultobj
;
13858 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13860 PyObject
* obj0
= 0 ;
13861 char *kwnames
[] = {
13862 (char *) "self",(char *) "m_x", NULL
13865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13867 if (arg1
) (arg1
)->m_x
= arg2
;
13869 Py_INCREF(Py_None
); resultobj
= Py_None
;
13876 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13877 PyObject
*resultobj
;
13878 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13880 PyObject
* obj0
= 0 ;
13881 char *kwnames
[] = {
13882 (char *) "self", NULL
13885 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
13886 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13887 result
= (int) ((arg1
)->m_x
);
13889 resultobj
= PyInt_FromLong((long)result
);
13896 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13897 PyObject
*resultobj
;
13898 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13900 PyObject
* obj0
= 0 ;
13901 char *kwnames
[] = {
13902 (char *) "self",(char *) "m_y", NULL
13905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13907 if (arg1
) (arg1
)->m_y
= arg2
;
13909 Py_INCREF(Py_None
); resultobj
= Py_None
;
13916 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13917 PyObject
*resultobj
;
13918 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13920 PyObject
* obj0
= 0 ;
13921 char *kwnames
[] = {
13922 (char *) "self", NULL
13925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13927 result
= (int) ((arg1
)->m_y
);
13929 resultobj
= PyInt_FromLong((long)result
);
13936 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13937 PyObject
*resultobj
;
13938 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13940 PyObject
* obj0
= 0 ;
13941 char *kwnames
[] = {
13942 (char *) "self",(char *) "m_keyCode", NULL
13945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13947 if (arg1
) (arg1
)->m_keyCode
= arg2
;
13949 Py_INCREF(Py_None
); resultobj
= Py_None
;
13956 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13957 PyObject
*resultobj
;
13958 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13960 PyObject
* obj0
= 0 ;
13961 char *kwnames
[] = {
13962 (char *) "self", NULL
13965 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
13966 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13967 result
= (long) ((arg1
)->m_keyCode
);
13969 resultobj
= PyInt_FromLong((long)result
);
13976 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13977 PyObject
*resultobj
;
13978 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13980 PyObject
* obj0
= 0 ;
13981 PyObject
* obj1
= 0 ;
13982 char *kwnames
[] = {
13983 (char *) "self",(char *) "m_controlDown", NULL
13986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13987 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13988 arg2
= PyInt_AsLong(obj1
) ? true : false;
13989 if (PyErr_Occurred()) SWIG_fail
;
13990 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13992 Py_INCREF(Py_None
); resultobj
= Py_None
;
13999 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14000 PyObject
*resultobj
;
14001 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14003 PyObject
* obj0
= 0 ;
14004 char *kwnames
[] = {
14005 (char *) "self", NULL
14008 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14009 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14010 result
= (bool) ((arg1
)->m_controlDown
);
14012 resultobj
= PyInt_FromLong((long)result
);
14019 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14020 PyObject
*resultobj
;
14021 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 char *kwnames
[] = {
14026 (char *) "self",(char *) "m_shiftDown", NULL
14029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14031 arg2
= PyInt_AsLong(obj1
) ? true : false;
14032 if (PyErr_Occurred()) SWIG_fail
;
14033 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14035 Py_INCREF(Py_None
); resultobj
= Py_None
;
14042 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14043 PyObject
*resultobj
;
14044 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14046 PyObject
* obj0
= 0 ;
14047 char *kwnames
[] = {
14048 (char *) "self", NULL
14051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14053 result
= (bool) ((arg1
)->m_shiftDown
);
14055 resultobj
= PyInt_FromLong((long)result
);
14062 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14063 PyObject
*resultobj
;
14064 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 char *kwnames
[] = {
14069 (char *) "self",(char *) "m_altDown", NULL
14072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14074 arg2
= PyInt_AsLong(obj1
) ? true : false;
14075 if (PyErr_Occurred()) SWIG_fail
;
14076 if (arg1
) (arg1
)->m_altDown
= arg2
;
14078 Py_INCREF(Py_None
); resultobj
= Py_None
;
14085 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14086 PyObject
*resultobj
;
14087 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14089 PyObject
* obj0
= 0 ;
14090 char *kwnames
[] = {
14091 (char *) "self", NULL
14094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14096 result
= (bool) ((arg1
)->m_altDown
);
14098 resultobj
= PyInt_FromLong((long)result
);
14105 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14106 PyObject
*resultobj
;
14107 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14109 PyObject
* obj0
= 0 ;
14110 PyObject
* obj1
= 0 ;
14111 char *kwnames
[] = {
14112 (char *) "self",(char *) "m_metaDown", NULL
14115 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14116 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14117 arg2
= PyInt_AsLong(obj1
) ? true : false;
14118 if (PyErr_Occurred()) SWIG_fail
;
14119 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14121 Py_INCREF(Py_None
); resultobj
= Py_None
;
14128 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14129 PyObject
*resultobj
;
14130 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14132 PyObject
* obj0
= 0 ;
14133 char *kwnames
[] = {
14134 (char *) "self", NULL
14137 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14138 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14139 result
= (bool) ((arg1
)->m_metaDown
);
14141 resultobj
= PyInt_FromLong((long)result
);
14148 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14149 PyObject
*resultobj
;
14150 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 char *kwnames
[] = {
14155 (char *) "self",(char *) "m_scanCode", NULL
14158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14160 arg2
= PyInt_AsLong(obj1
) ? true : false;
14161 if (PyErr_Occurred()) SWIG_fail
;
14162 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14164 Py_INCREF(Py_None
); resultobj
= Py_None
;
14171 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14172 PyObject
*resultobj
;
14173 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14175 PyObject
* obj0
= 0 ;
14176 char *kwnames
[] = {
14177 (char *) "self", NULL
14180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14182 result
= (bool) ((arg1
)->m_scanCode
);
14184 resultobj
= PyInt_FromLong((long)result
);
14191 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14192 PyObject
*resultobj
;
14193 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14194 unsigned int arg2
;
14195 PyObject
* obj0
= 0 ;
14196 PyObject
* obj1
= 0 ;
14197 char *kwnames
[] = {
14198 (char *) "self",(char *) "m_rawCode", NULL
14201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14203 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14204 if (PyErr_Occurred()) SWIG_fail
;
14205 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14207 Py_INCREF(Py_None
); resultobj
= Py_None
;
14214 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14215 PyObject
*resultobj
;
14216 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14217 unsigned int result
;
14218 PyObject
* obj0
= 0 ;
14219 char *kwnames
[] = {
14220 (char *) "self", NULL
14223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14225 result
= (unsigned int) ((arg1
)->m_rawCode
);
14227 resultobj
= PyInt_FromLong((long)result
);
14234 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14235 PyObject
*resultobj
;
14236 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14237 unsigned int arg2
;
14238 PyObject
* obj0
= 0 ;
14239 PyObject
* obj1
= 0 ;
14240 char *kwnames
[] = {
14241 (char *) "self",(char *) "m_rawFlags", NULL
14244 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14245 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14246 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14247 if (PyErr_Occurred()) SWIG_fail
;
14248 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14250 Py_INCREF(Py_None
); resultobj
= Py_None
;
14257 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14258 PyObject
*resultobj
;
14259 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14260 unsigned int result
;
14261 PyObject
* obj0
= 0 ;
14262 char *kwnames
[] = {
14263 (char *) "self", NULL
14266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14268 result
= (unsigned int) ((arg1
)->m_rawFlags
);
14270 resultobj
= PyInt_FromLong((long)result
);
14277 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14279 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14280 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14282 return Py_BuildValue((char *)"");
14284 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14285 PyObject
*resultobj
;
14286 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14287 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14288 int arg2
= (int) 0 ;
14289 wxSizeEvent
*result
;
14291 PyObject
* obj0
= 0 ;
14292 char *kwnames
[] = {
14293 (char *) "sz",(char *) "winid", NULL
14296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14300 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14305 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14307 wxPyEndAllowThreads(__tstate
);
14308 if (PyErr_Occurred()) SWIG_fail
;
14310 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14317 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14318 PyObject
*resultobj
;
14319 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14321 PyObject
* obj0
= 0 ;
14322 char *kwnames
[] = {
14323 (char *) "self", NULL
14326 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14327 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14330 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14332 wxPyEndAllowThreads(__tstate
);
14333 if (PyErr_Occurred()) SWIG_fail
;
14336 wxSize
* resultptr
;
14337 resultptr
= new wxSize((wxSize
&) result
);
14338 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14346 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14347 PyObject
*resultobj
;
14348 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14350 PyObject
* obj0
= 0 ;
14351 char *kwnames
[] = {
14352 (char *) "self", NULL
14355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14359 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14361 wxPyEndAllowThreads(__tstate
);
14362 if (PyErr_Occurred()) SWIG_fail
;
14365 wxRect
* resultptr
;
14366 resultptr
= new wxRect((wxRect
&) result
);
14367 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14375 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14376 PyObject
*resultobj
;
14377 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14380 PyObject
* obj0
= 0 ;
14381 PyObject
* obj1
= 0 ;
14382 char *kwnames
[] = {
14383 (char *) "self",(char *) "rect", NULL
14386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14388 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14392 (arg1
)->SetRect(arg2
);
14394 wxPyEndAllowThreads(__tstate
);
14395 if (PyErr_Occurred()) SWIG_fail
;
14397 Py_INCREF(Py_None
); resultobj
= Py_None
;
14404 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14405 PyObject
*resultobj
;
14406 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14409 PyObject
* obj0
= 0 ;
14410 PyObject
* obj1
= 0 ;
14411 char *kwnames
[] = {
14412 (char *) "self",(char *) "size", NULL
14415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14417 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14421 wxSizeEvent_SetSize(arg1
,arg2
);
14423 wxPyEndAllowThreads(__tstate
);
14424 if (PyErr_Occurred()) SWIG_fail
;
14426 Py_INCREF(Py_None
); resultobj
= Py_None
;
14433 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14434 PyObject
*resultobj
;
14435 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14436 wxSize
*arg2
= (wxSize
*) 0 ;
14437 PyObject
* obj0
= 0 ;
14438 PyObject
* obj1
= 0 ;
14439 char *kwnames
[] = {
14440 (char *) "self",(char *) "m_size", NULL
14443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14445 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14446 if (arg1
) (arg1
)->m_size
= *arg2
;
14448 Py_INCREF(Py_None
); resultobj
= Py_None
;
14455 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14456 PyObject
*resultobj
;
14457 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14459 PyObject
* obj0
= 0 ;
14460 char *kwnames
[] = {
14461 (char *) "self", NULL
14464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14466 result
= (wxSize
*)& ((arg1
)->m_size
);
14468 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14475 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14476 PyObject
*resultobj
;
14477 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14478 wxRect
*arg2
= (wxRect
*) 0 ;
14479 PyObject
* obj0
= 0 ;
14480 PyObject
* obj1
= 0 ;
14481 char *kwnames
[] = {
14482 (char *) "self",(char *) "m_rect", NULL
14485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14486 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14487 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14488 if (arg1
) (arg1
)->m_rect
= *arg2
;
14490 Py_INCREF(Py_None
); resultobj
= Py_None
;
14497 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14498 PyObject
*resultobj
;
14499 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14501 PyObject
* obj0
= 0 ;
14502 char *kwnames
[] = {
14503 (char *) "self", NULL
14506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14508 result
= (wxRect
*)& ((arg1
)->m_rect
);
14510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14517 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14520 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14522 return Py_BuildValue((char *)"");
14524 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14525 PyObject
*resultobj
;
14526 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14527 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14528 int arg2
= (int) 0 ;
14529 wxMoveEvent
*result
;
14531 PyObject
* obj0
= 0 ;
14532 char *kwnames
[] = {
14533 (char *) "pos",(char *) "winid", NULL
14536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14540 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14545 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14547 wxPyEndAllowThreads(__tstate
);
14548 if (PyErr_Occurred()) SWIG_fail
;
14550 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14557 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14558 PyObject
*resultobj
;
14559 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14561 PyObject
* obj0
= 0 ;
14562 char *kwnames
[] = {
14563 (char *) "self", NULL
14566 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14567 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14570 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14572 wxPyEndAllowThreads(__tstate
);
14573 if (PyErr_Occurred()) SWIG_fail
;
14576 wxPoint
* resultptr
;
14577 resultptr
= new wxPoint((wxPoint
&) result
);
14578 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14586 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14587 PyObject
*resultobj
;
14588 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14590 PyObject
* obj0
= 0 ;
14591 char *kwnames
[] = {
14592 (char *) "self", NULL
14595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14599 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14601 wxPyEndAllowThreads(__tstate
);
14602 if (PyErr_Occurred()) SWIG_fail
;
14605 wxRect
* resultptr
;
14606 resultptr
= new wxRect((wxRect
&) result
);
14607 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14615 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14616 PyObject
*resultobj
;
14617 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 PyObject
* obj1
= 0 ;
14622 char *kwnames
[] = {
14623 (char *) "self",(char *) "rect", NULL
14626 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14627 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14628 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14632 (arg1
)->SetRect(arg2
);
14634 wxPyEndAllowThreads(__tstate
);
14635 if (PyErr_Occurred()) SWIG_fail
;
14637 Py_INCREF(Py_None
); resultobj
= Py_None
;
14644 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14645 PyObject
*resultobj
;
14646 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14649 PyObject
* obj0
= 0 ;
14650 PyObject
* obj1
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "self",(char *) "pos", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14657 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14661 wxMoveEvent_SetPosition(arg1
,arg2
);
14663 wxPyEndAllowThreads(__tstate
);
14664 if (PyErr_Occurred()) SWIG_fail
;
14666 Py_INCREF(Py_None
); resultobj
= Py_None
;
14673 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14674 PyObject
*resultobj
;
14675 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14676 wxPoint
*arg2
= (wxPoint
*) 0 ;
14677 PyObject
* obj0
= 0 ;
14678 PyObject
* obj1
= 0 ;
14679 char *kwnames
[] = {
14680 (char *) "self",(char *) "m_pos", NULL
14683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14685 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14686 if (arg1
) (arg1
)->m_pos
= *arg2
;
14688 Py_INCREF(Py_None
); resultobj
= Py_None
;
14695 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14696 PyObject
*resultobj
;
14697 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14699 PyObject
* obj0
= 0 ;
14700 char *kwnames
[] = {
14701 (char *) "self", NULL
14704 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14705 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14706 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14708 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14715 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14716 PyObject
*resultobj
;
14717 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14718 wxRect
*arg2
= (wxRect
*) 0 ;
14719 PyObject
* obj0
= 0 ;
14720 PyObject
* obj1
= 0 ;
14721 char *kwnames
[] = {
14722 (char *) "self",(char *) "m_rect", NULL
14725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14727 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14728 if (arg1
) (arg1
)->m_rect
= *arg2
;
14730 Py_INCREF(Py_None
); resultobj
= Py_None
;
14737 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14738 PyObject
*resultobj
;
14739 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14741 PyObject
* obj0
= 0 ;
14742 char *kwnames
[] = {
14743 (char *) "self", NULL
14746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14748 result
= (wxRect
*)& ((arg1
)->m_rect
);
14750 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14757 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14759 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14760 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14762 return Py_BuildValue((char *)"");
14764 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14765 PyObject
*resultobj
;
14766 int arg1
= (int) 0 ;
14767 wxPaintEvent
*result
;
14768 char *kwnames
[] = {
14769 (char *) "Id", NULL
14772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14775 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14777 wxPyEndAllowThreads(__tstate
);
14778 if (PyErr_Occurred()) SWIG_fail
;
14780 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14787 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14789 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14790 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14792 return Py_BuildValue((char *)"");
14794 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14795 PyObject
*resultobj
;
14796 int arg1
= (int) 0 ;
14797 wxNcPaintEvent
*result
;
14798 char *kwnames
[] = {
14799 (char *) "winid", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14805 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14807 wxPyEndAllowThreads(__tstate
);
14808 if (PyErr_Occurred()) SWIG_fail
;
14810 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14817 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14819 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14820 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14822 return Py_BuildValue((char *)"");
14824 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14825 PyObject
*resultobj
;
14826 int arg1
= (int) 0 ;
14827 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14828 wxEraseEvent
*result
;
14829 PyObject
* obj1
= 0 ;
14830 char *kwnames
[] = {
14831 (char *) "Id",(char *) "dc", NULL
14834 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14842 wxPyEndAllowThreads(__tstate
);
14843 if (PyErr_Occurred()) SWIG_fail
;
14845 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14852 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14853 PyObject
*resultobj
;
14854 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14856 PyObject
* obj0
= 0 ;
14857 char *kwnames
[] = {
14858 (char *) "self", NULL
14861 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14862 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14865 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14867 wxPyEndAllowThreads(__tstate
);
14868 if (PyErr_Occurred()) SWIG_fail
;
14871 resultobj
= wxPyMake_wxObject(result
);
14879 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14881 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14882 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
14884 return Py_BuildValue((char *)"");
14886 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14887 PyObject
*resultobj
;
14888 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
14889 int arg2
= (int) 0 ;
14890 wxFocusEvent
*result
;
14891 char *kwnames
[] = {
14892 (char *) "type",(char *) "winid", NULL
14895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
14897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14898 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
14900 wxPyEndAllowThreads(__tstate
);
14901 if (PyErr_Occurred()) SWIG_fail
;
14903 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
14910 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14911 PyObject
*resultobj
;
14912 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14914 PyObject
* obj0
= 0 ;
14915 char *kwnames
[] = {
14916 (char *) "self", NULL
14919 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
14920 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14923 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
14925 wxPyEndAllowThreads(__tstate
);
14926 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= wxPyMake_wxObject(result
);
14937 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14938 PyObject
*resultobj
;
14939 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
14940 wxWindow
*arg2
= (wxWindow
*) 0 ;
14941 PyObject
* obj0
= 0 ;
14942 PyObject
* obj1
= 0 ;
14943 char *kwnames
[] = {
14944 (char *) "self",(char *) "win", NULL
14947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
14948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14952 (arg1
)->SetWindow(arg2
);
14954 wxPyEndAllowThreads(__tstate
);
14955 if (PyErr_Occurred()) SWIG_fail
;
14957 Py_INCREF(Py_None
); resultobj
= Py_None
;
14964 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14966 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14967 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
14969 return Py_BuildValue((char *)"");
14971 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxWindow
*arg1
= (wxWindow
*) NULL
;
14974 wxChildFocusEvent
*result
;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "win", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
14982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14986 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
14988 wxPyEndAllowThreads(__tstate
);
14989 if (PyErr_Occurred()) SWIG_fail
;
14991 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
14998 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14999 PyObject
*resultobj
;
15000 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 char *kwnames
[] = {
15004 (char *) "self", NULL
15007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15011 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15013 wxPyEndAllowThreads(__tstate
);
15014 if (PyErr_Occurred()) SWIG_fail
;
15017 resultobj
= wxPyMake_wxObject(result
);
15025 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15027 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15028 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15030 return Py_BuildValue((char *)"");
15032 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15033 PyObject
*resultobj
;
15034 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15035 bool arg2
= (bool) True
;
15036 int arg3
= (int) 0 ;
15037 wxActivateEvent
*result
;
15038 PyObject
* obj1
= 0 ;
15039 char *kwnames
[] = {
15040 (char *) "type",(char *) "active",(char *) "Id", NULL
15043 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15045 arg2
= PyInt_AsLong(obj1
) ? true : false;
15046 if (PyErr_Occurred()) SWIG_fail
;
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15052 wxPyEndAllowThreads(__tstate
);
15053 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15062 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15063 PyObject
*resultobj
;
15064 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 char *kwnames
[] = {
15068 (char *) "self", NULL
15071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15075 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15077 wxPyEndAllowThreads(__tstate
);
15078 if (PyErr_Occurred()) SWIG_fail
;
15080 resultobj
= PyInt_FromLong((long)result
);
15087 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15089 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15090 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15092 return Py_BuildValue((char *)"");
15094 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15095 PyObject
*resultobj
;
15096 int arg1
= (int) 0 ;
15097 wxInitDialogEvent
*result
;
15098 char *kwnames
[] = {
15099 (char *) "Id", NULL
15102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15117 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15119 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15120 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15122 return Py_BuildValue((char *)"");
15124 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15125 PyObject
*resultobj
;
15126 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15127 int arg2
= (int) 0 ;
15128 wxMenu
*arg3
= (wxMenu
*) NULL
;
15129 wxMenuEvent
*result
;
15130 PyObject
* obj2
= 0 ;
15131 char *kwnames
[] = {
15132 (char *) "type",(char *) "winid",(char *) "menu", NULL
15135 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15137 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15141 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15143 wxPyEndAllowThreads(__tstate
);
15144 if (PyErr_Occurred()) SWIG_fail
;
15146 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15153 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15154 PyObject
*resultobj
;
15155 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15157 PyObject
* obj0
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "self", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15163 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15166 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15168 wxPyEndAllowThreads(__tstate
);
15169 if (PyErr_Occurred()) SWIG_fail
;
15171 resultobj
= PyInt_FromLong((long)result
);
15178 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15179 PyObject
*resultobj
;
15180 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15182 PyObject
* obj0
= 0 ;
15183 char *kwnames
[] = {
15184 (char *) "self", NULL
15187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15191 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15193 wxPyEndAllowThreads(__tstate
);
15194 if (PyErr_Occurred()) SWIG_fail
;
15196 resultobj
= PyInt_FromLong((long)result
);
15203 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15204 PyObject
*resultobj
;
15205 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15207 PyObject
* obj0
= 0 ;
15208 char *kwnames
[] = {
15209 (char *) "self", NULL
15212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15216 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15218 wxPyEndAllowThreads(__tstate
);
15219 if (PyErr_Occurred()) SWIG_fail
;
15222 resultobj
= wxPyMake_wxObject(result
);
15230 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15232 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15233 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15235 return Py_BuildValue((char *)"");
15237 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15238 PyObject
*resultobj
;
15239 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15240 int arg2
= (int) 0 ;
15241 wxCloseEvent
*result
;
15242 char *kwnames
[] = {
15243 (char *) "type",(char *) "winid", NULL
15246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15249 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15251 wxPyEndAllowThreads(__tstate
);
15252 if (PyErr_Occurred()) SWIG_fail
;
15254 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15261 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15262 PyObject
*resultobj
;
15263 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15265 PyObject
* obj0
= 0 ;
15266 PyObject
* obj1
= 0 ;
15267 char *kwnames
[] = {
15268 (char *) "self",(char *) "logOff", NULL
15271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15273 arg2
= PyInt_AsLong(obj1
) ? true : false;
15274 if (PyErr_Occurred()) SWIG_fail
;
15276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15277 (arg1
)->SetLoggingOff(arg2
);
15279 wxPyEndAllowThreads(__tstate
);
15280 if (PyErr_Occurred()) SWIG_fail
;
15282 Py_INCREF(Py_None
); resultobj
= Py_None
;
15289 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15290 PyObject
*resultobj
;
15291 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15293 PyObject
* obj0
= 0 ;
15294 char *kwnames
[] = {
15295 (char *) "self", NULL
15298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15302 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15304 wxPyEndAllowThreads(__tstate
);
15305 if (PyErr_Occurred()) SWIG_fail
;
15307 resultobj
= PyInt_FromLong((long)result
);
15314 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15315 PyObject
*resultobj
;
15316 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15317 bool arg2
= (bool) True
;
15318 PyObject
* obj0
= 0 ;
15319 PyObject
* obj1
= 0 ;
15320 char *kwnames
[] = {
15321 (char *) "self",(char *) "veto", NULL
15324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15327 arg2
= PyInt_AsLong(obj1
) ? true : false;
15328 if (PyErr_Occurred()) SWIG_fail
;
15331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15332 (arg1
)->Veto(arg2
);
15334 wxPyEndAllowThreads(__tstate
);
15335 if (PyErr_Occurred()) SWIG_fail
;
15337 Py_INCREF(Py_None
); resultobj
= Py_None
;
15344 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15345 PyObject
*resultobj
;
15346 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15348 PyObject
* obj0
= 0 ;
15349 PyObject
* obj1
= 0 ;
15350 char *kwnames
[] = {
15351 (char *) "self",(char *) "canVeto", NULL
15354 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15355 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15356 arg2
= PyInt_AsLong(obj1
) ? true : false;
15357 if (PyErr_Occurred()) SWIG_fail
;
15359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15360 (arg1
)->SetCanVeto(arg2
);
15362 wxPyEndAllowThreads(__tstate
);
15363 if (PyErr_Occurred()) SWIG_fail
;
15365 Py_INCREF(Py_None
); resultobj
= Py_None
;
15372 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15373 PyObject
*resultobj
;
15374 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15376 PyObject
* obj0
= 0 ;
15377 char *kwnames
[] = {
15378 (char *) "self", NULL
15381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15385 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15387 wxPyEndAllowThreads(__tstate
);
15388 if (PyErr_Occurred()) SWIG_fail
;
15390 resultobj
= PyInt_FromLong((long)result
);
15397 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15398 PyObject
*resultobj
;
15399 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15401 PyObject
* obj0
= 0 ;
15402 char *kwnames
[] = {
15403 (char *) "self", NULL
15406 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15407 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15410 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15412 wxPyEndAllowThreads(__tstate
);
15413 if (PyErr_Occurred()) SWIG_fail
;
15415 resultobj
= PyInt_FromLong((long)result
);
15422 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15424 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15425 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15427 return Py_BuildValue((char *)"");
15429 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15430 PyObject
*resultobj
;
15431 int arg1
= (int) 0 ;
15432 bool arg2
= (bool) False
;
15433 wxShowEvent
*result
;
15434 PyObject
* obj1
= 0 ;
15435 char *kwnames
[] = {
15436 (char *) "winid",(char *) "show", NULL
15439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15441 arg2
= PyInt_AsLong(obj1
) ? true : false;
15442 if (PyErr_Occurred()) SWIG_fail
;
15445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15446 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15448 wxPyEndAllowThreads(__tstate
);
15449 if (PyErr_Occurred()) SWIG_fail
;
15451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15458 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15459 PyObject
*resultobj
;
15460 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15462 PyObject
* obj0
= 0 ;
15463 PyObject
* obj1
= 0 ;
15464 char *kwnames
[] = {
15465 (char *) "self",(char *) "show", NULL
15468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15470 arg2
= PyInt_AsLong(obj1
) ? true : false;
15471 if (PyErr_Occurred()) SWIG_fail
;
15473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15474 (arg1
)->SetShow(arg2
);
15476 wxPyEndAllowThreads(__tstate
);
15477 if (PyErr_Occurred()) SWIG_fail
;
15479 Py_INCREF(Py_None
); resultobj
= Py_None
;
15486 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15487 PyObject
*resultobj
;
15488 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15490 PyObject
* obj0
= 0 ;
15491 char *kwnames
[] = {
15492 (char *) "self", NULL
15495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= PyInt_FromLong((long)result
);
15511 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15513 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15514 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15516 return Py_BuildValue((char *)"");
15518 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15519 PyObject
*resultobj
;
15520 int arg1
= (int) 0 ;
15521 bool arg2
= (bool) True
;
15522 wxIconizeEvent
*result
;
15523 PyObject
* obj1
= 0 ;
15524 char *kwnames
[] = {
15525 (char *) "id",(char *) "iconized", NULL
15528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15530 arg2
= PyInt_AsLong(obj1
) ? true : false;
15531 if (PyErr_Occurred()) SWIG_fail
;
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15537 wxPyEndAllowThreads(__tstate
);
15538 if (PyErr_Occurred()) SWIG_fail
;
15540 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15547 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15548 PyObject
*resultobj
;
15549 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15551 PyObject
* obj0
= 0 ;
15552 char *kwnames
[] = {
15553 (char *) "self", NULL
15556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15560 result
= (bool)(arg1
)->Iconized();
15562 wxPyEndAllowThreads(__tstate
);
15563 if (PyErr_Occurred()) SWIG_fail
;
15565 resultobj
= PyInt_FromLong((long)result
);
15572 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15574 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15575 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15577 return Py_BuildValue((char *)"");
15579 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15580 PyObject
*resultobj
;
15581 int arg1
= (int) 0 ;
15582 wxMaximizeEvent
*result
;
15583 char *kwnames
[] = {
15584 (char *) "id", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15590 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15595 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15602 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15604 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15605 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15607 return Py_BuildValue((char *)"");
15609 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15610 PyObject
*resultobj
;
15611 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15613 PyObject
* obj0
= 0 ;
15614 char *kwnames
[] = {
15615 (char *) "self", NULL
15618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 result
= (arg1
)->GetPosition();
15624 wxPyEndAllowThreads(__tstate
);
15625 if (PyErr_Occurred()) SWIG_fail
;
15628 wxPoint
* resultptr
;
15629 resultptr
= new wxPoint((wxPoint
&) result
);
15630 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15638 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15639 PyObject
*resultobj
;
15640 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15642 PyObject
* obj0
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "self", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15651 result
= (int)(arg1
)->GetNumberOfFiles();
15653 wxPyEndAllowThreads(__tstate
);
15654 if (PyErr_Occurred()) SWIG_fail
;
15656 resultobj
= PyInt_FromLong((long)result
);
15663 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15664 PyObject
*resultobj
;
15665 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15667 PyObject
* obj0
= 0 ;
15668 char *kwnames
[] = {
15669 (char *) "self", NULL
15672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15676 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15678 wxPyEndAllowThreads(__tstate
);
15679 if (PyErr_Occurred()) SWIG_fail
;
15681 resultobj
= result
;
15688 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15690 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15691 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15693 return Py_BuildValue((char *)"");
15695 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15696 PyObject
*resultobj
;
15697 int arg1
= (int) 0 ;
15698 wxUpdateUIEvent
*result
;
15699 char *kwnames
[] = {
15700 (char *) "commandId", NULL
15703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15706 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15708 wxPyEndAllowThreads(__tstate
);
15709 if (PyErr_Occurred()) SWIG_fail
;
15711 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15718 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15719 PyObject
*resultobj
;
15720 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15722 PyObject
* obj0
= 0 ;
15723 char *kwnames
[] = {
15724 (char *) "self", NULL
15727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15728 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15731 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15733 wxPyEndAllowThreads(__tstate
);
15734 if (PyErr_Occurred()) SWIG_fail
;
15736 resultobj
= PyInt_FromLong((long)result
);
15743 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15744 PyObject
*resultobj
;
15745 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15747 PyObject
* obj0
= 0 ;
15748 char *kwnames
[] = {
15749 (char *) "self", NULL
15752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15758 wxPyEndAllowThreads(__tstate
);
15759 if (PyErr_Occurred()) SWIG_fail
;
15761 resultobj
= PyInt_FromLong((long)result
);
15768 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15769 PyObject
*resultobj
;
15770 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15772 PyObject
* obj0
= 0 ;
15773 char *kwnames
[] = {
15774 (char *) "self", NULL
15777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15781 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15783 wxPyEndAllowThreads(__tstate
);
15784 if (PyErr_Occurred()) SWIG_fail
;
15788 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15790 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15799 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15800 PyObject
*resultobj
;
15801 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15803 PyObject
* obj0
= 0 ;
15804 char *kwnames
[] = {
15805 (char *) "self", NULL
15808 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15809 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15812 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15814 wxPyEndAllowThreads(__tstate
);
15815 if (PyErr_Occurred()) SWIG_fail
;
15817 resultobj
= PyInt_FromLong((long)result
);
15824 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15825 PyObject
*resultobj
;
15826 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15828 PyObject
* obj0
= 0 ;
15829 char *kwnames
[] = {
15830 (char *) "self", NULL
15833 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15834 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15837 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15839 wxPyEndAllowThreads(__tstate
);
15840 if (PyErr_Occurred()) SWIG_fail
;
15842 resultobj
= PyInt_FromLong((long)result
);
15849 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15850 PyObject
*resultobj
;
15851 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15853 PyObject
* obj0
= 0 ;
15854 char *kwnames
[] = {
15855 (char *) "self", NULL
15858 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
15859 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15862 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
15864 wxPyEndAllowThreads(__tstate
);
15865 if (PyErr_Occurred()) SWIG_fail
;
15867 resultobj
= PyInt_FromLong((long)result
);
15874 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15875 PyObject
*resultobj
;
15876 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15878 PyObject
* obj0
= 0 ;
15879 PyObject
* obj1
= 0 ;
15880 char *kwnames
[] = {
15881 (char *) "self",(char *) "check", NULL
15884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
15885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15886 arg2
= PyInt_AsLong(obj1
) ? true : false;
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15890 (arg1
)->Check(arg2
);
15892 wxPyEndAllowThreads(__tstate
);
15893 if (PyErr_Occurred()) SWIG_fail
;
15895 Py_INCREF(Py_None
); resultobj
= Py_None
;
15902 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15903 PyObject
*resultobj
;
15904 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15906 PyObject
* obj0
= 0 ;
15907 PyObject
* obj1
= 0 ;
15908 char *kwnames
[] = {
15909 (char *) "self",(char *) "enable", NULL
15912 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
15913 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15914 arg2
= PyInt_AsLong(obj1
) ? true : false;
15915 if (PyErr_Occurred()) SWIG_fail
;
15917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15918 (arg1
)->Enable(arg2
);
15920 wxPyEndAllowThreads(__tstate
);
15921 if (PyErr_Occurred()) SWIG_fail
;
15923 Py_INCREF(Py_None
); resultobj
= Py_None
;
15930 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15931 PyObject
*resultobj
;
15932 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15933 wxString
*arg2
= 0 ;
15934 bool temp2
= False
;
15935 PyObject
* obj0
= 0 ;
15936 PyObject
* obj1
= 0 ;
15937 char *kwnames
[] = {
15938 (char *) "self",(char *) "text", NULL
15941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
15942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15944 arg2
= wxString_in_helper(obj1
);
15945 if (arg2
== NULL
) SWIG_fail
;
15949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15950 (arg1
)->SetText((wxString
const &)*arg2
);
15952 wxPyEndAllowThreads(__tstate
);
15953 if (PyErr_Occurred()) SWIG_fail
;
15955 Py_INCREF(Py_None
); resultobj
= Py_None
;
15970 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15971 PyObject
*resultobj
;
15973 char *kwnames
[] = {
15974 (char *) "updateInterval", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
15979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15980 wxUpdateUIEvent::SetUpdateInterval(arg1
);
15982 wxPyEndAllowThreads(__tstate
);
15983 if (PyErr_Occurred()) SWIG_fail
;
15985 Py_INCREF(Py_None
); resultobj
= Py_None
;
15992 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15993 PyObject
*resultobj
;
15995 char *kwnames
[] = {
15999 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
16001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16002 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
16004 wxPyEndAllowThreads(__tstate
);
16005 if (PyErr_Occurred()) SWIG_fail
;
16007 resultobj
= PyInt_FromLong((long)result
);
16014 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16015 PyObject
*resultobj
;
16016 wxWindow
*arg1
= (wxWindow
*) 0 ;
16018 PyObject
* obj0
= 0 ;
16019 char *kwnames
[] = {
16020 (char *) "win", NULL
16023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16027 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16029 wxPyEndAllowThreads(__tstate
);
16030 if (PyErr_Occurred()) SWIG_fail
;
16032 resultobj
= PyInt_FromLong((long)result
);
16039 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16040 PyObject
*resultobj
;
16041 char *kwnames
[] = {
16045 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16048 wxUpdateUIEvent::ResetUpdateTime();
16050 wxPyEndAllowThreads(__tstate
);
16051 if (PyErr_Occurred()) SWIG_fail
;
16053 Py_INCREF(Py_None
); resultobj
= Py_None
;
16060 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16061 PyObject
*resultobj
;
16063 char *kwnames
[] = {
16064 (char *) "mode", NULL
16067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16070 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16072 wxPyEndAllowThreads(__tstate
);
16073 if (PyErr_Occurred()) SWIG_fail
;
16075 Py_INCREF(Py_None
); resultobj
= Py_None
;
16082 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16083 PyObject
*resultobj
;
16085 char *kwnames
[] = {
16089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16092 result
= (int)wxUpdateUIEvent::GetMode();
16094 wxPyEndAllowThreads(__tstate
);
16095 if (PyErr_Occurred()) SWIG_fail
;
16097 resultobj
= PyInt_FromLong((long)result
);
16104 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16106 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16107 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16109 return Py_BuildValue((char *)"");
16111 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16113 wxSysColourChangedEvent
*result
;
16114 char *kwnames
[] = {
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16133 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16135 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16136 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16138 return Py_BuildValue((char *)"");
16140 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16141 PyObject
*resultobj
;
16142 int arg1
= (int) 0 ;
16143 wxWindow
*arg2
= (wxWindow
*) NULL
;
16144 wxMouseCaptureChangedEvent
*result
;
16145 PyObject
* obj1
= 0 ;
16146 char *kwnames
[] = {
16147 (char *) "winid",(char *) "gainedCapture", NULL
16150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16152 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16158 wxPyEndAllowThreads(__tstate
);
16159 if (PyErr_Occurred()) SWIG_fail
;
16161 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16168 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16169 PyObject
*resultobj
;
16170 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16172 PyObject
* obj0
= 0 ;
16173 char *kwnames
[] = {
16174 (char *) "self", NULL
16177 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16178 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16181 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16183 wxPyEndAllowThreads(__tstate
);
16184 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= wxPyMake_wxObject(result
);
16195 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16197 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16198 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16200 return Py_BuildValue((char *)"");
16202 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16203 PyObject
*resultobj
;
16204 wxDisplayChangedEvent
*result
;
16205 char *kwnames
[] = {
16209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16212 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16224 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16226 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16227 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16229 return Py_BuildValue((char *)"");
16231 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16232 PyObject
*resultobj
;
16233 int arg1
= (int) 0 ;
16234 wxPaletteChangedEvent
*result
;
16235 char *kwnames
[] = {
16236 (char *) "id", NULL
16239 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16242 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16244 wxPyEndAllowThreads(__tstate
);
16245 if (PyErr_Occurred()) SWIG_fail
;
16247 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16254 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
;
16256 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16257 wxWindow
*arg2
= (wxWindow
*) 0 ;
16258 PyObject
* obj0
= 0 ;
16259 PyObject
* obj1
= 0 ;
16260 char *kwnames
[] = {
16261 (char *) "self",(char *) "win", NULL
16264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16266 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16269 (arg1
)->SetChangedWindow(arg2
);
16271 wxPyEndAllowThreads(__tstate
);
16272 if (PyErr_Occurred()) SWIG_fail
;
16274 Py_INCREF(Py_None
); resultobj
= Py_None
;
16281 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16282 PyObject
*resultobj
;
16283 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16285 PyObject
* obj0
= 0 ;
16286 char *kwnames
[] = {
16287 (char *) "self", NULL
16290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16296 wxPyEndAllowThreads(__tstate
);
16297 if (PyErr_Occurred()) SWIG_fail
;
16300 resultobj
= wxPyMake_wxObject(result
);
16308 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16310 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16311 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16313 return Py_BuildValue((char *)"");
16315 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16316 PyObject
*resultobj
;
16317 int arg1
= (int) 0 ;
16318 wxQueryNewPaletteEvent
*result
;
16319 char *kwnames
[] = {
16320 (char *) "winid", NULL
16323 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16326 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16328 wxPyEndAllowThreads(__tstate
);
16329 if (PyErr_Occurred()) SWIG_fail
;
16331 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16338 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16339 PyObject
*resultobj
;
16340 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16342 PyObject
* obj0
= 0 ;
16343 PyObject
* obj1
= 0 ;
16344 char *kwnames
[] = {
16345 (char *) "self",(char *) "realized", NULL
16348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16350 arg2
= PyInt_AsLong(obj1
) ? true : false;
16351 if (PyErr_Occurred()) SWIG_fail
;
16353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16354 (arg1
)->SetPaletteRealized(arg2
);
16356 wxPyEndAllowThreads(__tstate
);
16357 if (PyErr_Occurred()) SWIG_fail
;
16359 Py_INCREF(Py_None
); resultobj
= Py_None
;
16366 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16367 PyObject
*resultobj
;
16368 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16370 PyObject
* obj0
= 0 ;
16371 char *kwnames
[] = {
16372 (char *) "self", NULL
16375 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16376 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16379 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16381 wxPyEndAllowThreads(__tstate
);
16382 if (PyErr_Occurred()) SWIG_fail
;
16384 resultobj
= PyInt_FromLong((long)result
);
16391 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16393 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16394 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16396 return Py_BuildValue((char *)"");
16398 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16399 PyObject
*resultobj
;
16400 wxNavigationKeyEvent
*result
;
16401 char *kwnames
[] = {
16405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16408 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16410 wxPyEndAllowThreads(__tstate
);
16411 if (PyErr_Occurred()) SWIG_fail
;
16413 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16420 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16421 PyObject
*resultobj
;
16422 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16424 PyObject
* obj0
= 0 ;
16425 char *kwnames
[] = {
16426 (char *) "self", NULL
16429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16433 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16435 wxPyEndAllowThreads(__tstate
);
16436 if (PyErr_Occurred()) SWIG_fail
;
16438 resultobj
= PyInt_FromLong((long)result
);
16445 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16446 PyObject
*resultobj
;
16447 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16449 PyObject
* obj0
= 0 ;
16450 PyObject
* obj1
= 0 ;
16451 char *kwnames
[] = {
16452 (char *) "self",(char *) "bForward", NULL
16455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16457 arg2
= PyInt_AsLong(obj1
) ? true : false;
16458 if (PyErr_Occurred()) SWIG_fail
;
16460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16461 (arg1
)->SetDirection(arg2
);
16463 wxPyEndAllowThreads(__tstate
);
16464 if (PyErr_Occurred()) SWIG_fail
;
16466 Py_INCREF(Py_None
); resultobj
= Py_None
;
16473 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16474 PyObject
*resultobj
;
16475 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16477 PyObject
* obj0
= 0 ;
16478 char *kwnames
[] = {
16479 (char *) "self", NULL
16482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16486 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16488 wxPyEndAllowThreads(__tstate
);
16489 if (PyErr_Occurred()) SWIG_fail
;
16491 resultobj
= PyInt_FromLong((long)result
);
16498 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16499 PyObject
*resultobj
;
16500 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16502 PyObject
* obj0
= 0 ;
16503 PyObject
* obj1
= 0 ;
16504 char *kwnames
[] = {
16505 (char *) "self",(char *) "bIs", NULL
16508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16510 arg2
= PyInt_AsLong(obj1
) ? true : false;
16511 if (PyErr_Occurred()) SWIG_fail
;
16513 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16514 (arg1
)->SetWindowChange(arg2
);
16516 wxPyEndAllowThreads(__tstate
);
16517 if (PyErr_Occurred()) SWIG_fail
;
16519 Py_INCREF(Py_None
); resultobj
= Py_None
;
16526 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16527 PyObject
*resultobj
;
16528 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16530 PyObject
* obj0
= 0 ;
16531 char *kwnames
[] = {
16532 (char *) "self", NULL
16535 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16536 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16539 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16541 wxPyEndAllowThreads(__tstate
);
16542 if (PyErr_Occurred()) SWIG_fail
;
16545 resultobj
= wxPyMake_wxObject(result
);
16553 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16554 PyObject
*resultobj
;
16555 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16556 wxWindow
*arg2
= (wxWindow
*) 0 ;
16557 PyObject
* obj0
= 0 ;
16558 PyObject
* obj1
= 0 ;
16559 char *kwnames
[] = {
16560 (char *) "self",(char *) "win", NULL
16563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16565 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16568 (arg1
)->SetCurrentFocus(arg2
);
16570 wxPyEndAllowThreads(__tstate
);
16571 if (PyErr_Occurred()) SWIG_fail
;
16573 Py_INCREF(Py_None
); resultobj
= Py_None
;
16580 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16582 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16583 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16585 return Py_BuildValue((char *)"");
16587 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16588 PyObject
*resultobj
;
16589 wxWindow
*arg1
= (wxWindow
*) NULL
;
16590 wxWindowCreateEvent
*result
;
16591 PyObject
* obj0
= 0 ;
16592 char *kwnames
[] = {
16593 (char *) "win", NULL
16596 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16602 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16604 wxPyEndAllowThreads(__tstate
);
16605 if (PyErr_Occurred()) SWIG_fail
;
16607 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16614 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16615 PyObject
*resultobj
;
16616 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16618 PyObject
* obj0
= 0 ;
16619 char *kwnames
[] = {
16620 (char *) "self", NULL
16623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16627 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16629 wxPyEndAllowThreads(__tstate
);
16630 if (PyErr_Occurred()) SWIG_fail
;
16633 resultobj
= wxPyMake_wxObject(result
);
16641 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16643 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16644 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16646 return Py_BuildValue((char *)"");
16648 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16649 PyObject
*resultobj
;
16650 wxWindow
*arg1
= (wxWindow
*) NULL
;
16651 wxWindowDestroyEvent
*result
;
16652 PyObject
* obj0
= 0 ;
16653 char *kwnames
[] = {
16654 (char *) "win", NULL
16657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16659 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16663 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16665 wxPyEndAllowThreads(__tstate
);
16666 if (PyErr_Occurred()) SWIG_fail
;
16668 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16675 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16676 PyObject
*resultobj
;
16677 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16679 PyObject
* obj0
= 0 ;
16680 char *kwnames
[] = {
16681 (char *) "self", NULL
16684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16688 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16690 wxPyEndAllowThreads(__tstate
);
16691 if (PyErr_Occurred()) SWIG_fail
;
16694 resultobj
= wxPyMake_wxObject(result
);
16702 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16704 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16705 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16707 return Py_BuildValue((char *)"");
16709 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16710 PyObject
*resultobj
;
16711 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16712 int arg2
= (int) 0 ;
16713 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16714 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16715 wxContextMenuEvent
*result
;
16717 PyObject
* obj2
= 0 ;
16718 char *kwnames
[] = {
16719 (char *) "type",(char *) "winid",(char *) "pt", NULL
16722 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16726 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16731 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16733 wxPyEndAllowThreads(__tstate
);
16734 if (PyErr_Occurred()) SWIG_fail
;
16736 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16743 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16744 PyObject
*resultobj
;
16745 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16747 PyObject
* obj0
= 0 ;
16748 char *kwnames
[] = {
16749 (char *) "self", NULL
16752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16757 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16758 result
= (wxPoint
*) &_result_ref
;
16761 wxPyEndAllowThreads(__tstate
);
16762 if (PyErr_Occurred()) SWIG_fail
;
16764 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16771 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16772 PyObject
*resultobj
;
16773 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16774 wxPoint
*arg2
= 0 ;
16776 PyObject
* obj0
= 0 ;
16777 PyObject
* obj1
= 0 ;
16778 char *kwnames
[] = {
16779 (char *) "self",(char *) "pos", NULL
16782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16786 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16790 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16792 wxPyEndAllowThreads(__tstate
);
16793 if (PyErr_Occurred()) SWIG_fail
;
16795 Py_INCREF(Py_None
); resultobj
= Py_None
;
16802 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16804 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16805 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16807 return Py_BuildValue((char *)"");
16809 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16810 PyObject
*resultobj
;
16811 wxIdleEvent
*result
;
16812 char *kwnames
[] = {
16816 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16819 result
= (wxIdleEvent
*)new wxIdleEvent();
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16831 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16832 PyObject
*resultobj
;
16833 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16834 bool arg2
= (bool) True
;
16835 PyObject
* obj0
= 0 ;
16836 PyObject
* obj1
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "self",(char *) "needMore", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16842 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16844 arg2
= PyInt_AsLong(obj1
) ? true : false;
16845 if (PyErr_Occurred()) SWIG_fail
;
16848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16849 (arg1
)->RequestMore(arg2
);
16851 wxPyEndAllowThreads(__tstate
);
16852 if (PyErr_Occurred()) SWIG_fail
;
16854 Py_INCREF(Py_None
); resultobj
= Py_None
;
16861 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16862 PyObject
*resultobj
;
16863 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16865 PyObject
* obj0
= 0 ;
16866 char *kwnames
[] = {
16867 (char *) "self", NULL
16870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16871 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16874 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16876 wxPyEndAllowThreads(__tstate
);
16877 if (PyErr_Occurred()) SWIG_fail
;
16879 resultobj
= PyInt_FromLong((long)result
);
16886 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16887 PyObject
*resultobj
;
16889 char *kwnames
[] = {
16890 (char *) "mode", NULL
16893 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16896 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
16898 wxPyEndAllowThreads(__tstate
);
16899 if (PyErr_Occurred()) SWIG_fail
;
16901 Py_INCREF(Py_None
); resultobj
= Py_None
;
16908 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16909 PyObject
*resultobj
;
16911 char *kwnames
[] = {
16915 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
16917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16918 result
= (int)wxIdleEvent::GetMode();
16920 wxPyEndAllowThreads(__tstate
);
16921 if (PyErr_Occurred()) SWIG_fail
;
16923 resultobj
= PyInt_FromLong((long)result
);
16930 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16931 PyObject
*resultobj
;
16932 wxWindow
*arg1
= (wxWindow
*) 0 ;
16934 PyObject
* obj0
= 0 ;
16935 char *kwnames
[] = {
16936 (char *) "win", NULL
16939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
16940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16943 result
= (bool)wxIdleEvent::CanSend(arg1
);
16945 wxPyEndAllowThreads(__tstate
);
16946 if (PyErr_Occurred()) SWIG_fail
;
16948 resultobj
= PyInt_FromLong((long)result
);
16955 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16957 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16958 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
16960 return Py_BuildValue((char *)"");
16962 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16963 PyObject
*resultobj
;
16964 int arg1
= (int) 0 ;
16965 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
16967 char *kwnames
[] = {
16968 (char *) "winid",(char *) "commandType", NULL
16971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
16973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16974 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
16976 wxPyEndAllowThreads(__tstate
);
16977 if (PyErr_Occurred()) SWIG_fail
;
16979 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
16986 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16987 PyObject
*resultobj
;
16988 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
16989 PyObject
* obj0
= 0 ;
16990 char *kwnames
[] = {
16991 (char *) "self", NULL
16994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
16995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17000 wxPyEndAllowThreads(__tstate
);
17001 if (PyErr_Occurred()) SWIG_fail
;
17003 Py_INCREF(Py_None
); resultobj
= Py_None
;
17010 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17011 PyObject
*resultobj
;
17012 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17013 PyObject
*arg2
= (PyObject
*) 0 ;
17014 PyObject
* obj0
= 0 ;
17015 PyObject
* obj1
= 0 ;
17016 char *kwnames
[] = {
17017 (char *) "self",(char *) "self", NULL
17020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17025 (arg1
)->SetSelf(arg2
);
17027 wxPyEndAllowThreads(__tstate
);
17028 if (PyErr_Occurred()) SWIG_fail
;
17030 Py_INCREF(Py_None
); resultobj
= Py_None
;
17037 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17038 PyObject
*resultobj
;
17039 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17041 PyObject
* obj0
= 0 ;
17042 char *kwnames
[] = {
17043 (char *) "self", NULL
17046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17050 result
= (PyObject
*)(arg1
)->GetSelf();
17052 wxPyEndAllowThreads(__tstate
);
17053 if (PyErr_Occurred()) SWIG_fail
;
17055 resultobj
= result
;
17062 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17064 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17065 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17067 return Py_BuildValue((char *)"");
17069 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17070 PyObject
*resultobj
;
17071 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17072 int arg2
= (int) 0 ;
17073 wxPyCommandEvent
*result
;
17074 char *kwnames
[] = {
17075 (char *) "commandType",(char *) "id", NULL
17078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17081 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17083 wxPyEndAllowThreads(__tstate
);
17084 if (PyErr_Occurred()) SWIG_fail
;
17086 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17093 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17094 PyObject
*resultobj
;
17095 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17096 PyObject
* obj0
= 0 ;
17097 char *kwnames
[] = {
17098 (char *) "self", NULL
17101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17107 wxPyEndAllowThreads(__tstate
);
17108 if (PyErr_Occurred()) SWIG_fail
;
17110 Py_INCREF(Py_None
); resultobj
= Py_None
;
17117 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17118 PyObject
*resultobj
;
17119 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17120 PyObject
*arg2
= (PyObject
*) 0 ;
17121 PyObject
* obj0
= 0 ;
17122 PyObject
* obj1
= 0 ;
17123 char *kwnames
[] = {
17124 (char *) "self",(char *) "self", NULL
17127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17132 (arg1
)->SetSelf(arg2
);
17134 wxPyEndAllowThreads(__tstate
);
17135 if (PyErr_Occurred()) SWIG_fail
;
17137 Py_INCREF(Py_None
); resultobj
= Py_None
;
17144 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17145 PyObject
*resultobj
;
17146 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17148 PyObject
* obj0
= 0 ;
17149 char *kwnames
[] = {
17150 (char *) "self", NULL
17153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (PyObject
*)(arg1
)->GetSelf();
17159 wxPyEndAllowThreads(__tstate
);
17160 if (PyErr_Occurred()) SWIG_fail
;
17162 resultobj
= result
;
17169 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17171 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17172 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17174 return Py_BuildValue((char *)"");
17176 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17177 PyObject
*resultobj
;
17179 char *kwnames
[] = {
17183 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17186 result
= (wxPyApp
*)new_wxPyApp();
17188 wxPyEndAllowThreads(__tstate
);
17189 if (PyErr_Occurred()) SWIG_fail
;
17192 resultobj
= wxPyMake_wxObject(result
);
17200 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17201 PyObject
*resultobj
;
17202 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17203 PyObject
* obj0
= 0 ;
17204 char *kwnames
[] = {
17205 (char *) "self", NULL
17208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17214 wxPyEndAllowThreads(__tstate
);
17215 if (PyErr_Occurred()) SWIG_fail
;
17217 Py_INCREF(Py_None
); resultobj
= Py_None
;
17224 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17225 PyObject
*resultobj
;
17226 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17227 PyObject
*arg2
= (PyObject
*) 0 ;
17228 PyObject
*arg3
= (PyObject
*) 0 ;
17229 PyObject
* obj0
= 0 ;
17230 PyObject
* obj1
= 0 ;
17231 PyObject
* obj2
= 0 ;
17232 char *kwnames
[] = {
17233 (char *) "self",(char *) "self",(char *) "_class", NULL
17236 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17237 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17242 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17244 wxPyEndAllowThreads(__tstate
);
17245 if (PyErr_Occurred()) SWIG_fail
;
17247 Py_INCREF(Py_None
); resultobj
= Py_None
;
17254 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17255 PyObject
*resultobj
;
17256 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17258 PyObject
* obj0
= 0 ;
17259 char *kwnames
[] = {
17260 (char *) "self", NULL
17263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17267 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17269 wxPyEndAllowThreads(__tstate
);
17270 if (PyErr_Occurred()) SWIG_fail
;
17274 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17276 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17285 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
;
17287 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17288 wxString
*arg2
= 0 ;
17289 bool temp2
= False
;
17290 PyObject
* obj0
= 0 ;
17291 PyObject
* obj1
= 0 ;
17292 char *kwnames
[] = {
17293 (char *) "self",(char *) "name", NULL
17296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17299 arg2
= wxString_in_helper(obj1
);
17300 if (arg2
== NULL
) SWIG_fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 (arg1
)->SetAppName((wxString
const &)*arg2
);
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17310 Py_INCREF(Py_None
); resultobj
= Py_None
;
17325 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17326 PyObject
*resultobj
;
17327 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17329 PyObject
* obj0
= 0 ;
17330 char *kwnames
[] = {
17331 (char *) "self", NULL
17334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17335 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17338 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17340 wxPyEndAllowThreads(__tstate
);
17341 if (PyErr_Occurred()) SWIG_fail
;
17345 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17347 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17356 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17357 PyObject
*resultobj
;
17358 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17359 wxString
*arg2
= 0 ;
17360 bool temp2
= False
;
17361 PyObject
* obj0
= 0 ;
17362 PyObject
* obj1
= 0 ;
17363 char *kwnames
[] = {
17364 (char *) "self",(char *) "name", NULL
17367 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17368 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17370 arg2
= wxString_in_helper(obj1
);
17371 if (arg2
== NULL
) SWIG_fail
;
17375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17376 (arg1
)->SetClassName((wxString
const &)*arg2
);
17378 wxPyEndAllowThreads(__tstate
);
17379 if (PyErr_Occurred()) SWIG_fail
;
17381 Py_INCREF(Py_None
); resultobj
= Py_None
;
17396 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17397 PyObject
*resultobj
;
17398 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17400 PyObject
* obj0
= 0 ;
17401 char *kwnames
[] = {
17402 (char *) "self", NULL
17405 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17406 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17410 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17411 result
= (wxString
*) &_result_ref
;
17414 wxPyEndAllowThreads(__tstate
);
17415 if (PyErr_Occurred()) SWIG_fail
;
17419 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17421 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17430 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17431 PyObject
*resultobj
;
17432 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17433 wxString
*arg2
= 0 ;
17434 bool temp2
= False
;
17435 PyObject
* obj0
= 0 ;
17436 PyObject
* obj1
= 0 ;
17437 char *kwnames
[] = {
17438 (char *) "self",(char *) "name", NULL
17441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17444 arg2
= wxString_in_helper(obj1
);
17445 if (arg2
== NULL
) SWIG_fail
;
17449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17450 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17452 wxPyEndAllowThreads(__tstate
);
17453 if (PyErr_Occurred()) SWIG_fail
;
17455 Py_INCREF(Py_None
); resultobj
= Py_None
;
17470 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17471 PyObject
*resultobj
;
17472 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17473 wxAppTraits
*result
;
17474 PyObject
* obj0
= 0 ;
17475 char *kwnames
[] = {
17476 (char *) "self", NULL
17479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17483 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17495 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17496 PyObject
*resultobj
;
17497 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17498 PyObject
* obj0
= 0 ;
17499 char *kwnames
[] = {
17500 (char *) "self", NULL
17503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17507 (arg1
)->ProcessPendingEvents();
17509 wxPyEndAllowThreads(__tstate
);
17510 if (PyErr_Occurred()) SWIG_fail
;
17512 Py_INCREF(Py_None
); resultobj
= Py_None
;
17519 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17520 PyObject
*resultobj
;
17521 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17522 bool arg2
= (bool) False
;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 char *kwnames
[] = {
17527 (char *) "self",(char *) "onlyIfNeeded", NULL
17530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17533 arg2
= PyInt_AsLong(obj1
) ? true : false;
17534 if (PyErr_Occurred()) SWIG_fail
;
17537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17538 result
= (bool)(arg1
)->Yield(arg2
);
17540 wxPyEndAllowThreads(__tstate
);
17541 if (PyErr_Occurred()) SWIG_fail
;
17543 resultobj
= PyInt_FromLong((long)result
);
17550 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17551 PyObject
*resultobj
;
17552 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17553 PyObject
* obj0
= 0 ;
17554 char *kwnames
[] = {
17555 (char *) "self", NULL
17558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17562 (arg1
)->WakeUpIdle();
17564 wxPyEndAllowThreads(__tstate
);
17565 if (PyErr_Occurred()) SWIG_fail
;
17567 Py_INCREF(Py_None
); resultobj
= Py_None
;
17574 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17575 PyObject
*resultobj
;
17576 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17578 PyObject
* obj0
= 0 ;
17579 char *kwnames
[] = {
17580 (char *) "self", NULL
17583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17587 result
= (int)(arg1
)->MainLoop();
17589 wxPyEndAllowThreads(__tstate
);
17590 if (PyErr_Occurred()) SWIG_fail
;
17592 resultobj
= PyInt_FromLong((long)result
);
17599 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
;
17601 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17602 PyObject
* obj0
= 0 ;
17603 char *kwnames
[] = {
17604 (char *) "self", NULL
17607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17613 wxPyEndAllowThreads(__tstate
);
17614 if (PyErr_Occurred()) SWIG_fail
;
17616 Py_INCREF(Py_None
); resultobj
= Py_None
;
17623 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17624 PyObject
*resultobj
;
17625 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17626 PyObject
* obj0
= 0 ;
17627 char *kwnames
[] = {
17628 (char *) "self", NULL
17631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17635 (arg1
)->ExitMainLoop();
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 Py_INCREF(Py_None
); resultobj
= Py_None
;
17647 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17648 PyObject
*resultobj
;
17649 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17651 PyObject
* obj0
= 0 ;
17652 char *kwnames
[] = {
17653 (char *) "self", NULL
17656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17660 result
= (bool)(arg1
)->Pending();
17662 wxPyEndAllowThreads(__tstate
);
17663 if (PyErr_Occurred()) SWIG_fail
;
17665 resultobj
= PyInt_FromLong((long)result
);
17672 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17673 PyObject
*resultobj
;
17674 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17676 PyObject
* obj0
= 0 ;
17677 char *kwnames
[] = {
17678 (char *) "self", NULL
17681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17685 result
= (bool)(arg1
)->Dispatch();
17687 wxPyEndAllowThreads(__tstate
);
17688 if (PyErr_Occurred()) SWIG_fail
;
17690 resultobj
= PyInt_FromLong((long)result
);
17697 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17698 PyObject
*resultobj
;
17699 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17701 PyObject
* obj0
= 0 ;
17702 char *kwnames
[] = {
17703 (char *) "self", NULL
17706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17710 result
= (bool)(arg1
)->ProcessIdle();
17712 wxPyEndAllowThreads(__tstate
);
17713 if (PyErr_Occurred()) SWIG_fail
;
17715 resultobj
= PyInt_FromLong((long)result
);
17722 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17723 PyObject
*resultobj
;
17724 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17725 wxWindow
*arg2
= (wxWindow
*) 0 ;
17726 wxIdleEvent
*arg3
= 0 ;
17728 PyObject
* obj0
= 0 ;
17729 PyObject
* obj1
= 0 ;
17730 PyObject
* obj2
= 0 ;
17731 char *kwnames
[] = {
17732 (char *) "self",(char *) "win",(char *) "event", NULL
17735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17738 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17739 if (arg3
== NULL
) {
17740 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17744 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17746 wxPyEndAllowThreads(__tstate
);
17747 if (PyErr_Occurred()) SWIG_fail
;
17749 resultobj
= PyInt_FromLong((long)result
);
17756 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17757 PyObject
*resultobj
;
17758 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17760 PyObject
* obj0
= 0 ;
17761 char *kwnames
[] = {
17762 (char *) "self", NULL
17765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17769 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= PyInt_FromLong((long)result
);
17781 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17782 PyObject
*resultobj
;
17783 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17784 wxWindow
*arg2
= (wxWindow
*) 0 ;
17785 PyObject
* obj0
= 0 ;
17786 PyObject
* obj1
= 0 ;
17787 char *kwnames
[] = {
17788 (char *) "self",(char *) "win", NULL
17791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17796 (arg1
)->SetTopWindow(arg2
);
17798 wxPyEndAllowThreads(__tstate
);
17799 if (PyErr_Occurred()) SWIG_fail
;
17801 Py_INCREF(Py_None
); resultobj
= Py_None
;
17808 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17809 PyObject
*resultobj
;
17810 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17812 PyObject
* obj0
= 0 ;
17813 char *kwnames
[] = {
17814 (char *) "self", NULL
17817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17821 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17823 wxPyEndAllowThreads(__tstate
);
17824 if (PyErr_Occurred()) SWIG_fail
;
17827 resultobj
= wxPyMake_wxObject(result
);
17835 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17836 PyObject
*resultobj
;
17837 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17839 PyObject
* obj0
= 0 ;
17840 PyObject
* obj1
= 0 ;
17841 char *kwnames
[] = {
17842 (char *) "self",(char *) "flag", NULL
17845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17847 arg2
= PyInt_AsLong(obj1
) ? true : false;
17848 if (PyErr_Occurred()) SWIG_fail
;
17850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17851 (arg1
)->SetExitOnFrameDelete(arg2
);
17853 wxPyEndAllowThreads(__tstate
);
17854 if (PyErr_Occurred()) SWIG_fail
;
17856 Py_INCREF(Py_None
); resultobj
= Py_None
;
17863 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17864 PyObject
*resultobj
;
17865 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17867 PyObject
* obj0
= 0 ;
17868 char *kwnames
[] = {
17869 (char *) "self", NULL
17872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
17873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17876 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
17878 wxPyEndAllowThreads(__tstate
);
17879 if (PyErr_Occurred()) SWIG_fail
;
17881 resultobj
= PyInt_FromLong((long)result
);
17888 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17889 PyObject
*resultobj
;
17890 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17892 PyObject
* obj0
= 0 ;
17893 PyObject
* obj1
= 0 ;
17894 char *kwnames
[] = {
17895 (char *) "self",(char *) "flag", NULL
17898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
17899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17900 arg2
= PyInt_AsLong(obj1
) ? true : false;
17901 if (PyErr_Occurred()) SWIG_fail
;
17903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17904 (arg1
)->SetUseBestVisual(arg2
);
17906 wxPyEndAllowThreads(__tstate
);
17907 if (PyErr_Occurred()) SWIG_fail
;
17909 Py_INCREF(Py_None
); resultobj
= Py_None
;
17916 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17917 PyObject
*resultobj
;
17918 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17920 PyObject
* obj0
= 0 ;
17921 char *kwnames
[] = {
17922 (char *) "self", NULL
17925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
17926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17929 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
17931 wxPyEndAllowThreads(__tstate
);
17932 if (PyErr_Occurred()) SWIG_fail
;
17934 resultobj
= PyInt_FromLong((long)result
);
17941 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17942 PyObject
*resultobj
;
17943 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17945 PyObject
* obj0
= 0 ;
17946 char *kwnames
[] = {
17947 (char *) "self",(char *) "mode", NULL
17950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
17951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17954 (arg1
)->SetPrintMode(arg2
);
17956 wxPyEndAllowThreads(__tstate
);
17957 if (PyErr_Occurred()) SWIG_fail
;
17959 Py_INCREF(Py_None
); resultobj
= Py_None
;
17966 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17967 PyObject
*resultobj
;
17968 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17970 PyObject
* obj0
= 0 ;
17971 char *kwnames
[] = {
17972 (char *) "self", NULL
17975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
17976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
17981 wxPyEndAllowThreads(__tstate
);
17982 if (PyErr_Occurred()) SWIG_fail
;
17984 resultobj
= PyInt_FromLong((long)result
);
17991 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17992 PyObject
*resultobj
;
17993 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17995 PyObject
* obj0
= 0 ;
17996 char *kwnames
[] = {
17997 (char *) "self",(char *) "mode", NULL
18000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18001 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18003 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18004 (arg1
)->SetAssertMode(arg2
);
18006 wxPyEndAllowThreads(__tstate
);
18007 if (PyErr_Occurred()) SWIG_fail
;
18009 Py_INCREF(Py_None
); resultobj
= Py_None
;
18016 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18017 PyObject
*resultobj
;
18018 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18020 PyObject
* obj0
= 0 ;
18021 char *kwnames
[] = {
18022 (char *) "self", NULL
18025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18029 result
= (int)(arg1
)->GetAssertMode();
18031 wxPyEndAllowThreads(__tstate
);
18032 if (PyErr_Occurred()) SWIG_fail
;
18034 resultobj
= PyInt_FromLong((long)result
);
18041 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
;
18044 char *kwnames
[] = {
18048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18051 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18053 wxPyEndAllowThreads(__tstate
);
18054 if (PyErr_Occurred()) SWIG_fail
;
18056 resultobj
= PyInt_FromLong((long)result
);
18063 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18064 PyObject
*resultobj
;
18066 char *kwnames
[] = {
18070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= PyInt_FromLong((long)result
);
18085 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18088 char *kwnames
[] = {
18092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18095 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18097 wxPyEndAllowThreads(__tstate
);
18098 if (PyErr_Occurred()) SWIG_fail
;
18100 resultobj
= PyInt_FromLong((long)result
);
18107 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18108 PyObject
*resultobj
;
18110 char *kwnames
[] = {
18114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18117 result
= (long)wxPyApp::GetMacExitMenuItemId();
18119 wxPyEndAllowThreads(__tstate
);
18120 if (PyErr_Occurred()) SWIG_fail
;
18122 resultobj
= PyInt_FromLong((long)result
);
18129 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18130 PyObject
*resultobj
;
18132 char *kwnames
[] = {
18136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18139 result
= wxPyApp::GetMacHelpMenuTitleName();
18141 wxPyEndAllowThreads(__tstate
);
18142 if (PyErr_Occurred()) SWIG_fail
;
18146 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18148 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18157 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18158 PyObject
*resultobj
;
18160 PyObject
* obj0
= 0 ;
18161 char *kwnames
[] = {
18162 (char *) "val", NULL
18165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18166 arg1
= PyInt_AsLong(obj0
) ? true : false;
18167 if (PyErr_Occurred()) SWIG_fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 Py_INCREF(Py_None
); resultobj
= Py_None
;
18182 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18185 char *kwnames
[] = {
18186 (char *) "val", NULL
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 wxPyApp::SetMacAboutMenuItemId(arg1
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 Py_INCREF(Py_None
); resultobj
= Py_None
;
18204 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18207 char *kwnames
[] = {
18208 (char *) "val", NULL
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 Py_INCREF(Py_None
); resultobj
= Py_None
;
18226 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18229 char *kwnames
[] = {
18230 (char *) "val", NULL
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 wxPyApp::SetMacExitMenuItemId(arg1
);
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 Py_INCREF(Py_None
); resultobj
= Py_None
;
18248 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18250 wxString
*arg1
= 0 ;
18251 bool temp1
= False
;
18252 PyObject
* obj0
= 0 ;
18253 char *kwnames
[] = {
18254 (char *) "val", NULL
18257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18259 arg1
= wxString_in_helper(obj0
);
18260 if (arg1
== NULL
) SWIG_fail
;
18264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18265 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18267 wxPyEndAllowThreads(__tstate
);
18268 if (PyErr_Occurred()) SWIG_fail
;
18270 Py_INCREF(Py_None
); resultobj
= Py_None
;
18285 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18286 PyObject
*resultobj
;
18287 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18288 PyObject
* obj0
= 0 ;
18289 char *kwnames
[] = {
18290 (char *) "self", NULL
18293 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18294 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18297 (arg1
)->_BootstrapApp();
18299 wxPyEndAllowThreads(__tstate
);
18300 if (PyErr_Occurred()) SWIG_fail
;
18302 Py_INCREF(Py_None
); resultobj
= Py_None
;
18309 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18310 PyObject
*resultobj
;
18312 char *kwnames
[] = {
18316 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18319 result
= (int)PyApp_GetComCtl32Version();
18321 wxPyEndAllowThreads(__tstate
);
18322 if (PyErr_Occurred()) SWIG_fail
;
18324 resultobj
= PyInt_FromLong((long)result
);
18331 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18333 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18334 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18336 return Py_BuildValue((char *)"");
18338 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18339 PyObject
*resultobj
;
18340 char *kwnames
[] = {
18344 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18349 wxPyEndAllowThreads(__tstate
);
18350 if (PyErr_Occurred()) SWIG_fail
;
18352 Py_INCREF(Py_None
); resultobj
= Py_None
;
18359 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18360 PyObject
*resultobj
;
18362 char *kwnames
[] = {
18366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18369 result
= (bool)wxYield();
18371 wxPyEndAllowThreads(__tstate
);
18372 if (PyErr_Occurred()) SWIG_fail
;
18374 resultobj
= PyInt_FromLong((long)result
);
18381 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18382 PyObject
*resultobj
;
18384 char *kwnames
[] = {
18388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18391 result
= (bool)wxYieldIfNeeded();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= PyInt_FromLong((long)result
);
18403 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18404 PyObject
*resultobj
;
18405 wxWindow
*arg1
= (wxWindow
*) NULL
;
18406 bool arg2
= (bool) False
;
18408 PyObject
* obj0
= 0 ;
18409 PyObject
* obj1
= 0 ;
18410 char *kwnames
[] = {
18411 (char *) "win",(char *) "onlyIfNeeded", NULL
18414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18419 arg2
= PyInt_AsLong(obj1
) ? true : false;
18420 if (PyErr_Occurred()) SWIG_fail
;
18423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18424 result
= (bool)wxSafeYield(arg1
,arg2
);
18426 wxPyEndAllowThreads(__tstate
);
18427 if (PyErr_Occurred()) SWIG_fail
;
18429 resultobj
= PyInt_FromLong((long)result
);
18436 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18437 PyObject
*resultobj
;
18438 char *kwnames
[] = {
18442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18447 wxPyEndAllowThreads(__tstate
);
18448 if (PyErr_Occurred()) SWIG_fail
;
18450 Py_INCREF(Py_None
); resultobj
= Py_None
;
18457 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18460 wxEvent
*arg2
= 0 ;
18461 PyObject
* obj0
= 0 ;
18462 PyObject
* obj1
= 0 ;
18463 char *kwnames
[] = {
18464 (char *) "dest",(char *) "event", NULL
18467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18470 if (arg2
== NULL
) {
18471 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18475 wxPostEvent(arg1
,*arg2
);
18477 wxPyEndAllowThreads(__tstate
);
18478 if (PyErr_Occurred()) SWIG_fail
;
18480 Py_INCREF(Py_None
); resultobj
= Py_None
;
18487 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18488 PyObject
*resultobj
;
18489 char *kwnames
[] = {
18493 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18498 wxPyEndAllowThreads(__tstate
);
18499 if (PyErr_Occurred()) SWIG_fail
;
18501 Py_INCREF(Py_None
); resultobj
= Py_None
;
18508 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18509 PyObject
*resultobj
;
18511 char *kwnames
[] = {
18515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 result
= (wxPyApp
*)wxGetApp();
18520 wxPyEndAllowThreads(__tstate
);
18521 if (PyErr_Occurred()) SWIG_fail
;
18524 resultobj
= wxPyMake_wxObject(result
);
18532 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18533 PyObject
*resultobj
;
18534 int arg1
= (int) 0 ;
18535 int arg2
= (int) 0 ;
18536 int arg3
= (int) 0 ;
18537 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
18538 wxAcceleratorEntry
*result
;
18539 PyObject
* obj3
= 0 ;
18540 char *kwnames
[] = {
18541 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
18546 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18550 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
18552 wxPyEndAllowThreads(__tstate
);
18553 if (PyErr_Occurred()) SWIG_fail
;
18555 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
18562 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18563 PyObject
*resultobj
;
18564 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18565 PyObject
* obj0
= 0 ;
18566 char *kwnames
[] = {
18567 (char *) "self", NULL
18570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
18571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18576 wxPyEndAllowThreads(__tstate
);
18577 if (PyErr_Occurred()) SWIG_fail
;
18579 Py_INCREF(Py_None
); resultobj
= Py_None
;
18586 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18587 PyObject
*resultobj
;
18588 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18592 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
18593 PyObject
* obj0
= 0 ;
18594 PyObject
* obj4
= 0 ;
18595 char *kwnames
[] = {
18596 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
18600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18602 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18606 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18608 wxPyEndAllowThreads(__tstate
);
18609 if (PyErr_Occurred()) SWIG_fail
;
18611 Py_INCREF(Py_None
); resultobj
= Py_None
;
18618 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18619 PyObject
*resultobj
;
18620 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18621 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
18622 PyObject
* obj0
= 0 ;
18623 PyObject
* obj1
= 0 ;
18624 char *kwnames
[] = {
18625 (char *) "self",(char *) "item", NULL
18628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18630 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18633 (arg1
)->SetMenuItem(arg2
);
18635 wxPyEndAllowThreads(__tstate
);
18636 if (PyErr_Occurred()) SWIG_fail
;
18638 Py_INCREF(Py_None
); resultobj
= Py_None
;
18645 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18646 PyObject
*resultobj
;
18647 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18648 wxMenuItem
*result
;
18649 PyObject
* obj0
= 0 ;
18650 char *kwnames
[] = {
18651 (char *) "self", NULL
18654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
18655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18658 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
18660 wxPyEndAllowThreads(__tstate
);
18661 if (PyErr_Occurred()) SWIG_fail
;
18664 resultobj
= wxPyMake_wxObject(result
);
18672 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18673 PyObject
*resultobj
;
18674 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18676 PyObject
* obj0
= 0 ;
18677 char *kwnames
[] = {
18678 (char *) "self", NULL
18681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
18682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18685 result
= (int)(arg1
)->GetFlags();
18687 wxPyEndAllowThreads(__tstate
);
18688 if (PyErr_Occurred()) SWIG_fail
;
18690 resultobj
= PyInt_FromLong((long)result
);
18697 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18698 PyObject
*resultobj
;
18699 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18701 PyObject
* obj0
= 0 ;
18702 char *kwnames
[] = {
18703 (char *) "self", NULL
18706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18710 result
= (int)(arg1
)->GetKeyCode();
18712 wxPyEndAllowThreads(__tstate
);
18713 if (PyErr_Occurred()) SWIG_fail
;
18715 resultobj
= PyInt_FromLong((long)result
);
18722 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18723 PyObject
*resultobj
;
18724 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18726 PyObject
* obj0
= 0 ;
18727 char *kwnames
[] = {
18728 (char *) "self", NULL
18731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
18732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18735 result
= (int)(arg1
)->GetCommand();
18737 wxPyEndAllowThreads(__tstate
);
18738 if (PyErr_Occurred()) SWIG_fail
;
18740 resultobj
= PyInt_FromLong((long)result
);
18747 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
18749 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18750 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
18752 return Py_BuildValue((char *)"");
18754 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18755 PyObject
*resultobj
;
18757 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
18758 wxAcceleratorTable
*result
;
18759 PyObject
* obj0
= 0 ;
18760 char *kwnames
[] = {
18764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18766 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
18767 if (arg2
) arg1
= PyList_Size(obj0
);
18771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18772 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
18774 wxPyEndAllowThreads(__tstate
);
18775 if (PyErr_Occurred()) SWIG_fail
;
18777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
18790 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18791 PyObject
*resultobj
;
18792 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18793 PyObject
* obj0
= 0 ;
18794 char *kwnames
[] = {
18795 (char *) "self", NULL
18798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 wxPyEndAllowThreads(__tstate
);
18805 if (PyErr_Occurred()) SWIG_fail
;
18807 Py_INCREF(Py_None
); resultobj
= Py_None
;
18814 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18815 PyObject
*resultobj
;
18816 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18818 PyObject
* obj0
= 0 ;
18819 char *kwnames
[] = {
18820 (char *) "self", NULL
18823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
18824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18827 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
18829 wxPyEndAllowThreads(__tstate
);
18830 if (PyErr_Occurred()) SWIG_fail
;
18832 resultobj
= PyInt_FromLong((long)result
);
18839 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
18841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18842 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
18844 return Py_BuildValue((char *)"");
18846 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
18847 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
18852 static PyObject
*_wrap_NullAcceleratorTable_get() {
18855 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
18860 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18861 PyObject
*resultobj
;
18862 wxString
*arg1
= 0 ;
18863 wxAcceleratorEntry
*result
;
18864 bool temp1
= False
;
18865 PyObject
* obj0
= 0 ;
18866 char *kwnames
[] = {
18867 (char *) "label", NULL
18870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
18872 arg1
= wxString_in_helper(obj0
);
18873 if (arg1
== NULL
) SWIG_fail
;
18877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18878 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
18880 wxPyEndAllowThreads(__tstate
);
18881 if (PyErr_Occurred()) SWIG_fail
;
18883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
18898 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
18899 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
18904 static PyObject
*_wrap_PanelNameStr_get() {
18909 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18911 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
18918 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18919 PyObject
*resultobj
;
18920 wxWindow
*arg1
= (wxWindow
*) 0 ;
18922 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
18923 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
18924 wxSize
const &arg4_defvalue
= wxDefaultSize
;
18925 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
18926 long arg5
= (long) 0 ;
18927 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
18928 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
18932 bool temp6
= False
;
18933 PyObject
* obj0
= 0 ;
18934 PyObject
* obj2
= 0 ;
18935 PyObject
* obj3
= 0 ;
18936 PyObject
* obj5
= 0 ;
18937 char *kwnames
[] = {
18938 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
18942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18946 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
18952 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
18957 arg6
= wxString_in_helper(obj5
);
18958 if (arg6
== NULL
) SWIG_fail
;
18963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18964 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
18966 wxPyEndAllowThreads(__tstate
);
18967 if (PyErr_Occurred()) SWIG_fail
;
18970 resultobj
= wxPyMake_wxObject(result
);
18986 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18987 PyObject
*resultobj
;
18989 char *kwnames
[] = {
18993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
18995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18996 result
= (wxWindow
*)new wxWindow();
18998 wxPyEndAllowThreads(__tstate
);
18999 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= wxPyMake_wxObject(result
);
19010 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19011 PyObject
*resultobj
;
19012 wxWindow
*arg1
= (wxWindow
*) 0 ;
19013 wxWindow
*arg2
= (wxWindow
*) 0 ;
19015 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19016 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19017 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19018 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19019 long arg6
= (long) 0 ;
19020 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19021 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19025 bool temp7
= False
;
19026 PyObject
* obj0
= 0 ;
19027 PyObject
* obj1
= 0 ;
19028 PyObject
* obj3
= 0 ;
19029 PyObject
* obj4
= 0 ;
19030 PyObject
* obj6
= 0 ;
19031 char *kwnames
[] = {
19032 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19037 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19041 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19047 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19052 arg7
= wxString_in_helper(obj6
);
19053 if (arg7
== NULL
) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19061 wxPyEndAllowThreads(__tstate
);
19062 if (PyErr_Occurred()) SWIG_fail
;
19064 resultobj
= PyInt_FromLong((long)result
);
19079 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
;
19081 wxWindow
*arg1
= (wxWindow
*) 0 ;
19082 bool arg2
= (bool) False
;
19084 PyObject
* obj0
= 0 ;
19085 PyObject
* obj1
= 0 ;
19086 char *kwnames
[] = {
19087 (char *) "self",(char *) "force", NULL
19090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
19091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19093 arg2
= PyInt_AsLong(obj1
) ? true : false;
19094 if (PyErr_Occurred()) SWIG_fail
;
19097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19098 result
= (bool)(arg1
)->Close(arg2
);
19100 wxPyEndAllowThreads(__tstate
);
19101 if (PyErr_Occurred()) SWIG_fail
;
19103 resultobj
= PyInt_FromLong((long)result
);
19110 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19111 PyObject
*resultobj
;
19112 wxWindow
*arg1
= (wxWindow
*) 0 ;
19114 PyObject
* obj0
= 0 ;
19115 char *kwnames
[] = {
19116 (char *) "self", NULL
19119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
19120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19123 result
= (bool)(arg1
)->Destroy();
19125 wxPyEndAllowThreads(__tstate
);
19126 if (PyErr_Occurred()) SWIG_fail
;
19128 resultobj
= PyInt_FromLong((long)result
);
19135 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19136 PyObject
*resultobj
;
19137 wxWindow
*arg1
= (wxWindow
*) 0 ;
19139 PyObject
* obj0
= 0 ;
19140 char *kwnames
[] = {
19141 (char *) "self", NULL
19144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
19145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19148 result
= (bool)(arg1
)->DestroyChildren();
19150 wxPyEndAllowThreads(__tstate
);
19151 if (PyErr_Occurred()) SWIG_fail
;
19153 resultobj
= PyInt_FromLong((long)result
);
19160 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19161 PyObject
*resultobj
;
19162 wxWindow
*arg1
= (wxWindow
*) 0 ;
19164 PyObject
* obj0
= 0 ;
19165 char *kwnames
[] = {
19166 (char *) "self", NULL
19169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
19170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
19175 wxPyEndAllowThreads(__tstate
);
19176 if (PyErr_Occurred()) SWIG_fail
;
19178 resultobj
= PyInt_FromLong((long)result
);
19185 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19186 PyObject
*resultobj
;
19187 wxWindow
*arg1
= (wxWindow
*) 0 ;
19188 wxString
*arg2
= 0 ;
19189 bool temp2
= False
;
19190 PyObject
* obj0
= 0 ;
19191 PyObject
* obj1
= 0 ;
19192 char *kwnames
[] = {
19193 (char *) "self",(char *) "title", NULL
19196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
19197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19199 arg2
= wxString_in_helper(obj1
);
19200 if (arg2
== NULL
) SWIG_fail
;
19204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19205 (arg1
)->SetTitle((wxString
const &)*arg2
);
19207 wxPyEndAllowThreads(__tstate
);
19208 if (PyErr_Occurred()) SWIG_fail
;
19210 Py_INCREF(Py_None
); resultobj
= Py_None
;
19225 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19226 PyObject
*resultobj
;
19227 wxWindow
*arg1
= (wxWindow
*) 0 ;
19229 PyObject
* obj0
= 0 ;
19230 char *kwnames
[] = {
19231 (char *) "self", NULL
19234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
19235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19238 result
= ((wxWindow
const *)arg1
)->GetTitle();
19240 wxPyEndAllowThreads(__tstate
);
19241 if (PyErr_Occurred()) SWIG_fail
;
19245 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19247 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19256 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19257 PyObject
*resultobj
;
19258 wxWindow
*arg1
= (wxWindow
*) 0 ;
19259 wxString
*arg2
= 0 ;
19260 bool temp2
= False
;
19261 PyObject
* obj0
= 0 ;
19262 PyObject
* obj1
= 0 ;
19263 char *kwnames
[] = {
19264 (char *) "self",(char *) "label", NULL
19267 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19268 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19270 arg2
= wxString_in_helper(obj1
);
19271 if (arg2
== NULL
) SWIG_fail
;
19275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19276 (arg1
)->SetLabel((wxString
const &)*arg2
);
19278 wxPyEndAllowThreads(__tstate
);
19279 if (PyErr_Occurred()) SWIG_fail
;
19281 Py_INCREF(Py_None
); resultobj
= Py_None
;
19296 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19297 PyObject
*resultobj
;
19298 wxWindow
*arg1
= (wxWindow
*) 0 ;
19300 PyObject
* obj0
= 0 ;
19301 char *kwnames
[] = {
19302 (char *) "self", NULL
19305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
19306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19309 result
= ((wxWindow
const *)arg1
)->GetLabel();
19311 wxPyEndAllowThreads(__tstate
);
19312 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19318 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19327 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19328 PyObject
*resultobj
;
19329 wxWindow
*arg1
= (wxWindow
*) 0 ;
19330 wxString
*arg2
= 0 ;
19331 bool temp2
= False
;
19332 PyObject
* obj0
= 0 ;
19333 PyObject
* obj1
= 0 ;
19334 char *kwnames
[] = {
19335 (char *) "self",(char *) "name", NULL
19338 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
19339 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19341 arg2
= wxString_in_helper(obj1
);
19342 if (arg2
== NULL
) SWIG_fail
;
19346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19347 (arg1
)->SetName((wxString
const &)*arg2
);
19349 wxPyEndAllowThreads(__tstate
);
19350 if (PyErr_Occurred()) SWIG_fail
;
19352 Py_INCREF(Py_None
); resultobj
= Py_None
;
19367 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
;
19369 wxWindow
*arg1
= (wxWindow
*) 0 ;
19371 PyObject
* obj0
= 0 ;
19372 char *kwnames
[] = {
19373 (char *) "self", NULL
19376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19377 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19380 result
= ((wxWindow
const *)arg1
)->GetName();
19382 wxPyEndAllowThreads(__tstate
);
19383 if (PyErr_Occurred()) SWIG_fail
;
19387 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19389 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19398 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19399 PyObject
*resultobj
;
19400 wxWindow
*arg1
= (wxWindow
*) 0 ;
19402 PyObject
* obj0
= 0 ;
19403 char *kwnames
[] = {
19404 (char *) "self",(char *) "winid", NULL
19407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 (arg1
)->SetId(arg2
);
19413 wxPyEndAllowThreads(__tstate
);
19414 if (PyErr_Occurred()) SWIG_fail
;
19416 Py_INCREF(Py_None
); resultobj
= Py_None
;
19423 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19424 PyObject
*resultobj
;
19425 wxWindow
*arg1
= (wxWindow
*) 0 ;
19427 PyObject
* obj0
= 0 ;
19428 char *kwnames
[] = {
19429 (char *) "self", NULL
19432 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19433 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19436 result
= (int)((wxWindow
const *)arg1
)->GetId();
19438 wxPyEndAllowThreads(__tstate
);
19439 if (PyErr_Occurred()) SWIG_fail
;
19441 resultobj
= PyInt_FromLong((long)result
);
19448 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19449 PyObject
*resultobj
;
19451 char *kwnames
[] = {
19455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19458 result
= (int)wxWindow::NewControlId();
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= PyInt_FromLong((long)result
);
19470 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19471 PyObject
*resultobj
;
19474 char *kwnames
[] = {
19475 (char *) "winid", NULL
19478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19481 result
= (int)wxWindow::NextControlId(arg1
);
19483 wxPyEndAllowThreads(__tstate
);
19484 if (PyErr_Occurred()) SWIG_fail
;
19486 resultobj
= PyInt_FromLong((long)result
);
19493 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19494 PyObject
*resultobj
;
19497 char *kwnames
[] = {
19498 (char *) "winid", NULL
19501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19504 result
= (int)wxWindow::PrevControlId(arg1
);
19506 wxPyEndAllowThreads(__tstate
);
19507 if (PyErr_Occurred()) SWIG_fail
;
19509 resultobj
= PyInt_FromLong((long)result
);
19516 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19517 PyObject
*resultobj
;
19518 wxWindow
*arg1
= (wxWindow
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 PyObject
* obj1
= 0 ;
19523 char *kwnames
[] = {
19524 (char *) "self",(char *) "size", NULL
19527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19531 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19535 (arg1
)->SetSize((wxSize
const &)*arg2
);
19537 wxPyEndAllowThreads(__tstate
);
19538 if (PyErr_Occurred()) SWIG_fail
;
19540 Py_INCREF(Py_None
); resultobj
= Py_None
;
19547 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19548 PyObject
*resultobj
;
19549 wxWindow
*arg1
= (wxWindow
*) 0 ;
19554 int arg6
= (int) wxSIZE_AUTO
;
19555 PyObject
* obj0
= 0 ;
19556 char *kwnames
[] = {
19557 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19564 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19566 wxPyEndAllowThreads(__tstate
);
19567 if (PyErr_Occurred()) SWIG_fail
;
19569 Py_INCREF(Py_None
); resultobj
= Py_None
;
19576 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19577 PyObject
*resultobj
;
19578 wxWindow
*arg1
= (wxWindow
*) 0 ;
19580 int arg3
= (int) wxSIZE_AUTO
;
19582 PyObject
* obj0
= 0 ;
19583 PyObject
* obj1
= 0 ;
19584 char *kwnames
[] = {
19585 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19592 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19596 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 Py_INCREF(Py_None
); resultobj
= Py_None
;
19608 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19609 PyObject
*resultobj
;
19610 wxWindow
*arg1
= (wxWindow
*) 0 ;
19613 PyObject
* obj0
= 0 ;
19614 char *kwnames
[] = {
19615 (char *) "self",(char *) "width",(char *) "height", NULL
19618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19622 (arg1
)->SetSize(arg2
,arg3
);
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19627 Py_INCREF(Py_None
); resultobj
= Py_None
;
19634 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19635 PyObject
*resultobj
;
19636 wxWindow
*arg1
= (wxWindow
*) 0 ;
19637 wxPoint
*arg2
= 0 ;
19638 int arg3
= (int) wxSIZE_USE_EXISTING
;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "pt",(char *) "flags", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19650 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 Py_INCREF(Py_None
); resultobj
= Py_None
;
19666 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxWindow
*arg1
= (wxWindow
*) 0 ;
19671 int arg4
= (int) wxSIZE_USE_EXISTING
;
19672 PyObject
* obj0
= 0 ;
19673 char *kwnames
[] = {
19674 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19681 (arg1
)->Move(arg2
,arg3
,arg4
);
19683 wxPyEndAllowThreads(__tstate
);
19684 if (PyErr_Occurred()) SWIG_fail
;
19686 Py_INCREF(Py_None
); resultobj
= Py_None
;
19693 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19694 PyObject
*resultobj
;
19695 wxWindow
*arg1
= (wxWindow
*) 0 ;
19696 PyObject
* obj0
= 0 ;
19697 char *kwnames
[] = {
19698 (char *) "self", NULL
19701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19707 wxPyEndAllowThreads(__tstate
);
19708 if (PyErr_Occurred()) SWIG_fail
;
19710 Py_INCREF(Py_None
); resultobj
= Py_None
;
19717 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19718 PyObject
*resultobj
;
19719 wxWindow
*arg1
= (wxWindow
*) 0 ;
19720 PyObject
* obj0
= 0 ;
19721 char *kwnames
[] = {
19722 (char *) "self", NULL
19725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19731 wxPyEndAllowThreads(__tstate
);
19732 if (PyErr_Occurred()) SWIG_fail
;
19734 Py_INCREF(Py_None
); resultobj
= Py_None
;
19741 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19742 PyObject
*resultobj
;
19743 wxWindow
*arg1
= (wxWindow
*) 0 ;
19746 PyObject
* obj0
= 0 ;
19747 PyObject
* obj1
= 0 ;
19748 char *kwnames
[] = {
19749 (char *) "self",(char *) "size", NULL
19752 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19753 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19756 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19762 wxPyEndAllowThreads(__tstate
);
19763 if (PyErr_Occurred()) SWIG_fail
;
19765 Py_INCREF(Py_None
); resultobj
= Py_None
;
19772 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19773 PyObject
*resultobj
;
19774 wxWindow
*arg1
= (wxWindow
*) 0 ;
19777 PyObject
* obj0
= 0 ;
19778 char *kwnames
[] = {
19779 (char *) "self",(char *) "width",(char *) "height", NULL
19782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19786 (arg1
)->SetClientSize(arg2
,arg3
);
19788 wxPyEndAllowThreads(__tstate
);
19789 if (PyErr_Occurred()) SWIG_fail
;
19791 Py_INCREF(Py_None
); resultobj
= Py_None
;
19798 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19799 PyObject
*resultobj
;
19800 wxWindow
*arg1
= (wxWindow
*) 0 ;
19803 PyObject
* obj0
= 0 ;
19804 PyObject
* obj1
= 0 ;
19805 char *kwnames
[] = {
19806 (char *) "self",(char *) "rect", NULL
19809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19813 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19817 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19819 wxPyEndAllowThreads(__tstate
);
19820 if (PyErr_Occurred()) SWIG_fail
;
19822 Py_INCREF(Py_None
); resultobj
= Py_None
;
19829 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19830 PyObject
*resultobj
;
19831 wxWindow
*arg1
= (wxWindow
*) 0 ;
19833 PyObject
* obj0
= 0 ;
19834 char *kwnames
[] = {
19835 (char *) "self", NULL
19838 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19839 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19842 result
= (arg1
)->GetPosition();
19844 wxPyEndAllowThreads(__tstate
);
19845 if (PyErr_Occurred()) SWIG_fail
;
19848 wxPoint
* resultptr
;
19849 resultptr
= new wxPoint((wxPoint
&) result
);
19850 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19858 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19859 PyObject
*resultobj
;
19860 wxWindow
*arg1
= (wxWindow
*) 0 ;
19861 int *arg2
= (int *) 0 ;
19862 int *arg3
= (int *) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 char *kwnames
[] = {
19867 (char *) "self", NULL
19872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19876 (arg1
)->GetPosition(arg2
,arg3
);
19878 wxPyEndAllowThreads(__tstate
);
19879 if (PyErr_Occurred()) SWIG_fail
;
19881 Py_INCREF(Py_None
); resultobj
= Py_None
;
19883 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19884 resultobj
= t_output_helper(resultobj
,o
);
19887 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19888 resultobj
= t_output_helper(resultobj
,o
);
19896 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19897 PyObject
*resultobj
;
19898 wxWindow
*arg1
= (wxWindow
*) 0 ;
19900 PyObject
* obj0
= 0 ;
19901 char *kwnames
[] = {
19902 (char *) "self", NULL
19905 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
19906 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19909 result
= ((wxWindow
const *)arg1
)->GetSize();
19911 wxPyEndAllowThreads(__tstate
);
19912 if (PyErr_Occurred()) SWIG_fail
;
19915 wxSize
* resultptr
;
19916 resultptr
= new wxSize((wxSize
&) result
);
19917 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
19925 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19926 PyObject
*resultobj
;
19927 wxWindow
*arg1
= (wxWindow
*) 0 ;
19928 int *arg2
= (int *) 0 ;
19929 int *arg3
= (int *) 0 ;
19932 PyObject
* obj0
= 0 ;
19933 char *kwnames
[] = {
19934 (char *) "self", NULL
19939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
19940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19943 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
19945 wxPyEndAllowThreads(__tstate
);
19946 if (PyErr_Occurred()) SWIG_fail
;
19948 Py_INCREF(Py_None
); resultobj
= Py_None
;
19950 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
19951 resultobj
= t_output_helper(resultobj
,o
);
19954 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
19955 resultobj
= t_output_helper(resultobj
,o
);
19963 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19964 PyObject
*resultobj
;
19965 wxWindow
*arg1
= (wxWindow
*) 0 ;
19967 PyObject
* obj0
= 0 ;
19968 char *kwnames
[] = {
19969 (char *) "self", NULL
19972 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
19973 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19976 result
= ((wxWindow
const *)arg1
)->GetRect();
19978 wxPyEndAllowThreads(__tstate
);
19979 if (PyErr_Occurred()) SWIG_fail
;
19982 wxRect
* resultptr
;
19983 resultptr
= new wxRect((wxRect
&) result
);
19984 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
19992 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19993 PyObject
*resultobj
;
19994 wxWindow
*arg1
= (wxWindow
*) 0 ;
19996 PyObject
* obj0
= 0 ;
19997 char *kwnames
[] = {
19998 (char *) "self", NULL
20001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
20002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20005 result
= ((wxWindow
const *)arg1
)->GetClientSize();
20007 wxPyEndAllowThreads(__tstate
);
20008 if (PyErr_Occurred()) SWIG_fail
;
20011 wxSize
* resultptr
;
20012 resultptr
= new wxSize((wxSize
&) result
);
20013 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20021 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20022 PyObject
*resultobj
;
20023 wxWindow
*arg1
= (wxWindow
*) 0 ;
20024 int *arg2
= (int *) 0 ;
20025 int *arg3
= (int *) 0 ;
20028 PyObject
* obj0
= 0 ;
20029 char *kwnames
[] = {
20030 (char *) "self", NULL
20035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
20036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
20041 wxPyEndAllowThreads(__tstate
);
20042 if (PyErr_Occurred()) SWIG_fail
;
20044 Py_INCREF(Py_None
); resultobj
= Py_None
;
20046 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20047 resultobj
= t_output_helper(resultobj
,o
);
20050 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20051 resultobj
= t_output_helper(resultobj
,o
);
20059 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20060 PyObject
*resultobj
;
20061 wxWindow
*arg1
= (wxWindow
*) 0 ;
20063 PyObject
* obj0
= 0 ;
20064 char *kwnames
[] = {
20065 (char *) "self", NULL
20068 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
20069 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20072 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
20074 wxPyEndAllowThreads(__tstate
);
20075 if (PyErr_Occurred()) SWIG_fail
;
20078 wxPoint
* resultptr
;
20079 resultptr
= new wxPoint((wxPoint
&) result
);
20080 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20088 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20089 PyObject
*resultobj
;
20090 wxWindow
*arg1
= (wxWindow
*) 0 ;
20092 PyObject
* obj0
= 0 ;
20093 char *kwnames
[] = {
20094 (char *) "self", NULL
20097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
20098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20101 result
= ((wxWindow
const *)arg1
)->GetClientRect();
20103 wxPyEndAllowThreads(__tstate
);
20104 if (PyErr_Occurred()) SWIG_fail
;
20107 wxRect
* resultptr
;
20108 resultptr
= new wxRect((wxRect
&) result
);
20109 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20117 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20118 PyObject
*resultobj
;
20119 wxWindow
*arg1
= (wxWindow
*) 0 ;
20121 PyObject
* obj0
= 0 ;
20122 char *kwnames
[] = {
20123 (char *) "self", NULL
20126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
20127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20130 result
= ((wxWindow
const *)arg1
)->GetBestSize();
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20136 wxSize
* resultptr
;
20137 resultptr
= new wxSize((wxSize
&) result
);
20138 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20146 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20147 PyObject
*resultobj
;
20148 wxWindow
*arg1
= (wxWindow
*) 0 ;
20149 int *arg2
= (int *) 0 ;
20150 int *arg3
= (int *) 0 ;
20153 PyObject
* obj0
= 0 ;
20154 char *kwnames
[] = {
20155 (char *) "self", NULL
20160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
20161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20164 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
20166 wxPyEndAllowThreads(__tstate
);
20167 if (PyErr_Occurred()) SWIG_fail
;
20169 Py_INCREF(Py_None
); resultobj
= Py_None
;
20171 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20172 resultobj
= t_output_helper(resultobj
,o
);
20175 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20176 resultobj
= t_output_helper(resultobj
,o
);
20184 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20185 PyObject
*resultobj
;
20186 wxWindow
*arg1
= (wxWindow
*) 0 ;
20188 PyObject
* obj0
= 0 ;
20189 char *kwnames
[] = {
20190 (char *) "self", NULL
20193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
20194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20197 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20203 wxSize
* resultptr
;
20204 resultptr
= new wxSize((wxSize
&) result
);
20205 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20213 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20214 PyObject
*resultobj
;
20215 wxWindow
*arg1
= (wxWindow
*) 0 ;
20216 int arg2
= (int) wxBOTH
;
20217 PyObject
* obj0
= 0 ;
20218 char *kwnames
[] = {
20219 (char *) "self",(char *) "direction", NULL
20222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
20223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20226 (arg1
)->Center(arg2
);
20228 wxPyEndAllowThreads(__tstate
);
20229 if (PyErr_Occurred()) SWIG_fail
;
20231 Py_INCREF(Py_None
); resultobj
= Py_None
;
20238 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20239 PyObject
*resultobj
;
20240 wxWindow
*arg1
= (wxWindow
*) 0 ;
20241 int arg2
= (int) wxBOTH
;
20242 PyObject
* obj0
= 0 ;
20243 char *kwnames
[] = {
20244 (char *) "self",(char *) "dir", NULL
20247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
20248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20251 (arg1
)->CenterOnScreen(arg2
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20256 Py_INCREF(Py_None
); resultobj
= Py_None
;
20263 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20264 PyObject
*resultobj
;
20265 wxWindow
*arg1
= (wxWindow
*) 0 ;
20266 int arg2
= (int) wxBOTH
;
20267 PyObject
* obj0
= 0 ;
20268 char *kwnames
[] = {
20269 (char *) "self",(char *) "dir", NULL
20272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
20273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20276 (arg1
)->CenterOnParent(arg2
);
20278 wxPyEndAllowThreads(__tstate
);
20279 if (PyErr_Occurred()) SWIG_fail
;
20281 Py_INCREF(Py_None
); resultobj
= Py_None
;
20288 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20289 PyObject
*resultobj
;
20290 wxWindow
*arg1
= (wxWindow
*) 0 ;
20291 PyObject
* obj0
= 0 ;
20292 char *kwnames
[] = {
20293 (char *) "self", NULL
20296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
20297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 wxPyEndAllowThreads(__tstate
);
20303 if (PyErr_Occurred()) SWIG_fail
;
20305 Py_INCREF(Py_None
); resultobj
= Py_None
;
20312 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20313 PyObject
*resultobj
;
20314 wxWindow
*arg1
= (wxWindow
*) 0 ;
20315 PyObject
* obj0
= 0 ;
20316 char *kwnames
[] = {
20317 (char *) "self", NULL
20320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
20321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->FitInside();
20326 wxPyEndAllowThreads(__tstate
);
20327 if (PyErr_Occurred()) SWIG_fail
;
20329 Py_INCREF(Py_None
); resultobj
= Py_None
;
20336 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20337 PyObject
*resultobj
;
20338 wxWindow
*arg1
= (wxWindow
*) 0 ;
20341 int arg4
= (int) -1 ;
20342 int arg5
= (int) -1 ;
20343 int arg6
= (int) -1 ;
20344 int arg7
= (int) -1 ;
20345 PyObject
* obj0
= 0 ;
20346 char *kwnames
[] = {
20347 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20350 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20351 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20354 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20356 wxPyEndAllowThreads(__tstate
);
20357 if (PyErr_Occurred()) SWIG_fail
;
20359 Py_INCREF(Py_None
); resultobj
= Py_None
;
20366 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20367 PyObject
*resultobj
;
20368 wxWindow
*arg1
= (wxWindow
*) 0 ;
20371 int arg4
= (int) -1 ;
20372 int arg5
= (int) -1 ;
20373 PyObject
* obj0
= 0 ;
20374 char *kwnames
[] = {
20375 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20378 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20379 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20382 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20384 wxPyEndAllowThreads(__tstate
);
20385 if (PyErr_Occurred()) SWIG_fail
;
20387 Py_INCREF(Py_None
); resultobj
= Py_None
;
20394 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20395 PyObject
*resultobj
;
20396 wxWindow
*arg1
= (wxWindow
*) 0 ;
20398 PyObject
* obj0
= 0 ;
20399 char *kwnames
[] = {
20400 (char *) "self", NULL
20403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20407 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20409 wxPyEndAllowThreads(__tstate
);
20410 if (PyErr_Occurred()) SWIG_fail
;
20412 resultobj
= PyInt_FromLong((long)result
);
20419 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20420 PyObject
*resultobj
;
20421 wxWindow
*arg1
= (wxWindow
*) 0 ;
20423 PyObject
* obj0
= 0 ;
20424 char *kwnames
[] = {
20425 (char *) "self", NULL
20428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20432 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20434 wxPyEndAllowThreads(__tstate
);
20435 if (PyErr_Occurred()) SWIG_fail
;
20437 resultobj
= PyInt_FromLong((long)result
);
20444 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20445 PyObject
*resultobj
;
20446 wxWindow
*arg1
= (wxWindow
*) 0 ;
20448 PyObject
* obj0
= 0 ;
20449 char *kwnames
[] = {
20450 (char *) "self", NULL
20453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20457 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20459 wxPyEndAllowThreads(__tstate
);
20460 if (PyErr_Occurred()) SWIG_fail
;
20462 resultobj
= PyInt_FromLong((long)result
);
20469 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20470 PyObject
*resultobj
;
20471 wxWindow
*arg1
= (wxWindow
*) 0 ;
20473 PyObject
* obj0
= 0 ;
20474 char *kwnames
[] = {
20475 (char *) "self", NULL
20478 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20479 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20482 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20487 resultobj
= PyInt_FromLong((long)result
);
20494 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20495 PyObject
*resultobj
;
20496 wxWindow
*arg1
= (wxWindow
*) 0 ;
20498 PyObject
* obj0
= 0 ;
20499 char *kwnames
[] = {
20500 (char *) "self", NULL
20503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20507 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20509 wxPyEndAllowThreads(__tstate
);
20510 if (PyErr_Occurred()) SWIG_fail
;
20513 wxSize
* resultptr
;
20514 resultptr
= new wxSize((wxSize
&) result
);
20515 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20523 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20524 PyObject
*resultobj
;
20525 wxWindow
*arg1
= (wxWindow
*) 0 ;
20528 PyObject
* obj0
= 0 ;
20529 PyObject
* obj1
= 0 ;
20530 char *kwnames
[] = {
20531 (char *) "self",(char *) "size", NULL
20534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20538 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20542 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20544 wxPyEndAllowThreads(__tstate
);
20545 if (PyErr_Occurred()) SWIG_fail
;
20547 Py_INCREF(Py_None
); resultobj
= Py_None
;
20554 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20555 PyObject
*resultobj
;
20556 wxWindow
*arg1
= (wxWindow
*) 0 ;
20559 PyObject
* obj0
= 0 ;
20560 char *kwnames
[] = {
20561 (char *) "self",(char *) "w",(char *) "h", NULL
20564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20568 (arg1
)->SetVirtualSize(arg2
,arg3
);
20570 wxPyEndAllowThreads(__tstate
);
20571 if (PyErr_Occurred()) SWIG_fail
;
20573 Py_INCREF(Py_None
); resultobj
= Py_None
;
20580 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20581 PyObject
*resultobj
;
20582 wxWindow
*arg1
= (wxWindow
*) 0 ;
20584 PyObject
* obj0
= 0 ;
20585 char *kwnames
[] = {
20586 (char *) "self", NULL
20589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20593 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20599 wxSize
* resultptr
;
20600 resultptr
= new wxSize((wxSize
&) result
);
20601 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20609 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20610 PyObject
*resultobj
;
20611 wxWindow
*arg1
= (wxWindow
*) 0 ;
20612 int *arg2
= (int *) 0 ;
20613 int *arg3
= (int *) 0 ;
20616 PyObject
* obj0
= 0 ;
20617 char *kwnames
[] = {
20618 (char *) "self", NULL
20623 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20624 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20627 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20629 wxPyEndAllowThreads(__tstate
);
20630 if (PyErr_Occurred()) SWIG_fail
;
20632 Py_INCREF(Py_None
); resultobj
= Py_None
;
20634 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20635 resultobj
= t_output_helper(resultobj
,o
);
20638 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20639 resultobj
= t_output_helper(resultobj
,o
);
20647 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20648 PyObject
*resultobj
;
20649 wxWindow
*arg1
= (wxWindow
*) 0 ;
20651 PyObject
* obj0
= 0 ;
20652 char *kwnames
[] = {
20653 (char *) "self", NULL
20656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20660 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20662 wxPyEndAllowThreads(__tstate
);
20663 if (PyErr_Occurred()) SWIG_fail
;
20666 wxSize
* resultptr
;
20667 resultptr
= new wxSize((wxSize
&) result
);
20668 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20676 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20677 PyObject
*resultobj
;
20678 wxWindow
*arg1
= (wxWindow
*) 0 ;
20679 bool arg2
= (bool) True
;
20681 PyObject
* obj0
= 0 ;
20682 PyObject
* obj1
= 0 ;
20683 char *kwnames
[] = {
20684 (char *) "self",(char *) "show", NULL
20687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20688 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20690 arg2
= PyInt_AsLong(obj1
) ? true : false;
20691 if (PyErr_Occurred()) SWIG_fail
;
20694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20695 result
= (bool)(arg1
)->Show(arg2
);
20697 wxPyEndAllowThreads(__tstate
);
20698 if (PyErr_Occurred()) SWIG_fail
;
20700 resultobj
= PyInt_FromLong((long)result
);
20707 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20708 PyObject
*resultobj
;
20709 wxWindow
*arg1
= (wxWindow
*) 0 ;
20711 PyObject
* obj0
= 0 ;
20712 char *kwnames
[] = {
20713 (char *) "self", NULL
20716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20720 result
= (bool)(arg1
)->Hide();
20722 wxPyEndAllowThreads(__tstate
);
20723 if (PyErr_Occurred()) SWIG_fail
;
20725 resultobj
= PyInt_FromLong((long)result
);
20732 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20733 PyObject
*resultobj
;
20734 wxWindow
*arg1
= (wxWindow
*) 0 ;
20735 bool arg2
= (bool) True
;
20737 PyObject
* obj0
= 0 ;
20738 PyObject
* obj1
= 0 ;
20739 char *kwnames
[] = {
20740 (char *) "self",(char *) "enable", NULL
20743 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20744 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20746 arg2
= PyInt_AsLong(obj1
) ? true : false;
20747 if (PyErr_Occurred()) SWIG_fail
;
20750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20751 result
= (bool)(arg1
)->Enable(arg2
);
20753 wxPyEndAllowThreads(__tstate
);
20754 if (PyErr_Occurred()) SWIG_fail
;
20756 resultobj
= PyInt_FromLong((long)result
);
20763 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20764 PyObject
*resultobj
;
20765 wxWindow
*arg1
= (wxWindow
*) 0 ;
20767 PyObject
* obj0
= 0 ;
20768 char *kwnames
[] = {
20769 (char *) "self", NULL
20772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (bool)(arg1
)->Disable();
20778 wxPyEndAllowThreads(__tstate
);
20779 if (PyErr_Occurred()) SWIG_fail
;
20781 resultobj
= PyInt_FromLong((long)result
);
20788 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20789 PyObject
*resultobj
;
20790 wxWindow
*arg1
= (wxWindow
*) 0 ;
20792 PyObject
* obj0
= 0 ;
20793 char *kwnames
[] = {
20794 (char *) "self", NULL
20797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
20798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20801 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
20803 wxPyEndAllowThreads(__tstate
);
20804 if (PyErr_Occurred()) SWIG_fail
;
20806 resultobj
= PyInt_FromLong((long)result
);
20813 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20814 PyObject
*resultobj
;
20815 wxWindow
*arg1
= (wxWindow
*) 0 ;
20817 PyObject
* obj0
= 0 ;
20818 char *kwnames
[] = {
20819 (char *) "self", NULL
20822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20826 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20828 wxPyEndAllowThreads(__tstate
);
20829 if (PyErr_Occurred()) SWIG_fail
;
20831 resultobj
= PyInt_FromLong((long)result
);
20838 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20839 PyObject
*resultobj
;
20840 wxWindow
*arg1
= (wxWindow
*) 0 ;
20842 PyObject
* obj0
= 0 ;
20843 char *kwnames
[] = {
20844 (char *) "self",(char *) "style", NULL
20847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20851 (arg1
)->SetWindowStyleFlag(arg2
);
20853 wxPyEndAllowThreads(__tstate
);
20854 if (PyErr_Occurred()) SWIG_fail
;
20856 Py_INCREF(Py_None
); resultobj
= Py_None
;
20863 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20864 PyObject
*resultobj
;
20865 wxWindow
*arg1
= (wxWindow
*) 0 ;
20867 PyObject
* obj0
= 0 ;
20868 char *kwnames
[] = {
20869 (char *) "self", NULL
20872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20876 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20878 wxPyEndAllowThreads(__tstate
);
20879 if (PyErr_Occurred()) SWIG_fail
;
20881 resultobj
= PyInt_FromLong((long)result
);
20888 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20889 PyObject
*resultobj
;
20890 wxWindow
*arg1
= (wxWindow
*) 0 ;
20892 PyObject
* obj0
= 0 ;
20893 char *kwnames
[] = {
20894 (char *) "self",(char *) "style", NULL
20897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20901 (arg1
)->SetWindowStyle(arg2
);
20903 wxPyEndAllowThreads(__tstate
);
20904 if (PyErr_Occurred()) SWIG_fail
;
20906 Py_INCREF(Py_None
); resultobj
= Py_None
;
20913 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20914 PyObject
*resultobj
;
20915 wxWindow
*arg1
= (wxWindow
*) 0 ;
20917 PyObject
* obj0
= 0 ;
20918 char *kwnames
[] = {
20919 (char *) "self", NULL
20922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
20923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20926 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
20928 wxPyEndAllowThreads(__tstate
);
20929 if (PyErr_Occurred()) SWIG_fail
;
20931 resultobj
= PyInt_FromLong((long)result
);
20938 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20939 PyObject
*resultobj
;
20940 wxWindow
*arg1
= (wxWindow
*) 0 ;
20943 PyObject
* obj0
= 0 ;
20944 char *kwnames
[] = {
20945 (char *) "self",(char *) "flag", NULL
20948 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20949 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20952 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
20954 wxPyEndAllowThreads(__tstate
);
20955 if (PyErr_Occurred()) SWIG_fail
;
20957 resultobj
= PyInt_FromLong((long)result
);
20964 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20965 PyObject
*resultobj
;
20966 wxWindow
*arg1
= (wxWindow
*) 0 ;
20968 PyObject
* obj0
= 0 ;
20969 char *kwnames
[] = {
20970 (char *) "self", NULL
20973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
20974 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20977 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
20979 wxPyEndAllowThreads(__tstate
);
20980 if (PyErr_Occurred()) SWIG_fail
;
20982 resultobj
= PyInt_FromLong((long)result
);
20989 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20990 PyObject
*resultobj
;
20991 wxWindow
*arg1
= (wxWindow
*) 0 ;
20993 PyObject
* obj0
= 0 ;
20994 char *kwnames
[] = {
20995 (char *) "self",(char *) "exStyle", NULL
20998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
20999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21001 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21002 (arg1
)->SetExtraStyle(arg2
);
21004 wxPyEndAllowThreads(__tstate
);
21005 if (PyErr_Occurred()) SWIG_fail
;
21007 Py_INCREF(Py_None
); resultobj
= Py_None
;
21014 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21015 PyObject
*resultobj
;
21016 wxWindow
*arg1
= (wxWindow
*) 0 ;
21018 PyObject
* obj0
= 0 ;
21019 char *kwnames
[] = {
21020 (char *) "self", NULL
21023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
21024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21027 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
21029 wxPyEndAllowThreads(__tstate
);
21030 if (PyErr_Occurred()) SWIG_fail
;
21032 resultobj
= PyInt_FromLong((long)result
);
21039 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21040 PyObject
*resultobj
;
21041 wxWindow
*arg1
= (wxWindow
*) 0 ;
21042 bool arg2
= (bool) True
;
21043 PyObject
* obj0
= 0 ;
21044 PyObject
* obj1
= 0 ;
21045 char *kwnames
[] = {
21046 (char *) "self",(char *) "modal", NULL
21049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
21050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21052 arg2
= PyInt_AsLong(obj1
) ? true : false;
21053 if (PyErr_Occurred()) SWIG_fail
;
21056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21057 (arg1
)->MakeModal(arg2
);
21059 wxPyEndAllowThreads(__tstate
);
21060 if (PyErr_Occurred()) SWIG_fail
;
21062 Py_INCREF(Py_None
); resultobj
= Py_None
;
21069 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21070 PyObject
*resultobj
;
21071 wxWindow
*arg1
= (wxWindow
*) 0 ;
21073 PyObject
* obj0
= 0 ;
21074 PyObject
* obj1
= 0 ;
21075 char *kwnames
[] = {
21076 (char *) "self",(char *) "enableTheme", NULL
21079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21081 arg2
= PyInt_AsLong(obj1
) ? true : false;
21082 if (PyErr_Occurred()) SWIG_fail
;
21084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21085 (arg1
)->SetThemeEnabled(arg2
);
21087 wxPyEndAllowThreads(__tstate
);
21088 if (PyErr_Occurred()) SWIG_fail
;
21090 Py_INCREF(Py_None
); resultobj
= Py_None
;
21097 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21098 PyObject
*resultobj
;
21099 wxWindow
*arg1
= (wxWindow
*) 0 ;
21101 PyObject
* obj0
= 0 ;
21102 char *kwnames
[] = {
21103 (char *) "self", NULL
21106 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
21107 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21110 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= PyInt_FromLong((long)result
);
21122 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
;
21124 wxWindow
*arg1
= (wxWindow
*) 0 ;
21126 PyObject
* obj0
= 0 ;
21127 char *kwnames
[] = {
21128 (char *) "self", NULL
21131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
21132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21135 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
21137 wxPyEndAllowThreads(__tstate
);
21138 if (PyErr_Occurred()) SWIG_fail
;
21140 resultobj
= PyInt_FromLong((long)result
);
21147 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21148 PyObject
*resultobj
;
21149 wxWindow
*arg1
= (wxWindow
*) 0 ;
21150 PyObject
* obj0
= 0 ;
21151 char *kwnames
[] = {
21152 (char *) "self", NULL
21155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
21156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21159 (arg1
)->SetFocus();
21161 wxPyEndAllowThreads(__tstate
);
21162 if (PyErr_Occurred()) SWIG_fail
;
21164 Py_INCREF(Py_None
); resultobj
= Py_None
;
21171 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21172 PyObject
*resultobj
;
21173 wxWindow
*arg1
= (wxWindow
*) 0 ;
21174 PyObject
* obj0
= 0 ;
21175 char *kwnames
[] = {
21176 (char *) "self", NULL
21179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
21180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21183 (arg1
)->SetFocusFromKbd();
21185 wxPyEndAllowThreads(__tstate
);
21186 if (PyErr_Occurred()) SWIG_fail
;
21188 Py_INCREF(Py_None
); resultobj
= Py_None
;
21195 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21196 PyObject
*resultobj
;
21198 char *kwnames
[] = {
21202 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
21204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21205 result
= (wxWindow
*)wxWindow::FindFocus();
21207 wxPyEndAllowThreads(__tstate
);
21208 if (PyErr_Occurred()) SWIG_fail
;
21211 resultobj
= wxPyMake_wxObject(result
);
21219 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21220 PyObject
*resultobj
;
21221 wxWindow
*arg1
= (wxWindow
*) 0 ;
21223 PyObject
* obj0
= 0 ;
21224 char *kwnames
[] = {
21225 (char *) "self", NULL
21228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
21229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21232 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
21234 wxPyEndAllowThreads(__tstate
);
21235 if (PyErr_Occurred()) SWIG_fail
;
21237 resultobj
= PyInt_FromLong((long)result
);
21244 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21245 PyObject
*resultobj
;
21246 wxWindow
*arg1
= (wxWindow
*) 0 ;
21248 PyObject
* obj0
= 0 ;
21249 char *kwnames
[] = {
21250 (char *) "self", NULL
21253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
21254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21257 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
21259 wxPyEndAllowThreads(__tstate
);
21260 if (PyErr_Occurred()) SWIG_fail
;
21262 resultobj
= PyInt_FromLong((long)result
);
21269 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21270 PyObject
*resultobj
;
21271 wxWindow
*arg1
= (wxWindow
*) 0 ;
21273 PyObject
* obj0
= 0 ;
21274 char *kwnames
[] = {
21275 (char *) "self", NULL
21278 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
21279 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21282 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
21284 wxPyEndAllowThreads(__tstate
);
21285 if (PyErr_Occurred()) SWIG_fail
;
21288 resultobj
= wxPyMake_wxObject(result
);
21296 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21297 PyObject
*resultobj
;
21298 wxWindow
*arg1
= (wxWindow
*) 0 ;
21299 wxWindow
*arg2
= (wxWindow
*) 0 ;
21301 PyObject
* obj0
= 0 ;
21302 PyObject
* obj1
= 0 ;
21303 char *kwnames
[] = {
21304 (char *) "self",(char *) "child", NULL
21307 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21308 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21309 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21312 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21318 resultobj
= wxPyMake_wxObject(result
);
21326 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21327 PyObject
*resultobj
;
21328 wxWindow
*arg1
= (wxWindow
*) 0 ;
21329 wxWindow
*arg2
= (wxWindow
*) 0 ;
21330 PyObject
* obj0
= 0 ;
21331 PyObject
* obj1
= 0 ;
21332 char *kwnames
[] = {
21333 (char *) "self",(char *) "win", NULL
21336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21338 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21341 (arg1
)->SetTmpDefaultItem(arg2
);
21343 wxPyEndAllowThreads(__tstate
);
21344 if (PyErr_Occurred()) SWIG_fail
;
21346 Py_INCREF(Py_None
); resultobj
= Py_None
;
21353 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21354 PyObject
*resultobj
;
21355 wxWindow
*arg1
= (wxWindow
*) 0 ;
21357 PyObject
* obj0
= 0 ;
21358 char *kwnames
[] = {
21359 (char *) "self", NULL
21362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21366 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21368 wxPyEndAllowThreads(__tstate
);
21369 if (PyErr_Occurred()) SWIG_fail
;
21371 resultobj
= result
;
21378 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21379 PyObject
*resultobj
;
21380 wxWindow
*arg1
= (wxWindow
*) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 char *kwnames
[] = {
21384 (char *) "self", NULL
21387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21391 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21393 wxPyEndAllowThreads(__tstate
);
21394 if (PyErr_Occurred()) SWIG_fail
;
21397 resultobj
= wxPyMake_wxObject(result
);
21405 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21406 PyObject
*resultobj
;
21407 wxWindow
*arg1
= (wxWindow
*) 0 ;
21409 PyObject
* obj0
= 0 ;
21410 char *kwnames
[] = {
21411 (char *) "self", NULL
21414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21418 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21420 wxPyEndAllowThreads(__tstate
);
21421 if (PyErr_Occurred()) SWIG_fail
;
21424 resultobj
= wxPyMake_wxObject(result
);
21432 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21433 PyObject
*resultobj
;
21434 wxWindow
*arg1
= (wxWindow
*) 0 ;
21436 PyObject
* obj0
= 0 ;
21437 char *kwnames
[] = {
21438 (char *) "self", NULL
21441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21445 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21447 wxPyEndAllowThreads(__tstate
);
21448 if (PyErr_Occurred()) SWIG_fail
;
21450 resultobj
= PyInt_FromLong((long)result
);
21457 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21458 PyObject
*resultobj
;
21459 wxWindow
*arg1
= (wxWindow
*) 0 ;
21460 wxWindow
*arg2
= (wxWindow
*) 0 ;
21462 PyObject
* obj0
= 0 ;
21463 PyObject
* obj1
= 0 ;
21464 char *kwnames
[] = {
21465 (char *) "self",(char *) "newParent", NULL
21468 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21469 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21470 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21473 result
= (bool)(arg1
)->Reparent(arg2
);
21475 wxPyEndAllowThreads(__tstate
);
21476 if (PyErr_Occurred()) SWIG_fail
;
21478 resultobj
= PyInt_FromLong((long)result
);
21485 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21486 PyObject
*resultobj
;
21487 wxWindow
*arg1
= (wxWindow
*) 0 ;
21488 wxWindow
*arg2
= (wxWindow
*) 0 ;
21489 PyObject
* obj0
= 0 ;
21490 PyObject
* obj1
= 0 ;
21491 char *kwnames
[] = {
21492 (char *) "self",(char *) "child", NULL
21495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21500 (arg1
)->AddChild(arg2
);
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 Py_INCREF(Py_None
); resultobj
= Py_None
;
21512 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
;
21514 wxWindow
*arg1
= (wxWindow
*) 0 ;
21515 wxWindow
*arg2
= (wxWindow
*) 0 ;
21516 PyObject
* obj0
= 0 ;
21517 PyObject
* obj1
= 0 ;
21518 char *kwnames
[] = {
21519 (char *) "self",(char *) "child", NULL
21522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21524 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21527 (arg1
)->RemoveChild(arg2
);
21529 wxPyEndAllowThreads(__tstate
);
21530 if (PyErr_Occurred()) SWIG_fail
;
21532 Py_INCREF(Py_None
); resultobj
= Py_None
;
21539 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21540 PyObject
*resultobj
;
21541 wxWindow
*arg1
= (wxWindow
*) 0 ;
21544 PyObject
* obj0
= 0 ;
21545 char *kwnames
[] = {
21546 (char *) "self",(char *) "winid", NULL
21549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21553 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21555 wxPyEndAllowThreads(__tstate
);
21556 if (PyErr_Occurred()) SWIG_fail
;
21559 resultobj
= wxPyMake_wxObject(result
);
21567 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21568 PyObject
*resultobj
;
21569 wxWindow
*arg1
= (wxWindow
*) 0 ;
21570 wxString
*arg2
= 0 ;
21572 bool temp2
= False
;
21573 PyObject
* obj0
= 0 ;
21574 PyObject
* obj1
= 0 ;
21575 char *kwnames
[] = {
21576 (char *) "self",(char *) "name", NULL
21579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21582 arg2
= wxString_in_helper(obj1
);
21583 if (arg2
== NULL
) SWIG_fail
;
21587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21588 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21590 wxPyEndAllowThreads(__tstate
);
21591 if (PyErr_Occurred()) SWIG_fail
;
21594 resultobj
= wxPyMake_wxObject(result
);
21610 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21611 PyObject
*resultobj
;
21612 wxWindow
*arg1
= (wxWindow
*) 0 ;
21613 wxEvtHandler
*result
;
21614 PyObject
* obj0
= 0 ;
21615 char *kwnames
[] = {
21616 (char *) "self", NULL
21619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21623 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21625 wxPyEndAllowThreads(__tstate
);
21626 if (PyErr_Occurred()) SWIG_fail
;
21629 resultobj
= wxPyMake_wxObject(result
);
21637 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
;
21639 wxWindow
*arg1
= (wxWindow
*) 0 ;
21640 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21641 PyObject
* obj0
= 0 ;
21642 PyObject
* obj1
= 0 ;
21643 char *kwnames
[] = {
21644 (char *) "self",(char *) "handler", NULL
21647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21649 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21652 (arg1
)->SetEventHandler(arg2
);
21654 wxPyEndAllowThreads(__tstate
);
21655 if (PyErr_Occurred()) SWIG_fail
;
21657 Py_INCREF(Py_None
); resultobj
= Py_None
;
21664 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21665 PyObject
*resultobj
;
21666 wxWindow
*arg1
= (wxWindow
*) 0 ;
21667 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21668 PyObject
* obj0
= 0 ;
21669 PyObject
* obj1
= 0 ;
21670 char *kwnames
[] = {
21671 (char *) "self",(char *) "handler", NULL
21674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21676 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21679 (arg1
)->PushEventHandler(arg2
);
21681 wxPyEndAllowThreads(__tstate
);
21682 if (PyErr_Occurred()) SWIG_fail
;
21684 Py_INCREF(Py_None
); resultobj
= Py_None
;
21691 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21692 PyObject
*resultobj
;
21693 wxWindow
*arg1
= (wxWindow
*) 0 ;
21694 bool arg2
= (bool) False
;
21695 wxEvtHandler
*result
;
21696 PyObject
* obj0
= 0 ;
21697 PyObject
* obj1
= 0 ;
21698 char *kwnames
[] = {
21699 (char *) "self",(char *) "deleteHandler", NULL
21702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21705 arg2
= PyInt_AsLong(obj1
) ? true : false;
21706 if (PyErr_Occurred()) SWIG_fail
;
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21712 wxPyEndAllowThreads(__tstate
);
21713 if (PyErr_Occurred()) SWIG_fail
;
21716 resultobj
= wxPyMake_wxObject(result
);
21724 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21725 PyObject
*resultobj
;
21726 wxWindow
*arg1
= (wxWindow
*) 0 ;
21727 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21729 PyObject
* obj0
= 0 ;
21730 PyObject
* obj1
= 0 ;
21731 char *kwnames
[] = {
21732 (char *) "self",(char *) "handler", NULL
21735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21737 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21740 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21742 wxPyEndAllowThreads(__tstate
);
21743 if (PyErr_Occurred()) SWIG_fail
;
21745 resultobj
= PyInt_FromLong((long)result
);
21752 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21753 PyObject
*resultobj
;
21754 wxWindow
*arg1
= (wxWindow
*) 0 ;
21755 wxValidator
*arg2
= 0 ;
21756 PyObject
* obj0
= 0 ;
21757 PyObject
* obj1
= 0 ;
21758 char *kwnames
[] = {
21759 (char *) "self",(char *) "validator", NULL
21762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21764 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21765 if (arg2
== NULL
) {
21766 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21770 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21772 wxPyEndAllowThreads(__tstate
);
21773 if (PyErr_Occurred()) SWIG_fail
;
21775 Py_INCREF(Py_None
); resultobj
= Py_None
;
21782 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21783 PyObject
*resultobj
;
21784 wxWindow
*arg1
= (wxWindow
*) 0 ;
21785 wxValidator
*result
;
21786 PyObject
* obj0
= 0 ;
21787 char *kwnames
[] = {
21788 (char *) "self", NULL
21791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21795 result
= (wxValidator
*)(arg1
)->GetValidator();
21797 wxPyEndAllowThreads(__tstate
);
21798 if (PyErr_Occurred()) SWIG_fail
;
21801 resultobj
= wxPyMake_wxObject(result
);
21809 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21810 PyObject
*resultobj
;
21811 wxWindow
*arg1
= (wxWindow
*) 0 ;
21812 wxAcceleratorTable
*arg2
= 0 ;
21813 PyObject
* obj0
= 0 ;
21814 PyObject
* obj1
= 0 ;
21815 char *kwnames
[] = {
21816 (char *) "self",(char *) "accel", NULL
21819 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21820 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21821 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21822 if (arg2
== NULL
) {
21823 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21827 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21829 wxPyEndAllowThreads(__tstate
);
21830 if (PyErr_Occurred()) SWIG_fail
;
21832 Py_INCREF(Py_None
); resultobj
= Py_None
;
21839 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21840 PyObject
*resultobj
;
21841 wxWindow
*arg1
= (wxWindow
*) 0 ;
21842 wxAcceleratorTable
*result
;
21843 PyObject
* obj0
= 0 ;
21844 char *kwnames
[] = {
21845 (char *) "self", NULL
21848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21854 wxPyEndAllowThreads(__tstate
);
21855 if (PyErr_Occurred()) SWIG_fail
;
21857 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21864 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21865 PyObject
*resultobj
;
21866 wxWindow
*arg1
= (wxWindow
*) 0 ;
21871 PyObject
* obj0
= 0 ;
21872 char *kwnames
[] = {
21873 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21876 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21877 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21880 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
21882 wxPyEndAllowThreads(__tstate
);
21883 if (PyErr_Occurred()) SWIG_fail
;
21885 resultobj
= PyInt_FromLong((long)result
);
21892 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21893 PyObject
*resultobj
;
21894 wxWindow
*arg1
= (wxWindow
*) 0 ;
21897 PyObject
* obj0
= 0 ;
21898 char *kwnames
[] = {
21899 (char *) "self",(char *) "hotkeyId", NULL
21902 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
21903 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21906 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
21908 wxPyEndAllowThreads(__tstate
);
21909 if (PyErr_Occurred()) SWIG_fail
;
21911 resultobj
= PyInt_FromLong((long)result
);
21918 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21919 PyObject
*resultobj
;
21920 wxWindow
*arg1
= (wxWindow
*) 0 ;
21921 wxPoint
*arg2
= 0 ;
21924 PyObject
* obj0
= 0 ;
21925 PyObject
* obj1
= 0 ;
21926 char *kwnames
[] = {
21927 (char *) "self",(char *) "pt", NULL
21930 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21931 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21934 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
21937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21938 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21944 wxPoint
* resultptr
;
21945 resultptr
= new wxPoint((wxPoint
&) result
);
21946 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
21954 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21955 PyObject
*resultobj
;
21956 wxWindow
*arg1
= (wxWindow
*) 0 ;
21960 PyObject
* obj0
= 0 ;
21961 PyObject
* obj1
= 0 ;
21962 char *kwnames
[] = {
21963 (char *) "self",(char *) "sz", NULL
21966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
21967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21970 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21974 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
21976 wxPyEndAllowThreads(__tstate
);
21977 if (PyErr_Occurred()) SWIG_fail
;
21980 wxSize
* resultptr
;
21981 resultptr
= new wxSize((wxSize
&) result
);
21982 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
21990 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21991 PyObject
*resultobj
;
21992 wxWindow
*arg1
= (wxWindow
*) 0 ;
21993 wxPoint
*arg2
= 0 ;
21996 PyObject
* obj0
= 0 ;
21997 PyObject
* obj1
= 0 ;
21998 char *kwnames
[] = {
21999 (char *) "self",(char *) "pt", NULL
22002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
22003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22006 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22010 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
22012 wxPyEndAllowThreads(__tstate
);
22013 if (PyErr_Occurred()) SWIG_fail
;
22016 wxPoint
* resultptr
;
22017 resultptr
= new wxPoint((wxPoint
&) result
);
22018 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22026 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22027 PyObject
*resultobj
;
22028 wxWindow
*arg1
= (wxWindow
*) 0 ;
22032 PyObject
* obj0
= 0 ;
22033 PyObject
* obj1
= 0 ;
22034 char *kwnames
[] = {
22035 (char *) "self",(char *) "sz", NULL
22038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
22039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22042 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22046 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22048 wxPyEndAllowThreads(__tstate
);
22049 if (PyErr_Occurred()) SWIG_fail
;
22052 wxSize
* resultptr
;
22053 resultptr
= new wxSize((wxSize
&) result
);
22054 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22062 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22063 PyObject
*resultobj
;
22064 wxWindow
*arg1
= (wxWindow
*) 0 ;
22065 wxPoint
*arg2
= 0 ;
22068 PyObject
* obj0
= 0 ;
22069 PyObject
* obj1
= 0 ;
22070 char *kwnames
[] = {
22071 (char *) "self",(char *) "pt", NULL
22074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22078 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22082 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
22084 wxPyEndAllowThreads(__tstate
);
22085 if (PyErr_Occurred()) SWIG_fail
;
22088 wxPoint
* resultptr
;
22089 resultptr
= new wxPoint((wxPoint
&) result
);
22090 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22098 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22099 PyObject
*resultobj
;
22100 wxWindow
*arg1
= (wxWindow
*) 0 ;
22104 PyObject
* obj0
= 0 ;
22105 PyObject
* obj1
= 0 ;
22106 char *kwnames
[] = {
22107 (char *) "self",(char *) "sz", NULL
22110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22114 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22118 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
22120 wxPyEndAllowThreads(__tstate
);
22121 if (PyErr_Occurred()) SWIG_fail
;
22124 wxSize
* resultptr
;
22125 resultptr
= new wxSize((wxSize
&) result
);
22126 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22134 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22135 PyObject
*resultobj
;
22136 wxWindow
*arg1
= (wxWindow
*) 0 ;
22139 PyObject
* obj0
= 0 ;
22140 char *kwnames
[] = {
22141 (char *) "self",(char *) "x",(char *) "y", NULL
22144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22148 (arg1
)->WarpPointer(arg2
,arg3
);
22150 wxPyEndAllowThreads(__tstate
);
22151 if (PyErr_Occurred()) SWIG_fail
;
22153 Py_INCREF(Py_None
); resultobj
= Py_None
;
22160 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22161 PyObject
*resultobj
;
22162 wxWindow
*arg1
= (wxWindow
*) 0 ;
22163 PyObject
* obj0
= 0 ;
22164 char *kwnames
[] = {
22165 (char *) "self", NULL
22168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
22169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22172 (arg1
)->CaptureMouse();
22174 wxPyEndAllowThreads(__tstate
);
22175 if (PyErr_Occurred()) SWIG_fail
;
22177 Py_INCREF(Py_None
); resultobj
= Py_None
;
22184 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22185 PyObject
*resultobj
;
22186 wxWindow
*arg1
= (wxWindow
*) 0 ;
22187 PyObject
* obj0
= 0 ;
22188 char *kwnames
[] = {
22189 (char *) "self", NULL
22192 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
22193 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22196 (arg1
)->ReleaseMouse();
22198 wxPyEndAllowThreads(__tstate
);
22199 if (PyErr_Occurred()) SWIG_fail
;
22201 Py_INCREF(Py_None
); resultobj
= Py_None
;
22208 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22209 PyObject
*resultobj
;
22211 char *kwnames
[] = {
22215 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
22217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22218 result
= (wxWindow
*)wxWindow::GetCapture();
22220 wxPyEndAllowThreads(__tstate
);
22221 if (PyErr_Occurred()) SWIG_fail
;
22224 resultobj
= wxPyMake_wxObject(result
);
22232 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22233 PyObject
*resultobj
;
22234 wxWindow
*arg1
= (wxWindow
*) 0 ;
22236 PyObject
* obj0
= 0 ;
22237 char *kwnames
[] = {
22238 (char *) "self", NULL
22241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
22242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22245 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
22247 wxPyEndAllowThreads(__tstate
);
22248 if (PyErr_Occurred()) SWIG_fail
;
22250 resultobj
= PyInt_FromLong((long)result
);
22257 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22258 PyObject
*resultobj
;
22259 wxWindow
*arg1
= (wxWindow
*) 0 ;
22260 bool arg2
= (bool) True
;
22261 wxRect
*arg3
= (wxRect
*) NULL
;
22262 PyObject
* obj0
= 0 ;
22263 PyObject
* obj1
= 0 ;
22264 PyObject
* obj2
= 0 ;
22265 char *kwnames
[] = {
22266 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22272 arg2
= PyInt_AsLong(obj1
) ? true : false;
22273 if (PyErr_Occurred()) SWIG_fail
;
22276 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22280 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
22282 wxPyEndAllowThreads(__tstate
);
22283 if (PyErr_Occurred()) SWIG_fail
;
22285 Py_INCREF(Py_None
); resultobj
= Py_None
;
22292 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22293 PyObject
*resultobj
;
22294 wxWindow
*arg1
= (wxWindow
*) 0 ;
22297 PyObject
* obj0
= 0 ;
22298 PyObject
* obj1
= 0 ;
22299 char *kwnames
[] = {
22300 (char *) "self",(char *) "rect", NULL
22303 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22304 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22307 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22311 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
22313 wxPyEndAllowThreads(__tstate
);
22314 if (PyErr_Occurred()) SWIG_fail
;
22316 Py_INCREF(Py_None
); resultobj
= Py_None
;
22323 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22324 PyObject
*resultobj
;
22325 wxWindow
*arg1
= (wxWindow
*) 0 ;
22326 PyObject
* obj0
= 0 ;
22327 char *kwnames
[] = {
22328 (char *) "self", NULL
22331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
22332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 wxPyEndAllowThreads(__tstate
);
22338 if (PyErr_Occurred()) SWIG_fail
;
22340 Py_INCREF(Py_None
); resultobj
= Py_None
;
22347 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22348 PyObject
*resultobj
;
22349 wxWindow
*arg1
= (wxWindow
*) 0 ;
22350 PyObject
* obj0
= 0 ;
22351 char *kwnames
[] = {
22352 (char *) "self", NULL
22355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22359 (arg1
)->ClearBackground();
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 Py_INCREF(Py_None
); resultobj
= Py_None
;
22371 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
;
22373 wxWindow
*arg1
= (wxWindow
*) 0 ;
22374 PyObject
* obj0
= 0 ;
22375 char *kwnames
[] = {
22376 (char *) "self", NULL
22379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22385 wxPyEndAllowThreads(__tstate
);
22386 if (PyErr_Occurred()) SWIG_fail
;
22388 Py_INCREF(Py_None
); resultobj
= Py_None
;
22395 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22396 PyObject
*resultobj
;
22397 wxWindow
*arg1
= (wxWindow
*) 0 ;
22398 PyObject
* obj0
= 0 ;
22399 char *kwnames
[] = {
22400 (char *) "self", NULL
22403 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22404 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22409 wxPyEndAllowThreads(__tstate
);
22410 if (PyErr_Occurred()) SWIG_fail
;
22412 Py_INCREF(Py_None
); resultobj
= Py_None
;
22419 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22420 PyObject
*resultobj
;
22421 wxWindow
*arg1
= (wxWindow
*) 0 ;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 char *kwnames
[] = {
22426 (char *) "self",(char *) "dc", NULL
22429 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22430 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22431 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22432 if (arg2
== NULL
) {
22433 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22437 (arg1
)->PrepareDC(*arg2
);
22439 wxPyEndAllowThreads(__tstate
);
22440 if (PyErr_Occurred()) SWIG_fail
;
22442 Py_INCREF(Py_None
); resultobj
= Py_None
;
22449 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22450 PyObject
*resultobj
;
22451 wxWindow
*arg1
= (wxWindow
*) 0 ;
22453 PyObject
* obj0
= 0 ;
22454 char *kwnames
[] = {
22455 (char *) "self", NULL
22458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22463 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22464 result
= (wxRegion
*) &_result_ref
;
22467 wxPyEndAllowThreads(__tstate
);
22468 if (PyErr_Occurred()) SWIG_fail
;
22470 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22477 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22478 PyObject
*resultobj
;
22479 wxWindow
*arg1
= (wxWindow
*) 0 ;
22481 PyObject
* obj0
= 0 ;
22482 char *kwnames
[] = {
22483 (char *) "self", NULL
22486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22490 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22492 wxPyEndAllowThreads(__tstate
);
22493 if (PyErr_Occurred()) SWIG_fail
;
22496 wxRect
* resultptr
;
22497 resultptr
= new wxRect((wxRect
&) result
);
22498 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22506 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22507 PyObject
*resultobj
;
22508 wxWindow
*arg1
= (wxWindow
*) 0 ;
22511 int arg4
= (int) 1 ;
22512 int arg5
= (int) 1 ;
22514 PyObject
* obj0
= 0 ;
22515 char *kwnames
[] = {
22516 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22525 wxPyEndAllowThreads(__tstate
);
22526 if (PyErr_Occurred()) SWIG_fail
;
22528 resultobj
= PyInt_FromLong((long)result
);
22535 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22536 PyObject
*resultobj
;
22537 wxWindow
*arg1
= (wxWindow
*) 0 ;
22538 wxPoint
*arg2
= 0 ;
22541 PyObject
* obj0
= 0 ;
22542 PyObject
* obj1
= 0 ;
22543 char *kwnames
[] = {
22544 (char *) "self",(char *) "pt", NULL
22547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22551 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22555 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22557 wxPyEndAllowThreads(__tstate
);
22558 if (PyErr_Occurred()) SWIG_fail
;
22560 resultobj
= PyInt_FromLong((long)result
);
22567 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22568 PyObject
*resultobj
;
22569 wxWindow
*arg1
= (wxWindow
*) 0 ;
22573 PyObject
* obj0
= 0 ;
22574 PyObject
* obj1
= 0 ;
22575 char *kwnames
[] = {
22576 (char *) "self",(char *) "rect", NULL
22579 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22580 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22583 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22587 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= PyInt_FromLong((long)result
);
22599 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
;
22601 wxWindow
*arg1
= (wxWindow
*) 0 ;
22602 wxColour
*arg2
= 0 ;
22605 PyObject
* obj0
= 0 ;
22606 PyObject
* obj1
= 0 ;
22607 char *kwnames
[] = {
22608 (char *) "self",(char *) "colour", NULL
22611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22615 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22619 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22621 wxPyEndAllowThreads(__tstate
);
22622 if (PyErr_Occurred()) SWIG_fail
;
22624 resultobj
= PyInt_FromLong((long)result
);
22631 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22632 PyObject
*resultobj
;
22633 wxWindow
*arg1
= (wxWindow
*) 0 ;
22634 wxColour
*arg2
= 0 ;
22637 PyObject
* obj0
= 0 ;
22638 PyObject
* obj1
= 0 ;
22639 char *kwnames
[] = {
22640 (char *) "self",(char *) "colour", NULL
22643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22647 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22651 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22653 wxPyEndAllowThreads(__tstate
);
22654 if (PyErr_Occurred()) SWIG_fail
;
22656 resultobj
= PyInt_FromLong((long)result
);
22663 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22664 PyObject
*resultobj
;
22665 wxWindow
*arg1
= (wxWindow
*) 0 ;
22667 PyObject
* obj0
= 0 ;
22668 char *kwnames
[] = {
22669 (char *) "self", NULL
22672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22676 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22678 wxPyEndAllowThreads(__tstate
);
22679 if (PyErr_Occurred()) SWIG_fail
;
22682 wxColour
* resultptr
;
22683 resultptr
= new wxColour((wxColour
&) result
);
22684 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22692 static PyObject
*_wrap_Window_GetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22693 PyObject
*resultobj
;
22694 wxWindow
*arg1
= (wxWindow
*) 0 ;
22696 PyObject
* obj0
= 0 ;
22697 char *kwnames
[] = {
22698 (char *) "self", NULL
22701 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetForegroundColour",kwnames
,&obj0
)) goto fail
;
22702 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22705 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22711 wxColour
* resultptr
;
22712 resultptr
= new wxColour((wxColour
&) result
);
22713 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22721 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22722 PyObject
*resultobj
;
22723 wxWindow
*arg1
= (wxWindow
*) 0 ;
22724 wxCursor
*arg2
= 0 ;
22726 PyObject
* obj0
= 0 ;
22727 PyObject
* obj1
= 0 ;
22728 char *kwnames
[] = {
22729 (char *) "self",(char *) "cursor", NULL
22732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22734 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22735 if (arg2
== NULL
) {
22736 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22740 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22742 wxPyEndAllowThreads(__tstate
);
22743 if (PyErr_Occurred()) SWIG_fail
;
22745 resultobj
= PyInt_FromLong((long)result
);
22752 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22753 PyObject
*resultobj
;
22754 wxWindow
*arg1
= (wxWindow
*) 0 ;
22756 PyObject
* obj0
= 0 ;
22757 char *kwnames
[] = {
22758 (char *) "self", NULL
22761 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22762 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22766 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22767 result
= (wxCursor
*) &_result_ref
;
22770 wxPyEndAllowThreads(__tstate
);
22771 if (PyErr_Occurred()) SWIG_fail
;
22773 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22780 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22781 PyObject
*resultobj
;
22782 wxWindow
*arg1
= (wxWindow
*) 0 ;
22785 PyObject
* obj0
= 0 ;
22786 PyObject
* obj1
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self",(char *) "font", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22793 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22794 if (arg2
== NULL
) {
22795 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22799 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= PyInt_FromLong((long)result
);
22811 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22812 PyObject
*resultobj
;
22813 wxWindow
*arg1
= (wxWindow
*) 0 ;
22815 PyObject
* obj0
= 0 ;
22816 char *kwnames
[] = {
22817 (char *) "self", NULL
22820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22825 wxFont
&_result_ref
= (arg1
)->GetFont();
22826 result
= (wxFont
*) &_result_ref
;
22829 wxPyEndAllowThreads(__tstate
);
22830 if (PyErr_Occurred()) SWIG_fail
;
22832 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22839 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22840 PyObject
*resultobj
;
22841 wxWindow
*arg1
= (wxWindow
*) 0 ;
22842 wxCaret
*arg2
= (wxCaret
*) 0 ;
22843 PyObject
* obj0
= 0 ;
22844 PyObject
* obj1
= 0 ;
22845 char *kwnames
[] = {
22846 (char *) "self",(char *) "caret", NULL
22849 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22850 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22851 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22854 (arg1
)->SetCaret(arg2
);
22856 wxPyEndAllowThreads(__tstate
);
22857 if (PyErr_Occurred()) SWIG_fail
;
22859 Py_INCREF(Py_None
); resultobj
= Py_None
;
22866 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22867 PyObject
*resultobj
;
22868 wxWindow
*arg1
= (wxWindow
*) 0 ;
22870 PyObject
* obj0
= 0 ;
22871 char *kwnames
[] = {
22872 (char *) "self", NULL
22875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22879 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
22881 wxPyEndAllowThreads(__tstate
);
22882 if (PyErr_Occurred()) SWIG_fail
;
22884 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
22891 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22892 PyObject
*resultobj
;
22893 wxWindow
*arg1
= (wxWindow
*) 0 ;
22895 PyObject
* obj0
= 0 ;
22896 char *kwnames
[] = {
22897 (char *) "self", NULL
22900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
22901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22904 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
22906 wxPyEndAllowThreads(__tstate
);
22907 if (PyErr_Occurred()) SWIG_fail
;
22909 resultobj
= PyInt_FromLong((long)result
);
22916 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22917 PyObject
*resultobj
;
22918 wxWindow
*arg1
= (wxWindow
*) 0 ;
22920 PyObject
* obj0
= 0 ;
22921 char *kwnames
[] = {
22922 (char *) "self", NULL
22925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
22926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22929 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
22931 wxPyEndAllowThreads(__tstate
);
22932 if (PyErr_Occurred()) SWIG_fail
;
22934 resultobj
= PyInt_FromLong((long)result
);
22941 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22942 PyObject
*resultobj
;
22943 wxWindow
*arg1
= (wxWindow
*) 0 ;
22944 wxString
*arg2
= 0 ;
22945 int *arg3
= (int *) 0 ;
22946 int *arg4
= (int *) 0 ;
22947 bool temp2
= False
;
22950 PyObject
* obj0
= 0 ;
22951 PyObject
* obj1
= 0 ;
22952 char *kwnames
[] = {
22953 (char *) "self",(char *) "string", NULL
22958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
22959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22961 arg2
= wxString_in_helper(obj1
);
22962 if (arg2
== NULL
) SWIG_fail
;
22966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22967 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
22969 wxPyEndAllowThreads(__tstate
);
22970 if (PyErr_Occurred()) SWIG_fail
;
22972 Py_INCREF(Py_None
); resultobj
= Py_None
;
22974 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
22975 resultobj
= t_output_helper(resultobj
,o
);
22978 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
22979 resultobj
= t_output_helper(resultobj
,o
);
22995 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22996 PyObject
*resultobj
;
22997 wxWindow
*arg1
= (wxWindow
*) 0 ;
22998 wxString
*arg2
= 0 ;
22999 int *arg3
= (int *) 0 ;
23000 int *arg4
= (int *) 0 ;
23001 int *arg5
= (int *) 0 ;
23002 int *arg6
= (int *) 0 ;
23003 wxFont
*arg7
= (wxFont
*) NULL
;
23004 bool temp2
= False
;
23009 PyObject
* obj0
= 0 ;
23010 PyObject
* obj1
= 0 ;
23011 PyObject
* obj2
= 0 ;
23012 char *kwnames
[] = {
23013 (char *) "self",(char *) "string",(char *) "font", NULL
23020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23023 arg2
= wxString_in_helper(obj1
);
23024 if (arg2
== NULL
) SWIG_fail
;
23028 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23032 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
23034 wxPyEndAllowThreads(__tstate
);
23035 if (PyErr_Occurred()) SWIG_fail
;
23037 Py_INCREF(Py_None
); resultobj
= Py_None
;
23039 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23040 resultobj
= t_output_helper(resultobj
,o
);
23043 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23044 resultobj
= t_output_helper(resultobj
,o
);
23047 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
23048 resultobj
= t_output_helper(resultobj
,o
);
23051 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
23052 resultobj
= t_output_helper(resultobj
,o
);
23068 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23069 PyObject
*resultobj
;
23070 wxWindow
*arg1
= (wxWindow
*) 0 ;
23071 int *arg2
= (int *) 0 ;
23072 int *arg3
= (int *) 0 ;
23075 PyObject
* obj0
= 0 ;
23076 PyObject
* obj1
= 0 ;
23077 PyObject
* obj2
= 0 ;
23078 char *kwnames
[] = {
23079 (char *) "self",(char *) "x",(char *) "y", NULL
23082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23085 temp2
= PyInt_AsLong(obj1
);
23086 if (PyErr_Occurred()) SWIG_fail
;
23090 temp3
= PyInt_AsLong(obj2
);
23091 if (PyErr_Occurred()) SWIG_fail
;
23095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23096 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 Py_INCREF(Py_None
); resultobj
= Py_None
;
23103 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23104 resultobj
= t_output_helper(resultobj
,o
);
23107 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23108 resultobj
= t_output_helper(resultobj
,o
);
23116 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23117 PyObject
*resultobj
;
23118 wxWindow
*arg1
= (wxWindow
*) 0 ;
23119 int *arg2
= (int *) 0 ;
23120 int *arg3
= (int *) 0 ;
23123 PyObject
* obj0
= 0 ;
23124 PyObject
* obj1
= 0 ;
23125 PyObject
* obj2
= 0 ;
23126 char *kwnames
[] = {
23127 (char *) "self",(char *) "x",(char *) "y", NULL
23130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23133 temp2
= PyInt_AsLong(obj1
);
23134 if (PyErr_Occurred()) SWIG_fail
;
23138 temp3
= PyInt_AsLong(obj2
);
23139 if (PyErr_Occurred()) SWIG_fail
;
23143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23144 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
23146 wxPyEndAllowThreads(__tstate
);
23147 if (PyErr_Occurred()) SWIG_fail
;
23149 Py_INCREF(Py_None
); resultobj
= Py_None
;
23151 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23152 resultobj
= t_output_helper(resultobj
,o
);
23155 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23156 resultobj
= t_output_helper(resultobj
,o
);
23164 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23165 PyObject
*resultobj
;
23166 wxWindow
*arg1
= (wxWindow
*) 0 ;
23167 wxPoint
*arg2
= 0 ;
23170 PyObject
* obj0
= 0 ;
23171 PyObject
* obj1
= 0 ;
23172 char *kwnames
[] = {
23173 (char *) "self",(char *) "pt", NULL
23176 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23177 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23180 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23184 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
23186 wxPyEndAllowThreads(__tstate
);
23187 if (PyErr_Occurred()) SWIG_fail
;
23190 wxPoint
* resultptr
;
23191 resultptr
= new wxPoint((wxPoint
&) result
);
23192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23200 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23201 PyObject
*resultobj
;
23202 wxWindow
*arg1
= (wxWindow
*) 0 ;
23203 wxPoint
*arg2
= 0 ;
23206 PyObject
* obj0
= 0 ;
23207 PyObject
* obj1
= 0 ;
23208 char *kwnames
[] = {
23209 (char *) "self",(char *) "pt", NULL
23212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
23213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23216 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23220 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23226 wxPoint
* resultptr
;
23227 resultptr
= new wxPoint((wxPoint
&) result
);
23228 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23236 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23237 PyObject
*resultobj
;
23238 wxWindow
*arg1
= (wxWindow
*) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 char *kwnames
[] = {
23244 (char *) "self",(char *) "x",(char *) "y", NULL
23247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23251 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
23253 wxPyEndAllowThreads(__tstate
);
23254 if (PyErr_Occurred()) SWIG_fail
;
23256 resultobj
= PyInt_FromLong((long)result
);
23263 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23264 PyObject
*resultobj
;
23265 wxWindow
*arg1
= (wxWindow
*) 0 ;
23266 wxPoint
*arg2
= 0 ;
23269 PyObject
* obj0
= 0 ;
23270 PyObject
* obj1
= 0 ;
23271 char *kwnames
[] = {
23272 (char *) "self",(char *) "pt", NULL
23275 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23276 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23279 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23283 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
23285 wxPyEndAllowThreads(__tstate
);
23286 if (PyErr_Occurred()) SWIG_fail
;
23288 resultobj
= PyInt_FromLong((long)result
);
23295 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23296 PyObject
*resultobj
;
23297 wxWindow
*arg1
= (wxWindow
*) 0 ;
23300 PyObject
* obj0
= 0 ;
23301 char *kwnames
[] = {
23302 (char *) "self",(char *) "flags", NULL
23305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
23306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
23311 wxPyEndAllowThreads(__tstate
);
23312 if (PyErr_Occurred()) SWIG_fail
;
23314 resultobj
= PyInt_FromLong((long)result
);
23321 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23322 PyObject
*resultobj
;
23323 wxWindow
*arg1
= (wxWindow
*) 0 ;
23325 PyObject
* obj0
= 0 ;
23326 char *kwnames
[] = {
23327 (char *) "self", NULL
23330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
23331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23334 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
23336 wxPyEndAllowThreads(__tstate
);
23337 if (PyErr_Occurred()) SWIG_fail
;
23339 resultobj
= PyInt_FromLong((long)result
);
23346 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23347 PyObject
*resultobj
;
23348 wxWindow
*arg1
= (wxWindow
*) 0 ;
23349 long arg2
= (long) wxUPDATE_UI_NONE
;
23350 PyObject
* obj0
= 0 ;
23351 char *kwnames
[] = {
23352 (char *) "self",(char *) "flags", NULL
23355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 (arg1
)->UpdateWindowUI(arg2
);
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23364 Py_INCREF(Py_None
); resultobj
= Py_None
;
23371 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23372 PyObject
*resultobj
;
23373 wxWindow
*arg1
= (wxWindow
*) 0 ;
23374 wxMenu
*arg2
= (wxMenu
*) 0 ;
23378 PyObject
* obj0
= 0 ;
23379 PyObject
* obj1
= 0 ;
23380 char *kwnames
[] = {
23381 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23384 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23385 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23386 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23389 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23391 wxPyEndAllowThreads(__tstate
);
23392 if (PyErr_Occurred()) SWIG_fail
;
23394 resultobj
= PyInt_FromLong((long)result
);
23401 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23402 PyObject
*resultobj
;
23403 wxWindow
*arg1
= (wxWindow
*) 0 ;
23404 wxMenu
*arg2
= (wxMenu
*) 0 ;
23405 wxPoint
*arg3
= 0 ;
23408 PyObject
* obj0
= 0 ;
23409 PyObject
* obj1
= 0 ;
23410 PyObject
* obj2
= 0 ;
23411 char *kwnames
[] = {
23412 (char *) "self",(char *) "menu",(char *) "pos", NULL
23415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23417 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23420 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23424 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23426 wxPyEndAllowThreads(__tstate
);
23427 if (PyErr_Occurred()) SWIG_fail
;
23429 resultobj
= PyInt_FromLong((long)result
);
23436 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23437 PyObject
*resultobj
;
23438 wxWindow
*arg1
= (wxWindow
*) 0 ;
23440 PyObject
* obj0
= 0 ;
23441 char *kwnames
[] = {
23442 (char *) "self", NULL
23445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23449 result
= (long)wxWindow_GetHandle(arg1
);
23451 wxPyEndAllowThreads(__tstate
);
23452 if (PyErr_Occurred()) SWIG_fail
;
23454 resultobj
= PyInt_FromLong((long)result
);
23461 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23462 PyObject
*resultobj
;
23463 wxWindow
*arg1
= (wxWindow
*) 0 ;
23466 PyObject
* obj0
= 0 ;
23467 char *kwnames
[] = {
23468 (char *) "self",(char *) "orient", NULL
23471 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23472 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23475 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23477 wxPyEndAllowThreads(__tstate
);
23478 if (PyErr_Occurred()) SWIG_fail
;
23480 resultobj
= PyInt_FromLong((long)result
);
23487 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23488 PyObject
*resultobj
;
23489 wxWindow
*arg1
= (wxWindow
*) 0 ;
23494 bool arg6
= (bool) True
;
23495 PyObject
* obj0
= 0 ;
23496 PyObject
* obj5
= 0 ;
23497 char *kwnames
[] = {
23498 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23504 arg6
= PyInt_AsLong(obj5
) ? true : false;
23505 if (PyErr_Occurred()) SWIG_fail
;
23508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23509 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23511 wxPyEndAllowThreads(__tstate
);
23512 if (PyErr_Occurred()) SWIG_fail
;
23514 Py_INCREF(Py_None
); resultobj
= Py_None
;
23521 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23522 PyObject
*resultobj
;
23523 wxWindow
*arg1
= (wxWindow
*) 0 ;
23526 bool arg4
= (bool) True
;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj3
= 0 ;
23529 char *kwnames
[] = {
23530 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23536 arg4
= PyInt_AsLong(obj3
) ? true : false;
23537 if (PyErr_Occurred()) SWIG_fail
;
23540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23541 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23543 wxPyEndAllowThreads(__tstate
);
23544 if (PyErr_Occurred()) SWIG_fail
;
23546 Py_INCREF(Py_None
); resultobj
= Py_None
;
23553 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23554 PyObject
*resultobj
;
23555 wxWindow
*arg1
= (wxWindow
*) 0 ;
23558 PyObject
* obj0
= 0 ;
23559 char *kwnames
[] = {
23560 (char *) "self",(char *) "orient", NULL
23563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23566 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23567 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23569 wxPyEndAllowThreads(__tstate
);
23570 if (PyErr_Occurred()) SWIG_fail
;
23572 resultobj
= PyInt_FromLong((long)result
);
23579 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23580 PyObject
*resultobj
;
23581 wxWindow
*arg1
= (wxWindow
*) 0 ;
23584 PyObject
* obj0
= 0 ;
23585 char *kwnames
[] = {
23586 (char *) "self",(char *) "orient", NULL
23589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23593 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23595 wxPyEndAllowThreads(__tstate
);
23596 if (PyErr_Occurred()) SWIG_fail
;
23598 resultobj
= PyInt_FromLong((long)result
);
23605 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23606 PyObject
*resultobj
;
23607 wxWindow
*arg1
= (wxWindow
*) 0 ;
23610 PyObject
* obj0
= 0 ;
23611 char *kwnames
[] = {
23612 (char *) "self",(char *) "orient", NULL
23615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23616 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23619 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23621 wxPyEndAllowThreads(__tstate
);
23622 if (PyErr_Occurred()) SWIG_fail
;
23624 resultobj
= PyInt_FromLong((long)result
);
23631 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23632 PyObject
*resultobj
;
23633 wxWindow
*arg1
= (wxWindow
*) 0 ;
23636 wxRect
*arg4
= (wxRect
*) NULL
;
23637 PyObject
* obj0
= 0 ;
23638 PyObject
* obj3
= 0 ;
23639 char *kwnames
[] = {
23640 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23646 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23650 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 Py_INCREF(Py_None
); resultobj
= Py_None
;
23662 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
;
23664 wxWindow
*arg1
= (wxWindow
*) 0 ;
23667 PyObject
* obj0
= 0 ;
23668 char *kwnames
[] = {
23669 (char *) "self",(char *) "lines", NULL
23672 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23673 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 result
= (bool)(arg1
)->ScrollLines(arg2
);
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= PyInt_FromLong((long)result
);
23688 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23689 PyObject
*resultobj
;
23690 wxWindow
*arg1
= (wxWindow
*) 0 ;
23693 PyObject
* obj0
= 0 ;
23694 char *kwnames
[] = {
23695 (char *) "self",(char *) "pages", NULL
23698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23702 result
= (bool)(arg1
)->ScrollPages(arg2
);
23704 wxPyEndAllowThreads(__tstate
);
23705 if (PyErr_Occurred()) SWIG_fail
;
23707 resultobj
= PyInt_FromLong((long)result
);
23714 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23715 PyObject
*resultobj
;
23716 wxWindow
*arg1
= (wxWindow
*) 0 ;
23718 PyObject
* obj0
= 0 ;
23719 char *kwnames
[] = {
23720 (char *) "self", NULL
23723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
23724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 result
= (bool)(arg1
)->LineUp();
23729 wxPyEndAllowThreads(__tstate
);
23730 if (PyErr_Occurred()) SWIG_fail
;
23732 resultobj
= PyInt_FromLong((long)result
);
23739 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23740 PyObject
*resultobj
;
23741 wxWindow
*arg1
= (wxWindow
*) 0 ;
23743 PyObject
* obj0
= 0 ;
23744 char *kwnames
[] = {
23745 (char *) "self", NULL
23748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23752 result
= (bool)(arg1
)->LineDown();
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= PyInt_FromLong((long)result
);
23764 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23765 PyObject
*resultobj
;
23766 wxWindow
*arg1
= (wxWindow
*) 0 ;
23768 PyObject
* obj0
= 0 ;
23769 char *kwnames
[] = {
23770 (char *) "self", NULL
23773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23777 result
= (bool)(arg1
)->PageUp();
23779 wxPyEndAllowThreads(__tstate
);
23780 if (PyErr_Occurred()) SWIG_fail
;
23782 resultobj
= PyInt_FromLong((long)result
);
23789 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23790 PyObject
*resultobj
;
23791 wxWindow
*arg1
= (wxWindow
*) 0 ;
23793 PyObject
* obj0
= 0 ;
23794 char *kwnames
[] = {
23795 (char *) "self", NULL
23798 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23799 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 result
= (bool)(arg1
)->PageDown();
23804 wxPyEndAllowThreads(__tstate
);
23805 if (PyErr_Occurred()) SWIG_fail
;
23807 resultobj
= PyInt_FromLong((long)result
);
23814 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23815 PyObject
*resultobj
;
23816 wxWindow
*arg1
= (wxWindow
*) 0 ;
23817 wxString
*arg2
= 0 ;
23818 bool temp2
= False
;
23819 PyObject
* obj0
= 0 ;
23820 PyObject
* obj1
= 0 ;
23821 char *kwnames
[] = {
23822 (char *) "self",(char *) "text", NULL
23825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23828 arg2
= wxString_in_helper(obj1
);
23829 if (arg2
== NULL
) SWIG_fail
;
23833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23834 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 Py_INCREF(Py_None
); resultobj
= Py_None
;
23854 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23855 PyObject
*resultobj
;
23856 wxWindow
*arg1
= (wxWindow
*) 0 ;
23857 wxString
*arg2
= 0 ;
23858 bool temp2
= False
;
23859 PyObject
* obj0
= 0 ;
23860 PyObject
* obj1
= 0 ;
23861 char *kwnames
[] = {
23862 (char *) "self",(char *) "text", NULL
23865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
23866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23868 arg2
= wxString_in_helper(obj1
);
23869 if (arg2
== NULL
) SWIG_fail
;
23873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23874 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
23876 wxPyEndAllowThreads(__tstate
);
23877 if (PyErr_Occurred()) SWIG_fail
;
23879 Py_INCREF(Py_None
); resultobj
= Py_None
;
23894 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23895 PyObject
*resultobj
;
23896 wxWindow
*arg1
= (wxWindow
*) 0 ;
23898 PyObject
* obj0
= 0 ;
23899 char *kwnames
[] = {
23900 (char *) "self", NULL
23903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
23904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23907 result
= ((wxWindow
const *)arg1
)->GetHelpText();
23909 wxPyEndAllowThreads(__tstate
);
23910 if (PyErr_Occurred()) SWIG_fail
;
23914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
23916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
23925 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23926 PyObject
*resultobj
;
23927 wxWindow
*arg1
= (wxWindow
*) 0 ;
23928 wxString
*arg2
= 0 ;
23929 bool temp2
= False
;
23930 PyObject
* obj0
= 0 ;
23931 PyObject
* obj1
= 0 ;
23932 char *kwnames
[] = {
23933 (char *) "self",(char *) "tip", NULL
23936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
23937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23939 arg2
= wxString_in_helper(obj1
);
23940 if (arg2
== NULL
) SWIG_fail
;
23944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23945 (arg1
)->SetToolTip((wxString
const &)*arg2
);
23947 wxPyEndAllowThreads(__tstate
);
23948 if (PyErr_Occurred()) SWIG_fail
;
23950 Py_INCREF(Py_None
); resultobj
= Py_None
;
23965 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23966 PyObject
*resultobj
;
23967 wxWindow
*arg1
= (wxWindow
*) 0 ;
23968 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
23969 PyObject
* obj0
= 0 ;
23970 PyObject
* obj1
= 0 ;
23971 char *kwnames
[] = {
23972 (char *) "self",(char *) "tip", NULL
23975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
23976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23977 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23980 (arg1
)->SetToolTip(arg2
);
23982 wxPyEndAllowThreads(__tstate
);
23983 if (PyErr_Occurred()) SWIG_fail
;
23985 Py_INCREF(Py_None
); resultobj
= Py_None
;
23992 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23993 PyObject
*resultobj
;
23994 wxWindow
*arg1
= (wxWindow
*) 0 ;
23996 PyObject
* obj0
= 0 ;
23997 char *kwnames
[] = {
23998 (char *) "self", NULL
24001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
24002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24005 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
24007 wxPyEndAllowThreads(__tstate
);
24008 if (PyErr_Occurred()) SWIG_fail
;
24011 resultobj
= wxPyMake_wxObject(result
);
24019 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24020 PyObject
*resultobj
;
24021 wxWindow
*arg1
= (wxWindow
*) 0 ;
24022 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
24023 PyObject
* obj0
= 0 ;
24024 PyObject
* obj1
= 0 ;
24025 char *kwnames
[] = {
24026 (char *) "self",(char *) "dropTarget", NULL
24029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24031 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24034 (arg1
)->SetDropTarget(arg2
);
24036 wxPyEndAllowThreads(__tstate
);
24037 if (PyErr_Occurred()) SWIG_fail
;
24039 Py_INCREF(Py_None
); resultobj
= Py_None
;
24046 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24047 PyObject
*resultobj
;
24048 wxWindow
*arg1
= (wxWindow
*) 0 ;
24049 wxPyDropTarget
*result
;
24050 PyObject
* obj0
= 0 ;
24051 char *kwnames
[] = {
24052 (char *) "self", NULL
24055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
24056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24059 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
24061 wxPyEndAllowThreads(__tstate
);
24062 if (PyErr_Occurred()) SWIG_fail
;
24064 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
24071 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24072 PyObject
*resultobj
;
24073 wxWindow
*arg1
= (wxWindow
*) 0 ;
24074 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 char *kwnames
[] = {
24078 (char *) "self",(char *) "constraints", NULL
24081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
24082 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24083 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24086 (arg1
)->SetConstraints(arg2
);
24088 wxPyEndAllowThreads(__tstate
);
24089 if (PyErr_Occurred()) SWIG_fail
;
24091 Py_INCREF(Py_None
); resultobj
= Py_None
;
24098 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24099 PyObject
*resultobj
;
24100 wxWindow
*arg1
= (wxWindow
*) 0 ;
24101 wxLayoutConstraints
*result
;
24102 PyObject
* obj0
= 0 ;
24103 char *kwnames
[] = {
24104 (char *) "self", NULL
24107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
24108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24111 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
24113 wxPyEndAllowThreads(__tstate
);
24114 if (PyErr_Occurred()) SWIG_fail
;
24116 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
24123 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24124 PyObject
*resultobj
;
24125 wxWindow
*arg1
= (wxWindow
*) 0 ;
24127 PyObject
* obj0
= 0 ;
24128 PyObject
* obj1
= 0 ;
24129 char *kwnames
[] = {
24130 (char *) "self",(char *) "autoLayout", NULL
24133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
24134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24135 arg2
= PyInt_AsLong(obj1
) ? true : false;
24136 if (PyErr_Occurred()) SWIG_fail
;
24138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24139 (arg1
)->SetAutoLayout(arg2
);
24141 wxPyEndAllowThreads(__tstate
);
24142 if (PyErr_Occurred()) SWIG_fail
;
24144 Py_INCREF(Py_None
); resultobj
= Py_None
;
24151 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24152 PyObject
*resultobj
;
24153 wxWindow
*arg1
= (wxWindow
*) 0 ;
24155 PyObject
* obj0
= 0 ;
24156 char *kwnames
[] = {
24157 (char *) "self", NULL
24160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
24161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24164 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= PyInt_FromLong((long)result
);
24176 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
;
24178 wxWindow
*arg1
= (wxWindow
*) 0 ;
24180 PyObject
* obj0
= 0 ;
24181 char *kwnames
[] = {
24182 (char *) "self", NULL
24185 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
24186 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24189 result
= (bool)(arg1
)->Layout();
24191 wxPyEndAllowThreads(__tstate
);
24192 if (PyErr_Occurred()) SWIG_fail
;
24194 resultobj
= PyInt_FromLong((long)result
);
24201 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24202 PyObject
*resultobj
;
24203 wxWindow
*arg1
= (wxWindow
*) 0 ;
24204 wxSizer
*arg2
= (wxSizer
*) 0 ;
24205 bool arg3
= (bool) True
;
24206 PyObject
* obj0
= 0 ;
24207 PyObject
* obj1
= 0 ;
24208 PyObject
* obj2
= 0 ;
24209 char *kwnames
[] = {
24210 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24215 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24217 arg3
= PyInt_AsLong(obj2
) ? true : false;
24218 if (PyErr_Occurred()) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 (arg1
)->SetSizer(arg2
,arg3
);
24224 wxPyEndAllowThreads(__tstate
);
24225 if (PyErr_Occurred()) SWIG_fail
;
24227 Py_INCREF(Py_None
); resultobj
= Py_None
;
24234 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24235 PyObject
*resultobj
;
24236 wxWindow
*arg1
= (wxWindow
*) 0 ;
24237 wxSizer
*arg2
= (wxSizer
*) 0 ;
24238 bool arg3
= (bool) True
;
24239 PyObject
* obj0
= 0 ;
24240 PyObject
* obj1
= 0 ;
24241 PyObject
* obj2
= 0 ;
24242 char *kwnames
[] = {
24243 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24248 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24250 arg3
= PyInt_AsLong(obj2
) ? true : false;
24251 if (PyErr_Occurred()) SWIG_fail
;
24254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24255 (arg1
)->SetSizerAndFit(arg2
,arg3
);
24257 wxPyEndAllowThreads(__tstate
);
24258 if (PyErr_Occurred()) SWIG_fail
;
24260 Py_INCREF(Py_None
); resultobj
= Py_None
;
24267 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24268 PyObject
*resultobj
;
24269 wxWindow
*arg1
= (wxWindow
*) 0 ;
24271 PyObject
* obj0
= 0 ;
24272 char *kwnames
[] = {
24273 (char *) "self", NULL
24276 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
24277 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24280 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
24282 wxPyEndAllowThreads(__tstate
);
24283 if (PyErr_Occurred()) SWIG_fail
;
24286 resultobj
= wxPyMake_wxSizer(result
);
24294 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24295 PyObject
*resultobj
;
24296 wxWindow
*arg1
= (wxWindow
*) 0 ;
24297 wxSizer
*arg2
= (wxSizer
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 char *kwnames
[] = {
24301 (char *) "self",(char *) "sizer", NULL
24304 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24305 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24306 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24309 (arg1
)->SetContainingSizer(arg2
);
24311 wxPyEndAllowThreads(__tstate
);
24312 if (PyErr_Occurred()) SWIG_fail
;
24314 Py_INCREF(Py_None
); resultobj
= Py_None
;
24321 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24322 PyObject
*resultobj
;
24323 wxWindow
*arg1
= (wxWindow
*) 0 ;
24325 PyObject
* obj0
= 0 ;
24326 char *kwnames
[] = {
24327 (char *) "self", NULL
24330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24334 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24336 wxPyEndAllowThreads(__tstate
);
24337 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= wxPyMake_wxSizer(result
);
24348 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24350 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24351 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24353 return Py_BuildValue((char *)"");
24355 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24356 PyObject
*resultobj
;
24358 wxWindow
*arg2
= (wxWindow
*) NULL
;
24360 PyObject
* obj1
= 0 ;
24361 char *kwnames
[] = {
24362 (char *) "id",(char *) "parent", NULL
24365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24367 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24371 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24373 wxPyEndAllowThreads(__tstate
);
24374 if (PyErr_Occurred()) SWIG_fail
;
24377 resultobj
= wxPyMake_wxObject(result
);
24385 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24386 PyObject
*resultobj
;
24387 wxString
*arg1
= 0 ;
24388 wxWindow
*arg2
= (wxWindow
*) NULL
;
24390 bool temp1
= False
;
24391 PyObject
* obj0
= 0 ;
24392 PyObject
* obj1
= 0 ;
24393 char *kwnames
[] = {
24394 (char *) "name",(char *) "parent", NULL
24397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24399 arg1
= wxString_in_helper(obj0
);
24400 if (arg1
== NULL
) SWIG_fail
;
24404 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24408 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24410 wxPyEndAllowThreads(__tstate
);
24411 if (PyErr_Occurred()) SWIG_fail
;
24414 resultobj
= wxPyMake_wxObject(result
);
24430 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24431 PyObject
*resultobj
;
24432 wxString
*arg1
= 0 ;
24433 wxWindow
*arg2
= (wxWindow
*) NULL
;
24435 bool temp1
= False
;
24436 PyObject
* obj0
= 0 ;
24437 PyObject
* obj1
= 0 ;
24438 char *kwnames
[] = {
24439 (char *) "label",(char *) "parent", NULL
24442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24444 arg1
= wxString_in_helper(obj0
);
24445 if (arg1
== NULL
) SWIG_fail
;
24449 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24453 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24455 wxPyEndAllowThreads(__tstate
);
24456 if (PyErr_Occurred()) SWIG_fail
;
24459 resultobj
= wxPyMake_wxObject(result
);
24475 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24476 PyObject
*resultobj
;
24477 unsigned long arg1
;
24479 PyObject
* obj0
= 0 ;
24480 char *kwnames
[] = {
24481 (char *) "hWnd", NULL
24484 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24485 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24486 if (PyErr_Occurred()) SWIG_fail
;
24488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24489 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24491 wxPyEndAllowThreads(__tstate
);
24492 if (PyErr_Occurred()) SWIG_fail
;
24495 resultobj
= wxPyMake_wxObject(result
);
24503 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24504 PyObject
*resultobj
;
24505 wxValidator
*result
;
24506 char *kwnames
[] = {
24510 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24513 result
= (wxValidator
*)new wxValidator();
24515 wxPyEndAllowThreads(__tstate
);
24516 if (PyErr_Occurred()) SWIG_fail
;
24519 resultobj
= wxPyMake_wxObject(result
);
24527 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24528 PyObject
*resultobj
;
24529 wxValidator
*arg1
= (wxValidator
*) 0 ;
24530 wxValidator
*result
;
24531 PyObject
* obj0
= 0 ;
24532 char *kwnames
[] = {
24533 (char *) "self", NULL
24536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24540 result
= (wxValidator
*)(arg1
)->Clone();
24542 wxPyEndAllowThreads(__tstate
);
24543 if (PyErr_Occurred()) SWIG_fail
;
24546 resultobj
= wxPyMake_wxObject(result
);
24554 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24555 PyObject
*resultobj
;
24556 wxValidator
*arg1
= (wxValidator
*) 0 ;
24557 wxWindow
*arg2
= (wxWindow
*) 0 ;
24559 PyObject
* obj0
= 0 ;
24560 PyObject
* obj1
= 0 ;
24561 char *kwnames
[] = {
24562 (char *) "self",(char *) "parent", NULL
24565 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24566 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24567 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24570 result
= (bool)(arg1
)->Validate(arg2
);
24572 wxPyEndAllowThreads(__tstate
);
24573 if (PyErr_Occurred()) SWIG_fail
;
24575 resultobj
= PyInt_FromLong((long)result
);
24582 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24583 PyObject
*resultobj
;
24584 wxValidator
*arg1
= (wxValidator
*) 0 ;
24586 PyObject
* obj0
= 0 ;
24587 char *kwnames
[] = {
24588 (char *) "self", NULL
24591 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24592 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24595 result
= (bool)(arg1
)->TransferToWindow();
24597 wxPyEndAllowThreads(__tstate
);
24598 if (PyErr_Occurred()) SWIG_fail
;
24600 resultobj
= PyInt_FromLong((long)result
);
24607 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxValidator
*arg1
= (wxValidator
*) 0 ;
24611 PyObject
* obj0
= 0 ;
24612 char *kwnames
[] = {
24613 (char *) "self", NULL
24616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24620 result
= (bool)(arg1
)->TransferFromWindow();
24622 wxPyEndAllowThreads(__tstate
);
24623 if (PyErr_Occurred()) SWIG_fail
;
24625 resultobj
= PyInt_FromLong((long)result
);
24632 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24633 PyObject
*resultobj
;
24634 wxValidator
*arg1
= (wxValidator
*) 0 ;
24636 PyObject
* obj0
= 0 ;
24637 char *kwnames
[] = {
24638 (char *) "self", NULL
24641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (wxWindow
*)(arg1
)->GetWindow();
24647 wxPyEndAllowThreads(__tstate
);
24648 if (PyErr_Occurred()) SWIG_fail
;
24651 resultobj
= wxPyMake_wxObject(result
);
24659 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24660 PyObject
*resultobj
;
24661 wxValidator
*arg1
= (wxValidator
*) 0 ;
24662 wxWindow
*arg2
= (wxWindow
*) 0 ;
24663 PyObject
* obj0
= 0 ;
24664 PyObject
* obj1
= 0 ;
24665 char *kwnames
[] = {
24666 (char *) "self",(char *) "window", NULL
24669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24671 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24674 (arg1
)->SetWindow(arg2
);
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24679 Py_INCREF(Py_None
); resultobj
= Py_None
;
24686 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24687 PyObject
*resultobj
;
24689 char *kwnames
[] = {
24693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (bool)wxValidator::IsSilent();
24698 wxPyEndAllowThreads(__tstate
);
24699 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= PyInt_FromLong((long)result
);
24708 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24709 PyObject
*resultobj
;
24710 int arg1
= (int) True
;
24711 char *kwnames
[] = {
24712 (char *) "doIt", NULL
24715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24718 wxValidator::SetBellOnError(arg1
);
24720 wxPyEndAllowThreads(__tstate
);
24721 if (PyErr_Occurred()) SWIG_fail
;
24723 Py_INCREF(Py_None
); resultobj
= Py_None
;
24730 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24732 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24733 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24735 return Py_BuildValue((char *)"");
24737 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24738 PyObject
*resultobj
;
24739 wxPyValidator
*result
;
24740 char *kwnames
[] = {
24744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= (wxPyValidator
*)new wxPyValidator();
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24759 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24762 PyObject
*arg2
= (PyObject
*) 0 ;
24763 PyObject
*arg3
= (PyObject
*) 0 ;
24764 int arg4
= (int) True
;
24765 PyObject
* obj0
= 0 ;
24766 PyObject
* obj1
= 0 ;
24767 PyObject
* obj2
= 0 ;
24768 char *kwnames
[] = {
24769 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24772 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24773 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24778 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24780 wxPyEndAllowThreads(__tstate
);
24781 if (PyErr_Occurred()) SWIG_fail
;
24783 Py_INCREF(Py_None
); resultobj
= Py_None
;
24790 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24792 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24793 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24795 return Py_BuildValue((char *)"");
24797 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24798 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24803 static PyObject
*_wrap_DefaultValidator_get() {
24806 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24811 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24812 PyObject
*resultobj
;
24813 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24814 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24815 long arg2
= (long) 0 ;
24817 bool temp1
= False
;
24818 PyObject
* obj0
= 0 ;
24819 char *kwnames
[] = {
24820 (char *) "title",(char *) "style", NULL
24823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
24826 arg1
= wxString_in_helper(obj0
);
24827 if (arg1
== NULL
) SWIG_fail
;
24832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24833 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
24835 wxPyEndAllowThreads(__tstate
);
24836 if (PyErr_Occurred()) SWIG_fail
;
24839 resultobj
= wxPyMake_wxObject(result
);
24855 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24856 PyObject
*resultobj
;
24857 wxMenu
*arg1
= (wxMenu
*) 0 ;
24859 wxString
*arg3
= 0 ;
24860 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24861 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24862 int arg5
= (int) wxITEM_NORMAL
;
24863 bool temp3
= False
;
24864 bool temp4
= False
;
24865 PyObject
* obj0
= 0 ;
24866 PyObject
* obj2
= 0 ;
24867 PyObject
* obj3
= 0 ;
24868 char *kwnames
[] = {
24869 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
24872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
24873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24875 arg3
= wxString_in_helper(obj2
);
24876 if (arg3
== NULL
) SWIG_fail
;
24881 arg4
= wxString_in_helper(obj3
);
24882 if (arg4
== NULL
) SWIG_fail
;
24887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24888 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
24890 wxPyEndAllowThreads(__tstate
);
24891 if (PyErr_Occurred()) SWIG_fail
;
24893 Py_INCREF(Py_None
); resultobj
= Py_None
;
24916 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24917 PyObject
*resultobj
;
24918 wxMenu
*arg1
= (wxMenu
*) 0 ;
24919 PyObject
* obj0
= 0 ;
24920 char *kwnames
[] = {
24921 (char *) "self", NULL
24924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
24925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 (arg1
)->AppendSeparator();
24930 wxPyEndAllowThreads(__tstate
);
24931 if (PyErr_Occurred()) SWIG_fail
;
24933 Py_INCREF(Py_None
); resultobj
= Py_None
;
24940 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24941 PyObject
*resultobj
;
24942 wxMenu
*arg1
= (wxMenu
*) 0 ;
24944 wxString
*arg3
= 0 ;
24945 wxString
const &arg4_defvalue
= wxPyEmptyString
;
24946 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
24947 bool temp3
= False
;
24948 bool temp4
= False
;
24949 PyObject
* obj0
= 0 ;
24950 PyObject
* obj2
= 0 ;
24951 PyObject
* obj3
= 0 ;
24952 char *kwnames
[] = {
24953 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
24956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
24957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24959 arg3
= wxString_in_helper(obj2
);
24960 if (arg3
== NULL
) SWIG_fail
;
24965 arg4
= wxString_in_helper(obj3
);
24966 if (arg4
== NULL
) SWIG_fail
;
24971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24972 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
24974 wxPyEndAllowThreads(__tstate
);
24975 if (PyErr_Occurred()) SWIG_fail
;
24977 Py_INCREF(Py_None
); resultobj
= Py_None
;
25000 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25001 PyObject
*resultobj
;
25002 wxMenu
*arg1
= (wxMenu
*) 0 ;
25004 wxString
*arg3
= 0 ;
25005 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25006 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25007 bool temp3
= False
;
25008 bool temp4
= False
;
25009 PyObject
* obj0
= 0 ;
25010 PyObject
* obj2
= 0 ;
25011 PyObject
* obj3
= 0 ;
25012 char *kwnames
[] = {
25013 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25019 arg3
= wxString_in_helper(obj2
);
25020 if (arg3
== NULL
) SWIG_fail
;
25025 arg4
= wxString_in_helper(obj3
);
25026 if (arg4
== NULL
) SWIG_fail
;
25031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25032 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25034 wxPyEndAllowThreads(__tstate
);
25035 if (PyErr_Occurred()) SWIG_fail
;
25037 Py_INCREF(Py_None
); resultobj
= Py_None
;
25060 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25061 PyObject
*resultobj
;
25062 wxMenu
*arg1
= (wxMenu
*) 0 ;
25064 wxString
*arg3
= 0 ;
25065 wxMenu
*arg4
= (wxMenu
*) 0 ;
25066 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25067 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25068 bool temp3
= False
;
25069 bool temp5
= False
;
25070 PyObject
* obj0
= 0 ;
25071 PyObject
* obj2
= 0 ;
25072 PyObject
* obj3
= 0 ;
25073 PyObject
* obj4
= 0 ;
25074 char *kwnames
[] = {
25075 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25081 arg3
= wxString_in_helper(obj2
);
25082 if (arg3
== NULL
) SWIG_fail
;
25085 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25088 arg5
= wxString_in_helper(obj4
);
25089 if (arg5
== NULL
) SWIG_fail
;
25094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25095 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25097 wxPyEndAllowThreads(__tstate
);
25098 if (PyErr_Occurred()) SWIG_fail
;
25100 Py_INCREF(Py_None
); resultobj
= Py_None
;
25123 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25124 PyObject
*resultobj
;
25125 wxMenu
*arg1
= (wxMenu
*) 0 ;
25126 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25127 PyObject
* obj0
= 0 ;
25128 PyObject
* obj1
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self",(char *) "item", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 (arg1
)->Append(arg2
);
25140 wxPyEndAllowThreads(__tstate
);
25141 if (PyErr_Occurred()) SWIG_fail
;
25143 Py_INCREF(Py_None
); resultobj
= Py_None
;
25150 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25151 PyObject
*resultobj
;
25152 wxMenu
*arg1
= (wxMenu
*) 0 ;
25153 PyObject
* obj0
= 0 ;
25154 char *kwnames
[] = {
25155 (char *) "self", NULL
25158 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
25159 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25164 wxPyEndAllowThreads(__tstate
);
25165 if (PyErr_Occurred()) SWIG_fail
;
25167 Py_INCREF(Py_None
); resultobj
= Py_None
;
25174 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25175 PyObject
*resultobj
;
25176 wxMenu
*arg1
= (wxMenu
*) 0 ;
25178 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
25180 PyObject
* obj0
= 0 ;
25181 PyObject
* obj1
= 0 ;
25182 PyObject
* obj2
= 0 ;
25183 char *kwnames
[] = {
25184 (char *) "self",(char *) "pos",(char *) "item", NULL
25187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25189 arg2
= (size_t) PyInt_AsLong(obj1
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25191 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
25196 wxPyEndAllowThreads(__tstate
);
25197 if (PyErr_Occurred()) SWIG_fail
;
25199 resultobj
= PyInt_FromLong((long)result
);
25206 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25207 PyObject
*resultobj
;
25208 wxMenu
*arg1
= (wxMenu
*) 0 ;
25211 wxString
*arg4
= 0 ;
25212 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25213 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25214 int arg6
= (int) wxITEM_NORMAL
;
25215 bool temp4
= False
;
25216 bool temp5
= False
;
25217 PyObject
* obj0
= 0 ;
25218 PyObject
* obj1
= 0 ;
25219 PyObject
* obj3
= 0 ;
25220 PyObject
* obj4
= 0 ;
25221 char *kwnames
[] = {
25222 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
25226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25227 arg2
= (size_t) PyInt_AsLong(obj1
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25230 arg4
= wxString_in_helper(obj3
);
25231 if (arg4
== NULL
) SWIG_fail
;
25236 arg5
= wxString_in_helper(obj4
);
25237 if (arg5
== NULL
) SWIG_fail
;
25242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25243 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
25245 wxPyEndAllowThreads(__tstate
);
25246 if (PyErr_Occurred()) SWIG_fail
;
25248 Py_INCREF(Py_None
); resultobj
= Py_None
;
25271 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25272 PyObject
*resultobj
;
25273 wxMenu
*arg1
= (wxMenu
*) 0 ;
25275 PyObject
* obj0
= 0 ;
25276 PyObject
* obj1
= 0 ;
25277 char *kwnames
[] = {
25278 (char *) "self",(char *) "pos", NULL
25281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
25282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25283 arg2
= (size_t) PyInt_AsLong(obj1
);
25284 if (PyErr_Occurred()) SWIG_fail
;
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 (arg1
)->InsertSeparator(arg2
);
25289 wxPyEndAllowThreads(__tstate
);
25290 if (PyErr_Occurred()) SWIG_fail
;
25292 Py_INCREF(Py_None
); resultobj
= Py_None
;
25299 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25300 PyObject
*resultobj
;
25301 wxMenu
*arg1
= (wxMenu
*) 0 ;
25304 wxString
*arg4
= 0 ;
25305 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25306 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25307 bool temp4
= False
;
25308 bool temp5
= False
;
25309 PyObject
* obj0
= 0 ;
25310 PyObject
* obj1
= 0 ;
25311 PyObject
* obj3
= 0 ;
25312 PyObject
* obj4
= 0 ;
25313 char *kwnames
[] = {
25314 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25319 arg2
= (size_t) PyInt_AsLong(obj1
);
25320 if (PyErr_Occurred()) SWIG_fail
;
25322 arg4
= wxString_in_helper(obj3
);
25323 if (arg4
== NULL
) SWIG_fail
;
25328 arg5
= wxString_in_helper(obj4
);
25329 if (arg5
== NULL
) SWIG_fail
;
25334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25335 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25337 wxPyEndAllowThreads(__tstate
);
25338 if (PyErr_Occurred()) SWIG_fail
;
25340 Py_INCREF(Py_None
); resultobj
= Py_None
;
25363 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25364 PyObject
*resultobj
;
25365 wxMenu
*arg1
= (wxMenu
*) 0 ;
25368 wxString
*arg4
= 0 ;
25369 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25370 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25371 bool temp4
= False
;
25372 bool temp5
= False
;
25373 PyObject
* obj0
= 0 ;
25374 PyObject
* obj1
= 0 ;
25375 PyObject
* obj3
= 0 ;
25376 PyObject
* obj4
= 0 ;
25377 char *kwnames
[] = {
25378 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25382 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25383 arg2
= (size_t) PyInt_AsLong(obj1
);
25384 if (PyErr_Occurred()) SWIG_fail
;
25386 arg4
= wxString_in_helper(obj3
);
25387 if (arg4
== NULL
) SWIG_fail
;
25392 arg5
= wxString_in_helper(obj4
);
25393 if (arg5
== NULL
) SWIG_fail
;
25398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25399 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25401 wxPyEndAllowThreads(__tstate
);
25402 if (PyErr_Occurred()) SWIG_fail
;
25404 Py_INCREF(Py_None
); resultobj
= Py_None
;
25427 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25428 PyObject
*resultobj
;
25429 wxMenu
*arg1
= (wxMenu
*) 0 ;
25432 wxString
*arg4
= 0 ;
25433 wxMenu
*arg5
= (wxMenu
*) 0 ;
25434 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25435 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25436 bool temp4
= False
;
25437 bool temp6
= False
;
25438 PyObject
* obj0
= 0 ;
25439 PyObject
* obj1
= 0 ;
25440 PyObject
* obj3
= 0 ;
25441 PyObject
* obj4
= 0 ;
25442 PyObject
* obj5
= 0 ;
25443 char *kwnames
[] = {
25444 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25449 arg2
= (size_t) PyInt_AsLong(obj1
);
25450 if (PyErr_Occurred()) SWIG_fail
;
25452 arg4
= wxString_in_helper(obj3
);
25453 if (arg4
== NULL
) SWIG_fail
;
25456 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25459 arg6
= wxString_in_helper(obj5
);
25460 if (arg6
== NULL
) SWIG_fail
;
25465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25466 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25468 wxPyEndAllowThreads(__tstate
);
25469 if (PyErr_Occurred()) SWIG_fail
;
25471 Py_INCREF(Py_None
); resultobj
= Py_None
;
25494 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25495 PyObject
*resultobj
;
25496 wxMenu
*arg1
= (wxMenu
*) 0 ;
25497 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25498 PyObject
* obj0
= 0 ;
25499 PyObject
* obj1
= 0 ;
25500 char *kwnames
[] = {
25501 (char *) "self",(char *) "item", NULL
25504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25506 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25509 (arg1
)->Prepend(arg2
);
25511 wxPyEndAllowThreads(__tstate
);
25512 if (PyErr_Occurred()) SWIG_fail
;
25514 Py_INCREF(Py_None
); resultobj
= Py_None
;
25521 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25522 PyObject
*resultobj
;
25523 wxMenu
*arg1
= (wxMenu
*) 0 ;
25525 wxString
*arg3
= 0 ;
25526 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25527 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25528 int arg5
= (int) wxITEM_NORMAL
;
25529 bool temp3
= False
;
25530 bool temp4
= False
;
25531 PyObject
* obj0
= 0 ;
25532 PyObject
* obj2
= 0 ;
25533 PyObject
* obj3
= 0 ;
25534 char *kwnames
[] = {
25535 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25541 arg3
= wxString_in_helper(obj2
);
25542 if (arg3
== NULL
) SWIG_fail
;
25547 arg4
= wxString_in_helper(obj3
);
25548 if (arg4
== NULL
) SWIG_fail
;
25553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25554 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 Py_INCREF(Py_None
); resultobj
= Py_None
;
25582 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25583 PyObject
*resultobj
;
25584 wxMenu
*arg1
= (wxMenu
*) 0 ;
25585 PyObject
* obj0
= 0 ;
25586 char *kwnames
[] = {
25587 (char *) "self", NULL
25590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25594 (arg1
)->PrependSeparator();
25596 wxPyEndAllowThreads(__tstate
);
25597 if (PyErr_Occurred()) SWIG_fail
;
25599 Py_INCREF(Py_None
); resultobj
= Py_None
;
25606 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25607 PyObject
*resultobj
;
25608 wxMenu
*arg1
= (wxMenu
*) 0 ;
25610 wxString
*arg3
= 0 ;
25611 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25612 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25613 bool temp3
= False
;
25614 bool temp4
= False
;
25615 PyObject
* obj0
= 0 ;
25616 PyObject
* obj2
= 0 ;
25617 PyObject
* obj3
= 0 ;
25618 char *kwnames
[] = {
25619 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25625 arg3
= wxString_in_helper(obj2
);
25626 if (arg3
== NULL
) SWIG_fail
;
25631 arg4
= wxString_in_helper(obj3
);
25632 if (arg4
== NULL
) SWIG_fail
;
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25640 wxPyEndAllowThreads(__tstate
);
25641 if (PyErr_Occurred()) SWIG_fail
;
25643 Py_INCREF(Py_None
); resultobj
= Py_None
;
25666 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25667 PyObject
*resultobj
;
25668 wxMenu
*arg1
= (wxMenu
*) 0 ;
25670 wxString
*arg3
= 0 ;
25671 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25672 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25673 bool temp3
= False
;
25674 bool temp4
= False
;
25675 PyObject
* obj0
= 0 ;
25676 PyObject
* obj2
= 0 ;
25677 PyObject
* obj3
= 0 ;
25678 char *kwnames
[] = {
25679 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25685 arg3
= wxString_in_helper(obj2
);
25686 if (arg3
== NULL
) SWIG_fail
;
25691 arg4
= wxString_in_helper(obj3
);
25692 if (arg4
== NULL
) SWIG_fail
;
25697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25698 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25700 wxPyEndAllowThreads(__tstate
);
25701 if (PyErr_Occurred()) SWIG_fail
;
25703 Py_INCREF(Py_None
); resultobj
= Py_None
;
25726 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25727 PyObject
*resultobj
;
25728 wxMenu
*arg1
= (wxMenu
*) 0 ;
25730 wxString
*arg3
= 0 ;
25731 wxMenu
*arg4
= (wxMenu
*) 0 ;
25732 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25733 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25734 bool temp3
= False
;
25735 bool temp5
= False
;
25736 PyObject
* obj0
= 0 ;
25737 PyObject
* obj2
= 0 ;
25738 PyObject
* obj3
= 0 ;
25739 PyObject
* obj4
= 0 ;
25740 char *kwnames
[] = {
25741 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25747 arg3
= wxString_in_helper(obj2
);
25748 if (arg3
== NULL
) SWIG_fail
;
25751 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25754 arg5
= wxString_in_helper(obj4
);
25755 if (arg5
== NULL
) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25763 wxPyEndAllowThreads(__tstate
);
25764 if (PyErr_Occurred()) SWIG_fail
;
25766 Py_INCREF(Py_None
); resultobj
= Py_None
;
25789 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25790 PyObject
*resultobj
;
25791 wxMenu
*arg1
= (wxMenu
*) 0 ;
25793 wxMenuItem
*result
;
25794 PyObject
* obj0
= 0 ;
25795 char *kwnames
[] = {
25796 (char *) "self",(char *) "id", NULL
25799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25803 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25809 resultobj
= wxPyMake_wxObject(result
);
25817 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25818 PyObject
*resultobj
;
25819 wxMenu
*arg1
= (wxMenu
*) 0 ;
25820 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25821 wxMenuItem
*result
;
25822 PyObject
* obj0
= 0 ;
25823 PyObject
* obj1
= 0 ;
25824 char *kwnames
[] = {
25825 (char *) "self",(char *) "item", NULL
25828 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25829 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25830 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25833 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25835 wxPyEndAllowThreads(__tstate
);
25836 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= wxPyMake_wxObject(result
);
25847 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25848 PyObject
*resultobj
;
25849 wxMenu
*arg1
= (wxMenu
*) 0 ;
25852 PyObject
* obj0
= 0 ;
25853 char *kwnames
[] = {
25854 (char *) "self",(char *) "id", NULL
25857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
25858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25861 result
= (bool)(arg1
)->Delete(arg2
);
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25866 resultobj
= PyInt_FromLong((long)result
);
25873 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25874 PyObject
*resultobj
;
25875 wxMenu
*arg1
= (wxMenu
*) 0 ;
25876 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25878 PyObject
* obj0
= 0 ;
25879 PyObject
* obj1
= 0 ;
25880 char *kwnames
[] = {
25881 (char *) "self",(char *) "item", NULL
25884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25886 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25889 result
= (bool)(arg1
)->Delete(arg2
);
25891 wxPyEndAllowThreads(__tstate
);
25892 if (PyErr_Occurred()) SWIG_fail
;
25894 resultobj
= PyInt_FromLong((long)result
);
25901 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25902 PyObject
*resultobj
;
25903 wxMenu
*arg1
= (wxMenu
*) 0 ;
25904 PyObject
* obj0
= 0 ;
25905 char *kwnames
[] = {
25906 (char *) "self", NULL
25909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
25910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25913 wxMenu_Destroy(arg1
);
25915 wxPyEndAllowThreads(__tstate
);
25916 if (PyErr_Occurred()) SWIG_fail
;
25918 Py_INCREF(Py_None
); resultobj
= Py_None
;
25925 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25926 PyObject
*resultobj
;
25927 wxMenu
*arg1
= (wxMenu
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 char *kwnames
[] = {
25932 (char *) "self",(char *) "id", NULL
25935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
25936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 result
= (bool)(arg1
)->Destroy(arg2
);
25941 wxPyEndAllowThreads(__tstate
);
25942 if (PyErr_Occurred()) SWIG_fail
;
25944 resultobj
= PyInt_FromLong((long)result
);
25951 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25952 PyObject
*resultobj
;
25953 wxMenu
*arg1
= (wxMenu
*) 0 ;
25954 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25956 PyObject
* obj0
= 0 ;
25957 PyObject
* obj1
= 0 ;
25958 char *kwnames
[] = {
25959 (char *) "self",(char *) "item", NULL
25962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25963 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25964 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25967 result
= (bool)(arg1
)->Destroy(arg2
);
25969 wxPyEndAllowThreads(__tstate
);
25970 if (PyErr_Occurred()) SWIG_fail
;
25972 resultobj
= PyInt_FromLong((long)result
);
25979 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25980 PyObject
*resultobj
;
25981 wxMenu
*arg1
= (wxMenu
*) 0 ;
25983 PyObject
* obj0
= 0 ;
25984 char *kwnames
[] = {
25985 (char *) "self", NULL
25988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
25989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25992 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
25994 wxPyEndAllowThreads(__tstate
);
25995 if (PyErr_Occurred()) SWIG_fail
;
25997 resultobj
= PyInt_FromLong((long)result
);
26004 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26005 PyObject
*resultobj
;
26006 wxMenu
*arg1
= (wxMenu
*) 0 ;
26008 PyObject
* obj0
= 0 ;
26009 char *kwnames
[] = {
26010 (char *) "self", NULL
26013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
26014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26017 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
26019 wxPyEndAllowThreads(__tstate
);
26020 if (PyErr_Occurred()) SWIG_fail
;
26022 resultobj
= result
;
26029 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26030 PyObject
*resultobj
;
26031 wxMenu
*arg1
= (wxMenu
*) 0 ;
26032 wxString
*arg2
= 0 ;
26034 bool temp2
= False
;
26035 PyObject
* obj0
= 0 ;
26036 PyObject
* obj1
= 0 ;
26037 char *kwnames
[] = {
26038 (char *) "self",(char *) "item", NULL
26041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26044 arg2
= wxString_in_helper(obj1
);
26045 if (arg2
== NULL
) SWIG_fail
;
26049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26050 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
26052 wxPyEndAllowThreads(__tstate
);
26053 if (PyErr_Occurred()) SWIG_fail
;
26055 resultobj
= PyInt_FromLong((long)result
);
26070 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26071 PyObject
*resultobj
;
26072 wxMenu
*arg1
= (wxMenu
*) 0 ;
26074 wxMenuItem
*result
;
26075 PyObject
* obj0
= 0 ;
26076 char *kwnames
[] = {
26077 (char *) "self",(char *) "id", NULL
26080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
26081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26084 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
26086 wxPyEndAllowThreads(__tstate
);
26087 if (PyErr_Occurred()) SWIG_fail
;
26090 resultobj
= wxPyMake_wxObject(result
);
26098 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26099 PyObject
*resultobj
;
26100 wxMenu
*arg1
= (wxMenu
*) 0 ;
26102 wxMenuItem
*result
;
26103 PyObject
* obj0
= 0 ;
26104 PyObject
* obj1
= 0 ;
26105 char *kwnames
[] = {
26106 (char *) "self",(char *) "position", NULL
26109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26111 arg2
= (size_t) PyInt_AsLong(obj1
);
26112 if (PyErr_Occurred()) SWIG_fail
;
26114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26115 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
26117 wxPyEndAllowThreads(__tstate
);
26118 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= wxPyMake_wxObject(result
);
26129 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26130 PyObject
*resultobj
;
26131 wxMenu
*arg1
= (wxMenu
*) 0 ;
26134 PyObject
* obj0
= 0 ;
26135 PyObject
* obj2
= 0 ;
26136 char *kwnames
[] = {
26137 (char *) "self",(char *) "id",(char *) "enable", NULL
26140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26141 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26142 arg3
= PyInt_AsLong(obj2
) ? true : false;
26143 if (PyErr_Occurred()) SWIG_fail
;
26145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26146 (arg1
)->Enable(arg2
,arg3
);
26148 wxPyEndAllowThreads(__tstate
);
26149 if (PyErr_Occurred()) SWIG_fail
;
26151 Py_INCREF(Py_None
); resultobj
= Py_None
;
26158 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26159 PyObject
*resultobj
;
26160 wxMenu
*arg1
= (wxMenu
*) 0 ;
26163 PyObject
* obj0
= 0 ;
26164 char *kwnames
[] = {
26165 (char *) "self",(char *) "id", NULL
26168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
26169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26172 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
26174 wxPyEndAllowThreads(__tstate
);
26175 if (PyErr_Occurred()) SWIG_fail
;
26177 resultobj
= PyInt_FromLong((long)result
);
26184 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26185 PyObject
*resultobj
;
26186 wxMenu
*arg1
= (wxMenu
*) 0 ;
26189 PyObject
* obj0
= 0 ;
26190 PyObject
* obj2
= 0 ;
26191 char *kwnames
[] = {
26192 (char *) "self",(char *) "id",(char *) "check", NULL
26195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26197 arg3
= PyInt_AsLong(obj2
) ? true : false;
26198 if (PyErr_Occurred()) SWIG_fail
;
26200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26201 (arg1
)->Check(arg2
,arg3
);
26203 wxPyEndAllowThreads(__tstate
);
26204 if (PyErr_Occurred()) SWIG_fail
;
26206 Py_INCREF(Py_None
); resultobj
= Py_None
;
26213 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26214 PyObject
*resultobj
;
26215 wxMenu
*arg1
= (wxMenu
*) 0 ;
26218 PyObject
* obj0
= 0 ;
26219 char *kwnames
[] = {
26220 (char *) "self",(char *) "id", NULL
26223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
26224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= PyInt_FromLong((long)result
);
26239 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
;
26241 wxMenu
*arg1
= (wxMenu
*) 0 ;
26243 wxString
*arg3
= 0 ;
26244 bool temp3
= False
;
26245 PyObject
* obj0
= 0 ;
26246 PyObject
* obj2
= 0 ;
26247 char *kwnames
[] = {
26248 (char *) "self",(char *) "id",(char *) "label", NULL
26251 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26252 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26254 arg3
= wxString_in_helper(obj2
);
26255 if (arg3
== NULL
) SWIG_fail
;
26259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26260 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
26262 wxPyEndAllowThreads(__tstate
);
26263 if (PyErr_Occurred()) SWIG_fail
;
26265 Py_INCREF(Py_None
); resultobj
= Py_None
;
26280 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26281 PyObject
*resultobj
;
26282 wxMenu
*arg1
= (wxMenu
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 char *kwnames
[] = {
26287 (char *) "self",(char *) "id", NULL
26290 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
26291 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26294 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26296 wxPyEndAllowThreads(__tstate
);
26297 if (PyErr_Occurred()) SWIG_fail
;
26301 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26303 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26312 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26313 PyObject
*resultobj
;
26314 wxMenu
*arg1
= (wxMenu
*) 0 ;
26316 wxString
*arg3
= 0 ;
26317 bool temp3
= False
;
26318 PyObject
* obj0
= 0 ;
26319 PyObject
* obj2
= 0 ;
26320 char *kwnames
[] = {
26321 (char *) "self",(char *) "id",(char *) "helpString", NULL
26324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26327 arg3
= wxString_in_helper(obj2
);
26328 if (arg3
== NULL
) SWIG_fail
;
26332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26333 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26335 wxPyEndAllowThreads(__tstate
);
26336 if (PyErr_Occurred()) SWIG_fail
;
26338 Py_INCREF(Py_None
); resultobj
= Py_None
;
26353 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
;
26355 wxMenu
*arg1
= (wxMenu
*) 0 ;
26358 PyObject
* obj0
= 0 ;
26359 char *kwnames
[] = {
26360 (char *) "self",(char *) "id", NULL
26363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26369 wxPyEndAllowThreads(__tstate
);
26370 if (PyErr_Occurred()) SWIG_fail
;
26374 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26376 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26385 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26386 PyObject
*resultobj
;
26387 wxMenu
*arg1
= (wxMenu
*) 0 ;
26388 wxString
*arg2
= 0 ;
26389 bool temp2
= False
;
26390 PyObject
* obj0
= 0 ;
26391 PyObject
* obj1
= 0 ;
26392 char *kwnames
[] = {
26393 (char *) "self",(char *) "title", NULL
26396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26399 arg2
= wxString_in_helper(obj1
);
26400 if (arg2
== NULL
) SWIG_fail
;
26404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26405 (arg1
)->SetTitle((wxString
const &)*arg2
);
26407 wxPyEndAllowThreads(__tstate
);
26408 if (PyErr_Occurred()) SWIG_fail
;
26410 Py_INCREF(Py_None
); resultobj
= Py_None
;
26425 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26426 PyObject
*resultobj
;
26427 wxMenu
*arg1
= (wxMenu
*) 0 ;
26429 PyObject
* obj0
= 0 ;
26430 char *kwnames
[] = {
26431 (char *) "self", NULL
26434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26438 result
= ((wxMenu
const *)arg1
)->GetTitle();
26440 wxPyEndAllowThreads(__tstate
);
26441 if (PyErr_Occurred()) SWIG_fail
;
26445 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26447 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26456 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26457 PyObject
*resultobj
;
26458 wxMenu
*arg1
= (wxMenu
*) 0 ;
26459 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26460 PyObject
* obj0
= 0 ;
26461 PyObject
* obj1
= 0 ;
26462 char *kwnames
[] = {
26463 (char *) "self",(char *) "handler", NULL
26466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26468 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 (arg1
)->SetEventHandler(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26476 Py_INCREF(Py_None
); resultobj
= Py_None
;
26483 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26484 PyObject
*resultobj
;
26485 wxMenu
*arg1
= (wxMenu
*) 0 ;
26486 wxEvtHandler
*result
;
26487 PyObject
* obj0
= 0 ;
26488 char *kwnames
[] = {
26489 (char *) "self", NULL
26492 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26493 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26496 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26498 wxPyEndAllowThreads(__tstate
);
26499 if (PyErr_Occurred()) SWIG_fail
;
26502 resultobj
= wxPyMake_wxObject(result
);
26510 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26511 PyObject
*resultobj
;
26512 wxMenu
*arg1
= (wxMenu
*) 0 ;
26513 wxWindow
*arg2
= (wxWindow
*) 0 ;
26514 PyObject
* obj0
= 0 ;
26515 PyObject
* obj1
= 0 ;
26516 char *kwnames
[] = {
26517 (char *) "self",(char *) "win", NULL
26520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26522 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26525 (arg1
)->SetInvokingWindow(arg2
);
26527 wxPyEndAllowThreads(__tstate
);
26528 if (PyErr_Occurred()) SWIG_fail
;
26530 Py_INCREF(Py_None
); resultobj
= Py_None
;
26537 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26538 PyObject
*resultobj
;
26539 wxMenu
*arg1
= (wxMenu
*) 0 ;
26541 PyObject
* obj0
= 0 ;
26542 char *kwnames
[] = {
26543 (char *) "self", NULL
26546 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26547 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26550 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26552 wxPyEndAllowThreads(__tstate
);
26553 if (PyErr_Occurred()) SWIG_fail
;
26556 resultobj
= wxPyMake_wxObject(result
);
26564 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26565 PyObject
*resultobj
;
26566 wxMenu
*arg1
= (wxMenu
*) 0 ;
26568 PyObject
* obj0
= 0 ;
26569 char *kwnames
[] = {
26570 (char *) "self", NULL
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26577 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26579 wxPyEndAllowThreads(__tstate
);
26580 if (PyErr_Occurred()) SWIG_fail
;
26582 resultobj
= PyInt_FromLong((long)result
);
26589 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26590 PyObject
*resultobj
;
26591 wxMenu
*arg1
= (wxMenu
*) 0 ;
26592 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26593 PyObject
* obj0
= 0 ;
26594 PyObject
* obj1
= 0 ;
26595 char *kwnames
[] = {
26596 (char *) "self",(char *) "source", NULL
26599 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26600 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26602 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26606 (arg1
)->UpdateUI(arg2
);
26608 wxPyEndAllowThreads(__tstate
);
26609 if (PyErr_Occurred()) SWIG_fail
;
26611 Py_INCREF(Py_None
); resultobj
= Py_None
;
26618 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26619 PyObject
*resultobj
;
26620 wxMenu
*arg1
= (wxMenu
*) 0 ;
26622 PyObject
* obj0
= 0 ;
26623 char *kwnames
[] = {
26624 (char *) "self", NULL
26627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26631 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26637 resultobj
= wxPyMake_wxObject(result
);
26645 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26646 PyObject
*resultobj
;
26647 wxMenu
*arg1
= (wxMenu
*) 0 ;
26648 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26649 PyObject
* obj0
= 0 ;
26650 PyObject
* obj1
= 0 ;
26651 char *kwnames
[] = {
26652 (char *) "self",(char *) "menubar", NULL
26655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26657 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26660 (arg1
)->Attach(arg2
);
26662 wxPyEndAllowThreads(__tstate
);
26663 if (PyErr_Occurred()) SWIG_fail
;
26665 Py_INCREF(Py_None
); resultobj
= Py_None
;
26672 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26673 PyObject
*resultobj
;
26674 wxMenu
*arg1
= (wxMenu
*) 0 ;
26675 PyObject
* obj0
= 0 ;
26676 char *kwnames
[] = {
26677 (char *) "self", NULL
26680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26686 wxPyEndAllowThreads(__tstate
);
26687 if (PyErr_Occurred()) SWIG_fail
;
26689 Py_INCREF(Py_None
); resultobj
= Py_None
;
26696 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26697 PyObject
*resultobj
;
26698 wxMenu
*arg1
= (wxMenu
*) 0 ;
26700 PyObject
* obj0
= 0 ;
26701 char *kwnames
[] = {
26702 (char *) "self", NULL
26705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26709 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26711 wxPyEndAllowThreads(__tstate
);
26712 if (PyErr_Occurred()) SWIG_fail
;
26714 resultobj
= PyInt_FromLong((long)result
);
26721 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26722 PyObject
*resultobj
;
26723 wxMenu
*arg1
= (wxMenu
*) 0 ;
26724 wxMenu
*arg2
= (wxMenu
*) 0 ;
26725 PyObject
* obj0
= 0 ;
26726 PyObject
* obj1
= 0 ;
26727 char *kwnames
[] = {
26728 (char *) "self",(char *) "parent", NULL
26731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26733 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 (arg1
)->SetParent(arg2
);
26738 wxPyEndAllowThreads(__tstate
);
26739 if (PyErr_Occurred()) SWIG_fail
;
26741 Py_INCREF(Py_None
); resultobj
= Py_None
;
26748 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26749 PyObject
*resultobj
;
26750 wxMenu
*arg1
= (wxMenu
*) 0 ;
26752 PyObject
* obj0
= 0 ;
26753 char *kwnames
[] = {
26754 (char *) "self", NULL
26757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26761 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26763 wxPyEndAllowThreads(__tstate
);
26764 if (PyErr_Occurred()) SWIG_fail
;
26767 resultobj
= wxPyMake_wxObject(result
);
26775 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26777 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26778 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26780 return Py_BuildValue((char *)"");
26782 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26783 PyObject
*resultobj
;
26784 long arg1
= (long) 0 ;
26786 char *kwnames
[] = {
26787 (char *) "style", NULL
26790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26793 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26795 wxPyEndAllowThreads(__tstate
);
26796 if (PyErr_Occurred()) SWIG_fail
;
26799 resultobj
= wxPyMake_wxObject(result
);
26807 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26808 PyObject
*resultobj
;
26809 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26810 wxMenu
*arg2
= (wxMenu
*) 0 ;
26811 wxString
*arg3
= 0 ;
26813 bool temp3
= False
;
26814 PyObject
* obj0
= 0 ;
26815 PyObject
* obj1
= 0 ;
26816 PyObject
* obj2
= 0 ;
26817 char *kwnames
[] = {
26818 (char *) "self",(char *) "menu",(char *) "title", NULL
26821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26823 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26825 arg3
= wxString_in_helper(obj2
);
26826 if (arg3
== NULL
) SWIG_fail
;
26830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26831 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
26833 wxPyEndAllowThreads(__tstate
);
26834 if (PyErr_Occurred()) SWIG_fail
;
26836 resultobj
= PyInt_FromLong((long)result
);
26851 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26852 PyObject
*resultobj
;
26853 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26855 wxMenu
*arg3
= (wxMenu
*) 0 ;
26856 wxString
*arg4
= 0 ;
26858 bool temp4
= False
;
26859 PyObject
* obj0
= 0 ;
26860 PyObject
* obj1
= 0 ;
26861 PyObject
* obj2
= 0 ;
26862 PyObject
* obj3
= 0 ;
26863 char *kwnames
[] = {
26864 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26869 arg2
= (size_t) PyInt_AsLong(obj1
);
26870 if (PyErr_Occurred()) SWIG_fail
;
26871 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26873 arg4
= wxString_in_helper(obj3
);
26874 if (arg4
== NULL
) SWIG_fail
;
26878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26879 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
26881 wxPyEndAllowThreads(__tstate
);
26882 if (PyErr_Occurred()) SWIG_fail
;
26884 resultobj
= PyInt_FromLong((long)result
);
26899 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26900 PyObject
*resultobj
;
26901 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26903 PyObject
* obj0
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
26909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26912 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
26914 wxPyEndAllowThreads(__tstate
);
26915 if (PyErr_Occurred()) SWIG_fail
;
26917 resultobj
= PyInt_FromLong((long)result
);
26924 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26925 PyObject
*resultobj
;
26926 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26929 PyObject
* obj0
= 0 ;
26930 PyObject
* obj1
= 0 ;
26931 char *kwnames
[] = {
26932 (char *) "self",(char *) "pos", NULL
26935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
26936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26937 arg2
= (size_t) PyInt_AsLong(obj1
);
26938 if (PyErr_Occurred()) SWIG_fail
;
26940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26941 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
26943 wxPyEndAllowThreads(__tstate
);
26944 if (PyErr_Occurred()) SWIG_fail
;
26947 resultobj
= wxPyMake_wxObject(result
);
26955 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26956 PyObject
*resultobj
;
26957 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26959 wxMenu
*arg3
= (wxMenu
*) 0 ;
26960 wxString
*arg4
= 0 ;
26962 bool temp4
= False
;
26963 PyObject
* obj0
= 0 ;
26964 PyObject
* obj1
= 0 ;
26965 PyObject
* obj2
= 0 ;
26966 PyObject
* obj3
= 0 ;
26967 char *kwnames
[] = {
26968 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
26971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
26972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26973 arg2
= (size_t) PyInt_AsLong(obj1
);
26974 if (PyErr_Occurred()) SWIG_fail
;
26975 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26977 arg4
= wxString_in_helper(obj3
);
26978 if (arg4
== NULL
) SWIG_fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
26985 wxPyEndAllowThreads(__tstate
);
26986 if (PyErr_Occurred()) SWIG_fail
;
26989 resultobj
= wxPyMake_wxObject(result
);
27005 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27006 PyObject
*resultobj
;
27007 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27010 PyObject
* obj0
= 0 ;
27011 PyObject
* obj1
= 0 ;
27012 char *kwnames
[] = {
27013 (char *) "self",(char *) "pos", NULL
27016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
27017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27018 arg2
= (size_t) PyInt_AsLong(obj1
);
27019 if (PyErr_Occurred()) SWIG_fail
;
27021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27022 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
27024 wxPyEndAllowThreads(__tstate
);
27025 if (PyErr_Occurred()) SWIG_fail
;
27028 resultobj
= wxPyMake_wxObject(result
);
27036 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27037 PyObject
*resultobj
;
27038 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27041 PyObject
* obj0
= 0 ;
27042 PyObject
* obj1
= 0 ;
27043 PyObject
* obj2
= 0 ;
27044 char *kwnames
[] = {
27045 (char *) "self",(char *) "pos",(char *) "enable", NULL
27048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27050 arg2
= (size_t) PyInt_AsLong(obj1
);
27051 if (PyErr_Occurred()) SWIG_fail
;
27052 arg3
= PyInt_AsLong(obj2
) ? true : false;
27053 if (PyErr_Occurred()) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 (arg1
)->EnableTop(arg2
,arg3
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 Py_INCREF(Py_None
); resultobj
= Py_None
;
27068 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27069 PyObject
*resultobj
;
27070 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27073 PyObject
* obj0
= 0 ;
27074 PyObject
* obj1
= 0 ;
27075 char *kwnames
[] = {
27076 (char *) "self",(char *) "pos", NULL
27079 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27080 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27081 arg2
= (size_t) PyInt_AsLong(obj1
);
27082 if (PyErr_Occurred()) SWIG_fail
;
27084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27085 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
27087 wxPyEndAllowThreads(__tstate
);
27088 if (PyErr_Occurred()) SWIG_fail
;
27090 resultobj
= PyInt_FromLong((long)result
);
27097 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27098 PyObject
*resultobj
;
27099 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27101 wxString
*arg3
= 0 ;
27102 bool temp3
= False
;
27103 PyObject
* obj0
= 0 ;
27104 PyObject
* obj1
= 0 ;
27105 PyObject
* obj2
= 0 ;
27106 char *kwnames
[] = {
27107 (char *) "self",(char *) "pos",(char *) "label", NULL
27110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27111 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27112 arg2
= (size_t) PyInt_AsLong(obj1
);
27113 if (PyErr_Occurred()) SWIG_fail
;
27115 arg3
= wxString_in_helper(obj2
);
27116 if (arg3
== NULL
) SWIG_fail
;
27120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27121 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
27123 wxPyEndAllowThreads(__tstate
);
27124 if (PyErr_Occurred()) SWIG_fail
;
27126 Py_INCREF(Py_None
); resultobj
= Py_None
;
27141 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27142 PyObject
*resultobj
;
27143 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27146 PyObject
* obj0
= 0 ;
27147 PyObject
* obj1
= 0 ;
27148 char *kwnames
[] = {
27149 (char *) "self",(char *) "pos", NULL
27152 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27153 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27154 arg2
= (size_t) PyInt_AsLong(obj1
);
27155 if (PyErr_Occurred()) SWIG_fail
;
27157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27158 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
27160 wxPyEndAllowThreads(__tstate
);
27161 if (PyErr_Occurred()) SWIG_fail
;
27165 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27167 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27176 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27177 PyObject
*resultobj
;
27178 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27179 wxString
*arg2
= 0 ;
27180 wxString
*arg3
= 0 ;
27182 bool temp2
= False
;
27183 bool temp3
= False
;
27184 PyObject
* obj0
= 0 ;
27185 PyObject
* obj1
= 0 ;
27186 PyObject
* obj2
= 0 ;
27187 char *kwnames
[] = {
27188 (char *) "self",(char *) "menu",(char *) "item", NULL
27191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27194 arg2
= wxString_in_helper(obj1
);
27195 if (arg2
== NULL
) SWIG_fail
;
27199 arg3
= wxString_in_helper(obj2
);
27200 if (arg3
== NULL
) SWIG_fail
;
27204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27205 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
27207 wxPyEndAllowThreads(__tstate
);
27208 if (PyErr_Occurred()) SWIG_fail
;
27210 resultobj
= PyInt_FromLong((long)result
);
27233 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27234 PyObject
*resultobj
;
27235 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27237 wxMenuItem
*result
;
27238 PyObject
* obj0
= 0 ;
27239 char *kwnames
[] = {
27240 (char *) "self",(char *) "id", NULL
27243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
27244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27247 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
27249 wxPyEndAllowThreads(__tstate
);
27250 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= wxPyMake_wxObject(result
);
27261 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27262 PyObject
*resultobj
;
27263 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27264 wxString
*arg2
= 0 ;
27266 bool temp2
= False
;
27267 PyObject
* obj0
= 0 ;
27268 PyObject
* obj1
= 0 ;
27269 char *kwnames
[] = {
27270 (char *) "self",(char *) "title", NULL
27273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27274 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27276 arg2
= wxString_in_helper(obj1
);
27277 if (arg2
== NULL
) SWIG_fail
;
27281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27282 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
27284 wxPyEndAllowThreads(__tstate
);
27285 if (PyErr_Occurred()) SWIG_fail
;
27287 resultobj
= PyInt_FromLong((long)result
);
27302 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27303 PyObject
*resultobj
;
27304 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27307 PyObject
* obj0
= 0 ;
27308 PyObject
* obj2
= 0 ;
27309 char *kwnames
[] = {
27310 (char *) "self",(char *) "id",(char *) "enable", NULL
27313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27315 arg3
= PyInt_AsLong(obj2
) ? true : false;
27316 if (PyErr_Occurred()) SWIG_fail
;
27318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27319 (arg1
)->Enable(arg2
,arg3
);
27321 wxPyEndAllowThreads(__tstate
);
27322 if (PyErr_Occurred()) SWIG_fail
;
27324 Py_INCREF(Py_None
); resultobj
= Py_None
;
27331 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27332 PyObject
*resultobj
;
27333 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj2
= 0 ;
27338 char *kwnames
[] = {
27339 (char *) "self",(char *) "id",(char *) "check", NULL
27342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27344 arg3
= PyInt_AsLong(obj2
) ? true : false;
27345 if (PyErr_Occurred()) SWIG_fail
;
27347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27348 (arg1
)->Check(arg2
,arg3
);
27350 wxPyEndAllowThreads(__tstate
);
27351 if (PyErr_Occurred()) SWIG_fail
;
27353 Py_INCREF(Py_None
); resultobj
= Py_None
;
27360 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27361 PyObject
*resultobj
;
27362 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27365 PyObject
* obj0
= 0 ;
27366 char *kwnames
[] = {
27367 (char *) "self",(char *) "id", NULL
27370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27374 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27376 wxPyEndAllowThreads(__tstate
);
27377 if (PyErr_Occurred()) SWIG_fail
;
27379 resultobj
= PyInt_FromLong((long)result
);
27386 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27387 PyObject
*resultobj
;
27388 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27391 PyObject
* obj0
= 0 ;
27392 char *kwnames
[] = {
27393 (char *) "self",(char *) "id", NULL
27396 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27397 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27400 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27402 wxPyEndAllowThreads(__tstate
);
27403 if (PyErr_Occurred()) SWIG_fail
;
27405 resultobj
= PyInt_FromLong((long)result
);
27412 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27413 PyObject
*resultobj
;
27414 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27416 wxString
*arg3
= 0 ;
27417 bool temp3
= False
;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj2
= 0 ;
27420 char *kwnames
[] = {
27421 (char *) "self",(char *) "id",(char *) "label", NULL
27424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27427 arg3
= wxString_in_helper(obj2
);
27428 if (arg3
== NULL
) SWIG_fail
;
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27435 wxPyEndAllowThreads(__tstate
);
27436 if (PyErr_Occurred()) SWIG_fail
;
27438 Py_INCREF(Py_None
); resultobj
= Py_None
;
27453 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27454 PyObject
*resultobj
;
27455 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27458 PyObject
* obj0
= 0 ;
27459 char *kwnames
[] = {
27460 (char *) "self",(char *) "id", NULL
27463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27464 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27467 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27474 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27476 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27485 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27486 PyObject
*resultobj
;
27487 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27489 wxString
*arg3
= 0 ;
27490 bool temp3
= False
;
27491 PyObject
* obj0
= 0 ;
27492 PyObject
* obj2
= 0 ;
27493 char *kwnames
[] = {
27494 (char *) "self",(char *) "id",(char *) "helpString", NULL
27497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27500 arg3
= wxString_in_helper(obj2
);
27501 if (arg3
== NULL
) SWIG_fail
;
27505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27506 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27508 wxPyEndAllowThreads(__tstate
);
27509 if (PyErr_Occurred()) SWIG_fail
;
27511 Py_INCREF(Py_None
); resultobj
= Py_None
;
27526 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27527 PyObject
*resultobj
;
27528 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27531 PyObject
* obj0
= 0 ;
27532 char *kwnames
[] = {
27533 (char *) "self",(char *) "id", NULL
27536 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27537 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27540 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27542 wxPyEndAllowThreads(__tstate
);
27543 if (PyErr_Occurred()) SWIG_fail
;
27547 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27549 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27558 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27559 PyObject
*resultobj
;
27560 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27562 PyObject
* obj0
= 0 ;
27563 char *kwnames
[] = {
27564 (char *) "self", NULL
27567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27571 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27573 wxPyEndAllowThreads(__tstate
);
27574 if (PyErr_Occurred()) SWIG_fail
;
27577 resultobj
= wxPyMake_wxObject(result
);
27585 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
;
27587 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27589 PyObject
* obj0
= 0 ;
27590 char *kwnames
[] = {
27591 (char *) "self", NULL
27594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27598 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27600 wxPyEndAllowThreads(__tstate
);
27601 if (PyErr_Occurred()) SWIG_fail
;
27603 resultobj
= PyInt_FromLong((long)result
);
27610 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27611 PyObject
*resultobj
;
27612 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27613 wxFrame
*arg2
= (wxFrame
*) 0 ;
27614 PyObject
* obj0
= 0 ;
27615 PyObject
* obj1
= 0 ;
27616 char *kwnames
[] = {
27617 (char *) "self",(char *) "frame", NULL
27620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27622 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27625 (arg1
)->Attach(arg2
);
27627 wxPyEndAllowThreads(__tstate
);
27628 if (PyErr_Occurred()) SWIG_fail
;
27630 Py_INCREF(Py_None
); resultobj
= Py_None
;
27637 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27638 PyObject
*resultobj
;
27639 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27640 PyObject
* obj0
= 0 ;
27641 char *kwnames
[] = {
27642 (char *) "self", NULL
27645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27651 wxPyEndAllowThreads(__tstate
);
27652 if (PyErr_Occurred()) SWIG_fail
;
27654 Py_INCREF(Py_None
); resultobj
= Py_None
;
27661 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27663 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27664 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27666 return Py_BuildValue((char *)"");
27668 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27669 PyObject
*resultobj
;
27670 wxMenu
*arg1
= (wxMenu
*) NULL
;
27671 int arg2
= (int) wxID_SEPARATOR
;
27672 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27673 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27674 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27675 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27676 int arg5
= (int) wxITEM_NORMAL
;
27677 wxMenu
*arg6
= (wxMenu
*) NULL
;
27678 wxMenuItem
*result
;
27679 bool temp3
= False
;
27680 bool temp4
= False
;
27681 PyObject
* obj0
= 0 ;
27682 PyObject
* obj2
= 0 ;
27683 PyObject
* obj3
= 0 ;
27684 PyObject
* obj5
= 0 ;
27685 char *kwnames
[] = {
27686 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27695 arg3
= wxString_in_helper(obj2
);
27696 if (arg3
== NULL
) SWIG_fail
;
27702 arg4
= wxString_in_helper(obj3
);
27703 if (arg4
== NULL
) SWIG_fail
;
27708 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27712 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27714 wxPyEndAllowThreads(__tstate
);
27715 if (PyErr_Occurred()) SWIG_fail
;
27718 resultobj
= wxPyMake_wxObject(result
);
27742 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27743 PyObject
*resultobj
;
27744 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27746 PyObject
* obj0
= 0 ;
27747 char *kwnames
[] = {
27748 (char *) "self", NULL
27751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27757 wxPyEndAllowThreads(__tstate
);
27758 if (PyErr_Occurred()) SWIG_fail
;
27761 resultobj
= wxPyMake_wxObject(result
);
27769 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27770 PyObject
*resultobj
;
27771 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27772 wxMenu
*arg2
= (wxMenu
*) 0 ;
27773 PyObject
* obj0
= 0 ;
27774 PyObject
* obj1
= 0 ;
27775 char *kwnames
[] = {
27776 (char *) "self",(char *) "menu", NULL
27779 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27780 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27781 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27784 (arg1
)->SetMenu(arg2
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27789 Py_INCREF(Py_None
); resultobj
= Py_None
;
27796 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27797 PyObject
*resultobj
;
27798 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27800 PyObject
* obj0
= 0 ;
27801 char *kwnames
[] = {
27802 (char *) "self",(char *) "id", NULL
27805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27809 (arg1
)->SetId(arg2
);
27811 wxPyEndAllowThreads(__tstate
);
27812 if (PyErr_Occurred()) SWIG_fail
;
27814 Py_INCREF(Py_None
); resultobj
= Py_None
;
27821 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27822 PyObject
*resultobj
;
27823 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27825 PyObject
* obj0
= 0 ;
27826 char *kwnames
[] = {
27827 (char *) "self", NULL
27830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
27831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27834 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
27836 wxPyEndAllowThreads(__tstate
);
27837 if (PyErr_Occurred()) SWIG_fail
;
27839 resultobj
= PyInt_FromLong((long)result
);
27846 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27847 PyObject
*resultobj
;
27848 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27850 PyObject
* obj0
= 0 ;
27851 char *kwnames
[] = {
27852 (char *) "self", NULL
27855 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
27856 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27859 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
27861 wxPyEndAllowThreads(__tstate
);
27862 if (PyErr_Occurred()) SWIG_fail
;
27864 resultobj
= PyInt_FromLong((long)result
);
27871 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27872 PyObject
*resultobj
;
27873 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27874 wxString
*arg2
= 0 ;
27875 bool temp2
= False
;
27876 PyObject
* obj0
= 0 ;
27877 PyObject
* obj1
= 0 ;
27878 char *kwnames
[] = {
27879 (char *) "self",(char *) "str", NULL
27882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
27883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27885 arg2
= wxString_in_helper(obj1
);
27886 if (arg2
== NULL
) SWIG_fail
;
27890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27891 (arg1
)->SetText((wxString
const &)*arg2
);
27893 wxPyEndAllowThreads(__tstate
);
27894 if (PyErr_Occurred()) SWIG_fail
;
27896 Py_INCREF(Py_None
); resultobj
= Py_None
;
27911 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27912 PyObject
*resultobj
;
27913 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27915 PyObject
* obj0
= 0 ;
27916 char *kwnames
[] = {
27917 (char *) "self", NULL
27920 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
27921 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27924 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
27926 wxPyEndAllowThreads(__tstate
);
27927 if (PyErr_Occurred()) SWIG_fail
;
27931 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27933 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27942 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27943 PyObject
*resultobj
;
27944 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27946 PyObject
* obj0
= 0 ;
27947 char *kwnames
[] = {
27948 (char *) "self", NULL
27951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
27952 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27956 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
27957 result
= (wxString
*) &_result_ref
;
27960 wxPyEndAllowThreads(__tstate
);
27961 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
27967 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
27976 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27977 PyObject
*resultobj
;
27978 wxString
*arg1
= 0 ;
27980 bool temp1
= False
;
27981 PyObject
* obj0
= 0 ;
27982 char *kwnames
[] = {
27983 (char *) "text", NULL
27986 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
27988 arg1
= wxString_in_helper(obj0
);
27989 if (arg1
== NULL
) SWIG_fail
;
27993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27994 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
27996 wxPyEndAllowThreads(__tstate
);
27997 if (PyErr_Occurred()) SWIG_fail
;
28001 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28003 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28020 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28021 PyObject
*resultobj
;
28022 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28024 PyObject
* obj0
= 0 ;
28025 char *kwnames
[] = {
28026 (char *) "self", NULL
28029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
28030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28033 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
28035 wxPyEndAllowThreads(__tstate
);
28036 if (PyErr_Occurred()) SWIG_fail
;
28038 resultobj
= PyInt_FromLong((long)result
);
28045 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28046 PyObject
*resultobj
;
28047 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28049 PyObject
* obj0
= 0 ;
28050 PyObject
* obj1
= 0 ;
28051 char *kwnames
[] = {
28052 (char *) "self",(char *) "checkable", NULL
28055 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
28056 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28057 arg2
= PyInt_AsLong(obj1
) ? true : false;
28058 if (PyErr_Occurred()) SWIG_fail
;
28060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28061 (arg1
)->SetCheckable(arg2
);
28063 wxPyEndAllowThreads(__tstate
);
28064 if (PyErr_Occurred()) SWIG_fail
;
28066 Py_INCREF(Py_None
); resultobj
= Py_None
;
28073 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28074 PyObject
*resultobj
;
28075 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28077 PyObject
* obj0
= 0 ;
28078 char *kwnames
[] = {
28079 (char *) "self", NULL
28082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
28083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28086 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
28088 wxPyEndAllowThreads(__tstate
);
28089 if (PyErr_Occurred()) SWIG_fail
;
28091 resultobj
= PyInt_FromLong((long)result
);
28098 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28099 PyObject
*resultobj
;
28100 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28102 PyObject
* obj0
= 0 ;
28103 char *kwnames
[] = {
28104 (char *) "self", NULL
28107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
28108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28111 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
28113 wxPyEndAllowThreads(__tstate
);
28114 if (PyErr_Occurred()) SWIG_fail
;
28116 resultobj
= PyInt_FromLong((long)result
);
28123 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28124 PyObject
*resultobj
;
28125 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28126 wxMenu
*arg2
= (wxMenu
*) 0 ;
28127 PyObject
* obj0
= 0 ;
28128 PyObject
* obj1
= 0 ;
28129 char *kwnames
[] = {
28130 (char *) "self",(char *) "menu", NULL
28133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
28134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28135 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28138 (arg1
)->SetSubMenu(arg2
);
28140 wxPyEndAllowThreads(__tstate
);
28141 if (PyErr_Occurred()) SWIG_fail
;
28143 Py_INCREF(Py_None
); resultobj
= Py_None
;
28150 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28151 PyObject
*resultobj
;
28152 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28154 PyObject
* obj0
= 0 ;
28155 char *kwnames
[] = {
28156 (char *) "self", NULL
28159 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
28160 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28163 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
28165 wxPyEndAllowThreads(__tstate
);
28166 if (PyErr_Occurred()) SWIG_fail
;
28169 resultobj
= wxPyMake_wxObject(result
);
28177 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28178 PyObject
*resultobj
;
28179 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28180 bool arg2
= (bool) True
;
28181 PyObject
* obj0
= 0 ;
28182 PyObject
* obj1
= 0 ;
28183 char *kwnames
[] = {
28184 (char *) "self",(char *) "enable", NULL
28187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
28188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28190 arg2
= PyInt_AsLong(obj1
) ? true : false;
28191 if (PyErr_Occurred()) SWIG_fail
;
28194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28195 (arg1
)->Enable(arg2
);
28197 wxPyEndAllowThreads(__tstate
);
28198 if (PyErr_Occurred()) SWIG_fail
;
28200 Py_INCREF(Py_None
); resultobj
= Py_None
;
28207 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28208 PyObject
*resultobj
;
28209 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28211 PyObject
* obj0
= 0 ;
28212 char *kwnames
[] = {
28213 (char *) "self", NULL
28216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
28217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28220 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
28222 wxPyEndAllowThreads(__tstate
);
28223 if (PyErr_Occurred()) SWIG_fail
;
28225 resultobj
= PyInt_FromLong((long)result
);
28232 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28233 PyObject
*resultobj
;
28234 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28235 bool arg2
= (bool) True
;
28236 PyObject
* obj0
= 0 ;
28237 PyObject
* obj1
= 0 ;
28238 char *kwnames
[] = {
28239 (char *) "self",(char *) "check", NULL
28242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
28243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28245 arg2
= PyInt_AsLong(obj1
) ? true : false;
28246 if (PyErr_Occurred()) SWIG_fail
;
28249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28250 (arg1
)->Check(arg2
);
28252 wxPyEndAllowThreads(__tstate
);
28253 if (PyErr_Occurred()) SWIG_fail
;
28255 Py_INCREF(Py_None
); resultobj
= Py_None
;
28262 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28263 PyObject
*resultobj
;
28264 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28266 PyObject
* obj0
= 0 ;
28267 char *kwnames
[] = {
28268 (char *) "self", NULL
28271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
28272 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28275 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= PyInt_FromLong((long)result
);
28287 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28288 PyObject
*resultobj
;
28289 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28290 PyObject
* obj0
= 0 ;
28291 char *kwnames
[] = {
28292 (char *) "self", NULL
28295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
28296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28301 wxPyEndAllowThreads(__tstate
);
28302 if (PyErr_Occurred()) SWIG_fail
;
28304 Py_INCREF(Py_None
); resultobj
= Py_None
;
28311 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28312 PyObject
*resultobj
;
28313 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28314 wxString
*arg2
= 0 ;
28315 bool temp2
= False
;
28316 PyObject
* obj0
= 0 ;
28317 PyObject
* obj1
= 0 ;
28318 char *kwnames
[] = {
28319 (char *) "self",(char *) "str", NULL
28322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28325 arg2
= wxString_in_helper(obj1
);
28326 if (arg2
== NULL
) SWIG_fail
;
28330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28331 (arg1
)->SetHelp((wxString
const &)*arg2
);
28333 wxPyEndAllowThreads(__tstate
);
28334 if (PyErr_Occurred()) SWIG_fail
;
28336 Py_INCREF(Py_None
); resultobj
= Py_None
;
28351 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28352 PyObject
*resultobj
;
28353 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28355 PyObject
* obj0
= 0 ;
28356 char *kwnames
[] = {
28357 (char *) "self", NULL
28360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28365 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28366 result
= (wxString
*) &_result_ref
;
28369 wxPyEndAllowThreads(__tstate
);
28370 if (PyErr_Occurred()) SWIG_fail
;
28374 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28376 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28385 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28386 PyObject
*resultobj
;
28387 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28388 wxAcceleratorEntry
*result
;
28389 PyObject
* obj0
= 0 ;
28390 char *kwnames
[] = {
28391 (char *) "self", NULL
28394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28398 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28400 wxPyEndAllowThreads(__tstate
);
28401 if (PyErr_Occurred()) SWIG_fail
;
28403 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28410 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28411 PyObject
*resultobj
;
28412 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28413 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28414 PyObject
* obj0
= 0 ;
28415 PyObject
* obj1
= 0 ;
28416 char *kwnames
[] = {
28417 (char *) "self",(char *) "accel", NULL
28420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28422 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28425 (arg1
)->SetAccel(arg2
);
28427 wxPyEndAllowThreads(__tstate
);
28428 if (PyErr_Occurred()) SWIG_fail
;
28430 Py_INCREF(Py_None
); resultobj
= Py_None
;
28437 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28438 PyObject
*resultobj
;
28440 char *kwnames
[] = {
28444 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28447 result
= (int)MenuItem_GetDefaultMarginWidth();
28449 wxPyEndAllowThreads(__tstate
);
28450 if (PyErr_Occurred()) SWIG_fail
;
28452 resultobj
= PyInt_FromLong((long)result
);
28459 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28460 PyObject
*resultobj
;
28461 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28462 wxBitmap
*arg2
= 0 ;
28463 PyObject
* obj0
= 0 ;
28464 PyObject
* obj1
= 0 ;
28465 char *kwnames
[] = {
28466 (char *) "self",(char *) "bitmap", NULL
28469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28472 if (arg2
== NULL
) {
28473 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28477 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
28479 wxPyEndAllowThreads(__tstate
);
28480 if (PyErr_Occurred()) SWIG_fail
;
28482 Py_INCREF(Py_None
); resultobj
= Py_None
;
28489 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28490 PyObject
*resultobj
;
28491 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28493 PyObject
* obj0
= 0 ;
28494 char *kwnames
[] = {
28495 (char *) "self", NULL
28498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
28499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28503 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
28504 result
= (wxBitmap
*) &_result_ref
;
28507 wxPyEndAllowThreads(__tstate
);
28508 if (PyErr_Occurred()) SWIG_fail
;
28510 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28517 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
28519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28520 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
28522 return Py_BuildValue((char *)"");
28524 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28525 PyObject
*resultobj
;
28526 wxWindow
*arg1
= (wxWindow
*) 0 ;
28528 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28529 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28530 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28531 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28532 long arg5
= (long) 0 ;
28533 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
28534 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
28535 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
28536 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28540 bool temp7
= False
;
28541 PyObject
* obj0
= 0 ;
28542 PyObject
* obj2
= 0 ;
28543 PyObject
* obj3
= 0 ;
28544 PyObject
* obj5
= 0 ;
28545 PyObject
* obj6
= 0 ;
28546 char *kwnames
[] = {
28547 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
28551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28555 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28561 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28565 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28566 if (arg6
== NULL
) {
28567 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28572 arg7
= wxString_in_helper(obj6
);
28573 if (arg7
== NULL
) SWIG_fail
;
28578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28579 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
28581 wxPyEndAllowThreads(__tstate
);
28582 if (PyErr_Occurred()) SWIG_fail
;
28585 resultobj
= wxPyMake_wxObject(result
);
28601 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28602 PyObject
*resultobj
;
28604 char *kwnames
[] = {
28608 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
28610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28611 result
= (wxControl
*)new wxControl();
28613 wxPyEndAllowThreads(__tstate
);
28614 if (PyErr_Occurred()) SWIG_fail
;
28617 resultobj
= wxPyMake_wxObject(result
);
28625 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28626 PyObject
*resultobj
;
28627 wxControl
*arg1
= (wxControl
*) 0 ;
28628 wxWindow
*arg2
= (wxWindow
*) 0 ;
28630 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28631 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28632 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28633 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28634 long arg6
= (long) 0 ;
28635 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
28636 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
28637 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
28638 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
28642 bool temp8
= False
;
28643 PyObject
* obj0
= 0 ;
28644 PyObject
* obj1
= 0 ;
28645 PyObject
* obj3
= 0 ;
28646 PyObject
* obj4
= 0 ;
28647 PyObject
* obj6
= 0 ;
28648 PyObject
* obj7
= 0 ;
28649 char *kwnames
[] = {
28650 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
28653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
28654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28655 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28659 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28665 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28669 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28670 if (arg7
== NULL
) {
28671 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28676 arg8
= wxString_in_helper(obj7
);
28677 if (arg8
== NULL
) SWIG_fail
;
28682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28683 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
28685 wxPyEndAllowThreads(__tstate
);
28686 if (PyErr_Occurred()) SWIG_fail
;
28688 resultobj
= PyInt_FromLong((long)result
);
28703 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28704 PyObject
*resultobj
;
28705 wxControl
*arg1
= (wxControl
*) 0 ;
28706 wxCommandEvent
*arg2
= 0 ;
28707 PyObject
* obj0
= 0 ;
28708 PyObject
* obj1
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "self",(char *) "event", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
28714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28715 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28716 if (arg2
== NULL
) {
28717 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28721 (arg1
)->Command(*arg2
);
28723 wxPyEndAllowThreads(__tstate
);
28724 if (PyErr_Occurred()) SWIG_fail
;
28726 Py_INCREF(Py_None
); resultobj
= Py_None
;
28733 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxControl
*arg1
= (wxControl
*) 0 ;
28737 PyObject
* obj0
= 0 ;
28738 char *kwnames
[] = {
28739 (char *) "self", NULL
28742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
28743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28746 result
= (arg1
)->GetLabel();
28748 wxPyEndAllowThreads(__tstate
);
28749 if (PyErr_Occurred()) SWIG_fail
;
28753 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28755 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28764 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
;
28766 wxControl
*arg1
= (wxControl
*) 0 ;
28767 wxString
*arg2
= 0 ;
28768 bool temp2
= False
;
28769 PyObject
* obj0
= 0 ;
28770 PyObject
* obj1
= 0 ;
28771 char *kwnames
[] = {
28772 (char *) "self",(char *) "label", NULL
28775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
28776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28778 arg2
= wxString_in_helper(obj1
);
28779 if (arg2
== NULL
) SWIG_fail
;
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28784 (arg1
)->SetLabel((wxString
const &)*arg2
);
28786 wxPyEndAllowThreads(__tstate
);
28787 if (PyErr_Occurred()) SWIG_fail
;
28789 Py_INCREF(Py_None
); resultobj
= Py_None
;
28804 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
28806 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
28807 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
28809 return Py_BuildValue((char *)"");
28811 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28812 PyObject
*resultobj
;
28813 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28814 wxString
*arg2
= 0 ;
28815 PyObject
*arg3
= (PyObject
*) NULL
;
28817 bool temp2
= False
;
28818 PyObject
* obj0
= 0 ;
28819 PyObject
* obj1
= 0 ;
28820 PyObject
* obj2
= 0 ;
28821 char *kwnames
[] = {
28822 (char *) "self",(char *) "item",(char *) "clientData", NULL
28825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28828 arg2
= wxString_in_helper(obj1
);
28829 if (arg2
== NULL
) SWIG_fail
;
28836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28837 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
28839 wxPyEndAllowThreads(__tstate
);
28840 if (PyErr_Occurred()) SWIG_fail
;
28842 resultobj
= PyInt_FromLong((long)result
);
28857 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28858 PyObject
*resultobj
;
28859 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28860 wxArrayString
*arg2
= 0 ;
28861 PyObject
* obj0
= 0 ;
28862 PyObject
* obj1
= 0 ;
28863 char *kwnames
[] = {
28864 (char *) "self",(char *) "strings", NULL
28867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
28868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28870 if (! PySequence_Check(obj1
)) {
28871 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
28874 arg2
= new wxArrayString
;
28875 int i
, len
=PySequence_Length(obj1
);
28876 for (i
=0; i
<len
; i
++) {
28877 PyObject
* item
= PySequence_GetItem(obj1
, i
);
28879 PyObject
* str
= PyObject_Unicode(item
);
28881 PyObject
* str
= PyObject_Str(item
);
28883 arg2
->Add(Py2wxString(str
));
28889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28890 (arg1
)->Append((wxArrayString
const &)*arg2
);
28892 wxPyEndAllowThreads(__tstate
);
28893 if (PyErr_Occurred()) SWIG_fail
;
28895 Py_INCREF(Py_None
); resultobj
= Py_None
;
28897 if (arg2
) delete arg2
;
28902 if (arg2
) delete arg2
;
28908 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28909 PyObject
*resultobj
;
28910 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28911 wxString
*arg2
= 0 ;
28913 PyObject
*arg4
= (PyObject
*) NULL
;
28915 bool temp2
= False
;
28916 PyObject
* obj0
= 0 ;
28917 PyObject
* obj1
= 0 ;
28918 PyObject
* obj3
= 0 ;
28919 char *kwnames
[] = {
28920 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
28923 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
28924 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28926 arg2
= wxString_in_helper(obj1
);
28927 if (arg2
== NULL
) SWIG_fail
;
28934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28935 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
28937 wxPyEndAllowThreads(__tstate
);
28938 if (PyErr_Occurred()) SWIG_fail
;
28940 resultobj
= PyInt_FromLong((long)result
);
28955 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28956 PyObject
*resultobj
;
28957 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28958 PyObject
* obj0
= 0 ;
28959 char *kwnames
[] = {
28960 (char *) "self", NULL
28963 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
28964 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28969 wxPyEndAllowThreads(__tstate
);
28970 if (PyErr_Occurred()) SWIG_fail
;
28972 Py_INCREF(Py_None
); resultobj
= Py_None
;
28979 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28980 PyObject
*resultobj
;
28981 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
28983 PyObject
* obj0
= 0 ;
28984 char *kwnames
[] = {
28985 (char *) "self",(char *) "n", NULL
28988 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
28989 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28992 (arg1
)->Delete(arg2
);
28994 wxPyEndAllowThreads(__tstate
);
28995 if (PyErr_Occurred()) SWIG_fail
;
28997 Py_INCREF(Py_None
); resultobj
= Py_None
;
29004 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29005 PyObject
*resultobj
;
29006 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29008 PyObject
* obj0
= 0 ;
29009 char *kwnames
[] = {
29010 (char *) "self", NULL
29013 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
29014 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29017 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
29019 wxPyEndAllowThreads(__tstate
);
29020 if (PyErr_Occurred()) SWIG_fail
;
29022 resultobj
= PyInt_FromLong((long)result
);
29029 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29030 PyObject
*resultobj
;
29031 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29033 PyObject
* obj0
= 0 ;
29034 char *kwnames
[] = {
29035 (char *) "self", NULL
29038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
29039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
29044 wxPyEndAllowThreads(__tstate
);
29045 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= PyInt_FromLong((long)result
);
29054 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29055 PyObject
*resultobj
;
29056 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29059 PyObject
* obj0
= 0 ;
29060 char *kwnames
[] = {
29061 (char *) "self",(char *) "n", NULL
29064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
29065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29068 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
29070 wxPyEndAllowThreads(__tstate
);
29071 if (PyErr_Occurred()) SWIG_fail
;
29075 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29077 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29086 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29087 PyObject
*resultobj
;
29088 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29089 wxArrayString result
;
29090 PyObject
* obj0
= 0 ;
29091 char *kwnames
[] = {
29092 (char *) "self", NULL
29095 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
29096 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29099 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
29101 wxPyEndAllowThreads(__tstate
);
29102 if (PyErr_Occurred()) SWIG_fail
;
29105 resultobj
= wxArrayString2PyList_helper(result
);
29113 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29114 PyObject
*resultobj
;
29115 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29117 wxString
*arg3
= 0 ;
29118 bool temp3
= False
;
29119 PyObject
* obj0
= 0 ;
29120 PyObject
* obj2
= 0 ;
29121 char *kwnames
[] = {
29122 (char *) "self",(char *) "n",(char *) "s", NULL
29125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29128 arg3
= wxString_in_helper(obj2
);
29129 if (arg3
== NULL
) SWIG_fail
;
29133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29134 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
29136 wxPyEndAllowThreads(__tstate
);
29137 if (PyErr_Occurred()) SWIG_fail
;
29139 Py_INCREF(Py_None
); resultobj
= Py_None
;
29154 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29155 PyObject
*resultobj
;
29156 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29157 wxString
*arg2
= 0 ;
29159 bool temp2
= False
;
29160 PyObject
* obj0
= 0 ;
29161 PyObject
* obj1
= 0 ;
29162 char *kwnames
[] = {
29163 (char *) "self",(char *) "s", NULL
29166 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
29167 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29169 arg2
= wxString_in_helper(obj1
);
29170 if (arg2
== NULL
) SWIG_fail
;
29174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29175 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
29177 wxPyEndAllowThreads(__tstate
);
29178 if (PyErr_Occurred()) SWIG_fail
;
29180 resultobj
= PyInt_FromLong((long)result
);
29195 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29196 PyObject
*resultobj
;
29197 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29199 PyObject
* obj0
= 0 ;
29200 char *kwnames
[] = {
29201 (char *) "self",(char *) "n", NULL
29204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
29205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 (arg1
)->Select(arg2
);
29210 wxPyEndAllowThreads(__tstate
);
29211 if (PyErr_Occurred()) SWIG_fail
;
29213 Py_INCREF(Py_None
); resultobj
= Py_None
;
29220 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29221 PyObject
*resultobj
;
29222 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29224 PyObject
* obj0
= 0 ;
29225 char *kwnames
[] = {
29226 (char *) "self", NULL
29229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
29230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29233 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
29235 wxPyEndAllowThreads(__tstate
);
29236 if (PyErr_Occurred()) SWIG_fail
;
29238 resultobj
= PyInt_FromLong((long)result
);
29245 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29246 PyObject
*resultobj
;
29247 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29249 PyObject
* obj0
= 0 ;
29250 char *kwnames
[] = {
29251 (char *) "self", NULL
29254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29255 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29258 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29276 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29277 PyObject
*resultobj
;
29278 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29281 PyObject
* obj0
= 0 ;
29282 char *kwnames
[] = {
29283 (char *) "self",(char *) "n", NULL
29286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29290 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29292 wxPyEndAllowThreads(__tstate
);
29293 if (PyErr_Occurred()) SWIG_fail
;
29295 resultobj
= result
;
29302 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29303 PyObject
*resultobj
;
29304 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29306 PyObject
*arg3
= (PyObject
*) 0 ;
29307 PyObject
* obj0
= 0 ;
29308 PyObject
* obj2
= 0 ;
29309 char *kwnames
[] = {
29310 (char *) "self",(char *) "n",(char *) "clientData", NULL
29313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29314 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29318 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29320 wxPyEndAllowThreads(__tstate
);
29321 if (PyErr_Occurred()) SWIG_fail
;
29323 Py_INCREF(Py_None
); resultobj
= Py_None
;
29330 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29332 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29333 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29335 return Py_BuildValue((char *)"");
29337 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29339 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29340 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29342 return Py_BuildValue((char *)"");
29344 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29345 PyObject
*resultobj
;
29346 wxSizerItem
*result
;
29347 char *kwnames
[] = {
29351 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29354 result
= (wxSizerItem
*)new wxSizerItem();
29356 wxPyEndAllowThreads(__tstate
);
29357 if (PyErr_Occurred()) SWIG_fail
;
29359 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29366 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29367 PyObject
*resultobj
;
29373 wxObject
*arg6
= (wxObject
*) 0 ;
29374 wxSizerItem
*result
;
29375 PyObject
* obj5
= 0 ;
29376 char *kwnames
[] = {
29377 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29380 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29381 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29386 wxPyEndAllowThreads(__tstate
);
29387 if (PyErr_Occurred()) SWIG_fail
;
29389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29396 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29397 PyObject
*resultobj
;
29398 wxWindow
*arg1
= (wxWindow
*) 0 ;
29402 wxObject
*arg5
= (wxObject
*) 0 ;
29403 wxSizerItem
*result
;
29404 PyObject
* obj0
= 0 ;
29405 PyObject
* obj4
= 0 ;
29406 char *kwnames
[] = {
29407 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29410 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29411 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29412 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29414 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29415 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29417 wxPyEndAllowThreads(__tstate
);
29418 if (PyErr_Occurred()) SWIG_fail
;
29420 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29427 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29428 PyObject
*resultobj
;
29429 wxSizer
*arg1
= (wxSizer
*) 0 ;
29433 wxObject
*arg5
= (wxObject
*) 0 ;
29434 wxSizerItem
*result
;
29435 PyObject
* obj0
= 0 ;
29436 PyObject
* obj4
= 0 ;
29437 char *kwnames
[] = {
29438 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29441 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29442 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29443 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29446 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29448 wxPyEndAllowThreads(__tstate
);
29449 if (PyErr_Occurred()) SWIG_fail
;
29451 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29458 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29459 PyObject
*resultobj
;
29460 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29461 PyObject
* obj0
= 0 ;
29462 char *kwnames
[] = {
29463 (char *) "self", NULL
29466 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
29467 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29470 (arg1
)->DeleteWindows();
29472 wxPyEndAllowThreads(__tstate
);
29473 if (PyErr_Occurred()) SWIG_fail
;
29475 Py_INCREF(Py_None
); resultobj
= Py_None
;
29482 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29483 PyObject
*resultobj
;
29484 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29485 PyObject
* obj0
= 0 ;
29486 char *kwnames
[] = {
29487 (char *) "self", NULL
29490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
29491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29494 (arg1
)->DetachSizer();
29496 wxPyEndAllowThreads(__tstate
);
29497 if (PyErr_Occurred()) SWIG_fail
;
29499 Py_INCREF(Py_None
); resultobj
= Py_None
;
29506 static PyObject
*_wrap_SizerItem_GetSize(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_GetSize",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
)->GetSize();
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_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29536 PyObject
*resultobj
;
29537 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29539 PyObject
* obj0
= 0 ;
29540 char *kwnames
[] = {
29541 (char *) "self", NULL
29544 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
29545 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29548 result
= (arg1
)->CalcMin();
29550 wxPyEndAllowThreads(__tstate
);
29551 if (PyErr_Occurred()) SWIG_fail
;
29554 wxSize
* resultptr
;
29555 resultptr
= new wxSize((wxSize
&) result
);
29556 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29564 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29565 PyObject
*resultobj
;
29566 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29571 PyObject
* obj0
= 0 ;
29572 PyObject
* obj1
= 0 ;
29573 PyObject
* obj2
= 0 ;
29574 char *kwnames
[] = {
29575 (char *) "self",(char *) "pos",(char *) "size", NULL
29578 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29580 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29582 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29586 (arg1
)->SetDimension(arg2
,arg3
);
29588 wxPyEndAllowThreads(__tstate
);
29589 if (PyErr_Occurred()) SWIG_fail
;
29591 Py_INCREF(Py_None
); resultobj
= Py_None
;
29598 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29599 PyObject
*resultobj
;
29600 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29602 PyObject
* obj0
= 0 ;
29603 char *kwnames
[] = {
29604 (char *) "self", NULL
29607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
29608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29611 result
= (arg1
)->GetMinSize();
29613 wxPyEndAllowThreads(__tstate
);
29614 if (PyErr_Occurred()) SWIG_fail
;
29617 wxSize
* resultptr
;
29618 resultptr
= new wxSize((wxSize
&) result
);
29619 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
29627 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29628 PyObject
*resultobj
;
29629 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29632 PyObject
* obj0
= 0 ;
29633 char *kwnames
[] = {
29634 (char *) "self",(char *) "x",(char *) "y", NULL
29637 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29638 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29641 (arg1
)->SetInitSize(arg2
,arg3
);
29643 wxPyEndAllowThreads(__tstate
);
29644 if (PyErr_Occurred()) SWIG_fail
;
29646 Py_INCREF(Py_None
); resultobj
= Py_None
;
29653 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29654 PyObject
*resultobj
;
29655 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29658 PyObject
* obj0
= 0 ;
29659 char *kwnames
[] = {
29660 (char *) "self",(char *) "width",(char *) "height", NULL
29663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
29664 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29667 (arg1
)->SetRatio(arg2
,arg3
);
29669 wxPyEndAllowThreads(__tstate
);
29670 if (PyErr_Occurred()) SWIG_fail
;
29672 Py_INCREF(Py_None
); resultobj
= Py_None
;
29679 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29680 PyObject
*resultobj
;
29681 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29684 PyObject
* obj0
= 0 ;
29685 PyObject
* obj1
= 0 ;
29686 char *kwnames
[] = {
29687 (char *) "self",(char *) "size", NULL
29690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
29691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29692 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
29695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29696 (arg1
)->SetRatio(arg2
);
29698 wxPyEndAllowThreads(__tstate
);
29699 if (PyErr_Occurred()) SWIG_fail
;
29701 Py_INCREF(Py_None
); resultobj
= Py_None
;
29708 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29709 PyObject
*resultobj
;
29710 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29712 PyObject
* obj0
= 0 ;
29713 char *kwnames
[] = {
29714 (char *) "self",(char *) "ratio", NULL
29717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
29718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29721 (arg1
)->SetRatio(arg2
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29726 Py_INCREF(Py_None
); resultobj
= Py_None
;
29733 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29734 PyObject
*resultobj
;
29735 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29737 PyObject
* obj0
= 0 ;
29738 char *kwnames
[] = {
29739 (char *) "self", NULL
29742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
29743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29746 result
= (float)(arg1
)->GetRatio();
29748 wxPyEndAllowThreads(__tstate
);
29749 if (PyErr_Occurred()) SWIG_fail
;
29751 resultobj
= PyFloat_FromDouble(result
);
29758 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29759 PyObject
*resultobj
;
29760 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29762 PyObject
* obj0
= 0 ;
29763 char *kwnames
[] = {
29764 (char *) "self", NULL
29767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
29768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29771 result
= (bool)(arg1
)->IsWindow();
29773 wxPyEndAllowThreads(__tstate
);
29774 if (PyErr_Occurred()) SWIG_fail
;
29776 resultobj
= PyInt_FromLong((long)result
);
29783 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29784 PyObject
*resultobj
;
29785 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29787 PyObject
* obj0
= 0 ;
29788 char *kwnames
[] = {
29789 (char *) "self", NULL
29792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
29793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29796 result
= (bool)(arg1
)->IsSizer();
29798 wxPyEndAllowThreads(__tstate
);
29799 if (PyErr_Occurred()) SWIG_fail
;
29801 resultobj
= PyInt_FromLong((long)result
);
29808 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29809 PyObject
*resultobj
;
29810 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29812 PyObject
* obj0
= 0 ;
29813 char *kwnames
[] = {
29814 (char *) "self", NULL
29817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
29818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29821 result
= (bool)(arg1
)->IsSpacer();
29823 wxPyEndAllowThreads(__tstate
);
29824 if (PyErr_Occurred()) SWIG_fail
;
29826 resultobj
= PyInt_FromLong((long)result
);
29833 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29834 PyObject
*resultobj
;
29835 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29837 PyObject
* obj0
= 0 ;
29838 char *kwnames
[] = {
29839 (char *) "self",(char *) "proportion", NULL
29842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
29843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29846 (arg1
)->SetProportion(arg2
);
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 Py_INCREF(Py_None
); resultobj
= Py_None
;
29858 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29862 PyObject
* obj0
= 0 ;
29863 char *kwnames
[] = {
29864 (char *) "self", NULL
29867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
29868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29871 result
= (int)(arg1
)->GetProportion();
29873 wxPyEndAllowThreads(__tstate
);
29874 if (PyErr_Occurred()) SWIG_fail
;
29876 resultobj
= PyInt_FromLong((long)result
);
29883 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29884 PyObject
*resultobj
;
29885 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29887 PyObject
* obj0
= 0 ;
29888 char *kwnames
[] = {
29889 (char *) "self",(char *) "flag", NULL
29892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
29893 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29896 (arg1
)->SetFlag(arg2
);
29898 wxPyEndAllowThreads(__tstate
);
29899 if (PyErr_Occurred()) SWIG_fail
;
29901 Py_INCREF(Py_None
); resultobj
= Py_None
;
29908 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29909 PyObject
*resultobj
;
29910 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29912 PyObject
* obj0
= 0 ;
29913 char *kwnames
[] = {
29914 (char *) "self", NULL
29917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
29918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29921 result
= (int)(arg1
)->GetFlag();
29923 wxPyEndAllowThreads(__tstate
);
29924 if (PyErr_Occurred()) SWIG_fail
;
29926 resultobj
= PyInt_FromLong((long)result
);
29933 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29934 PyObject
*resultobj
;
29935 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29937 PyObject
* obj0
= 0 ;
29938 char *kwnames
[] = {
29939 (char *) "self",(char *) "border", NULL
29942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
29943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29946 (arg1
)->SetBorder(arg2
);
29948 wxPyEndAllowThreads(__tstate
);
29949 if (PyErr_Occurred()) SWIG_fail
;
29951 Py_INCREF(Py_None
); resultobj
= Py_None
;
29958 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29959 PyObject
*resultobj
;
29960 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29962 PyObject
* obj0
= 0 ;
29963 char *kwnames
[] = {
29964 (char *) "self", NULL
29967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
29968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29971 result
= (int)(arg1
)->GetBorder();
29973 wxPyEndAllowThreads(__tstate
);
29974 if (PyErr_Occurred()) SWIG_fail
;
29976 resultobj
= PyInt_FromLong((long)result
);
29983 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29984 PyObject
*resultobj
;
29985 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
29987 PyObject
* obj0
= 0 ;
29988 char *kwnames
[] = {
29989 (char *) "self", NULL
29992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
29993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29996 result
= (wxWindow
*)(arg1
)->GetWindow();
29998 wxPyEndAllowThreads(__tstate
);
29999 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= wxPyMake_wxObject(result
);
30010 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30011 PyObject
*resultobj
;
30012 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30013 wxWindow
*arg2
= (wxWindow
*) 0 ;
30014 PyObject
* obj0
= 0 ;
30015 PyObject
* obj1
= 0 ;
30016 char *kwnames
[] = {
30017 (char *) "self",(char *) "window", NULL
30020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30022 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30025 (arg1
)->SetWindow(arg2
);
30027 wxPyEndAllowThreads(__tstate
);
30028 if (PyErr_Occurred()) SWIG_fail
;
30030 Py_INCREF(Py_None
); resultobj
= Py_None
;
30037 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30038 PyObject
*resultobj
;
30039 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30041 PyObject
* obj0
= 0 ;
30042 char *kwnames
[] = {
30043 (char *) "self", NULL
30046 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
30047 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30050 result
= (wxSizer
*)(arg1
)->GetSizer();
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30056 resultobj
= wxPyMake_wxSizer(result
);
30064 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30065 PyObject
*resultobj
;
30066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30067 wxSizer
*arg2
= (wxSizer
*) 0 ;
30068 PyObject
* obj0
= 0 ;
30069 PyObject
* obj1
= 0 ;
30070 char *kwnames
[] = {
30071 (char *) "self",(char *) "sizer", NULL
30074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
30075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30076 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 (arg1
)->SetSizer(arg2
);
30081 wxPyEndAllowThreads(__tstate
);
30082 if (PyErr_Occurred()) SWIG_fail
;
30084 Py_INCREF(Py_None
); resultobj
= Py_None
;
30091 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30092 PyObject
*resultobj
;
30093 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30095 PyObject
* obj0
= 0 ;
30096 char *kwnames
[] = {
30097 (char *) "self", NULL
30100 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
30101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
30106 result
= (wxSize
*) &_result_ref
;
30109 wxPyEndAllowThreads(__tstate
);
30110 if (PyErr_Occurred()) SWIG_fail
;
30112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
30119 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30120 PyObject
*resultobj
;
30121 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 char *kwnames
[] = {
30127 (char *) "self",(char *) "size", NULL
30130 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
30131 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30134 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30138 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
30140 wxPyEndAllowThreads(__tstate
);
30141 if (PyErr_Occurred()) SWIG_fail
;
30143 Py_INCREF(Py_None
); resultobj
= Py_None
;
30150 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30151 PyObject
*resultobj
;
30152 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30154 PyObject
* obj0
= 0 ;
30155 PyObject
* obj1
= 0 ;
30156 char *kwnames
[] = {
30157 (char *) "self",(char *) "show", NULL
30160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
30161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30162 arg2
= PyInt_AsLong(obj1
) ? true : false;
30163 if (PyErr_Occurred()) SWIG_fail
;
30165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30166 (arg1
)->Show(arg2
);
30168 wxPyEndAllowThreads(__tstate
);
30169 if (PyErr_Occurred()) SWIG_fail
;
30171 Py_INCREF(Py_None
); resultobj
= Py_None
;
30178 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30179 PyObject
*resultobj
;
30180 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30182 PyObject
* obj0
= 0 ;
30183 char *kwnames
[] = {
30184 (char *) "self", NULL
30187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
30188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30191 result
= (bool)(arg1
)->IsShown();
30193 wxPyEndAllowThreads(__tstate
);
30194 if (PyErr_Occurred()) SWIG_fail
;
30196 resultobj
= PyInt_FromLong((long)result
);
30203 static PyObject
*_wrap_SizerItem_GetPosition(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_GetPosition",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
= (arg1
)->GetPosition();
30218 wxPyEndAllowThreads(__tstate
);
30219 if (PyErr_Occurred()) SWIG_fail
;
30222 wxPoint
* resultptr
;
30223 resultptr
= new wxPoint((wxPoint
&) result
);
30224 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30232 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30233 PyObject
*resultobj
;
30234 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30236 PyObject
* obj0
= 0 ;
30237 char *kwnames
[] = {
30238 (char *) "self", NULL
30241 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
30242 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30245 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
30247 wxPyEndAllowThreads(__tstate
);
30248 if (PyErr_Occurred()) SWIG_fail
;
30250 resultobj
= result
;
30257 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30259 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30260 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30262 return Py_BuildValue((char *)"");
30264 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30265 PyObject
*resultobj
;
30266 wxSizer
*arg1
= (wxSizer
*) 0 ;
30267 PyObject
*arg2
= (PyObject
*) 0 ;
30268 PyObject
* obj0
= 0 ;
30269 PyObject
* obj1
= 0 ;
30270 char *kwnames
[] = {
30271 (char *) "self",(char *) "_self", NULL
30274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30279 wxSizer__setOORInfo(arg1
,arg2
);
30281 wxPyEndAllowThreads(__tstate
);
30282 if (PyErr_Occurred()) SWIG_fail
;
30284 Py_INCREF(Py_None
); resultobj
= Py_None
;
30291 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30292 PyObject
*resultobj
;
30293 wxSizer
*arg1
= (wxSizer
*) 0 ;
30294 PyObject
*arg2
= (PyObject
*) 0 ;
30295 int arg3
= (int) 0 ;
30296 int arg4
= (int) 0 ;
30297 int arg5
= (int) 0 ;
30298 PyObject
*arg6
= (PyObject
*) NULL
;
30299 PyObject
* obj0
= 0 ;
30300 PyObject
* obj1
= 0 ;
30301 PyObject
* obj5
= 0 ;
30302 char *kwnames
[] = {
30303 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30314 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30316 wxPyEndAllowThreads(__tstate
);
30317 if (PyErr_Occurred()) SWIG_fail
;
30319 Py_INCREF(Py_None
); resultobj
= Py_None
;
30326 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30327 PyObject
*resultobj
;
30328 wxSizer
*arg1
= (wxSizer
*) 0 ;
30330 PyObject
*arg3
= (PyObject
*) 0 ;
30331 int arg4
= (int) 0 ;
30332 int arg5
= (int) 0 ;
30333 int arg6
= (int) 0 ;
30334 PyObject
*arg7
= (PyObject
*) NULL
;
30335 PyObject
* obj0
= 0 ;
30336 PyObject
* obj2
= 0 ;
30337 PyObject
* obj6
= 0 ;
30338 char *kwnames
[] = {
30339 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30350 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30352 wxPyEndAllowThreads(__tstate
);
30353 if (PyErr_Occurred()) SWIG_fail
;
30355 Py_INCREF(Py_None
); resultobj
= Py_None
;
30362 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30363 PyObject
*resultobj
;
30364 wxSizer
*arg1
= (wxSizer
*) 0 ;
30365 PyObject
*arg2
= (PyObject
*) 0 ;
30366 int arg3
= (int) 0 ;
30367 int arg4
= (int) 0 ;
30368 int arg5
= (int) 0 ;
30369 PyObject
*arg6
= (PyObject
*) NULL
;
30370 PyObject
* obj0
= 0 ;
30371 PyObject
* obj1
= 0 ;
30372 PyObject
* obj5
= 0 ;
30373 char *kwnames
[] = {
30374 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30377 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30378 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30385 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30387 wxPyEndAllowThreads(__tstate
);
30388 if (PyErr_Occurred()) SWIG_fail
;
30390 Py_INCREF(Py_None
); resultobj
= Py_None
;
30397 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30398 PyObject
*resultobj
;
30399 wxSizer
*arg1
= (wxSizer
*) 0 ;
30400 PyObject
*arg2
= (PyObject
*) 0 ;
30402 PyObject
* obj0
= 0 ;
30403 PyObject
* obj1
= 0 ;
30404 char *kwnames
[] = {
30405 (char *) "self",(char *) "item", NULL
30408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30413 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30415 wxPyEndAllowThreads(__tstate
);
30416 if (PyErr_Occurred()) SWIG_fail
;
30418 resultobj
= PyInt_FromLong((long)result
);
30425 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30426 PyObject
*resultobj
;
30427 wxSizer
*arg1
= (wxSizer
*) 0 ;
30428 PyObject
*arg2
= (PyObject
*) 0 ;
30431 PyObject
* obj0
= 0 ;
30432 PyObject
* obj1
= 0 ;
30433 PyObject
* obj2
= 0 ;
30434 char *kwnames
[] = {
30435 (char *) "self",(char *) "item",(char *) "size", NULL
30438 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30439 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30443 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
30446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30447 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
30449 wxPyEndAllowThreads(__tstate
);
30450 if (PyErr_Occurred()) SWIG_fail
;
30452 Py_INCREF(Py_None
); resultobj
= Py_None
;
30459 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30460 PyObject
*resultobj
;
30461 wxSizer
*arg1
= (wxSizer
*) 0 ;
30462 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30463 PyObject
* obj0
= 0 ;
30464 PyObject
* obj1
= 0 ;
30465 char *kwnames
[] = {
30466 (char *) "self",(char *) "item", NULL
30469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30471 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30476 wxPyEndAllowThreads(__tstate
);
30477 if (PyErr_Occurred()) SWIG_fail
;
30479 Py_INCREF(Py_None
); resultobj
= Py_None
;
30486 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30487 PyObject
*resultobj
;
30488 wxSizer
*arg1
= (wxSizer
*) 0 ;
30490 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
30491 PyObject
* obj0
= 0 ;
30492 PyObject
* obj1
= 0 ;
30493 PyObject
* obj2
= 0 ;
30494 char *kwnames
[] = {
30495 (char *) "self",(char *) "index",(char *) "item", NULL
30498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30500 arg2
= (size_t) PyInt_AsLong(obj1
);
30501 if (PyErr_Occurred()) SWIG_fail
;
30502 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30505 (arg1
)->Insert(arg2
,arg3
);
30507 wxPyEndAllowThreads(__tstate
);
30508 if (PyErr_Occurred()) SWIG_fail
;
30510 Py_INCREF(Py_None
); resultobj
= Py_None
;
30517 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30518 PyObject
*resultobj
;
30519 wxSizer
*arg1
= (wxSizer
*) 0 ;
30520 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
30521 PyObject
* obj0
= 0 ;
30522 PyObject
* obj1
= 0 ;
30523 char *kwnames
[] = {
30524 (char *) "self",(char *) "item", NULL
30527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
30528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30529 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30532 (arg1
)->Prepend(arg2
);
30534 wxPyEndAllowThreads(__tstate
);
30535 if (PyErr_Occurred()) SWIG_fail
;
30537 Py_INCREF(Py_None
); resultobj
= Py_None
;
30544 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30545 PyObject
*resultobj
;
30546 wxSizer
*arg1
= (wxSizer
*) 0 ;
30551 PyObject
* obj0
= 0 ;
30552 char *kwnames
[] = {
30553 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
30556 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
30557 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30560 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
30562 wxPyEndAllowThreads(__tstate
);
30563 if (PyErr_Occurred()) SWIG_fail
;
30565 Py_INCREF(Py_None
); resultobj
= Py_None
;
30572 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30573 PyObject
*resultobj
;
30574 wxSizer
*arg1
= (wxSizer
*) 0 ;
30577 PyObject
* obj0
= 0 ;
30578 PyObject
* obj1
= 0 ;
30579 char *kwnames
[] = {
30580 (char *) "self",(char *) "size", NULL
30583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30587 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30591 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
30593 wxPyEndAllowThreads(__tstate
);
30594 if (PyErr_Occurred()) SWIG_fail
;
30596 Py_INCREF(Py_None
); resultobj
= Py_None
;
30603 static PyObject
*_wrap_Sizer_GetSize(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_GetSize",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
)->GetSize();
30618 wxPyEndAllowThreads(__tstate
);
30619 if (PyErr_Occurred()) SWIG_fail
;
30622 wxSize
* resultptr
;
30623 resultptr
= new wxSize((wxSize
&) result
);
30624 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30632 static PyObject
*_wrap_Sizer_GetPosition(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_GetPosition",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
)->GetPosition();
30647 wxPyEndAllowThreads(__tstate
);
30648 if (PyErr_Occurred()) SWIG_fail
;
30651 wxPoint
* resultptr
;
30652 resultptr
= new wxPoint((wxPoint
&) result
);
30653 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30661 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30662 PyObject
*resultobj
;
30663 wxSizer
*arg1
= (wxSizer
*) 0 ;
30665 PyObject
* obj0
= 0 ;
30666 char *kwnames
[] = {
30667 (char *) "self", NULL
30670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
30671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30674 result
= (arg1
)->GetMinSize();
30676 wxPyEndAllowThreads(__tstate
);
30677 if (PyErr_Occurred()) SWIG_fail
;
30680 wxSize
* resultptr
;
30681 resultptr
= new wxSize((wxSize
&) result
);
30682 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30690 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30691 PyObject
*resultobj
;
30692 wxSizer
*arg1
= (wxSizer
*) 0 ;
30693 PyObject
* obj0
= 0 ;
30694 char *kwnames
[] = {
30695 (char *) "self", NULL
30698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
30699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30702 (arg1
)->RecalcSizes();
30704 wxPyEndAllowThreads(__tstate
);
30705 if (PyErr_Occurred()) SWIG_fail
;
30707 Py_INCREF(Py_None
); resultobj
= Py_None
;
30714 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30715 PyObject
*resultobj
;
30716 wxSizer
*arg1
= (wxSizer
*) 0 ;
30718 PyObject
* obj0
= 0 ;
30719 char *kwnames
[] = {
30720 (char *) "self", NULL
30723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
30724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30727 result
= (arg1
)->CalcMin();
30729 wxPyEndAllowThreads(__tstate
);
30730 if (PyErr_Occurred()) SWIG_fail
;
30733 wxSize
* resultptr
;
30734 resultptr
= new wxSize((wxSize
&) result
);
30735 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30743 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30744 PyObject
*resultobj
;
30745 wxSizer
*arg1
= (wxSizer
*) 0 ;
30746 PyObject
* obj0
= 0 ;
30747 char *kwnames
[] = {
30748 (char *) "self", NULL
30751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
30752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30757 wxPyEndAllowThreads(__tstate
);
30758 if (PyErr_Occurred()) SWIG_fail
;
30760 Py_INCREF(Py_None
); resultobj
= Py_None
;
30767 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30768 PyObject
*resultobj
;
30769 wxSizer
*arg1
= (wxSizer
*) 0 ;
30770 wxWindow
*arg2
= (wxWindow
*) 0 ;
30772 PyObject
* obj0
= 0 ;
30773 PyObject
* obj1
= 0 ;
30774 char *kwnames
[] = {
30775 (char *) "self",(char *) "window", NULL
30778 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
30779 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30780 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30783 result
= (arg1
)->Fit(arg2
);
30785 wxPyEndAllowThreads(__tstate
);
30786 if (PyErr_Occurred()) SWIG_fail
;
30789 wxSize
* resultptr
;
30790 resultptr
= new wxSize((wxSize
&) result
);
30791 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30799 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30800 PyObject
*resultobj
;
30801 wxSizer
*arg1
= (wxSizer
*) 0 ;
30802 wxWindow
*arg2
= (wxWindow
*) 0 ;
30803 PyObject
* obj0
= 0 ;
30804 PyObject
* obj1
= 0 ;
30805 char *kwnames
[] = {
30806 (char *) "self",(char *) "window", NULL
30809 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
30810 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30811 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30814 (arg1
)->FitInside(arg2
);
30816 wxPyEndAllowThreads(__tstate
);
30817 if (PyErr_Occurred()) SWIG_fail
;
30819 Py_INCREF(Py_None
); resultobj
= Py_None
;
30826 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30827 PyObject
*resultobj
;
30828 wxSizer
*arg1
= (wxSizer
*) 0 ;
30829 wxWindow
*arg2
= (wxWindow
*) 0 ;
30830 PyObject
* obj0
= 0 ;
30831 PyObject
* obj1
= 0 ;
30832 char *kwnames
[] = {
30833 (char *) "self",(char *) "window", NULL
30836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30838 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30841 (arg1
)->SetSizeHints(arg2
);
30843 wxPyEndAllowThreads(__tstate
);
30844 if (PyErr_Occurred()) SWIG_fail
;
30846 Py_INCREF(Py_None
); resultobj
= Py_None
;
30853 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30854 PyObject
*resultobj
;
30855 wxSizer
*arg1
= (wxSizer
*) 0 ;
30856 wxWindow
*arg2
= (wxWindow
*) 0 ;
30857 PyObject
* obj0
= 0 ;
30858 PyObject
* obj1
= 0 ;
30859 char *kwnames
[] = {
30860 (char *) "self",(char *) "window", NULL
30863 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
30864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30865 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30868 (arg1
)->SetVirtualSizeHints(arg2
);
30870 wxPyEndAllowThreads(__tstate
);
30871 if (PyErr_Occurred()) SWIG_fail
;
30873 Py_INCREF(Py_None
); resultobj
= Py_None
;
30880 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30881 PyObject
*resultobj
;
30882 wxSizer
*arg1
= (wxSizer
*) 0 ;
30883 bool arg2
= (bool) False
;
30884 PyObject
* obj0
= 0 ;
30885 PyObject
* obj1
= 0 ;
30886 char *kwnames
[] = {
30887 (char *) "self",(char *) "delete_windows", NULL
30890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
30891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30893 arg2
= PyInt_AsLong(obj1
) ? true : false;
30894 if (PyErr_Occurred()) SWIG_fail
;
30897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30898 (arg1
)->Clear(arg2
);
30900 wxPyEndAllowThreads(__tstate
);
30901 if (PyErr_Occurred()) SWIG_fail
;
30903 Py_INCREF(Py_None
); resultobj
= Py_None
;
30910 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30911 PyObject
*resultobj
;
30912 wxSizer
*arg1
= (wxSizer
*) 0 ;
30913 PyObject
* obj0
= 0 ;
30914 char *kwnames
[] = {
30915 (char *) "self", NULL
30918 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
30919 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30922 (arg1
)->DeleteWindows();
30924 wxPyEndAllowThreads(__tstate
);
30925 if (PyErr_Occurred()) SWIG_fail
;
30927 Py_INCREF(Py_None
); resultobj
= Py_None
;
30934 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30935 PyObject
*resultobj
;
30936 wxSizer
*arg1
= (wxSizer
*) 0 ;
30938 PyObject
* obj0
= 0 ;
30939 char *kwnames
[] = {
30940 (char *) "self", NULL
30943 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
30944 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30947 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
30949 wxPyEndAllowThreads(__tstate
);
30950 if (PyErr_Occurred()) SWIG_fail
;
30952 resultobj
= result
;
30959 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30960 PyObject
*resultobj
;
30961 wxSizer
*arg1
= (wxSizer
*) 0 ;
30962 PyObject
*arg2
= (PyObject
*) 0 ;
30963 bool arg3
= (bool) True
;
30964 PyObject
* obj0
= 0 ;
30965 PyObject
* obj1
= 0 ;
30966 PyObject
* obj2
= 0 ;
30967 char *kwnames
[] = {
30968 (char *) "self",(char *) "item",(char *) "show", NULL
30971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30975 arg3
= PyInt_AsLong(obj2
) ? true : false;
30976 if (PyErr_Occurred()) SWIG_fail
;
30979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30980 wxSizer_Show(arg1
,arg2
,arg3
);
30982 wxPyEndAllowThreads(__tstate
);
30983 if (PyErr_Occurred()) SWIG_fail
;
30985 Py_INCREF(Py_None
); resultobj
= Py_None
;
30992 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30993 PyObject
*resultobj
;
30994 wxSizer
*arg1
= (wxSizer
*) 0 ;
30995 PyObject
*arg2
= (PyObject
*) 0 ;
30996 PyObject
* obj0
= 0 ;
30997 PyObject
* obj1
= 0 ;
30998 char *kwnames
[] = {
30999 (char *) "self",(char *) "item", NULL
31002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
31003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31007 wxSizer_Hide(arg1
,arg2
);
31009 wxPyEndAllowThreads(__tstate
);
31010 if (PyErr_Occurred()) SWIG_fail
;
31012 Py_INCREF(Py_None
); resultobj
= Py_None
;
31019 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31020 PyObject
*resultobj
;
31021 wxSizer
*arg1
= (wxSizer
*) 0 ;
31022 PyObject
*arg2
= (PyObject
*) 0 ;
31024 PyObject
* obj0
= 0 ;
31025 PyObject
* obj1
= 0 ;
31026 char *kwnames
[] = {
31027 (char *) "self",(char *) "item", NULL
31030 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
31031 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31035 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
31037 wxPyEndAllowThreads(__tstate
);
31038 if (PyErr_Occurred()) SWIG_fail
;
31040 resultobj
= PyInt_FromLong((long)result
);
31047 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31048 PyObject
*resultobj
;
31049 wxSizer
*arg1
= (wxSizer
*) 0 ;
31051 PyObject
* obj0
= 0 ;
31052 PyObject
* obj1
= 0 ;
31053 char *kwnames
[] = {
31054 (char *) "self",(char *) "show", NULL
31057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31059 arg2
= PyInt_AsLong(obj1
) ? true : false;
31060 if (PyErr_Occurred()) SWIG_fail
;
31062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31063 (arg1
)->ShowItems(arg2
);
31065 wxPyEndAllowThreads(__tstate
);
31066 if (PyErr_Occurred()) SWIG_fail
;
31068 Py_INCREF(Py_None
); resultobj
= Py_None
;
31075 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
31077 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31078 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
31080 return Py_BuildValue((char *)"");
31082 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31083 PyObject
*resultobj
;
31085 char *kwnames
[] = {
31089 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
31091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31092 result
= (wxPySizer
*)new wxPySizer();
31094 wxPyEndAllowThreads(__tstate
);
31095 if (PyErr_Occurred()) SWIG_fail
;
31097 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
31104 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31105 PyObject
*resultobj
;
31106 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
31107 PyObject
*arg2
= (PyObject
*) 0 ;
31108 PyObject
*arg3
= (PyObject
*) 0 ;
31109 PyObject
* obj0
= 0 ;
31110 PyObject
* obj1
= 0 ;
31111 PyObject
* obj2
= 0 ;
31112 char *kwnames
[] = {
31113 (char *) "self",(char *) "self",(char *) "_class", NULL
31116 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31117 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31122 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31124 wxPyEndAllowThreads(__tstate
);
31125 if (PyErr_Occurred()) SWIG_fail
;
31127 Py_INCREF(Py_None
); resultobj
= Py_None
;
31134 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
31136 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31137 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
31139 return Py_BuildValue((char *)"");
31141 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31142 PyObject
*resultobj
;
31143 int arg1
= (int) wxHORIZONTAL
;
31144 wxBoxSizer
*result
;
31145 char *kwnames
[] = {
31146 (char *) "orient", NULL
31149 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
31151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31152 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
31154 wxPyEndAllowThreads(__tstate
);
31155 if (PyErr_Occurred()) SWIG_fail
;
31157 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
31164 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31165 PyObject
*resultobj
;
31166 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31168 PyObject
* obj0
= 0 ;
31169 char *kwnames
[] = {
31170 (char *) "self", NULL
31173 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
31174 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31177 result
= (int)(arg1
)->GetOrientation();
31179 wxPyEndAllowThreads(__tstate
);
31180 if (PyErr_Occurred()) SWIG_fail
;
31182 resultobj
= PyInt_FromLong((long)result
);
31189 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31190 PyObject
*resultobj
;
31191 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31193 PyObject
* obj0
= 0 ;
31194 char *kwnames
[] = {
31195 (char *) "self",(char *) "orient", NULL
31198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
31199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31202 (arg1
)->SetOrientation(arg2
);
31204 wxPyEndAllowThreads(__tstate
);
31205 if (PyErr_Occurred()) SWIG_fail
;
31207 Py_INCREF(Py_None
); resultobj
= Py_None
;
31214 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31217 PyObject
* obj0
= 0 ;
31218 char *kwnames
[] = {
31219 (char *) "self", NULL
31222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31226 (arg1
)->RecalcSizes();
31228 wxPyEndAllowThreads(__tstate
);
31229 if (PyErr_Occurred()) SWIG_fail
;
31231 Py_INCREF(Py_None
); resultobj
= Py_None
;
31238 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31239 PyObject
*resultobj
;
31240 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31242 PyObject
* obj0
= 0 ;
31243 char *kwnames
[] = {
31244 (char *) "self", NULL
31247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31251 result
= (arg1
)->CalcMin();
31253 wxPyEndAllowThreads(__tstate
);
31254 if (PyErr_Occurred()) SWIG_fail
;
31257 wxSize
* resultptr
;
31258 resultptr
= new wxSize((wxSize
&) result
);
31259 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31267 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31269 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31270 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31272 return Py_BuildValue((char *)"");
31274 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31275 PyObject
*resultobj
;
31276 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31277 int arg2
= (int) wxHORIZONTAL
;
31278 wxStaticBoxSizer
*result
;
31279 PyObject
* obj0
= 0 ;
31280 char *kwnames
[] = {
31281 (char *) "box",(char *) "orient", NULL
31284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31288 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31290 wxPyEndAllowThreads(__tstate
);
31291 if (PyErr_Occurred()) SWIG_fail
;
31293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31300 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31301 PyObject
*resultobj
;
31302 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31303 wxStaticBox
*result
;
31304 PyObject
* obj0
= 0 ;
31305 char *kwnames
[] = {
31306 (char *) "self", NULL
31309 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31310 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31315 wxPyEndAllowThreads(__tstate
);
31316 if (PyErr_Occurred()) SWIG_fail
;
31319 resultobj
= wxPyMake_wxObject(result
);
31327 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31328 PyObject
*resultobj
;
31329 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31330 PyObject
* obj0
= 0 ;
31331 char *kwnames
[] = {
31332 (char *) "self", NULL
31335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 (arg1
)->RecalcSizes();
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 Py_INCREF(Py_None
); resultobj
= Py_None
;
31351 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31352 PyObject
*resultobj
;
31353 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31355 PyObject
* obj0
= 0 ;
31356 char *kwnames
[] = {
31357 (char *) "self", NULL
31360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31364 result
= (arg1
)->CalcMin();
31366 wxPyEndAllowThreads(__tstate
);
31367 if (PyErr_Occurred()) SWIG_fail
;
31370 wxSize
* resultptr
;
31371 resultptr
= new wxSize((wxSize
&) result
);
31372 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31380 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31382 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31383 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31385 return Py_BuildValue((char *)"");
31387 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31388 PyObject
*resultobj
;
31389 int arg1
= (int) 1 ;
31390 int arg2
= (int) 0 ;
31391 int arg3
= (int) 0 ;
31392 int arg4
= (int) 0 ;
31393 wxGridSizer
*result
;
31394 char *kwnames
[] = {
31395 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31398 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31401 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31403 wxPyEndAllowThreads(__tstate
);
31404 if (PyErr_Occurred()) SWIG_fail
;
31406 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31413 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31414 PyObject
*resultobj
;
31415 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31416 PyObject
* obj0
= 0 ;
31417 char *kwnames
[] = {
31418 (char *) "self", NULL
31421 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31425 (arg1
)->RecalcSizes();
31427 wxPyEndAllowThreads(__tstate
);
31428 if (PyErr_Occurred()) SWIG_fail
;
31430 Py_INCREF(Py_None
); resultobj
= Py_None
;
31437 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31438 PyObject
*resultobj
;
31439 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31441 PyObject
* obj0
= 0 ;
31442 char *kwnames
[] = {
31443 (char *) "self", NULL
31446 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31447 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 result
= (arg1
)->CalcMin();
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31456 wxSize
* resultptr
;
31457 resultptr
= new wxSize((wxSize
&) result
);
31458 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31466 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31467 PyObject
*resultobj
;
31468 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31470 PyObject
* obj0
= 0 ;
31471 char *kwnames
[] = {
31472 (char *) "self",(char *) "cols", NULL
31475 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
31476 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31479 (arg1
)->SetCols(arg2
);
31481 wxPyEndAllowThreads(__tstate
);
31482 if (PyErr_Occurred()) SWIG_fail
;
31484 Py_INCREF(Py_None
); resultobj
= Py_None
;
31491 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31492 PyObject
*resultobj
;
31493 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31495 PyObject
* obj0
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self",(char *) "rows", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
31501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31504 (arg1
)->SetRows(arg2
);
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31509 Py_INCREF(Py_None
); resultobj
= Py_None
;
31516 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
;
31518 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31520 PyObject
* obj0
= 0 ;
31521 char *kwnames
[] = {
31522 (char *) "self",(char *) "gap", NULL
31525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 (arg1
)->SetVGap(arg2
);
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31534 Py_INCREF(Py_None
); resultobj
= Py_None
;
31541 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
;
31543 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31545 PyObject
* obj0
= 0 ;
31546 char *kwnames
[] = {
31547 (char *) "self",(char *) "gap", NULL
31550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
31551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31554 (arg1
)->SetHGap(arg2
);
31556 wxPyEndAllowThreads(__tstate
);
31557 if (PyErr_Occurred()) SWIG_fail
;
31559 Py_INCREF(Py_None
); resultobj
= Py_None
;
31566 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31567 PyObject
*resultobj
;
31568 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31570 PyObject
* obj0
= 0 ;
31571 char *kwnames
[] = {
31572 (char *) "self", NULL
31575 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
31576 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31579 result
= (int)(arg1
)->GetCols();
31581 wxPyEndAllowThreads(__tstate
);
31582 if (PyErr_Occurred()) SWIG_fail
;
31584 resultobj
= PyInt_FromLong((long)result
);
31591 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31592 PyObject
*resultobj
;
31593 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31595 PyObject
* obj0
= 0 ;
31596 char *kwnames
[] = {
31597 (char *) "self", NULL
31600 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
31601 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31604 result
= (int)(arg1
)->GetRows();
31606 wxPyEndAllowThreads(__tstate
);
31607 if (PyErr_Occurred()) SWIG_fail
;
31609 resultobj
= PyInt_FromLong((long)result
);
31616 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31617 PyObject
*resultobj
;
31618 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31620 PyObject
* obj0
= 0 ;
31621 char *kwnames
[] = {
31622 (char *) "self", NULL
31625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
31626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31628 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31629 result
= (int)(arg1
)->GetVGap();
31631 wxPyEndAllowThreads(__tstate
);
31632 if (PyErr_Occurred()) SWIG_fail
;
31634 resultobj
= PyInt_FromLong((long)result
);
31641 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31642 PyObject
*resultobj
;
31643 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31645 PyObject
* obj0
= 0 ;
31646 char *kwnames
[] = {
31647 (char *) "self", NULL
31650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
31651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31654 result
= (int)(arg1
)->GetHGap();
31656 wxPyEndAllowThreads(__tstate
);
31657 if (PyErr_Occurred()) SWIG_fail
;
31659 resultobj
= PyInt_FromLong((long)result
);
31666 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31668 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31669 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
31671 return Py_BuildValue((char *)"");
31673 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31674 PyObject
*resultobj
;
31675 int arg1
= (int) 1 ;
31676 int arg2
= (int) 0 ;
31677 int arg3
= (int) 0 ;
31678 int arg4
= (int) 0 ;
31679 wxFlexGridSizer
*result
;
31680 char *kwnames
[] = {
31681 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31687 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
31689 wxPyEndAllowThreads(__tstate
);
31690 if (PyErr_Occurred()) SWIG_fail
;
31692 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
31699 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31700 PyObject
*resultobj
;
31701 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31702 PyObject
* obj0
= 0 ;
31703 char *kwnames
[] = {
31704 (char *) "self", NULL
31707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31711 (arg1
)->RecalcSizes();
31713 wxPyEndAllowThreads(__tstate
);
31714 if (PyErr_Occurred()) SWIG_fail
;
31716 Py_INCREF(Py_None
); resultobj
= Py_None
;
31723 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31727 PyObject
* obj0
= 0 ;
31728 char *kwnames
[] = {
31729 (char *) "self", NULL
31732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31736 result
= (arg1
)->CalcMin();
31738 wxPyEndAllowThreads(__tstate
);
31739 if (PyErr_Occurred()) SWIG_fail
;
31742 wxSize
* resultptr
;
31743 resultptr
= new wxSize((wxSize
&) result
);
31744 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31752 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31753 PyObject
*resultobj
;
31754 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31756 int arg3
= (int) 0 ;
31757 PyObject
* obj0
= 0 ;
31758 PyObject
* obj1
= 0 ;
31759 char *kwnames
[] = {
31760 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31765 arg2
= (size_t) PyInt_AsLong(obj1
);
31766 if (PyErr_Occurred()) SWIG_fail
;
31768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31769 (arg1
)->AddGrowableRow(arg2
,arg3
);
31771 wxPyEndAllowThreads(__tstate
);
31772 if (PyErr_Occurred()) SWIG_fail
;
31774 Py_INCREF(Py_None
); resultobj
= Py_None
;
31781 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31782 PyObject
*resultobj
;
31783 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31785 PyObject
* obj0
= 0 ;
31786 PyObject
* obj1
= 0 ;
31787 char *kwnames
[] = {
31788 (char *) "self",(char *) "idx", NULL
31791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) 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
)->RemoveGrowableRow(arg2
);
31799 wxPyEndAllowThreads(__tstate
);
31800 if (PyErr_Occurred()) SWIG_fail
;
31802 Py_INCREF(Py_None
); resultobj
= Py_None
;
31809 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31810 PyObject
*resultobj
;
31811 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31813 int arg3
= (int) 0 ;
31814 PyObject
* obj0
= 0 ;
31815 PyObject
* obj1
= 0 ;
31816 char *kwnames
[] = {
31817 (char *) "self",(char *) "idx",(char *) "proportion", NULL
31820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
31821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31822 arg2
= (size_t) PyInt_AsLong(obj1
);
31823 if (PyErr_Occurred()) SWIG_fail
;
31825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31826 (arg1
)->AddGrowableCol(arg2
,arg3
);
31828 wxPyEndAllowThreads(__tstate
);
31829 if (PyErr_Occurred()) SWIG_fail
;
31831 Py_INCREF(Py_None
); resultobj
= Py_None
;
31838 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31839 PyObject
*resultobj
;
31840 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31842 PyObject
* obj0
= 0 ;
31843 PyObject
* obj1
= 0 ;
31844 char *kwnames
[] = {
31845 (char *) "self",(char *) "idx", NULL
31848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
31849 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31850 arg2
= (size_t) PyInt_AsLong(obj1
);
31851 if (PyErr_Occurred()) SWIG_fail
;
31853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31854 (arg1
)->RemoveGrowableCol(arg2
);
31856 wxPyEndAllowThreads(__tstate
);
31857 if (PyErr_Occurred()) SWIG_fail
;
31859 Py_INCREF(Py_None
); resultobj
= Py_None
;
31866 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31867 PyObject
*resultobj
;
31868 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31870 PyObject
* obj0
= 0 ;
31871 char *kwnames
[] = {
31872 (char *) "self",(char *) "direction", NULL
31875 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
31876 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31879 (arg1
)->SetFlexibleDirection(arg2
);
31881 wxPyEndAllowThreads(__tstate
);
31882 if (PyErr_Occurred()) SWIG_fail
;
31884 Py_INCREF(Py_None
); resultobj
= Py_None
;
31891 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31892 PyObject
*resultobj
;
31893 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31895 PyObject
* obj0
= 0 ;
31896 char *kwnames
[] = {
31897 (char *) "self", NULL
31900 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
31901 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31904 result
= (int)(arg1
)->GetFlexibleDirection();
31906 wxPyEndAllowThreads(__tstate
);
31907 if (PyErr_Occurred()) SWIG_fail
;
31909 resultobj
= PyInt_FromLong((long)result
);
31916 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31917 PyObject
*resultobj
;
31918 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31920 PyObject
* obj0
= 0 ;
31921 char *kwnames
[] = {
31922 (char *) "self",(char *) "mode", NULL
31925 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
31926 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31929 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
31931 wxPyEndAllowThreads(__tstate
);
31932 if (PyErr_Occurred()) SWIG_fail
;
31934 Py_INCREF(Py_None
); resultobj
= Py_None
;
31941 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31942 PyObject
*resultobj
;
31943 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31945 PyObject
* obj0
= 0 ;
31946 char *kwnames
[] = {
31947 (char *) "self", NULL
31950 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
31951 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31954 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
31956 wxPyEndAllowThreads(__tstate
);
31957 if (PyErr_Occurred()) SWIG_fail
;
31959 resultobj
= PyInt_FromLong((long)result
);
31966 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31967 PyObject
*resultobj
;
31968 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
31969 wxArrayInt
*result
;
31970 PyObject
* obj0
= 0 ;
31971 char *kwnames
[] = {
31972 (char *) "self", NULL
31975 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
31976 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31980 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
31981 result
= (wxArrayInt
*) &_result_ref
;
31984 wxPyEndAllowThreads(__tstate
);
31985 if (PyErr_Occurred()) SWIG_fail
;
31988 resultobj
= PyList_New(0);
31990 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
31991 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
31992 PyList_Append(resultobj
, val
);
32002 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32003 PyObject
*resultobj
;
32004 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32005 wxArrayInt
*result
;
32006 PyObject
* obj0
= 0 ;
32007 char *kwnames
[] = {
32008 (char *) "self", NULL
32011 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
32012 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32016 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
32017 result
= (wxArrayInt
*) &_result_ref
;
32020 wxPyEndAllowThreads(__tstate
);
32021 if (PyErr_Occurred()) SWIG_fail
;
32024 resultobj
= PyList_New(0);
32026 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32027 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32028 PyList_Append(resultobj
, val
);
32038 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32040 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32041 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
32043 return Py_BuildValue((char *)"");
32045 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32046 PyObject
*resultobj
;
32047 int arg1
= (int) 0 ;
32048 int arg2
= (int) 0 ;
32049 wxGBPosition
*result
;
32050 char *kwnames
[] = {
32051 (char *) "row",(char *) "col", NULL
32054 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
32056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32057 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
32059 wxPyEndAllowThreads(__tstate
);
32060 if (PyErr_Occurred()) SWIG_fail
;
32062 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
32069 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32070 PyObject
*resultobj
;
32071 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32073 PyObject
* obj0
= 0 ;
32074 char *kwnames
[] = {
32075 (char *) "self", NULL
32078 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
32079 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32082 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
32084 wxPyEndAllowThreads(__tstate
);
32085 if (PyErr_Occurred()) SWIG_fail
;
32087 resultobj
= PyInt_FromLong((long)result
);
32094 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32095 PyObject
*resultobj
;
32096 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32098 PyObject
* obj0
= 0 ;
32099 char *kwnames
[] = {
32100 (char *) "self", NULL
32103 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
32104 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32107 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
32109 wxPyEndAllowThreads(__tstate
);
32110 if (PyErr_Occurred()) SWIG_fail
;
32112 resultobj
= PyInt_FromLong((long)result
);
32119 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32120 PyObject
*resultobj
;
32121 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32123 PyObject
* obj0
= 0 ;
32124 char *kwnames
[] = {
32125 (char *) "self",(char *) "row", NULL
32128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
32129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32132 (arg1
)->SetRow(arg2
);
32134 wxPyEndAllowThreads(__tstate
);
32135 if (PyErr_Occurred()) SWIG_fail
;
32137 Py_INCREF(Py_None
); resultobj
= Py_None
;
32144 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32145 PyObject
*resultobj
;
32146 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32148 PyObject
* obj0
= 0 ;
32149 char *kwnames
[] = {
32150 (char *) "self",(char *) "col", NULL
32153 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
32154 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32157 (arg1
)->SetCol(arg2
);
32159 wxPyEndAllowThreads(__tstate
);
32160 if (PyErr_Occurred()) SWIG_fail
;
32162 Py_INCREF(Py_None
); resultobj
= Py_None
;
32169 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32170 PyObject
*resultobj
;
32171 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32172 wxGBPosition
*arg2
= 0 ;
32174 wxGBPosition temp2
;
32175 PyObject
* obj0
= 0 ;
32176 PyObject
* obj1
= 0 ;
32177 char *kwnames
[] = {
32178 (char *) "self",(char *) "p", NULL
32181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32185 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32189 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
32191 wxPyEndAllowThreads(__tstate
);
32192 if (PyErr_Occurred()) SWIG_fail
;
32194 resultobj
= PyInt_FromLong((long)result
);
32201 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32202 PyObject
*resultobj
;
32203 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32204 wxGBPosition
*arg2
= 0 ;
32206 wxGBPosition temp2
;
32207 PyObject
* obj0
= 0 ;
32208 PyObject
* obj1
= 0 ;
32209 char *kwnames
[] = {
32210 (char *) "self",(char *) "p", NULL
32213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32217 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32221 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
32223 wxPyEndAllowThreads(__tstate
);
32224 if (PyErr_Occurred()) SWIG_fail
;
32226 resultobj
= PyInt_FromLong((long)result
);
32233 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32234 PyObject
*resultobj
;
32235 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32236 int arg2
= (int) 0 ;
32237 int arg3
= (int) 0 ;
32238 PyObject
* obj0
= 0 ;
32239 char *kwnames
[] = {
32240 (char *) "self",(char *) "row",(char *) "col", NULL
32243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBPosition_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32247 wxGBPosition_Set(arg1
,arg2
,arg3
);
32249 wxPyEndAllowThreads(__tstate
);
32250 if (PyErr_Occurred()) SWIG_fail
;
32252 Py_INCREF(Py_None
); resultobj
= Py_None
;
32259 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32260 PyObject
*resultobj
;
32261 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32263 PyObject
* obj0
= 0 ;
32264 char *kwnames
[] = {
32265 (char *) "self", NULL
32268 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
32269 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32272 result
= (PyObject
*)wxGBPosition_Get(arg1
);
32274 wxPyEndAllowThreads(__tstate
);
32275 if (PyErr_Occurred()) SWIG_fail
;
32277 resultobj
= result
;
32284 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
32286 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32287 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
32289 return Py_BuildValue((char *)"");
32291 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32292 PyObject
*resultobj
;
32293 int arg1
= (int) 1 ;
32294 int arg2
= (int) 1 ;
32296 char *kwnames
[] = {
32297 (char *) "rowspan",(char *) "colspan", NULL
32300 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
32302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32303 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
32305 wxPyEndAllowThreads(__tstate
);
32306 if (PyErr_Occurred()) SWIG_fail
;
32308 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
32315 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32316 PyObject
*resultobj
;
32317 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32319 PyObject
* obj0
= 0 ;
32320 char *kwnames
[] = {
32321 (char *) "self", NULL
32324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
32325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32328 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
32330 wxPyEndAllowThreads(__tstate
);
32331 if (PyErr_Occurred()) SWIG_fail
;
32333 resultobj
= PyInt_FromLong((long)result
);
32340 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32341 PyObject
*resultobj
;
32342 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32344 PyObject
* obj0
= 0 ;
32345 char *kwnames
[] = {
32346 (char *) "self", NULL
32349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
32350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32353 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
32355 wxPyEndAllowThreads(__tstate
);
32356 if (PyErr_Occurred()) SWIG_fail
;
32358 resultobj
= PyInt_FromLong((long)result
);
32365 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32366 PyObject
*resultobj
;
32367 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32369 PyObject
* obj0
= 0 ;
32370 char *kwnames
[] = {
32371 (char *) "self",(char *) "rowspan", NULL
32374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32378 (arg1
)->SetRowspan(arg2
);
32380 wxPyEndAllowThreads(__tstate
);
32381 if (PyErr_Occurred()) SWIG_fail
;
32383 Py_INCREF(Py_None
); resultobj
= Py_None
;
32390 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32391 PyObject
*resultobj
;
32392 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32394 PyObject
* obj0
= 0 ;
32395 char *kwnames
[] = {
32396 (char *) "self",(char *) "colspan", NULL
32399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32403 (arg1
)->SetColspan(arg2
);
32405 wxPyEndAllowThreads(__tstate
);
32406 if (PyErr_Occurred()) SWIG_fail
;
32408 Py_INCREF(Py_None
); resultobj
= Py_None
;
32415 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32416 PyObject
*resultobj
;
32417 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32418 wxGBSpan
*arg2
= 0 ;
32421 PyObject
* obj0
= 0 ;
32422 PyObject
* obj1
= 0 ;
32423 char *kwnames
[] = {
32424 (char *) "self",(char *) "o", NULL
32427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32431 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32435 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
32437 wxPyEndAllowThreads(__tstate
);
32438 if (PyErr_Occurred()) SWIG_fail
;
32440 resultobj
= PyInt_FromLong((long)result
);
32447 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32448 PyObject
*resultobj
;
32449 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32450 wxGBSpan
*arg2
= 0 ;
32453 PyObject
* obj0
= 0 ;
32454 PyObject
* obj1
= 0 ;
32455 char *kwnames
[] = {
32456 (char *) "self",(char *) "o", NULL
32459 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32460 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32463 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32466 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32467 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
32469 wxPyEndAllowThreads(__tstate
);
32470 if (PyErr_Occurred()) SWIG_fail
;
32472 resultobj
= PyInt_FromLong((long)result
);
32479 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32480 PyObject
*resultobj
;
32481 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32482 int arg2
= (int) 1 ;
32483 int arg3
= (int) 1 ;
32484 PyObject
* obj0
= 0 ;
32485 char *kwnames
[] = {
32486 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
32489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBSpan_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32493 wxGBSpan_Set(arg1
,arg2
,arg3
);
32495 wxPyEndAllowThreads(__tstate
);
32496 if (PyErr_Occurred()) SWIG_fail
;
32498 Py_INCREF(Py_None
); resultobj
= Py_None
;
32505 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32506 PyObject
*resultobj
;
32507 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32509 PyObject
* obj0
= 0 ;
32510 char *kwnames
[] = {
32511 (char *) "self", NULL
32514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
32515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32518 result
= (PyObject
*)wxGBSpan_Get(arg1
);
32520 wxPyEndAllowThreads(__tstate
);
32521 if (PyErr_Occurred()) SWIG_fail
;
32523 resultobj
= result
;
32530 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
32532 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32533 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
32535 return Py_BuildValue((char *)"");
32537 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
32538 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
32543 static PyObject
*_wrap_DefaultSpan_get() {
32546 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
32551 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32552 PyObject
*resultobj
;
32553 wxGBSizerItem
*result
;
32554 char *kwnames
[] = {
32558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
32560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32561 result
= (wxGBSizerItem
*)new wxGBSizerItem();
32563 wxPyEndAllowThreads(__tstate
);
32564 if (PyErr_Occurred()) SWIG_fail
;
32566 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32573 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32574 PyObject
*resultobj
;
32575 wxWindow
*arg1
= (wxWindow
*) 0 ;
32576 wxGBPosition
*arg2
= 0 ;
32577 wxGBSpan
*arg3
= 0 ;
32580 wxObject
*arg6
= (wxObject
*) 0 ;
32581 wxGBSizerItem
*result
;
32582 wxGBPosition temp2
;
32584 PyObject
* obj0
= 0 ;
32585 PyObject
* obj1
= 0 ;
32586 PyObject
* obj2
= 0 ;
32587 PyObject
* obj5
= 0 ;
32588 char *kwnames
[] = {
32589 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32596 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32600 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32602 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32605 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32607 wxPyEndAllowThreads(__tstate
);
32608 if (PyErr_Occurred()) SWIG_fail
;
32610 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32617 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32618 PyObject
*resultobj
;
32619 wxSizer
*arg1
= (wxSizer
*) 0 ;
32620 wxGBPosition
*arg2
= 0 ;
32621 wxGBSpan
*arg3
= 0 ;
32624 wxObject
*arg6
= (wxObject
*) 0 ;
32625 wxGBSizerItem
*result
;
32626 wxGBPosition temp2
;
32628 PyObject
* obj0
= 0 ;
32629 PyObject
* obj1
= 0 ;
32630 PyObject
* obj2
= 0 ;
32631 PyObject
* obj5
= 0 ;
32632 char *kwnames
[] = {
32633 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
32637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32640 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32644 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32646 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32649 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
32651 wxPyEndAllowThreads(__tstate
);
32652 if (PyErr_Occurred()) SWIG_fail
;
32654 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32661 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32662 PyObject
*resultobj
;
32665 wxGBPosition
*arg3
= 0 ;
32666 wxGBSpan
*arg4
= 0 ;
32669 wxObject
*arg7
= (wxObject
*) 0 ;
32670 wxGBSizerItem
*result
;
32671 wxGBPosition temp3
;
32673 PyObject
* obj2
= 0 ;
32674 PyObject
* obj3
= 0 ;
32675 PyObject
* obj6
= 0 ;
32676 char *kwnames
[] = {
32677 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
32680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
32683 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
32687 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
32689 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32692 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
32694 wxPyEndAllowThreads(__tstate
);
32695 if (PyErr_Occurred()) SWIG_fail
;
32697 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
32704 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32705 PyObject
*resultobj
;
32706 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32707 wxGBPosition result
;
32708 PyObject
* obj0
= 0 ;
32709 char *kwnames
[] = {
32710 (char *) "self", NULL
32713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",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
)->GetPos();
32719 wxPyEndAllowThreads(__tstate
);
32720 if (PyErr_Occurred()) SWIG_fail
;
32723 wxGBPosition
* resultptr
;
32724 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
32725 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
32733 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32734 PyObject
*resultobj
;
32735 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32737 PyObject
* obj0
= 0 ;
32738 char *kwnames
[] = {
32739 (char *) "self", NULL
32742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
32743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32746 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
32748 wxPyEndAllowThreads(__tstate
);
32749 if (PyErr_Occurred()) SWIG_fail
;
32752 wxGBSpan
* resultptr
;
32753 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
32754 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
32762 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32763 PyObject
*resultobj
;
32764 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32765 wxGBPosition
*arg2
= 0 ;
32767 wxGBPosition temp2
;
32768 PyObject
* obj0
= 0 ;
32769 PyObject
* obj1
= 0 ;
32770 char *kwnames
[] = {
32771 (char *) "self",(char *) "pos", NULL
32774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
32775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32778 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32782 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
32784 wxPyEndAllowThreads(__tstate
);
32785 if (PyErr_Occurred()) SWIG_fail
;
32787 resultobj
= PyInt_FromLong((long)result
);
32794 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32795 PyObject
*resultobj
;
32796 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32797 wxGBSpan
*arg2
= 0 ;
32800 PyObject
* obj0
= 0 ;
32801 PyObject
* obj1
= 0 ;
32802 char *kwnames
[] = {
32803 (char *) "self",(char *) "span", NULL
32806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
32807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32810 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
32813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32814 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
32816 wxPyEndAllowThreads(__tstate
);
32817 if (PyErr_Occurred()) SWIG_fail
;
32819 resultobj
= PyInt_FromLong((long)result
);
32826 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
32827 PyObject
*resultobj
;
32828 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32829 wxGBSizerItem
*arg2
= 0 ;
32831 PyObject
* obj0
= 0 ;
32832 PyObject
* obj1
= 0 ;
32834 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
32835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32837 if (arg2
== NULL
) {
32838 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32842 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
32844 wxPyEndAllowThreads(__tstate
);
32845 if (PyErr_Occurred()) SWIG_fail
;
32847 resultobj
= PyInt_FromLong((long)result
);
32854 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
32855 PyObject
*resultobj
;
32856 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32857 wxGBPosition
*arg2
= 0 ;
32858 wxGBSpan
*arg3
= 0 ;
32860 wxGBPosition temp2
;
32862 PyObject
* obj0
= 0 ;
32863 PyObject
* obj1
= 0 ;
32864 PyObject
* obj2
= 0 ;
32866 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
32867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32870 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32874 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
32877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32878 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
32880 wxPyEndAllowThreads(__tstate
);
32881 if (PyErr_Occurred()) SWIG_fail
;
32883 resultobj
= PyInt_FromLong((long)result
);
32890 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
32895 argc
= PyObject_Length(args
);
32896 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
32897 argv
[ii
] = PyTuple_GetItem(args
,ii
);
32903 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32913 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32921 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
32929 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
32938 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
32942 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
32945 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
32951 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
32956 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32957 PyObject
*resultobj
;
32958 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32961 PyObject
* obj0
= 0 ;
32962 PyObject
* obj1
= 0 ;
32963 PyObject
* obj2
= 0 ;
32964 char *kwnames
[] = {
32965 (char *) "self",(char *) "row",(char *) "col", NULL
32968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
32969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32971 if (arg2
== NULL
) {
32972 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32974 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32975 if (arg3
== NULL
) {
32976 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
32979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32980 (arg1
)->GetEndPos(*arg2
,*arg3
);
32982 wxPyEndAllowThreads(__tstate
);
32983 if (PyErr_Occurred()) SWIG_fail
;
32985 Py_INCREF(Py_None
); resultobj
= Py_None
;
32992 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32993 PyObject
*resultobj
;
32994 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
32995 wxGridBagSizer
*result
;
32996 PyObject
* obj0
= 0 ;
32997 char *kwnames
[] = {
32998 (char *) "self", NULL
33001 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
33002 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33005 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
33007 wxPyEndAllowThreads(__tstate
);
33008 if (PyErr_Occurred()) SWIG_fail
;
33010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
33017 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33018 PyObject
*resultobj
;
33019 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33020 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
33021 PyObject
* obj0
= 0 ;
33022 PyObject
* obj1
= 0 ;
33023 char *kwnames
[] = {
33024 (char *) "self",(char *) "sizer", NULL
33027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33029 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33032 (arg1
)->SetGBSizer(arg2
);
33034 wxPyEndAllowThreads(__tstate
);
33035 if (PyErr_Occurred()) SWIG_fail
;
33037 Py_INCREF(Py_None
); resultobj
= Py_None
;
33044 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33046 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33047 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
33049 return Py_BuildValue((char *)"");
33051 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33052 PyObject
*resultobj
;
33053 int arg1
= (int) 0 ;
33054 int arg2
= (int) 0 ;
33055 wxGridBagSizer
*result
;
33056 char *kwnames
[] = {
33057 (char *) "vgap",(char *) "hgap", NULL
33060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
33062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33063 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
33065 wxPyEndAllowThreads(__tstate
);
33066 if (PyErr_Occurred()) SWIG_fail
;
33068 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
33075 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33076 PyObject
*resultobj
;
33077 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33078 PyObject
*arg2
= (PyObject
*) 0 ;
33079 wxGBPosition
*arg3
= 0 ;
33080 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
33081 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
33082 int arg5
= (int) 0 ;
33083 int arg6
= (int) 0 ;
33084 PyObject
*arg7
= (PyObject
*) NULL
;
33086 wxGBPosition temp3
;
33088 PyObject
* obj0
= 0 ;
33089 PyObject
* obj1
= 0 ;
33090 PyObject
* obj2
= 0 ;
33091 PyObject
* obj3
= 0 ;
33092 PyObject
* obj6
= 0 ;
33093 char *kwnames
[] = {
33094 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33102 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33107 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33115 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33117 wxPyEndAllowThreads(__tstate
);
33118 if (PyErr_Occurred()) SWIG_fail
;
33120 resultobj
= PyInt_FromLong((long)result
);
33127 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33128 PyObject
*resultobj
;
33129 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33130 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33132 PyObject
* obj0
= 0 ;
33133 PyObject
* obj1
= 0 ;
33134 char *kwnames
[] = {
33135 (char *) "self",(char *) "item", NULL
33138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33140 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 result
= (bool)(arg1
)->Add(arg2
);
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33148 resultobj
= PyInt_FromLong((long)result
);
33155 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
;
33157 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33159 PyObject
* obj0
= 0 ;
33160 char *kwnames
[] = {
33161 (char *) "self", NULL
33164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
33165 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33168 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
33170 wxPyEndAllowThreads(__tstate
);
33171 if (PyErr_Occurred()) SWIG_fail
;
33174 wxSize
* resultptr
;
33175 resultptr
= new wxSize((wxSize
&) result
);
33176 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33184 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33185 PyObject
*resultobj
;
33186 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33189 PyObject
* obj0
= 0 ;
33190 PyObject
* obj1
= 0 ;
33191 char *kwnames
[] = {
33192 (char *) "self",(char *) "sz", NULL
33195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33199 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33203 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
33205 wxPyEndAllowThreads(__tstate
);
33206 if (PyErr_Occurred()) SWIG_fail
;
33208 Py_INCREF(Py_None
); resultobj
= Py_None
;
33215 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33216 PyObject
*resultobj
;
33217 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33218 wxWindow
*arg2
= (wxWindow
*) 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_wxWindow
,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_1(PyObject
*self
, PyObject
*args
) {
33245 PyObject
*resultobj
;
33246 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33247 wxSizer
*arg2
= (wxSizer
*) 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 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33257 result
= (arg1
)->GetItemPosition(arg2
);
33259 wxPyEndAllowThreads(__tstate
);
33260 if (PyErr_Occurred()) SWIG_fail
;
33263 wxGBPosition
* resultptr
;
33264 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33265 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33273 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33274 PyObject
*resultobj
;
33275 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33277 wxGBPosition result
;
33278 PyObject
* obj0
= 0 ;
33279 PyObject
* obj1
= 0 ;
33281 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33283 arg2
= (size_t) PyInt_AsLong(obj1
);
33284 if (PyErr_Occurred()) SWIG_fail
;
33286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33287 result
= (arg1
)->GetItemPosition(arg2
);
33289 wxPyEndAllowThreads(__tstate
);
33290 if (PyErr_Occurred()) SWIG_fail
;
33293 wxGBPosition
* resultptr
;
33294 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33295 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33303 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
33308 argc
= PyObject_Length(args
);
33309 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33310 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33316 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33326 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33334 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
33342 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33352 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33360 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
33368 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33377 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33380 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
33385 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33390 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33391 PyObject
*resultobj
;
33392 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33393 wxWindow
*arg2
= (wxWindow
*) 0 ;
33394 wxGBPosition
*arg3
= 0 ;
33396 wxGBPosition temp3
;
33397 PyObject
* obj0
= 0 ;
33398 PyObject
* obj1
= 0 ;
33399 PyObject
* obj2
= 0 ;
33401 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33402 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33403 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33406 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33410 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33412 wxPyEndAllowThreads(__tstate
);
33413 if (PyErr_Occurred()) SWIG_fail
;
33415 resultobj
= PyInt_FromLong((long)result
);
33422 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33423 PyObject
*resultobj
;
33424 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33425 wxSizer
*arg2
= (wxSizer
*) 0 ;
33426 wxGBPosition
*arg3
= 0 ;
33428 wxGBPosition temp3
;
33429 PyObject
* obj0
= 0 ;
33430 PyObject
* obj1
= 0 ;
33431 PyObject
* obj2
= 0 ;
33433 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33434 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33435 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33438 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33442 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33444 wxPyEndAllowThreads(__tstate
);
33445 if (PyErr_Occurred()) SWIG_fail
;
33447 resultobj
= PyInt_FromLong((long)result
);
33454 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33455 PyObject
*resultobj
;
33456 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33458 wxGBPosition
*arg3
= 0 ;
33460 wxGBPosition temp3
;
33461 PyObject
* obj0
= 0 ;
33462 PyObject
* obj1
= 0 ;
33463 PyObject
* obj2
= 0 ;
33465 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33466 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33467 arg2
= (size_t) PyInt_AsLong(obj1
);
33468 if (PyErr_Occurred()) SWIG_fail
;
33471 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33475 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33477 wxPyEndAllowThreads(__tstate
);
33478 if (PyErr_Occurred()) SWIG_fail
;
33480 resultobj
= PyInt_FromLong((long)result
);
33487 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
33492 argc
= PyObject_Length(args
);
33493 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33494 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33500 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33510 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33519 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33522 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
33531 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33541 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33550 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33553 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
33562 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33571 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33575 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
33578 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
33584 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
33589 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33590 PyObject
*resultobj
;
33591 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33592 wxWindow
*arg2
= (wxWindow
*) 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_wxWindow
,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_1(PyObject
*self
, PyObject
*args
) {
33619 PyObject
*resultobj
;
33620 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33621 wxSizer
*arg2
= (wxSizer
*) 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 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33631 result
= (arg1
)->GetItemSpan(arg2
);
33633 wxPyEndAllowThreads(__tstate
);
33634 if (PyErr_Occurred()) SWIG_fail
;
33637 wxGBSpan
* resultptr
;
33638 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33639 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33647 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33648 PyObject
*resultobj
;
33649 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33652 PyObject
* obj0
= 0 ;
33653 PyObject
* obj1
= 0 ;
33655 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
33656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33657 arg2
= (size_t) PyInt_AsLong(obj1
);
33658 if (PyErr_Occurred()) SWIG_fail
;
33660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33661 result
= (arg1
)->GetItemSpan(arg2
);
33663 wxPyEndAllowThreads(__tstate
);
33664 if (PyErr_Occurred()) SWIG_fail
;
33667 wxGBSpan
* resultptr
;
33668 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33669 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33677 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
33682 argc
= PyObject_Length(args
);
33683 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33684 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33690 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33700 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33708 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
33716 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33726 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33734 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
33742 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33751 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33754 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
33759 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
33764 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
33765 PyObject
*resultobj
;
33766 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33767 wxWindow
*arg2
= (wxWindow
*) 0 ;
33768 wxGBSpan
*arg3
= 0 ;
33771 PyObject
* obj0
= 0 ;
33772 PyObject
* obj1
= 0 ;
33773 PyObject
* obj2
= 0 ;
33775 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33777 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33780 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33784 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33786 wxPyEndAllowThreads(__tstate
);
33787 if (PyErr_Occurred()) SWIG_fail
;
33789 resultobj
= PyInt_FromLong((long)result
);
33796 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
33797 PyObject
*resultobj
;
33798 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33799 wxSizer
*arg2
= (wxSizer
*) 0 ;
33800 wxGBSpan
*arg3
= 0 ;
33803 PyObject
* obj0
= 0 ;
33804 PyObject
* obj1
= 0 ;
33805 PyObject
* obj2
= 0 ;
33807 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33809 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33812 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33816 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33818 wxPyEndAllowThreads(__tstate
);
33819 if (PyErr_Occurred()) SWIG_fail
;
33821 resultobj
= PyInt_FromLong((long)result
);
33828 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
33829 PyObject
*resultobj
;
33830 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33832 wxGBSpan
*arg3
= 0 ;
33835 PyObject
* obj0
= 0 ;
33836 PyObject
* obj1
= 0 ;
33837 PyObject
* obj2
= 0 ;
33839 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
33840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33841 arg2
= (size_t) PyInt_AsLong(obj1
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33845 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33849 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
33851 wxPyEndAllowThreads(__tstate
);
33852 if (PyErr_Occurred()) SWIG_fail
;
33854 resultobj
= PyInt_FromLong((long)result
);
33861 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
33866 argc
= PyObject_Length(args
);
33867 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33868 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33874 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33884 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33893 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33896 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
33905 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33915 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33924 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33927 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
33936 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33945 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33949 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33952 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
33958 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
33963 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
33964 PyObject
*resultobj
;
33965 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33966 wxWindow
*arg2
= (wxWindow
*) 0 ;
33967 wxGBSizerItem
*result
;
33968 PyObject
* obj0
= 0 ;
33969 PyObject
* obj1
= 0 ;
33971 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
33972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33973 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33976 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
33978 wxPyEndAllowThreads(__tstate
);
33979 if (PyErr_Occurred()) SWIG_fail
;
33981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
33988 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
33989 PyObject
*resultobj
;
33990 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33991 wxSizer
*arg2
= (wxSizer
*) 0 ;
33992 wxGBSizerItem
*result
;
33993 PyObject
* obj0
= 0 ;
33994 PyObject
* obj1
= 0 ;
33996 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
33997 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33998 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34001 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34003 wxPyEndAllowThreads(__tstate
);
34004 if (PyErr_Occurred()) SWIG_fail
;
34006 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34013 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
34018 argc
= PyObject_Length(args
);
34019 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34020 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34026 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34036 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34044 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
34052 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34062 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34070 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
34075 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
34080 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34081 PyObject
*resultobj
;
34082 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34083 wxGBPosition
*arg2
= 0 ;
34084 wxGBSizerItem
*result
;
34085 wxGBPosition temp2
;
34086 PyObject
* obj0
= 0 ;
34087 PyObject
* obj1
= 0 ;
34088 char *kwnames
[] = {
34089 (char *) "self",(char *) "pos", NULL
34092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34096 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34100 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
34102 wxPyEndAllowThreads(__tstate
);
34103 if (PyErr_Occurred()) SWIG_fail
;
34105 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34112 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34113 PyObject
*resultobj
;
34114 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34115 wxPoint
*arg2
= 0 ;
34116 wxGBSizerItem
*result
;
34118 PyObject
* obj0
= 0 ;
34119 PyObject
* obj1
= 0 ;
34120 char *kwnames
[] = {
34121 (char *) "self",(char *) "pt", NULL
34124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
34125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34128 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34132 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
34134 wxPyEndAllowThreads(__tstate
);
34135 if (PyErr_Occurred()) SWIG_fail
;
34137 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34144 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34145 PyObject
*resultobj
;
34146 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34147 wxObject
*arg2
= (wxObject
*) 0 ;
34148 wxGBSizerItem
*result
;
34149 PyObject
* obj0
= 0 ;
34150 PyObject
* obj1
= 0 ;
34151 char *kwnames
[] = {
34152 (char *) "self",(char *) "userData", NULL
34155 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
34156 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34157 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34160 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
34162 wxPyEndAllowThreads(__tstate
);
34163 if (PyErr_Occurred()) SWIG_fail
;
34165 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34172 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34173 PyObject
*resultobj
;
34174 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34175 PyObject
* obj0
= 0 ;
34176 char *kwnames
[] = {
34177 (char *) "self", NULL
34180 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34181 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 (arg1
)->RecalcSizes();
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34189 Py_INCREF(Py_None
); resultobj
= Py_None
;
34196 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34197 PyObject
*resultobj
;
34198 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34200 PyObject
* obj0
= 0 ;
34201 char *kwnames
[] = {
34202 (char *) "self", NULL
34205 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34206 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34209 result
= (arg1
)->CalcMin();
34211 wxPyEndAllowThreads(__tstate
);
34212 if (PyErr_Occurred()) SWIG_fail
;
34215 wxSize
* resultptr
;
34216 resultptr
= new wxSize((wxSize
&) result
);
34217 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34225 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
34226 PyObject
*resultobj
;
34227 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34228 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
34229 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
34231 PyObject
* obj0
= 0 ;
34232 PyObject
* obj1
= 0 ;
34233 PyObject
* obj2
= 0 ;
34235 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
34236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34239 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34248 resultobj
= PyInt_FromLong((long)result
);
34255 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
34256 PyObject
*resultobj
;
34257 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34258 wxGBPosition
*arg2
= 0 ;
34259 wxGBSpan
*arg3
= 0 ;
34260 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
34262 wxGBPosition temp2
;
34264 PyObject
* obj0
= 0 ;
34265 PyObject
* obj1
= 0 ;
34266 PyObject
* obj2
= 0 ;
34267 PyObject
* obj3
= 0 ;
34269 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34270 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34273 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34277 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34280 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34284 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
34286 wxPyEndAllowThreads(__tstate
);
34287 if (PyErr_Occurred()) SWIG_fail
;
34289 resultobj
= PyInt_FromLong((long)result
);
34296 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
34301 argc
= PyObject_Length(args
);
34302 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
34303 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34305 if ((argc
>= 2) && (argc
<= 3)) {
34309 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34319 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34328 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34332 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34340 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34345 if ((argc
>= 3) && (argc
<= 4)) {
34349 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34358 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
34362 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34366 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34370 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34378 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34385 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34390 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34392 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34393 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
34395 return Py_BuildValue((char *)"");
34397 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34398 PyObject
*resultobj
;
34399 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34401 wxWindow
*arg3
= (wxWindow
*) 0 ;
34403 int arg5
= (int) 0 ;
34404 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
34405 PyObject
* obj0
= 0 ;
34406 PyObject
* obj2
= 0 ;
34407 char *kwnames
[] = {
34408 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34411 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
34412 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34413 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34416 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
34418 wxPyEndAllowThreads(__tstate
);
34419 if (PyErr_Occurred()) SWIG_fail
;
34421 Py_INCREF(Py_None
); resultobj
= Py_None
;
34428 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34429 PyObject
*resultobj
;
34430 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34431 wxWindow
*arg2
= (wxWindow
*) 0 ;
34432 int arg3
= (int) 0 ;
34433 PyObject
* obj0
= 0 ;
34434 PyObject
* obj1
= 0 ;
34435 char *kwnames
[] = {
34436 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34441 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34444 (arg1
)->LeftOf(arg2
,arg3
);
34446 wxPyEndAllowThreads(__tstate
);
34447 if (PyErr_Occurred()) SWIG_fail
;
34449 Py_INCREF(Py_None
); resultobj
= Py_None
;
34456 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34457 PyObject
*resultobj
;
34458 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34459 wxWindow
*arg2
= (wxWindow
*) 0 ;
34460 int arg3
= (int) 0 ;
34461 PyObject
* obj0
= 0 ;
34462 PyObject
* obj1
= 0 ;
34463 char *kwnames
[] = {
34464 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34469 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34472 (arg1
)->RightOf(arg2
,arg3
);
34474 wxPyEndAllowThreads(__tstate
);
34475 if (PyErr_Occurred()) SWIG_fail
;
34477 Py_INCREF(Py_None
); resultobj
= Py_None
;
34484 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34485 PyObject
*resultobj
;
34486 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34487 wxWindow
*arg2
= (wxWindow
*) 0 ;
34488 int arg3
= (int) 0 ;
34489 PyObject
* obj0
= 0 ;
34490 PyObject
* obj1
= 0 ;
34491 char *kwnames
[] = {
34492 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
34496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34497 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34500 (arg1
)->Above(arg2
,arg3
);
34502 wxPyEndAllowThreads(__tstate
);
34503 if (PyErr_Occurred()) SWIG_fail
;
34505 Py_INCREF(Py_None
); resultobj
= Py_None
;
34512 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34513 PyObject
*resultobj
;
34514 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34515 wxWindow
*arg2
= (wxWindow
*) 0 ;
34516 int arg3
= (int) 0 ;
34517 PyObject
* obj0
= 0 ;
34518 PyObject
* obj1
= 0 ;
34519 char *kwnames
[] = {
34520 (char *) "self",(char *) "sibling",(char *) "marg", NULL
34523 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) 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
)->Below(arg2
,arg3
);
34530 wxPyEndAllowThreads(__tstate
);
34531 if (PyErr_Occurred()) SWIG_fail
;
34533 Py_INCREF(Py_None
); resultobj
= Py_None
;
34540 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34541 PyObject
*resultobj
;
34542 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34543 wxWindow
*arg2
= (wxWindow
*) 0 ;
34545 int arg4
= (int) 0 ;
34546 PyObject
* obj0
= 0 ;
34547 PyObject
* obj1
= 0 ;
34548 char *kwnames
[] = {
34549 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
34552 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",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
)->SameAs(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_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34570 PyObject
*resultobj
;
34571 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34572 wxWindow
*arg2
= (wxWindow
*) 0 ;
34575 PyObject
* obj0
= 0 ;
34576 PyObject
* obj1
= 0 ;
34577 char *kwnames
[] = {
34578 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
34581 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
34582 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34583 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34585 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34586 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
34588 wxPyEndAllowThreads(__tstate
);
34589 if (PyErr_Occurred()) SWIG_fail
;
34591 Py_INCREF(Py_None
); resultobj
= Py_None
;
34598 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34599 PyObject
*resultobj
;
34600 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34602 PyObject
* obj0
= 0 ;
34603 char *kwnames
[] = {
34604 (char *) "self",(char *) "val", NULL
34607 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
34608 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34611 (arg1
)->Absolute(arg2
);
34613 wxPyEndAllowThreads(__tstate
);
34614 if (PyErr_Occurred()) SWIG_fail
;
34616 Py_INCREF(Py_None
); resultobj
= Py_None
;
34623 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34624 PyObject
*resultobj
;
34625 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34626 PyObject
* obj0
= 0 ;
34627 char *kwnames
[] = {
34628 (char *) "self", NULL
34631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
34632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34634 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34635 (arg1
)->Unconstrained();
34637 wxPyEndAllowThreads(__tstate
);
34638 if (PyErr_Occurred()) SWIG_fail
;
34640 Py_INCREF(Py_None
); resultobj
= Py_None
;
34647 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34648 PyObject
*resultobj
;
34649 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34650 PyObject
* obj0
= 0 ;
34651 char *kwnames
[] = {
34652 (char *) "self", NULL
34655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
34656 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34661 wxPyEndAllowThreads(__tstate
);
34662 if (PyErr_Occurred()) SWIG_fail
;
34664 Py_INCREF(Py_None
); resultobj
= Py_None
;
34671 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34672 PyObject
*resultobj
;
34673 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34675 PyObject
* obj0
= 0 ;
34676 char *kwnames
[] = {
34677 (char *) "self", NULL
34680 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
34681 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34684 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
34686 wxPyEndAllowThreads(__tstate
);
34687 if (PyErr_Occurred()) SWIG_fail
;
34690 resultobj
= wxPyMake_wxObject(result
);
34698 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34699 PyObject
*resultobj
;
34700 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34702 PyObject
* obj0
= 0 ;
34703 char *kwnames
[] = {
34704 (char *) "self", NULL
34707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
34708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34711 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
34713 wxPyEndAllowThreads(__tstate
);
34714 if (PyErr_Occurred()) SWIG_fail
;
34716 resultobj
= PyInt_FromLong((long)result
);
34723 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34724 PyObject
*resultobj
;
34725 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34727 PyObject
* obj0
= 0 ;
34728 char *kwnames
[] = {
34729 (char *) "self",(char *) "which", NULL
34732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
34733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34736 (arg1
)->SetEdge((wxEdge
)arg2
);
34738 wxPyEndAllowThreads(__tstate
);
34739 if (PyErr_Occurred()) SWIG_fail
;
34741 Py_INCREF(Py_None
); resultobj
= Py_None
;
34748 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34749 PyObject
*resultobj
;
34750 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34752 PyObject
* obj0
= 0 ;
34753 char *kwnames
[] = {
34754 (char *) "self",(char *) "v", NULL
34757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
34758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34761 (arg1
)->SetValue(arg2
);
34763 wxPyEndAllowThreads(__tstate
);
34764 if (PyErr_Occurred()) SWIG_fail
;
34766 Py_INCREF(Py_None
); resultobj
= Py_None
;
34773 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34774 PyObject
*resultobj
;
34775 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34777 PyObject
* obj0
= 0 ;
34778 char *kwnames
[] = {
34779 (char *) "self", NULL
34782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
34783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34786 result
= (int)(arg1
)->GetMargin();
34788 wxPyEndAllowThreads(__tstate
);
34789 if (PyErr_Occurred()) SWIG_fail
;
34791 resultobj
= PyInt_FromLong((long)result
);
34798 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34799 PyObject
*resultobj
;
34800 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34802 PyObject
* obj0
= 0 ;
34803 char *kwnames
[] = {
34804 (char *) "self",(char *) "m", NULL
34807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
34808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34811 (arg1
)->SetMargin(arg2
);
34813 wxPyEndAllowThreads(__tstate
);
34814 if (PyErr_Occurred()) SWIG_fail
;
34816 Py_INCREF(Py_None
); resultobj
= Py_None
;
34823 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34824 PyObject
*resultobj
;
34825 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34827 PyObject
* obj0
= 0 ;
34828 char *kwnames
[] = {
34829 (char *) "self", NULL
34832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
34833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34836 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
34838 wxPyEndAllowThreads(__tstate
);
34839 if (PyErr_Occurred()) SWIG_fail
;
34841 resultobj
= PyInt_FromLong((long)result
);
34848 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34849 PyObject
*resultobj
;
34850 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34852 PyObject
* obj0
= 0 ;
34853 char *kwnames
[] = {
34854 (char *) "self", NULL
34857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
34858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34861 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
34863 wxPyEndAllowThreads(__tstate
);
34864 if (PyErr_Occurred()) SWIG_fail
;
34866 resultobj
= PyInt_FromLong((long)result
);
34873 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34874 PyObject
*resultobj
;
34875 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34877 PyObject
* obj0
= 0 ;
34878 char *kwnames
[] = {
34879 (char *) "self", NULL
34882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
34883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34886 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
34888 wxPyEndAllowThreads(__tstate
);
34889 if (PyErr_Occurred()) SWIG_fail
;
34891 resultobj
= PyInt_FromLong((long)result
);
34898 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34899 PyObject
*resultobj
;
34900 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34902 PyObject
* obj0
= 0 ;
34903 char *kwnames
[] = {
34904 (char *) "self", NULL
34907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
34908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34911 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
34913 wxPyEndAllowThreads(__tstate
);
34914 if (PyErr_Occurred()) SWIG_fail
;
34916 resultobj
= PyInt_FromLong((long)result
);
34923 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34924 PyObject
*resultobj
;
34925 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34927 PyObject
* obj0
= 0 ;
34928 PyObject
* obj1
= 0 ;
34929 char *kwnames
[] = {
34930 (char *) "self",(char *) "d", NULL
34933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
34934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34935 arg2
= PyInt_AsLong(obj1
) ? true : false;
34936 if (PyErr_Occurred()) SWIG_fail
;
34938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34939 (arg1
)->SetDone(arg2
);
34941 wxPyEndAllowThreads(__tstate
);
34942 if (PyErr_Occurred()) SWIG_fail
;
34944 Py_INCREF(Py_None
); resultobj
= Py_None
;
34951 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34952 PyObject
*resultobj
;
34953 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34955 PyObject
* obj0
= 0 ;
34956 char *kwnames
[] = {
34957 (char *) "self", NULL
34960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
34961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34964 result
= (int)(arg1
)->GetRelationship();
34966 wxPyEndAllowThreads(__tstate
);
34967 if (PyErr_Occurred()) SWIG_fail
;
34969 resultobj
= PyInt_FromLong((long)result
);
34976 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34977 PyObject
*resultobj
;
34978 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34980 PyObject
* obj0
= 0 ;
34981 char *kwnames
[] = {
34982 (char *) "self",(char *) "r", NULL
34985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
34986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34989 (arg1
)->SetRelationship((wxRelationship
)arg2
);
34991 wxPyEndAllowThreads(__tstate
);
34992 if (PyErr_Occurred()) SWIG_fail
;
34994 Py_INCREF(Py_None
); resultobj
= Py_None
;
35001 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35002 PyObject
*resultobj
;
35003 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35004 wxWindow
*arg2
= (wxWindow
*) 0 ;
35006 PyObject
* obj0
= 0 ;
35007 PyObject
* obj1
= 0 ;
35008 char *kwnames
[] = {
35009 (char *) "self",(char *) "otherW", NULL
35012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
35013 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35014 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35017 result
= (bool)(arg1
)->ResetIfWin(arg2
);
35019 wxPyEndAllowThreads(__tstate
);
35020 if (PyErr_Occurred()) SWIG_fail
;
35022 resultobj
= PyInt_FromLong((long)result
);
35029 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35030 PyObject
*resultobj
;
35031 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35032 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
35033 wxWindow
*arg3
= (wxWindow
*) 0 ;
35035 PyObject
* obj0
= 0 ;
35036 PyObject
* obj1
= 0 ;
35037 PyObject
* obj2
= 0 ;
35038 char *kwnames
[] = {
35039 (char *) "self",(char *) "constraints",(char *) "win", NULL
35042 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35043 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35044 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35045 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35048 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
35050 wxPyEndAllowThreads(__tstate
);
35051 if (PyErr_Occurred()) SWIG_fail
;
35053 resultobj
= PyInt_FromLong((long)result
);
35060 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35061 PyObject
*resultobj
;
35062 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35064 wxWindow
*arg3
= (wxWindow
*) 0 ;
35065 wxWindow
*arg4
= (wxWindow
*) 0 ;
35067 PyObject
* obj0
= 0 ;
35068 PyObject
* obj2
= 0 ;
35069 PyObject
* obj3
= 0 ;
35070 char *kwnames
[] = {
35071 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35074 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
35075 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35076 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35077 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35080 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
35082 wxPyEndAllowThreads(__tstate
);
35083 if (PyErr_Occurred()) SWIG_fail
;
35085 resultobj
= PyInt_FromLong((long)result
);
35092 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
35094 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35095 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
35097 return Py_BuildValue((char *)"");
35099 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35100 PyObject
*resultobj
;
35101 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35102 wxIndividualLayoutConstraint
*result
;
35103 PyObject
* obj0
= 0 ;
35104 char *kwnames
[] = {
35105 (char *) "self", NULL
35108 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
35109 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35110 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
35112 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35119 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35120 PyObject
*resultobj
;
35121 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35122 wxIndividualLayoutConstraint
*result
;
35123 PyObject
* obj0
= 0 ;
35124 char *kwnames
[] = {
35125 (char *) "self", NULL
35128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
35129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35130 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
35132 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35139 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35140 PyObject
*resultobj
;
35141 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35142 wxIndividualLayoutConstraint
*result
;
35143 PyObject
* obj0
= 0 ;
35144 char *kwnames
[] = {
35145 (char *) "self", NULL
35148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
35149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35150 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
35152 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35159 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35160 PyObject
*resultobj
;
35161 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35162 wxIndividualLayoutConstraint
*result
;
35163 PyObject
* obj0
= 0 ;
35164 char *kwnames
[] = {
35165 (char *) "self", NULL
35168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
35169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35170 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
35172 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35179 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35180 PyObject
*resultobj
;
35181 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35182 wxIndividualLayoutConstraint
*result
;
35183 PyObject
* obj0
= 0 ;
35184 char *kwnames
[] = {
35185 (char *) "self", NULL
35188 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
35189 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35190 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
35192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35199 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35200 PyObject
*resultobj
;
35201 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35202 wxIndividualLayoutConstraint
*result
;
35203 PyObject
* obj0
= 0 ;
35204 char *kwnames
[] = {
35205 (char *) "self", NULL
35208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
35209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35210 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
35212 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35219 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35220 PyObject
*resultobj
;
35221 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35222 wxIndividualLayoutConstraint
*result
;
35223 PyObject
* obj0
= 0 ;
35224 char *kwnames
[] = {
35225 (char *) "self", NULL
35228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
35229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35230 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
35232 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35239 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35240 PyObject
*resultobj
;
35241 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35242 wxIndividualLayoutConstraint
*result
;
35243 PyObject
* obj0
= 0 ;
35244 char *kwnames
[] = {
35245 (char *) "self", NULL
35248 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
35249 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35250 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
35252 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35259 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35260 PyObject
*resultobj
;
35261 wxLayoutConstraints
*result
;
35262 char *kwnames
[] = {
35266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
35268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35269 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
35271 wxPyEndAllowThreads(__tstate
);
35272 if (PyErr_Occurred()) SWIG_fail
;
35274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
35281 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35282 PyObject
*resultobj
;
35283 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35284 wxWindow
*arg2
= (wxWindow
*) 0 ;
35285 int *arg3
= (int *) 0 ;
35288 PyObject
* obj0
= 0 ;
35289 PyObject
* obj1
= 0 ;
35290 char *kwnames
[] = {
35291 (char *) "self",(char *) "win", NULL
35295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
35296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35297 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35300 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
35302 wxPyEndAllowThreads(__tstate
);
35303 if (PyErr_Occurred()) SWIG_fail
;
35305 resultobj
= PyInt_FromLong((long)result
);
35307 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
35308 resultobj
= t_output_helper(resultobj
,o
);
35316 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35317 PyObject
*resultobj
;
35318 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35320 PyObject
* obj0
= 0 ;
35321 char *kwnames
[] = {
35322 (char *) "self", NULL
35325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
35326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35329 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
35331 wxPyEndAllowThreads(__tstate
);
35332 if (PyErr_Occurred()) SWIG_fail
;
35334 resultobj
= PyInt_FromLong((long)result
);
35341 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
35343 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35344 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
35346 return Py_BuildValue((char *)"");
35348 static PyMethodDef SwigMethods
[] = {
35349 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
35350 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35351 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35352 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
35353 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35354 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35355 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35356 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35357 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
35358 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
35359 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35360 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35361 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
35362 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35363 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
35364 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
35365 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
35366 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35367 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35368 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35369 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35370 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
35371 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
35372 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35373 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35374 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35375 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35376 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35377 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35378 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35379 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35380 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
35381 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35382 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
35383 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
35384 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
35385 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35386 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35387 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35388 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35389 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
35390 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
35391 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35392 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35393 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
35394 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35395 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35396 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35397 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
35398 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
35399 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
35400 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35401 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
35402 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
35403 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35404 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35405 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
35406 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35407 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
35408 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35409 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35410 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35411 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35412 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35413 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35414 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35415 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35416 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35417 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
35418 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35419 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
35420 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
35421 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
35422 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
35423 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
35424 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
35425 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
35426 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
35427 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
35428 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
35429 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
35430 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35431 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35432 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35433 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
35434 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
35435 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
35436 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35437 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35438 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35439 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35440 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35441 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35442 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35443 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35444 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
35445 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
35446 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
35447 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
35448 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
35449 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
35450 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
35451 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
35452 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
35453 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35454 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35455 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
35456 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
35457 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
35458 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
35459 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
35460 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
35461 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
35462 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35463 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35464 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
35465 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
35466 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35467 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35468 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35469 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35470 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35471 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35472 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
35473 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
35474 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
35475 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
35476 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
35477 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
35478 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
35479 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
35480 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
35481 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
35482 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
35483 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
35484 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
35485 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
35486 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
35487 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35488 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
35489 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
35490 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
35491 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
35492 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
35493 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
35494 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
35495 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35496 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
35497 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
35498 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35499 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
35500 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35501 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
35502 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
35503 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
35504 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
35505 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35506 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35507 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35508 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35509 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35510 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
35511 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
35512 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
35513 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
35514 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
35515 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
35516 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35517 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
35518 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
35519 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
35520 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35521 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35522 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35523 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35524 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35525 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
35526 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
35527 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
35528 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35529 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35530 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35531 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
35532 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35533 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35534 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35535 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35536 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35537 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
35538 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
35539 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35540 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
35541 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
35542 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
35543 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
35544 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
35545 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
35546 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
35547 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
35548 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
35549 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35550 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
35551 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35552 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35553 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
35554 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
35555 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
35556 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
35557 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
35558 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35559 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
35560 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35561 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
35562 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
35563 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
35564 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
35565 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
35566 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
35567 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
35568 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35569 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
35570 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
35571 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35572 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
35573 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
35574 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
35575 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
35576 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
35577 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
35578 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
35579 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35580 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35581 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
35582 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
35583 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
35584 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
35585 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
35586 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
35587 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35588 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
35589 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
35590 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
35591 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
35592 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
35593 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
35594 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35595 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35596 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
35597 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
35598 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
35599 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
35600 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
35601 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35602 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35603 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35604 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
35605 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35606 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
35607 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
35608 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
35609 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
35610 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
35611 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
35612 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
35613 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
35614 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
35615 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
35616 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
35617 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
35618 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
35619 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35620 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
35621 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
35622 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
35623 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
35624 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
35625 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
35626 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
35627 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
35628 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
35629 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35630 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
35631 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
35632 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
35633 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
35634 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
35635 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
35636 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
35637 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
35638 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
35639 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
35640 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
35641 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35642 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
35643 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35644 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
35645 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
35646 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
35647 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
35648 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
35649 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35650 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
35651 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
35652 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
35653 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
35654 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
35655 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
35656 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35657 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35658 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
35659 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
35660 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35661 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35662 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
35663 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
35664 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35665 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
35666 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
35667 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
35668 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
35669 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
35670 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
35671 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35672 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
35673 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35674 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
35675 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35676 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
35677 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
35678 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
35679 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35680 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
35681 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
35682 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
35683 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
35684 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
35685 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35686 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
35687 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35688 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
35689 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
35690 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35691 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
35692 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
35693 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35694 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
35695 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
35696 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
35697 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
35698 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
35699 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35700 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
35701 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
35702 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
35703 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
35704 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
35705 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35706 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35707 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
35708 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
35709 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
35710 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
35711 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35712 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35713 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35714 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35715 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
35716 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
35717 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35718 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35719 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
35720 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35721 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
35722 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35723 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
35724 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
35725 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
35726 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
35727 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
35728 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35729 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
35730 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35731 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35732 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35733 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35734 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
35735 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
35736 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
35737 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
35738 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
35739 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
35740 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
35741 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
35742 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
35743 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35744 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35745 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
35746 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
35747 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
35748 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
35749 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
35750 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35751 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35752 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
35753 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35754 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35755 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
35756 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
35757 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
35758 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
35759 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35760 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35761 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35762 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35763 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35764 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35765 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35766 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35767 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35768 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35769 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35770 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35771 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35772 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35773 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35774 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35775 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35776 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35777 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
35778 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
35779 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
35780 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
35781 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
35782 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
35783 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
35784 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
35785 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35786 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35787 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35788 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
35789 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
35790 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
35791 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35792 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
35793 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
35794 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
35795 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
35796 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
35797 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35798 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
35799 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
35800 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
35801 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35802 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
35803 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35804 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35805 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35806 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35807 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35808 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35809 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35810 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35811 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35812 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35813 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35814 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35815 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35816 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35817 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
35818 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
35819 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35820 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35821 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
35822 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
35823 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
35824 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
35825 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
35826 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35827 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35828 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35829 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35830 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35831 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
35832 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
35833 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35834 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35835 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
35836 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
35837 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35838 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
35839 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
35840 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35841 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
35842 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
35843 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
35844 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
35845 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
35846 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35847 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
35848 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
35849 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
35850 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35851 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
35852 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
35853 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35854 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35855 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35856 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
35857 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
35858 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35859 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
35860 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35861 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
35862 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
35863 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
35864 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
35865 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35866 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
35867 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
35868 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
35869 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
35870 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
35871 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35872 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
35873 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
35874 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35875 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
35876 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
35877 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
35878 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
35879 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
35880 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
35881 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
35882 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35883 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
35884 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
35885 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
35886 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
35887 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35888 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
35889 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
35890 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
35891 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
35892 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35893 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35894 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
35895 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
35896 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
35897 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
35898 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
35899 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
35900 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
35901 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35902 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
35903 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
35904 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
35905 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35906 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35907 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
35908 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35909 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
35910 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35911 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35912 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
35913 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35914 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
35915 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
35916 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35917 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
35918 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
35919 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
35920 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35921 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
35922 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
35923 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35924 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35925 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
35926 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35927 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
35928 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35929 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
35930 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
35931 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
35932 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
35934 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35935 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
35936 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
35937 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
35938 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35940 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
35941 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
35944 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
35946 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
35948 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35951 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35952 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
35953 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35954 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
35955 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
35958 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
35959 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
35961 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
35963 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35964 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
35966 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
35967 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
35968 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
35970 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
35971 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
35972 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
35973 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
35975 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
35976 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
35978 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
35980 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
35982 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
35983 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
35984 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
35985 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
35987 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
35988 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
35989 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
35990 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
35994 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
35995 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
36002 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36003 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
36006 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
36008 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36011 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36017 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
36019 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
36023 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
36031 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36033 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36035 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36043 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36056 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
36061 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
36067 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
36073 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
36077 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36079 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36081 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
36083 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36089 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36090 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
36101 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
36102 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
36113 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36118 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36124 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36129 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36134 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
36137 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
36142 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
36144 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
36146 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
36147 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36148 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
36149 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
36150 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
36151 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36152 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36153 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36154 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36155 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36156 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36157 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36158 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36159 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36160 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36161 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
36162 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
36163 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36164 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36165 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
36166 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
36167 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
36168 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
36169 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
36170 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
36171 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
36172 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36173 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
36174 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
36175 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
36176 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
36177 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36178 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36179 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36180 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36181 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
36182 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
36183 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
36184 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
36185 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
36186 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
36187 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
36188 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
36189 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
36190 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36191 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
36192 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36193 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
36194 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36195 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36196 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36197 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36198 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36199 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36200 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36201 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36202 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36203 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36204 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
36205 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36206 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36207 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36208 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
36209 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36210 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36211 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
36212 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
36213 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
36214 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36215 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
36216 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
36217 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
36218 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36219 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36220 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
36221 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
36222 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
36223 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
36224 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36225 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
36226 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
36227 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
36228 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36229 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36230 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36231 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
36232 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
36233 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
36234 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36235 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36236 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36237 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36238 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36239 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
36240 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36241 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36242 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36243 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36244 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36245 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
36246 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36247 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
36248 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36249 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
36250 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36251 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
36252 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
36253 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
36254 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
36255 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
36256 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36257 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
36258 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36259 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36260 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
36261 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36262 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36263 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36264 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36265 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36266 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36267 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36268 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36269 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36270 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36271 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36272 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
36273 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
36274 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36275 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36276 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36277 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36278 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
36279 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36280 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
36281 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36282 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
36283 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36284 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
36285 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36286 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36287 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36288 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
36289 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
36290 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36291 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36292 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36293 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36294 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
36295 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36296 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
36297 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36298 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36299 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36300 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36301 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36302 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36303 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
36304 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36305 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36306 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36307 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
36308 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36309 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36310 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36311 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36312 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36313 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36314 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36315 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36316 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36317 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
36318 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
36319 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36320 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36321 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36322 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36323 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36324 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36325 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36326 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
36327 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36328 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
36329 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36330 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36331 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36332 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36333 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36334 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36335 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36336 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
36337 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
36338 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
36339 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
36340 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
36341 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36342 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36343 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
36344 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
36345 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
36346 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36347 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36348 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36349 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
36350 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
36351 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36352 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
36353 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36354 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
36355 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
36356 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36357 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
36358 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36359 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36360 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
36361 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
36362 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36363 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36364 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36365 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36366 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36367 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
36368 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36369 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36370 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36371 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36372 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
36373 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
36374 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
36375 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36376 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36377 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
36378 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
36379 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36380 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36381 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36382 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36383 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36384 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36385 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36386 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36387 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36388 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36389 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36390 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36391 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36392 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
36393 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36394 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36395 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
36396 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
36397 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36398 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36399 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36400 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36401 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36402 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36403 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36404 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36405 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36406 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36407 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36408 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36409 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36410 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36411 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36412 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36413 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36414 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36415 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36416 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36417 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36418 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36419 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36420 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36421 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
36422 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36423 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36424 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
36425 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
36426 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
36427 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36428 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
36429 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36430 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36431 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36432 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36433 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36434 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
36435 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
36436 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
36437 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36438 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36439 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
36440 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36441 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36442 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36443 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
36444 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
36445 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36446 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36447 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
36448 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
36449 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
36450 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
36451 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
36452 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
36453 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36454 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36455 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36456 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
36457 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36458 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
36459 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36460 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
36461 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36462 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
36463 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
36464 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
36465 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
36466 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
36467 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
36468 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
36469 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
36470 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
36471 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36472 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36473 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
36474 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
36475 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
36476 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
36477 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36478 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36479 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
36480 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
36481 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36482 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36483 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
36484 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
36485 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
36486 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36487 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36488 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36489 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36490 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
36491 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36492 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
36493 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
36494 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
36495 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
36496 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36497 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
36498 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
36499 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
36500 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
36501 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
36502 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36503 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
36504 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
36505 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
36506 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
36507 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
36508 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
36509 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
36510 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
36511 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
36512 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
36513 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36514 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
36515 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
36516 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
36517 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
36518 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
36519 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
36520 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
36521 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
36522 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
36523 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
36524 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
36525 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
36526 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
36527 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
36528 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36529 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
36530 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36531 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
36532 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
36533 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
36534 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
36535 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
36536 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
36537 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36538 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
36539 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
36540 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
36541 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
36542 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
36543 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
36544 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
36545 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
36546 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
36547 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36548 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36549 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
36550 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
36551 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36552 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36553 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
36554 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
36559 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
36561 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
36562 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
36564 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
36565 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
36567 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
36568 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36570 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
36571 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36573 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
36574 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
36576 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
36577 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36579 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
36580 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
36582 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
36583 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36585 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
36586 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36588 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
36589 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
36591 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
36592 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
36594 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
36595 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
36597 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
36598 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
36600 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
36601 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
36603 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
36604 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
36606 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
36607 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
36609 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
36610 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
36612 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
36613 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36615 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
36616 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
36618 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
36619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36621 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
36622 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36624 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
36625 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
36627 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
36628 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
36630 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
36631 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
36633 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
36634 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
36636 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
36637 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
36639 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
36640 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
36642 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
36643 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
36645 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
36646 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36648 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
36649 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36651 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
36652 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36654 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
36655 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36657 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
36658 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36660 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
36661 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
36663 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
36664 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
36666 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
36667 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36669 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
36670 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
36672 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
36673 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
36675 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
36676 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36678 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
36679 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36681 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
36682 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36684 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
36685 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
36687 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
36688 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
36690 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
36691 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36693 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
36694 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36696 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
36697 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
36699 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
36700 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
36702 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
36703 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
36705 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
36706 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
36708 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
36709 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
36711 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
36712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36714 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
36715 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
36717 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
36718 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
36720 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
36721 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
36723 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
36724 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
36726 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
36727 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
36729 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
36730 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
36732 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
36733 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
36735 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
36736 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
36738 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
36739 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
36741 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
36742 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
36744 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
36745 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36747 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
36748 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
36750 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
36751 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
36753 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
36754 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36756 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
36757 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36759 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
36760 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
36762 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
36763 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
36765 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
36766 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
36768 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
36769 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
36771 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
36772 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
36774 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
36775 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
36777 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
36778 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
36780 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
36781 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
36783 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36784 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
36786 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36787 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
36789 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
36790 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
36792 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
36793 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
36795 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
36796 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
36798 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
36799 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
36801 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
36802 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
36804 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
36805 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
36807 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
36808 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
36810 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
36811 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
36813 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
36814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
36816 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
36817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
36819 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
36820 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
36822 static void *_p_wxSizerTo_p_wxObject(void *x
) {
36823 return (void *)((wxObject
*) ((wxSizer
*) x
));
36825 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
36826 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
36828 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
36829 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
36831 static void *_p_wxMenuTo_p_wxObject(void *x
) {
36832 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
36834 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
36835 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
36837 static void *_p_wxImageTo_p_wxObject(void *x
) {
36838 return (void *)((wxObject
*) ((wxImage
*) x
));
36840 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
36841 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
36843 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
36844 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
36846 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
36847 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
36849 static void *_p_wxWindowTo_p_wxObject(void *x
) {
36850 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
36852 static void *_p_wxControlTo_p_wxObject(void *x
) {
36853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
36855 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
36856 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
36858 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
36859 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
36861 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
36862 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
36864 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
36865 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
36867 static void *_p_wxEventTo_p_wxObject(void *x
) {
36868 return (void *)((wxObject
*) ((wxEvent
*) x
));
36870 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
36871 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
36873 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
36874 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
36876 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
36877 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
36879 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
36880 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
36882 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
36883 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
36885 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
36886 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
36888 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
36889 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
36891 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
36892 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
36894 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
36895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
36897 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
36898 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
36900 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
36901 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
36903 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
36904 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
36906 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
36907 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
36909 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
36910 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
36912 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
36913 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
36915 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
36916 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
36918 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
36919 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
36921 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
36922 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
36924 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
36925 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
36927 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
36928 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
36930 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
36931 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
36933 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
36934 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
36936 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
36937 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
36939 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
36940 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
36942 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
36943 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
36945 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
36946 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
36948 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
36949 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
36951 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
36952 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
36954 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
36955 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
36957 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
36958 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
36960 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
36961 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
36963 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
36964 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
36966 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
36967 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
36969 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
36970 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
36972 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
36973 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
36975 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
36976 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
36978 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
36979 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
36981 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
36982 return (void *)((wxObject
*) ((wxFSFile
*) x
));
36984 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
36985 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
36987 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
36988 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
36990 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
36991 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
36993 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
36994 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
36996 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
36997 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
36999 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37000 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37002 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37003 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37005 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37006 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37008 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37009 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37011 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37012 return (void *)((wxWindow
*) ((wxControl
*) x
));
37014 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37015 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37017 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37018 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37020 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
37021 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37023 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
37024 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
37026 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
37027 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37029 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37030 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37032 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37033 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37035 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37036 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37038 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37039 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37041 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37042 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37044 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37045 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37047 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37048 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37049 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
37050 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37051 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37052 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37053 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}};
37054 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
37055 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37056 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37057 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37058 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37059 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37060 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}};
37061 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}};
37062 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
37063 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37064 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
37065 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37066 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37067 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37068 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37069 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37070 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37071 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
37072 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37073 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37074 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37075 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37076 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37077 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37078 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37079 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37080 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37081 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37082 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37083 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37084 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37085 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37086 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37087 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37088 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37089 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37090 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37091 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37092 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37093 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37094 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37095 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37096 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37097 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37098 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37099 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37100 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37101 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37102 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37103 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37104 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37105 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37106 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37107 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37108 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37109 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37110 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}};
37111 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
37112 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}};
37113 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}};
37114 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}};
37115 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}};
37116 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37117 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37118 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37119 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37120 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37121 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37122 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37123 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37124 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37125 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37126 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37127 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37128 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37129 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37130 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37131 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}};
37132 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37133 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37134 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37135 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37136 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37137 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37138 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37139 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}};
37140 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37141 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37142 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37143 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37144 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37145 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37146 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37147 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37148 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37149 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37150 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37151 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}};
37152 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37153 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
37154 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37155 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37156 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37157 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37158 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37159 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
37160 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37162 static swig_type_info
*swig_types_initial
[] = {
37163 _swigt__p_wxLayoutConstraints
,
37164 _swigt__p_wxRealPoint
,
37165 _swigt__p_wxSizerItem
,
37166 _swigt__p_wxGBSizerItem
,
37167 _swigt__p_wxScrollEvent
,
37168 _swigt__p_wxIndividualLayoutConstraint
,
37170 _swigt__p_wxBoxSizer
,
37171 _swigt__p_wxStaticBoxSizer
,
37172 _swigt__p_wxGridBagSizer
,
37173 _swigt__p_wxAcceleratorEntry
,
37174 _swigt__p_wxUpdateUIEvent
,
37177 _swigt__p_wxGridSizer
,
37178 _swigt__p_wxFlexGridSizer
,
37179 _swigt__p_wxInitDialogEvent
,
37180 _swigt__p_wxItemContainer
,
37181 _swigt__p_wxNcPaintEvent
,
37182 _swigt__p_wxPaintEvent
,
37183 _swigt__p_wxSysColourChangedEvent
,
37184 _swigt__p_wxMouseCaptureChangedEvent
,
37185 _swigt__p_wxDisplayChangedEvent
,
37186 _swigt__p_wxPaletteChangedEvent
,
37187 _swigt__p_wxControl
,
37189 _swigt__p_wxMenuBarBase
,
37190 _swigt__p_wxSetCursorEvent
,
37191 _swigt__p_wxFSFile
,
37193 _swigt__p_wxRegion
,
37194 _swigt__p_wxPoint2D
,
37198 _swigt__p_wxPySizer
,
37199 _swigt__p_wxNotifyEvent
,
37200 _swigt__p_wxPyEvent
,
37201 _swigt__p_wxPropagationDisabler
,
37202 _swigt__p_wxAppTraits
,
37203 _swigt__p_wxArrayString
,
37204 _swigt__p_wxShowEvent
,
37205 _swigt__p_wxToolTip
,
37206 _swigt__p_wxMaximizeEvent
,
37207 _swigt__p_wxIconizeEvent
,
37208 _swigt__p_wxActivateEvent
,
37209 _swigt__p_wxMoveEvent
,
37210 _swigt__p_wxSizeEvent
,
37211 _swigt__p_wxQueryNewPaletteEvent
,
37212 _swigt__p_wxWindowCreateEvent
,
37213 _swigt__p_wxIdleEvent
,
37214 _swigt__p_wxMenuItem
,
37215 _swigt__p_wxStaticBox
,
37217 _swigt__p_wxTIFFHandler
,
37218 _swigt__p_wxXPMHandler
,
37219 _swigt__p_wxPNMHandler
,
37220 _swigt__p_wxJPEGHandler
,
37221 _swigt__p_wxPCXHandler
,
37222 _swigt__p_wxGIFHandler
,
37223 _swigt__p_wxPNGHandler
,
37224 _swigt__p_wxANIHandler
,
37225 _swigt__p_wxMemoryFSHandler
,
37226 _swigt__p_wxEvtHandler
,
37227 _swigt__p_wxCURHandler
,
37228 _swigt__p_wxICOHandler
,
37229 _swigt__p_wxBMPHandler
,
37230 _swigt__p_wxImageHandler
,
37231 _swigt__p_wxFileSystemHandler
,
37232 _swigt__p_wxPyFileSystemHandler
,
37233 _swigt__p_wxInternetFSHandler
,
37234 _swigt__p_wxZipFSHandler
,
37236 _swigt__p_wxGBSpan
,
37237 _swigt__p_wxPropagateOnce
,
37238 _swigt__p_wxAcceleratorTable
,
37239 _swigt__p_wxGBPosition
,
37242 _swigt__p_wxScrollWinEvent
,
37243 _swigt__p_wxImageHistogram
,
37246 _swigt__p_wxCursor
,
37247 _swigt__p_wxObject
,
37248 _swigt__p_wxPyInputStream
,
37249 _swigt__p_wxOutputStream
,
37250 _swigt__p_wxInputStream
,
37251 _swigt__p_wxDateTime
,
37252 _swigt__p_wxKeyEvent
,
37253 _swigt__p_wxNavigationKeyEvent
,
37254 _swigt__p_wxWindowDestroyEvent
,
37255 _swigt__p_wxWindow
,
37256 _swigt__p_wxMenuBar
,
37257 _swigt__p_wxString
,
37258 _swigt__p_wxFileSystem
,
37259 _swigt__p_wxBitmap
,
37260 _swigt__p_wxMenuEvent
,
37261 _swigt__p_wxContextMenuEvent
,
37262 _swigt__p_unsigned_char
,
37263 _swigt__p_wxCloseEvent
,
37264 _swigt__p_wxEraseEvent
,
37265 _swigt__p_wxMouseEvent
,
37267 _swigt__p_wxCommandEvent
,
37268 _swigt__p_wxPyCommandEvent
,
37269 _swigt__p_wxPyDropTarget
,
37270 _swigt__p_wxChildFocusEvent
,
37271 _swigt__p_wxFocusEvent
,
37272 _swigt__p_wxDropFilesEvent
,
37273 _swigt__p_wxControlWithItems
,
37274 _swigt__p_wxColour
,
37275 _swigt__p_wxValidator
,
37276 _swigt__p_wxPyValidator
,
37281 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37283 static swig_const_info swig_const_table
[] = {
37284 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
37285 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
37286 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
37287 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
37288 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
37289 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
37290 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
37291 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
37292 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
37293 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
37294 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
37295 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
37296 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
37297 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
37298 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
37299 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
37300 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
37301 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
37302 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
37303 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
37304 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
37305 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
37306 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
37307 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
37308 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
37309 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
37310 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
37311 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
37312 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
37313 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
37314 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
37315 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
37316 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
37317 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
37318 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
37319 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
37320 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
37321 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
37322 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
37323 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
37324 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
37325 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
37326 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
37327 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
37328 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
37329 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
37330 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
37331 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
37332 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
37333 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
37334 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
37335 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
37336 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
37337 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
37338 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
37339 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
37340 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
37341 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
37342 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
37343 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
37344 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
37345 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
37346 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
37347 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
37348 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
37349 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
37350 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
37351 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
37352 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
37353 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
37354 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
37355 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
37356 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
37357 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
37358 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
37359 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
37360 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
37361 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
37362 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
37363 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
37364 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
37365 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
37366 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
37367 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
37368 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
37369 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
37370 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
37371 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
37372 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
37373 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
37374 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
37375 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
37376 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
37377 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
37378 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
37379 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
37380 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
37381 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
37382 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
37383 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
37384 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
37385 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
37386 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
37387 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
37388 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
37389 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
37390 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
37391 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
37392 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
37393 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
37394 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
37395 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
37396 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
37397 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
37398 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
37399 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
37400 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
37401 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
37402 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
37403 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
37404 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
37405 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
37406 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
37407 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
37408 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
37409 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
37410 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
37411 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
37412 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
37413 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
37414 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
37415 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
37416 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
37417 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
37418 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
37419 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
37420 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
37421 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
37422 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
37423 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
37424 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
37425 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
37426 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
37427 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
37428 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
37429 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
37430 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
37431 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
37432 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
37433 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
37434 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
37435 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
37436 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
37437 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
37438 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
37439 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
37440 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
37441 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
37442 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
37443 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
37444 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
37445 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
37446 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
37447 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
37448 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
37449 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
37450 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
37451 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
37452 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
37453 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
37454 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
37455 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
37456 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
37457 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
37458 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
37459 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
37460 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
37461 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
37462 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
37463 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
37464 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
37465 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
37466 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
37467 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
37468 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
37469 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
37470 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
37471 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
37472 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
37473 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
37474 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
37475 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
37476 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
37477 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
37478 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
37479 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
37480 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
37481 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
37482 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
37483 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
37484 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
37485 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
37486 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
37487 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
37488 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
37489 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
37490 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
37491 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
37492 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
37493 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
37494 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
37495 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
37496 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
37497 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
37498 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
37499 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
37500 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
37501 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
37502 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
37503 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
37504 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37505 { SWIG_PY_INT
, (char *)"FULL_REPAINT_ON_RESIZE", (long) wxFULL_REPAINT_ON_RESIZE
, 0, 0, 0},
37506 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
37507 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
37508 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
37509 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
37510 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
37511 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
37512 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
37513 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
37514 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
37515 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
37516 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
37517 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
37518 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
37519 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
37520 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
37521 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
37522 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
37523 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
37524 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
37525 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
37526 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
37527 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
37528 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
37529 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
37530 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
37531 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
37532 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
37533 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
37534 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
37535 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
37536 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
37537 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
37538 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
37539 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
37540 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
37541 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
37542 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
37543 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
37544 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
37545 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
37546 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
37547 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
37548 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
37549 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
37550 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
37551 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
37552 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
37553 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
37554 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
37555 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
37556 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
37557 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
37558 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
37559 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
37560 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
37561 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
37562 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
37563 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
37564 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
37565 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
37566 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
37567 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
37568 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
37569 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
37570 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
37571 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
37572 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
37573 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
37574 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
37575 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
37576 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
37577 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
37578 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
37579 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
37580 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
37581 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
37582 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
37583 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
37584 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
37585 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
37586 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
37587 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
37588 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
37589 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
37590 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
37591 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
37592 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
37593 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
37594 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
37595 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
37596 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
37597 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
37598 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
37599 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
37600 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
37601 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
37602 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
37603 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
37604 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
37605 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
37606 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
37607 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
37608 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
37609 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
37610 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
37611 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
37612 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
37613 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
37614 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
37615 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
37616 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
37617 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
37618 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
37619 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
37620 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
37621 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
37622 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
37623 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
37624 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
37625 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
37626 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
37627 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
37628 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
37629 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
37630 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
37631 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
37632 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
37633 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
37634 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
37635 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
37636 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
37637 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
37638 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
37639 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
37640 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
37641 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
37642 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
37643 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
37644 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
37645 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
37646 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
37647 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
37648 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
37649 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
37650 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
37651 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
37652 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
37653 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
37654 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
37655 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
37656 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
37657 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
37658 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
37659 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
37660 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
37661 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
37662 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
37663 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
37664 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
37665 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
37666 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
37667 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
37668 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
37669 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
37670 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
37671 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
37672 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
37673 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
37674 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
37675 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
37676 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
37677 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
37678 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
37679 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
37680 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
37681 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
37682 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
37683 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
37684 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
37685 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
37686 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
37687 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
37688 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
37689 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
37690 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
37691 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
37692 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
37693 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
37694 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
37695 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
37696 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
37697 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
37698 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
37699 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
37700 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
37701 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
37702 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
37703 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
37704 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
37705 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
37706 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
37707 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
37708 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
37709 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
37710 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
37711 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
37712 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
37713 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
37714 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
37715 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
37716 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
37717 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
37718 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
37719 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
37720 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
37721 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
37722 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
37723 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
37724 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
37725 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
37726 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
37727 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
37728 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
37729 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
37730 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
37731 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
37732 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
37733 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
37734 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
37735 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
37736 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
37737 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
37738 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
37739 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
37740 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
37741 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
37742 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
37743 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
37744 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
37745 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
37746 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
37747 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
37748 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
37749 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
37750 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
37751 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
37752 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
37753 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
37754 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
37755 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
37756 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
37757 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
37758 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
37759 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
37760 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
37761 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
37762 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
37763 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
37764 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
37765 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
37766 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
37767 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
37768 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
37769 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
37770 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
37771 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
37772 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
37773 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
37774 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
37775 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
37776 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
37777 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
37778 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
37779 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
37780 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
37781 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
37782 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
37783 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
37784 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
37785 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
37786 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
37787 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
37788 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
37789 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
37790 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
37791 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
37792 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
37793 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
37794 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
37795 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
37796 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
37797 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
37798 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
37799 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
37800 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
37801 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
37802 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
37803 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
37804 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
37805 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
37806 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
37807 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
37808 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
37809 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
37810 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
37811 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
37812 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
37813 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
37814 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
37815 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
37816 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
37817 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
37818 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
37819 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
37820 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
37821 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
37822 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
37823 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
37824 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
37825 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
37826 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
37827 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
37828 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
37829 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
37830 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
37831 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
37832 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
37833 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
37834 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
37835 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
37836 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
37837 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
37838 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
37839 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
37840 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
37841 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
37842 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
37843 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
37844 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
37845 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
37846 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
37847 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
37848 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
37849 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
37850 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
37851 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
37852 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
37853 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
37854 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
37855 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
37856 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
37857 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
37858 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
37859 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
37860 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
37861 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
37862 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
37863 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
37864 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
37865 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
37866 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
37867 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
37868 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
37869 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
37870 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
37871 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
37872 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
37873 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
37874 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
37875 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
37876 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
37877 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
37878 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
37879 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
37880 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
37881 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
37882 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
37883 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
37884 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
37885 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
37886 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
37887 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
37888 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
37889 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
37890 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
37891 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
37892 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
37893 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
37894 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
37895 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
37896 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
37897 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
37898 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
37899 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
37900 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
37901 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
37902 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
37903 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
37904 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
37905 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
37906 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
37907 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
37908 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
37909 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
37910 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
37911 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
37912 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
37913 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
37914 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
37915 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
37916 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
37917 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
37918 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
37919 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
37920 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
37921 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
37922 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
37923 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
37924 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
37925 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
37926 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
37927 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
37928 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
37929 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
37930 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
37931 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
37932 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
37933 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
37934 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
37935 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
37936 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
37937 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
37938 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
37939 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
37940 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
37941 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
37942 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
37943 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
37944 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
37945 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
37946 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
37947 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
37948 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
37949 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
37950 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
37951 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
37952 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
37953 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
37954 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
37955 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
37956 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
37957 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
37958 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
37959 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
37960 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
37961 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
37962 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
37963 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
37964 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
37965 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
37966 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
37967 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
37968 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
37969 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
37970 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
37971 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
37972 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
37973 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
37974 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
37975 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
37976 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
37977 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
37978 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
37979 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
37980 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
37981 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
37982 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
37983 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
37984 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
37985 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
37986 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
37987 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
37988 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
37989 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
37990 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
37991 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
37992 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
37993 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
37994 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
37995 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
37996 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
37997 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
37998 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
37999 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
38000 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
38001 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
38002 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
38003 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
38004 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
38005 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
38006 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
38007 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
38008 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
38009 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
38010 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
38011 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
38012 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
38013 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
38014 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
38015 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
38016 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
38017 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
38018 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
38019 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
38020 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
38021 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
38022 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
38023 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
38024 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
38025 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
38026 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
38027 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
38028 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
38029 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
38030 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
38031 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
38032 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
38033 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
38034 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
38035 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
38036 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
38037 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
38038 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
38039 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
38040 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
38041 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
38042 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
38043 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
38044 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
38045 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
38046 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
38047 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
38048 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
38049 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
38050 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
38051 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
38052 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
38062 SWIGEXPORT(void) SWIG_init(void) {
38063 static PyObject
*SWIG_globals
= 0;
38064 static int typeinit
= 0;
38067 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38068 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38069 d
= PyModule_GetDict(m
);
38072 for (i
= 0; swig_types_initial
[i
]; i
++) {
38073 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38077 SWIG_InstallConstants(d
,swig_const_table
);
38080 #ifndef wxPyUSE_EXPORT
38081 // Make our API structure a CObject so other modules can import it
38082 // from this module.
38083 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
38084 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
38088 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38089 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
38090 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
38092 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38095 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38097 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
38098 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
38099 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
38100 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
38101 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
38102 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
38103 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
38104 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
38105 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
38106 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
38107 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
38108 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
38109 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
38110 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
38111 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
38112 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
38113 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
38114 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
38115 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
38116 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
38117 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
38118 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
38119 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
38120 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
38121 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
38122 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
38123 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
38124 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
38125 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
38126 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
38127 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
38128 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
38129 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
38130 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
38131 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
38132 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
38133 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
38134 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
38135 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
38136 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
38137 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
38138 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
38139 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
38140 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
38141 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
38142 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
38143 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
38144 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
38145 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
38146 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
38147 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
38148 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
38149 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
38150 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
38151 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
38152 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
38153 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
38154 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
38155 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
38156 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
38157 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
38158 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
38159 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
38160 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
38161 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
38162 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
38163 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
38164 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
38165 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
38166 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
38167 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
38168 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
38169 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
38170 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
38171 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
38172 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
38173 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
38174 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
38175 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
38176 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
38177 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
38178 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
38179 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
38180 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
38181 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
38182 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
38183 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
38184 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
38185 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
38186 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
38187 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
38188 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
38189 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
38190 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
38191 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
38192 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
38193 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
38194 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
38195 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
38196 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
38197 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
38198 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
38199 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
38200 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
38201 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
38202 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
38203 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
38204 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
38205 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
38206 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
38207 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
38208 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
38209 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
38210 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
38211 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
38212 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
38213 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
38214 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
38215 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
38216 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
38217 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
38218 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
38219 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
38220 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
38222 // Initialize threading, some globals and such
38226 // Although these are defined in __version__ they need to be here too so
38227 // that an assert can be done to ensure that the wxPython and the wxWindows
38229 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
38230 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
38231 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));