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
52 /***********************************************************************
53 * common.swg for wxPython
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
60 ************************************************************************/
64 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65 # if defined(_MSC_VER) || defined(__GNUC__)
66 # if defined(STATIC_LINKED)
67 # define SWIGEXPORT(a) a
68 # define SWIGIMPORT(a) extern a
70 # define SWIGEXPORT(a) __declspec(dllexport) a
71 # define SWIGIMPORT(a) extern a
74 # if defined(__BORLANDC__)
75 # define SWIGEXPORT(a) a _export
76 # define SWIGIMPORT(a) a _export
78 # define SWIGEXPORT(a) a
79 # define SWIGIMPORT(a) a
83 # define SWIGEXPORT(a) a
84 # define SWIGIMPORT(a) a
88 # define SWIGRUNTIME(a) SWIGEXPORT(a)
90 # define SWIGRUNTIME(a) static a
97 typedef void *(*swig_converter_func
)(void *);
98 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
100 typedef struct swig_type_info
{
102 swig_converter_func converter
;
105 swig_dycast_func dcast
;
106 struct swig_type_info
*next
;
107 struct swig_type_info
*prev
;
111 SWIGIMPORT(swig_type_info
*) SWIG_TypeRegister(swig_type_info
*);
112 SWIGIMPORT(swig_type_info
*) SWIG_TypeCheck(char *c
, swig_type_info
*);
113 SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info
*, void *);
114 SWIGIMPORT(swig_type_info
*) SWIG_TypeDynamicCast(swig_type_info
*, void **);
115 SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info
*);
116 SWIGIMPORT(swig_type_info
*) SWIG_TypeQuery(const char *);
117 SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info
*, void *);
118 SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119 SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
128 /***********************************************************************
129 * pyrun.swg for wxPython
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
136 ************************************************************************/
144 #define SWIG_PY_INT 1
145 #define SWIG_PY_FLOAT 2
146 #define SWIG_PY_STRING 3
147 #define SWIG_PY_POINTER 4
148 #define SWIG_PY_BINARY 5
150 /* Flags for pointer conversion */
152 #define SWIG_POINTER_EXCEPTION 0x1
153 #define SWIG_POINTER_DISOWN 0x2
155 /* Exception handling in wrappers */
156 #define SWIG_fail goto fail
158 /* Constant information structure */
159 typedef struct swig_const_info
{
165 swig_type_info
**ptype
;
168 /* Common SWIG API */
169 #define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171 #define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173 #define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
176 /* Python-specific SWIG API */
177 #define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179 #define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181 #define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
183 #define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185 #define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
189 SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject
*, void **, swig_type_info
*, int);
190 SWIGIMPORT(PyObject
*) SWIG_Python_NewPointerObj(void *, swig_type_info
*,int own
);
191 SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject
*, swig_type_info
*, int, int);
192 SWIGIMPORT(PyObject
*) SWIG_Python_newvarlink(void);
193 SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject
*, char *, PyObject
*(*)(void), int (*)(PyObject
*));
194 SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject
*, void *, int sz
, swig_type_info
*, int);
195 SWIGIMPORT(PyObject
*) SWIG_Python_NewPackedObj(void *, int sz
, swig_type_info
*);
196 SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]);
200 /* Contract support */
202 #define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
210 /* -------- TYPES TABLE (BEGIN) -------- */
212 #define SWIGTYPE_p_wxLayoutConstraints swig_types[0]
213 #define SWIGTYPE_p_wxRealPoint swig_types[1]
214 #define SWIGTYPE_p_wxSizerItem swig_types[2]
215 #define SWIGTYPE_p_wxGBSizerItem swig_types[3]
216 #define SWIGTYPE_p_wxScrollEvent swig_types[4]
217 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[5]
218 #define SWIGTYPE_p_wxSizer swig_types[6]
219 #define SWIGTYPE_p_wxBoxSizer swig_types[7]
220 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[8]
221 #define SWIGTYPE_p_wxGridBagSizer swig_types[9]
222 #define SWIGTYPE_p_wxAcceleratorEntry swig_types[10]
223 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[11]
224 #define SWIGTYPE_p_wxMenu swig_types[12]
225 #define SWIGTYPE_p_wxEvent swig_types[13]
226 #define SWIGTYPE_p_wxGridSizer swig_types[14]
227 #define SWIGTYPE_p_wxFlexGridSizer swig_types[15]
228 #define SWIGTYPE_p_wxInitDialogEvent swig_types[16]
229 #define SWIGTYPE_p_wxItemContainer swig_types[17]
230 #define SWIGTYPE_p_wxNcPaintEvent swig_types[18]
231 #define SWIGTYPE_p_wxPaintEvent swig_types[19]
232 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[20]
233 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[21]
234 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[22]
235 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[23]
236 #define SWIGTYPE_p_wxControl swig_types[24]
237 #define SWIGTYPE_p_wxFont swig_types[25]
238 #define SWIGTYPE_p_wxMenuBarBase swig_types[26]
239 #define SWIGTYPE_p_wxSetCursorEvent swig_types[27]
240 #define SWIGTYPE_p_wxFSFile swig_types[28]
241 #define SWIGTYPE_p_wxCaret swig_types[29]
242 #define SWIGTYPE_p_wxRegion swig_types[30]
243 #define SWIGTYPE_p_wxPoint2D swig_types[31]
244 #define SWIGTYPE_p_int swig_types[32]
245 #define SWIGTYPE_p_wxSize swig_types[33]
246 #define SWIGTYPE_p_wxDC swig_types[34]
247 #define SWIGTYPE_p_wxPySizer swig_types[35]
248 #define SWIGTYPE_p_wxNotifyEvent swig_types[36]
249 #define SWIGTYPE_p_wxPyEvent swig_types[37]
250 #define SWIGTYPE_p_wxPropagationDisabler swig_types[38]
251 #define SWIGTYPE_p_wxAppTraits swig_types[39]
252 #define SWIGTYPE_p_wxArrayString swig_types[40]
253 #define SWIGTYPE_p_wxShowEvent swig_types[41]
254 #define SWIGTYPE_p_wxToolTip swig_types[42]
255 #define SWIGTYPE_p_wxMaximizeEvent swig_types[43]
256 #define SWIGTYPE_p_wxIconizeEvent swig_types[44]
257 #define SWIGTYPE_p_wxActivateEvent swig_types[45]
258 #define SWIGTYPE_p_wxMoveEvent swig_types[46]
259 #define SWIGTYPE_p_wxSizeEvent swig_types[47]
260 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[48]
261 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[49]
262 #define SWIGTYPE_p_wxIdleEvent swig_types[50]
263 #define SWIGTYPE_p_wxMenuItem swig_types[51]
264 #define SWIGTYPE_p_wxStaticBox swig_types[52]
265 #define SWIGTYPE_p_long swig_types[53]
266 #define SWIGTYPE_p_wxTIFFHandler swig_types[54]
267 #define SWIGTYPE_p_wxXPMHandler swig_types[55]
268 #define SWIGTYPE_p_wxPNMHandler swig_types[56]
269 #define SWIGTYPE_p_wxJPEGHandler swig_types[57]
270 #define SWIGTYPE_p_wxPCXHandler swig_types[58]
271 #define SWIGTYPE_p_wxGIFHandler swig_types[59]
272 #define SWIGTYPE_p_wxPNGHandler swig_types[60]
273 #define SWIGTYPE_p_wxANIHandler swig_types[61]
274 #define SWIGTYPE_p_wxMemoryFSHandler swig_types[62]
275 #define SWIGTYPE_p_wxEvtHandler swig_types[63]
276 #define SWIGTYPE_p_wxCURHandler swig_types[64]
277 #define SWIGTYPE_p_wxICOHandler swig_types[65]
278 #define SWIGTYPE_p_wxBMPHandler swig_types[66]
279 #define SWIGTYPE_p_wxImageHandler swig_types[67]
280 #define SWIGTYPE_p_wxFileSystemHandler swig_types[68]
281 #define SWIGTYPE_p_wxPyFileSystemHandler swig_types[69]
282 #define SWIGTYPE_p_wxInternetFSHandler swig_types[70]
283 #define SWIGTYPE_p_wxZipFSHandler swig_types[71]
284 #define SWIGTYPE_p_wxRect swig_types[72]
285 #define SWIGTYPE_p_wxGBSpan swig_types[73]
286 #define SWIGTYPE_p_wxPropagateOnce swig_types[74]
287 #define SWIGTYPE_p_wxAcceleratorTable swig_types[75]
288 #define SWIGTYPE_p_wxGBPosition swig_types[76]
289 #define SWIGTYPE_p_wxImage swig_types[77]
290 #define SWIGTYPE_p_wxFrame swig_types[78]
291 #define SWIGTYPE_p_wxScrollWinEvent swig_types[79]
292 #define SWIGTYPE_p_wxImageHistogram swig_types[80]
293 #define SWIGTYPE_p_byte swig_types[81]
294 #define SWIGTYPE_p_wxPoint swig_types[82]
295 #define SWIGTYPE_p_wxCursor swig_types[83]
296 #define SWIGTYPE_p_wxObject swig_types[84]
297 #define SWIGTYPE_p_wxPyInputStream swig_types[85]
298 #define SWIGTYPE_p_wxOutputStream swig_types[86]
299 #define SWIGTYPE_p_wxInputStream swig_types[87]
300 #define SWIGTYPE_p_wxDateTime swig_types[88]
301 #define SWIGTYPE_p_wxKeyEvent swig_types[89]
302 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[90]
303 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[91]
304 #define SWIGTYPE_p_wxWindow swig_types[92]
305 #define SWIGTYPE_p_wxMenuBar swig_types[93]
306 #define SWIGTYPE_p_wxString swig_types[94]
307 #define SWIGTYPE_p_wxFileSystem swig_types[95]
308 #define SWIGTYPE_p_wxBitmap swig_types[96]
309 #define SWIGTYPE_p_wxMenuEvent swig_types[97]
310 #define SWIGTYPE_p_wxContextMenuEvent swig_types[98]
311 #define SWIGTYPE_p_unsigned_char swig_types[99]
312 #define SWIGTYPE_p_wxCloseEvent swig_types[100]
313 #define SWIGTYPE_p_wxEraseEvent swig_types[101]
314 #define SWIGTYPE_p_wxMouseEvent swig_types[102]
315 #define SWIGTYPE_p_wxPyApp swig_types[103]
316 #define SWIGTYPE_p_wxCommandEvent swig_types[104]
317 #define SWIGTYPE_p_wxPyCommandEvent swig_types[105]
318 #define SWIGTYPE_p_wxPyDropTarget swig_types[106]
319 #define SWIGTYPE_p_wxChildFocusEvent swig_types[107]
320 #define SWIGTYPE_p_wxFocusEvent swig_types[108]
321 #define SWIGTYPE_p_wxDropFilesEvent swig_types[109]
322 #define SWIGTYPE_p_wxControlWithItems swig_types[110]
323 #define SWIGTYPE_p_wxColour swig_types[111]
324 #define SWIGTYPE_p_wxValidator swig_types[112]
325 #define SWIGTYPE_p_wxPyValidator swig_types[113]
326 static swig_type_info
*swig_types
[115];
328 /* -------- TYPES TABLE (END) -------- */
331 /*-----------------------------------------------
333 ------------------------------------------------*/
334 #define SWIG_init init_core
336 #define SWIG_name "_core"
338 #include "wx/wxPython/wxPython_int.h"
339 #include "wx/wxPython/pyclasses.h"
342 #ifndef wxPyUSE_EXPORT
343 // Helper functions for dealing with SWIG objects and such. These are
344 // located here so they know about the SWIG types and functions declared
345 // in the wrapper code.
347 #include <wx/hashmap.h>
348 WX_DECLARE_STRING_HASH_MAP( swig_type_info
*, wxPyTypeInfoHashMap
);
351 // Maintains a hashmap of className to swig_type_info pointers. Given the
352 // name of a class either looks up the type info in the cache, or scans the
353 // SWIG tables for it.
354 extern PyObject
* wxPyPtrTypeMap
;
356 swig_type_info
* wxPyFindSwigType(const wxChar
* className
) {
358 static wxPyTypeInfoHashMap
* typeInfoCache
= NULL
;
360 if (typeInfoCache
== NULL
)
361 typeInfoCache
= new wxPyTypeInfoHashMap
;
363 wxString
name(className
);
364 swig_type_info
* swigType
= (*typeInfoCache
)[name
];
367 // it wasn't in the cache, so look it up from SWIG
368 name
.Append(wxT(" *"));
369 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
371 // if it still wasn't found, try looking for a mapped name
376 if ((item
= PyDict_GetItemString(wxPyPtrTypeMap
,
377 (char*)(const char*)name
.mbc_str())) != NULL
) {
378 name
= wxString(PyString_AsString(item
), *wxConvCurrent
);
379 name
.Append(wxT(" *"));
380 swigType
= SWIG_Python_TypeQuery(name
.mb_str());
384 // and add it to the map if found
385 (*typeInfoCache
)[className
] = swigType
;
392 // Check if a class name is a type known to SWIG
393 bool wxPyCheckSwigType(const wxChar
* className
) {
395 swig_type_info
* swigType
= wxPyFindSwigType(className
);
396 return swigType
!= NULL
;
400 // Given a pointer to a C++ object and a class name, construct a Python proxy
402 PyObject
* wxPyConstructObject(void* ptr
,
403 const wxChar
* className
,
406 swig_type_info
* swigType
= wxPyFindSwigType(className
);
407 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConstructObject"));
409 return SWIG_Python_NewPointerObj(ptr
, swigType
, setThisOwn
);
413 // Extract a pointer to the wrapped C++ object from a Python proxy object.
414 // Ensures that the proxy object is of the specified (or derived) type. If
415 // not able to perform the conversion then a Python exception is set and the
416 // error should be handled properly in the caller. Returns True on success.
417 bool wxPyConvertSwigPtr(PyObject
* obj
, void **ptr
,
418 const wxChar
* className
) {
420 swig_type_info
* swigType
= wxPyFindSwigType(className
);
421 wxCHECK_MSG(swigType
!= NULL
, False
, wxT("Unknown type in wxPyConvertSwigPtr"));
423 return SWIG_Python_ConvertPtr(obj
, ptr
, swigType
, SWIG_POINTER_EXCEPTION
) != -1;
427 // Make a SWIGified pointer object suitable for a .this attribute
428 PyObject
* wxPyMakeSwigPtr(void* ptr
, const wxChar
* className
) {
430 PyObject
* robj
= NULL
;
432 swig_type_info
* swigType
= wxPyFindSwigType(className
);
433 wxCHECK_MSG(swigType
!= NULL
, NULL
, wxT("Unknown type in wxPyConvertSwigPtr"));
435 #ifdef SWIG_COBJECT_TYPES
436 robj
= PyCObject_FromVoidPtrAndDesc((void *) ptr
, (char *) swigType
->name
, NULL
);
442 r
= SWIG_Python_PackData(r
, &ptr
, sizeof(void *));
443 strcpy(r
, swigType
->name
);
444 robj
= PyString_FromString(result
);
454 // Export a C API in a struct. Other modules will be able to load this from
455 // the wx.core module and will then have safe access to these functions, even if
456 // they are located in another shared library.
457 static wxPyCoreAPI API
= {
459 (p_SWIG_Python_TypeRegister_t
)SWIG_Python_TypeRegister
,
460 (p_SWIG_Python_TypeCheck_t
)SWIG_Python_TypeCheck
,
461 (p_SWIG_Python_TypeCast_t
)SWIG_Python_TypeCast
,
462 (p_SWIG_Python_TypeDynamicCast_t
)SWIG_Python_TypeDynamicCast
,
463 (p_SWIG_Python_TypeName_t
)SWIG_Python_TypeName
,
464 (p_SWIG_Python_TypeQuery_t
)SWIG_Python_TypeQuery
,
465 (p_SWIG_Python_TypeClientData_t
)SWIG_Python_TypeClientData
,
466 (p_SWIG_Python_newvarlink_t
)SWIG_Python_newvarlink
,
467 (p_SWIG_Python_addvarlink_t
)SWIG_Python_addvarlink
,
468 (p_SWIG_Python_ConvertPtr_t
)SWIG_Python_ConvertPtr
,
469 (p_SWIG_Python_ConvertPacked_t
)SWIG_Python_ConvertPacked
,
470 (p_SWIG_Python_PackData_t
)SWIG_Python_PackData
,
471 (p_SWIG_Python_UnpackData_t
)SWIG_Python_UnpackData
,
472 (p_SWIG_Python_NewPointerObj_t
)SWIG_Python_NewPointerObj
,
473 (p_SWIG_Python_NewPackedObj_t
)SWIG_Python_NewPackedObj
,
474 (p_SWIG_Python_InstallConstants_t
)SWIG_Python_InstallConstants
,
475 (p_SWIG_Python_MustGetPtr_t
)SWIG_Python_MustGetPtr
,
482 wxPyBeginAllowThreads
,
484 wxPyBeginBlockThreads
,
498 wxBitmap_LIST_helper
,
499 wxString_LIST_helper
,
500 wxAcceleratorEntry_LIST_helper
,
509 wxPySimple_typecheck
,
512 wxPyCBH_setCallbackInfo
,
513 wxPyCBH_findCallback
,
514 wxPyCBH_callCallback
,
515 wxPyCBH_callCallbackObj
,
523 wxArrayString2PyList_helper
,
524 wxArrayInt2PyList_helper
,
528 wxPyOORClientData_dtor
,
530 wxPyCBInputStream_create
,
533 wxPySwigInstance_Check
540 DECLARE_DEF_STRING(EmptyString
);
541 // DECLARE_DEF_STRING(PanelNameStr);
545 enum wxHotkeyModifier
553 #define wxEVT_HOTKEY 9999
556 wxString
wxObject_GetClassName(wxObject
*self
){
557 return self
->GetClassInfo()->GetClassName();
559 void wxObject_Destroy(wxObject
*self
){
564 #define wxCURSOR_COPY_ARROW wxCURSOR_ARROW
567 PyObject
*wxSize_Get(wxSize
*self
){
568 wxPyBeginBlockThreads();
569 PyObject
* tup
= PyTuple_New(2);
570 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
571 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
572 wxPyEndBlockThreads();
575 void wxRealPoint_Set(wxRealPoint
*self
,double x
,double y
){
579 PyObject
*wxRealPoint_Get(wxRealPoint
*self
){
580 wxPyBeginBlockThreads();
581 PyObject
* tup
= PyTuple_New(2);
582 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->x
));
583 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->y
));
584 wxPyEndBlockThreads();
587 void wxPoint_Set(wxPoint
*self
,long x
,long y
){
591 PyObject
*wxPoint_Get(wxPoint
*self
){
592 wxPyBeginBlockThreads();
593 PyObject
* tup
= PyTuple_New(2);
594 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
595 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
596 wxPyEndBlockThreads();
599 void wxRect_Set(wxRect
*self
,int x
,int y
,int width
,int height
){
603 self
->height
= height
;
605 PyObject
*wxRect_Get(wxRect
*self
){
606 wxPyBeginBlockThreads();
607 PyObject
* tup
= PyTuple_New(4);
608 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->x
));
609 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->y
));
610 PyTuple_SET_ITEM(tup
, 2, PyInt_FromLong(self
->width
));
611 PyTuple_SET_ITEM(tup
, 3, PyInt_FromLong(self
->height
));
612 wxPyEndBlockThreads();
616 PyObject
* wxIntersectRect(wxRect
* r1
, wxRect
* r2
) {
619 wxRect
dest(0,0,0,0);
622 reg1
.Intersect(reg2
);
623 dest
= reg1
.GetBox();
625 if (dest
!= wxRect(0,0,0,0)) {
626 wxPyBeginBlockThreads();
627 wxRect
* newRect
= new wxRect(dest
);
628 obj
= wxPyConstructObject((void*)newRect
, wxT("wxRect"), True
);
629 wxPyEndBlockThreads();
637 static PyObject
* t_output_helper(PyObject
* target
, PyObject
* o
) {
643 } else if (target
== Py_None
) {
647 if (!PyTuple_Check(target
)) {
649 target
= PyTuple_New(1);
650 PyTuple_SetItem(target
, 0, o2
);
653 PyTuple_SetItem(o3
, 0, o
);
656 target
= PySequence_Concat(o2
, o3
);
663 void wxPoint2D_Set(wxPoint2D
*self
,double x
,double y
){
667 PyObject
*wxPoint2D_Get(wxPoint2D
*self
){
668 wxPyBeginBlockThreads();
669 PyObject
* tup
= PyTuple_New(2);
670 PyTuple_SET_ITEM(tup
, 0, PyFloat_FromDouble(self
->m_x
));
671 PyTuple_SET_ITEM(tup
, 1, PyFloat_FromDouble(self
->m_y
));
672 wxPyEndBlockThreads();
676 #include "wx/wxPython/pyistream.h"
678 wxPyInputStream
*new_wxPyInputStream(PyObject
*p
){
679 wxInputStream
* wxis
= wxPyCBInputStream::create(p
);
681 return new wxPyInputStream(wxis
);
685 void wxOutputStream_write(wxOutputStream
*self
,PyObject
*obj
){
686 // We use only strings for the streams, not unicode
687 PyObject
* str
= PyObject_Str(obj
);
689 PyErr_SetString(PyExc_TypeError
, "Unable to convert to string");
692 self
->Write(PyString_AS_STRING(str
),
693 PyString_GET_SIZE(str
));
697 #include "wx/wxPython/pyistream.h"
700 class wxPyFileSystemHandler
: public wxFileSystemHandler
703 wxPyFileSystemHandler() : wxFileSystemHandler() {}
705 DEC_PYCALLBACK_BOOL_STRING_pure(CanOpen
);
706 DEC_PYCALLBACK_FSF_FSSTRING_pure(OpenFile
);
707 DEC_PYCALLBACK_STRING_STRINGINT_pure(FindFirst
);
708 DEC_PYCALLBACK_STRING__pure(FindNext
);
710 wxString
GetProtocol(const wxString
& location
) {
711 return wxFileSystemHandler::GetProtocol(location
);
714 wxString
GetLeftLocation(const wxString
& location
) {
715 return wxFileSystemHandler::GetLeftLocation(location
);
718 wxString
GetAnchor(const wxString
& location
) {
719 return wxFileSystemHandler::GetAnchor(location
);
722 wxString
GetRightLocation(const wxString
& location
) {
723 return wxFileSystemHandler::GetRightLocation(location
);
726 wxString
GetMimeTypeFromExt(const wxString
& location
) {
727 return wxFileSystemHandler::GetMimeTypeFromExt(location
);
734 IMP_PYCALLBACK_BOOL_STRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, CanOpen
);
735 IMP_PYCALLBACK_FSF_FSSTRING_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, OpenFile
);
736 IMP_PYCALLBACK_STRING_STRINGINT_pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindFirst
);
737 IMP_PYCALLBACK_STRING__pure(wxPyFileSystemHandler
, wxFileSystemHandler
, FindNext
);
740 wxString
wxFileSystem_URLToFileName(const wxString
& url
) {
741 wxFileName fname
= wxFileSystem::URLToFileName(url
);
742 return fname
.GetFullPath();
746 void __wxMemoryFSHandler_AddFile_wxImage(const wxString
& filename
,
749 wxMemoryFSHandler::AddFile(filename
, image
, type
);
752 void __wxMemoryFSHandler_AddFile_wxBitmap(const wxString
& filename
,
753 const wxBitmap
& bitmap
,
755 wxMemoryFSHandler::AddFile(filename
, bitmap
, type
);
758 void __wxMemoryFSHandler_AddFile_Data(const wxString
& filename
,
760 wxMemoryFSHandler::AddFile(filename
,
761 // TODO: Verify data type
762 (void*)PyString_AsString(data
),
763 (size_t)PyString_Size(data
));
767 #include "wx/wxPython/pyistream.h"
769 wxImage
*new_wxImage(int width
,int height
,bool clear
){
770 if (width
> 0 && height
> 0)
771 return new wxImage(width
, height
, clear
);
775 wxImage
*new_wxImage(wxBitmap
const &bitmap
){
776 return new wxImage(bitmap
.ConvertToImage());
778 wxImage
*new_wxImage(int width
,int height
,unsigned char *data
){
779 // Copy the source data so the wxImage can clean it up later
780 unsigned char* copy
= (unsigned char*)malloc(width
*height
*3);
785 memcpy(copy
, data
, width
*height
*3);
786 return new wxImage(width
, height
, copy
, False
);
788 PyObject
*wxImage_GetData(wxImage
*self
){
789 unsigned char* data
= self
->GetData();
790 int len
= self
->GetWidth() * self
->GetHeight() * 3;
792 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
));
795 void wxImage_SetData(wxImage
*self
,PyObject
*data
){
796 unsigned char* dataPtr
;
798 if (! PyString_Check(data
)) {
799 PyErr_SetString(PyExc_TypeError
, "Expected string object");
803 size_t len
= self
->GetWidth() * self
->GetHeight() * 3;
804 dataPtr
= (unsigned char*) malloc(len
);
805 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
806 self
->SetData(dataPtr
);
807 // wxImage takes ownership of dataPtr...
809 PyObject
*wxImage_GetDataBuffer(wxImage
*self
){
810 unsigned char* data
= self
->GetData();
811 int len
= self
->GetWidth() * self
->GetHeight() * 3;
813 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
816 void wxImage_SetDataBuffer(wxImage
*self
,PyObject
*data
){
817 unsigned char* buffer
;
820 wxPyBeginBlockThreads();
821 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
824 if (size
!= self
->GetWidth() * self
->GetHeight() * 3) {
825 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
828 self
->SetData(buffer
);
830 wxPyEndBlockThreads();
832 PyObject
*wxImage_GetAlphaData(wxImage
*self
){
833 unsigned char* data
= self
->GetAlpha();
837 int len
= self
->GetWidth() * self
->GetHeight();
839 wxPyBLOCK_THREADS( rv
= PyString_FromStringAndSize((char*)data
, len
) );
843 void wxImage_SetAlphaData(wxImage
*self
,PyObject
*data
){
844 unsigned char* dataPtr
;
846 if (! PyString_Check(data
)) {
847 PyErr_SetString(PyExc_TypeError
, "Expected string object");
851 size_t len
= self
->GetWidth() * self
->GetHeight();
852 dataPtr
= (unsigned char*) malloc(len
);
853 wxPyBLOCK_THREADS( memcpy(dataPtr
, PyString_AsString(data
), len
) );
854 self
->SetAlpha(dataPtr
);
855 // wxImage takes ownership of dataPtr...
857 PyObject
*wxImage_GetAlphaBuffer(wxImage
*self
){
858 unsigned char* data
= self
->GetAlpha();
859 int len
= self
->GetWidth() * self
->GetHeight();
861 wxPyBLOCK_THREADS( rv
= PyBuffer_FromReadWriteMemory(data
, len
) );
864 void wxImage_SetAlphaBuffer(wxImage
*self
,PyObject
*data
){
865 unsigned char* buffer
;
868 wxPyBeginBlockThreads();
869 if (!PyArg_Parse(data
, "t#", &buffer
, &size
))
872 if (size
!= self
->GetWidth() * self
->GetHeight()) {
873 PyErr_SetString(PyExc_TypeError
, "Incorrect buffer size");
876 self
->SetAlpha(buffer
);
878 wxPyEndBlockThreads();
880 wxBitmap
wxImage_ConvertToBitmap(wxImage
*self
){
881 wxBitmap
bitmap(*self
);
884 wxBitmap
wxImage_ConvertToMonoBitmap(wxImage
*self
,unsigned char red
,unsigned char green
,unsigned char blue
){
885 wxImage mono
= self
->ConvertToMono( red
, green
, blue
);
886 wxBitmap
bitmap( mono
, 1 );
889 static const wxString
wxPyIMAGE_OPTION_BMP_FORMAT(wxIMAGE_OPTION_BMP_FORMAT
);
890 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_X(wxIMAGE_OPTION_CUR_HOTSPOT_X
);
891 static const wxString
wxPyIMAGE_OPTION_CUR_HOTSPOT_Y(wxIMAGE_OPTION_CUR_HOTSPOT_Y
);
892 static const wxString
wxPyIMAGE_OPTION_RESOLUTION(wxIMAGE_OPTION_RESOLUTION
);
893 static const wxString
wxPyIMAGE_OPTION_RESOLUTIONUNIT(wxIMAGE_OPTION_RESOLUTIONUNIT
);
894 void wxEvtHandler_Connect(wxEvtHandler
*self
,int id
,int lastId
,int eventType
,PyObject
*func
){
895 if (PyCallable_Check(func
)) {
896 self
->Connect(id
, lastId
, eventType
,
897 (wxObjectEventFunction
) &wxPyCallback::EventThunker
,
898 new wxPyCallback(func
));
900 else if (func
== Py_None
) {
901 self
->Disconnect(id
, lastId
, eventType
,
902 (wxObjectEventFunction
)
903 &wxPyCallback::EventThunker
);
906 PyErr_SetString(PyExc_TypeError
, "Expected callable object or None.");
909 bool wxEvtHandler_Disconnect(wxEvtHandler
*self
,int id
,int lastId
,wxEventType eventType
){
910 return self
->Disconnect(id
, lastId
, eventType
,
911 (wxObjectEventFunction
)
912 &wxPyCallback::EventThunker
);
914 void wxEvtHandler__setOORInfo(wxEvtHandler
*self
,PyObject
*_self
){
915 if (_self
&& _self
!= Py_None
) {
916 self
->SetClientObject(new wxPyOORClientData(_self
));
919 wxPyOORClientData
* data
= (wxPyOORClientData
*)self
->GetClientObject();
921 self
->SetClientObject(NULL
); // This will delete it too
925 int wxKeyEvent_GetUniChar(wxKeyEvent
*self
){
927 return self
->m_uniChar
;
932 void wxSizeEvent_SetSize(wxSizeEvent
*self
,wxSize size
){
935 void wxMoveEvent_SetPosition(wxMoveEvent
*self
,wxPoint pos
){
938 PyObject
*wxDropFilesEvent_GetFiles(wxDropFilesEvent
*self
){
939 int count
= self
->GetNumberOfFiles();
940 wxString
* files
= self
->GetFiles();
941 PyObject
* list
= PyList_New(count
);
944 PyErr_SetString(PyExc_MemoryError
, "Can't allocate list of files!");
948 for (int i
=0; i
<count
; i
++) {
949 PyList_SetItem(list
, i
, wx2PyString(files
[i
]));
955 wxPyApp
*new_wxPyApp(){
956 wxPythonApp
= new wxPyApp();
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
);
1034 DECLARE_DEF_STRING(ControlNameStr
);
1036 int wxItemContainer_Append(wxItemContainer
*self
,wxString
const &item
,PyObject
*clientData
){
1038 wxPyClientData
* data
= new wxPyClientData(clientData
);
1039 return self
->Append(item
, data
);
1041 return self
->Append(item
);
1043 int wxItemContainer_Insert(wxItemContainer
*self
,wxString
const &item
,int pos
,PyObject
*clientData
){
1045 wxPyClientData
* data
= new wxPyClientData(clientData
);
1046 return self
->Insert(item
, pos
, data
);
1048 return self
->Insert(item
, pos
);
1050 PyObject
*wxItemContainer_GetClientData(wxItemContainer
*self
,int n
){
1051 wxPyClientData
* data
= (wxPyClientData
*)self
->GetClientObject(n
);
1053 Py_INCREF(data
->m_obj
);
1060 void wxItemContainer_SetClientData(wxItemContainer
*self
,int n
,PyObject
*clientData
){
1061 wxPyClientData
* data
= new wxPyClientData(clientData
);
1062 self
->SetClientObject(n
, data
);
1066 PyObject
*wxSizerItem_GetUserData(wxSizerItem
*self
){
1067 wxPyUserData
* data
= (wxPyUserData
*)self
->GetUserData();
1069 Py_INCREF(data
->m_obj
);
1077 // Figure out the type of the sizer item
1079 struct wxPySizerItemInfo
{
1081 : window(NULL
), sizer(NULL
), gotSize(False
),
1082 size(wxDefaultSize
), gotPos(False
), pos(-1)
1093 static wxPySizerItemInfo
wxPySizerItemTypeHelper(PyObject
* item
, bool checkSize
, bool checkIdx
) {
1095 wxPySizerItemInfo info
;
1097 wxSize
* sizePtr
= &size
;
1099 // Find out what the type of the item is
1101 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.window
, wxT("wxWindow")) ) {
1106 if ( ! wxPyConvertSwigPtr(item
, (void**)&info
.sizer
, wxT("wxSizer")) ) {
1110 // try wxSize or (w,h)
1111 if ( checkSize
&& wxSize_helper(item
, &sizePtr
)) {
1112 info
.size
= *sizePtr
;
1113 info
.gotSize
= True
;
1117 if (checkIdx
&& PyInt_Check(item
)) {
1118 info
.pos
= PyInt_AsLong(item
);
1124 if ( !(info
.window
|| info
.sizer
|| (checkSize
&& info
.gotSize
) || (checkIdx
&& info
.gotPos
)) ) {
1125 // no expected type, figure out what kind of error message to generate
1126 if ( !checkSize
&& !checkIdx
)
1127 PyErr_SetString(PyExc_TypeError
, "wxWindow or wxSizer expected for item");
1128 else if ( checkSize
&& !checkIdx
)
1129 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) expected for item");
1130 else if ( !checkSize
&& checkIdx
)
1131 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer or int (position) expected for item");
1133 // can this one happen?
1134 PyErr_SetString(PyExc_TypeError
, "wxWindow, wxSizer, wxSize, or (w,h) or int (position) expected for item");
1140 void wxSizer__setOORInfo(wxSizer
*self
,PyObject
*_self
){
1141 self
->SetClientObject(new wxPyOORClientData(_self
));
1143 void wxSizer_Add(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1145 wxPyUserData
* data
= NULL
;
1146 wxPyBeginBlockThreads();
1147 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1148 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1149 data
= new wxPyUserData(userData
);
1150 wxPyEndBlockThreads();
1152 // Now call the real Add method if a valid item type was found
1154 self
->Add(info
.window
, proportion
, flag
, border
, data
);
1155 else if ( info
.sizer
)
1156 self
->Add(info
.sizer
, proportion
, flag
, border
, data
);
1157 else if (info
.gotSize
)
1158 self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1159 proportion
, flag
, border
, data
);
1161 void wxSizer_Insert(wxSizer
*self
,int before
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1163 wxPyUserData
* data
= NULL
;
1164 wxPyBeginBlockThreads();
1165 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1166 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1167 data
= new wxPyUserData(userData
);
1168 wxPyEndBlockThreads();
1170 // Now call the real Insert method if a valid item type was found
1172 self
->Insert(before
, info
.window
, proportion
, flag
, border
, data
);
1173 else if ( info
.sizer
)
1174 self
->Insert(before
, info
.sizer
, proportion
, flag
, border
, data
);
1175 else if (info
.gotSize
)
1176 self
->Insert(before
, info
.size
.GetWidth(), info
.size
.GetHeight(),
1177 proportion
, flag
, border
, data
);
1179 void wxSizer_Prepend(wxSizer
*self
,PyObject
*item
,int proportion
,int flag
,int border
,PyObject
*userData
){
1181 wxPyUserData
* data
= NULL
;
1182 wxPyBeginBlockThreads();
1183 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1184 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1185 data
= new wxPyUserData(userData
);
1186 wxPyEndBlockThreads();
1188 // Now call the real Prepend method if a valid item type was found
1190 self
->Prepend(info
.window
, proportion
, flag
, border
, data
);
1191 else if ( info
.sizer
)
1192 self
->Prepend(info
.sizer
, proportion
, flag
, border
, data
);
1193 else if (info
.gotSize
)
1194 self
->Prepend(info
.size
.GetWidth(), info
.size
.GetHeight(),
1195 proportion
, flag
, border
, data
);
1197 bool wxSizer_Remove(wxSizer
*self
,PyObject
*item
){
1198 wxPyBeginBlockThreads();
1199 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1200 wxPyEndBlockThreads();
1202 return self
->Remove(info
.window
);
1203 else if ( info
.sizer
)
1204 return self
->Remove(info
.sizer
);
1205 else if ( info
.gotPos
)
1206 return self
->Remove(info
.pos
);
1210 void wxSizer__SetItemMinSize(wxSizer
*self
,PyObject
*item
,wxSize
const &size
){
1211 wxPyBeginBlockThreads();
1212 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, True
);
1213 wxPyEndBlockThreads();
1215 self
->SetItemMinSize(info
.window
, size
);
1216 else if ( info
.sizer
)
1217 self
->SetItemMinSize(info
.sizer
, size
);
1218 else if ( info
.gotPos
)
1219 self
->SetItemMinSize(info
.pos
, size
);
1221 PyObject
*wxSizer_GetChildren(wxSizer
*self
){
1222 wxSizerItemList
& list
= self
->GetChildren();
1223 return wxPy_ConvertList(&list
);
1225 void wxSizer_Show(wxSizer
*self
,PyObject
*item
,bool show
){
1226 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1228 self
->Show(info
.window
, show
);
1229 else if ( info
.sizer
)
1230 self
->Show(info
.sizer
, show
);
1232 void wxSizer_Hide(wxSizer
*self
,PyObject
*item
){
1233 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1235 self
->Hide(info
.window
);
1236 else if ( info
.sizer
)
1237 self
->Hide(info
.sizer
);
1239 bool wxSizer_IsShown(wxSizer
*self
,PyObject
*item
){
1240 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, False
, False
);
1242 return self
->IsShown(info
.window
);
1243 else if ( info
.sizer
)
1244 return self
->IsShown(info
.sizer
);
1250 IMP_PYCALLBACK___pure(wxPySizer
, wxSizer
, RecalcSizes
);
1251 IMP_PYCALLBACK_wxSize__pure(wxPySizer
, wxSizer
, CalcMin
);
1252 IMPLEMENT_DYNAMIC_CLASS(wxPySizer
, wxSizer
);
1257 bool wxGBPosition_helper(PyObject
* source
, wxGBPosition
** obj
)
1259 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBPosition"));
1262 bool wxGBSpan_helper(PyObject
* source
, wxGBSpan
** obj
)
1264 return wxPyTwoIntItem_helper(source
, obj
, wxT("wxGBSpan"));
1268 void wxGBPosition_Set(wxGBPosition
*self
,int row
,int col
){
1272 PyObject
*wxGBPosition_Get(wxGBPosition
*self
){
1273 wxPyBeginBlockThreads();
1274 PyObject
* tup
= PyTuple_New(2);
1275 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRow()));
1276 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetCol()));
1277 wxPyEndBlockThreads();
1280 void wxGBSpan_Set(wxGBSpan
*self
,int rowspan
,int colspan
){
1281 self
->SetRowspan(rowspan
);
1282 self
->SetColspan(colspan
);
1284 PyObject
*wxGBSpan_Get(wxGBSpan
*self
){
1285 wxPyBeginBlockThreads();
1286 PyObject
* tup
= PyTuple_New(2);
1287 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(self
->GetRowspan()));
1288 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(self
->GetColspan()));
1289 wxPyEndBlockThreads();
1292 bool wxGridBagSizer_Add(wxGridBagSizer
*self
,PyObject
*item
,wxGBPosition
const &pos
,wxGBSpan
const &span
,int flag
,int border
,PyObject
*userData
){
1294 wxPyUserData
* data
= NULL
;
1295 wxPyBeginBlockThreads();
1296 wxPySizerItemInfo info
= wxPySizerItemTypeHelper(item
, True
, False
);
1297 if ( userData
&& (info
.window
|| info
.sizer
|| info
.gotSize
) )
1298 data
= new wxPyUserData(userData
);
1299 wxPyEndBlockThreads();
1301 // Now call the real Add method if a valid item type was found
1303 return self
->Add(info
.window
, pos
, span
, flag
, border
, data
);
1304 else if ( info
.sizer
)
1305 return self
->Add(info
.sizer
, pos
, span
, flag
, border
, data
);
1306 else if (info
.gotSize
)
1307 return self
->Add(info
.size
.GetWidth(), info
.size
.GetHeight(),
1308 pos
, span
, flag
, border
, data
);
1316 static PyObject
*_wrap_Object_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1317 PyObject
*resultobj
;
1318 wxObject
*arg1
= (wxObject
*) 0 ;
1320 PyObject
* obj0
= 0 ;
1322 (char *) "self", NULL
1325 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_GetClassName",kwnames
,&obj0
)) goto fail
;
1326 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1329 result
= wxObject_GetClassName(arg1
);
1331 wxPyEndAllowThreads(__tstate
);
1332 if (PyErr_Occurred()) SWIG_fail
;
1336 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
1338 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
1347 static PyObject
*_wrap_Object_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1348 PyObject
*resultobj
;
1349 wxObject
*arg1
= (wxObject
*) 0 ;
1350 PyObject
* obj0
= 0 ;
1352 (char *) "self", NULL
1355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Object_Destroy",kwnames
,&obj0
)) goto fail
;
1356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1359 wxObject_Destroy(arg1
);
1361 wxPyEndAllowThreads(__tstate
);
1362 if (PyErr_Occurred()) SWIG_fail
;
1364 Py_INCREF(Py_None
); resultobj
= Py_None
;
1371 static PyObject
* Object_swigregister(PyObject
*self
, PyObject
*args
) {
1373 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1374 SWIG_TypeClientData(SWIGTYPE_p_wxObject
, obj
);
1376 return Py_BuildValue((char *)"");
1378 static PyObject
*_wrap_Size_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1379 PyObject
*resultobj
;
1380 wxSize
*arg1
= (wxSize
*) 0 ;
1382 PyObject
* obj0
= 0 ;
1384 (char *) "self",(char *) "x", NULL
1387 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1388 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1389 if (arg1
) (arg1
)->x
= arg2
;
1391 Py_INCREF(Py_None
); resultobj
= Py_None
;
1398 static PyObject
*_wrap_Size_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1399 PyObject
*resultobj
;
1400 wxSize
*arg1
= (wxSize
*) 0 ;
1402 PyObject
* obj0
= 0 ;
1404 (char *) "self", NULL
1407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_width_get",kwnames
,&obj0
)) goto fail
;
1408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1409 result
= (int) ((arg1
)->x
);
1411 resultobj
= PyInt_FromLong((long)result
);
1418 static PyObject
*_wrap_Size_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1419 PyObject
*resultobj
;
1420 wxSize
*arg1
= (wxSize
*) 0 ;
1422 PyObject
* obj0
= 0 ;
1424 (char *) "self",(char *) "y", NULL
1427 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1428 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1429 if (arg1
) (arg1
)->y
= arg2
;
1431 Py_INCREF(Py_None
); resultobj
= Py_None
;
1438 static PyObject
*_wrap_Size_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1439 PyObject
*resultobj
;
1440 wxSize
*arg1
= (wxSize
*) 0 ;
1442 PyObject
* obj0
= 0 ;
1444 (char *) "self", NULL
1447 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_height_get",kwnames
,&obj0
)) goto fail
;
1448 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1449 result
= (int) ((arg1
)->y
);
1451 resultobj
= PyInt_FromLong((long)result
);
1458 static PyObject
*_wrap_new_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1459 PyObject
*resultobj
;
1460 int arg1
= (int) 0 ;
1461 int arg2
= (int) 0 ;
1464 (char *) "w",(char *) "h", NULL
1467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Size",kwnames
,&arg1
,&arg2
)) goto fail
;
1469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1470 result
= (wxSize
*)new wxSize(arg1
,arg2
);
1472 wxPyEndAllowThreads(__tstate
);
1473 if (PyErr_Occurred()) SWIG_fail
;
1475 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 1);
1482 static PyObject
*_wrap_delete_Size(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1483 PyObject
*resultobj
;
1484 wxSize
*arg1
= (wxSize
*) 0 ;
1485 PyObject
* obj0
= 0 ;
1487 (char *) "self", NULL
1490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Size",kwnames
,&obj0
)) goto fail
;
1491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1496 wxPyEndAllowThreads(__tstate
);
1497 if (PyErr_Occurred()) SWIG_fail
;
1499 Py_INCREF(Py_None
); resultobj
= Py_None
;
1506 static PyObject
*_wrap_Size___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1507 PyObject
*resultobj
;
1508 wxSize
*arg1
= (wxSize
*) 0 ;
1512 PyObject
* obj0
= 0 ;
1513 PyObject
* obj1
= 0 ;
1515 (char *) "self",(char *) "sz", NULL
1518 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
1519 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1522 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1526 result
= (bool)(arg1
)->operator ==((wxSize
const &)*arg2
);
1528 wxPyEndAllowThreads(__tstate
);
1529 if (PyErr_Occurred()) SWIG_fail
;
1531 resultobj
= PyInt_FromLong((long)result
);
1538 static PyObject
*_wrap_Size___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1539 PyObject
*resultobj
;
1540 wxSize
*arg1
= (wxSize
*) 0 ;
1544 PyObject
* obj0
= 0 ;
1545 PyObject
* obj1
= 0 ;
1547 (char *) "self",(char *) "sz", NULL
1550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
1551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1554 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1558 result
= (bool)(arg1
)->operator !=((wxSize
const &)*arg2
);
1560 wxPyEndAllowThreads(__tstate
);
1561 if (PyErr_Occurred()) SWIG_fail
;
1563 resultobj
= PyInt_FromLong((long)result
);
1570 static PyObject
*_wrap_Size___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1571 PyObject
*resultobj
;
1572 wxSize
*arg1
= (wxSize
*) 0 ;
1576 PyObject
* obj0
= 0 ;
1577 PyObject
* obj1
= 0 ;
1579 (char *) "self",(char *) "sz", NULL
1582 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
1583 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1586 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1590 result
= (arg1
)->operator +((wxSize
const &)*arg2
);
1592 wxPyEndAllowThreads(__tstate
);
1593 if (PyErr_Occurred()) SWIG_fail
;
1597 resultptr
= new wxSize((wxSize
&) result
);
1598 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1606 static PyObject
*_wrap_Size___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1607 PyObject
*resultobj
;
1608 wxSize
*arg1
= (wxSize
*) 0 ;
1612 PyObject
* obj0
= 0 ;
1613 PyObject
* obj1
= 0 ;
1615 (char *) "self",(char *) "sz", NULL
1618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
1619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1622 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1626 result
= (arg1
)->operator -((wxSize
const &)*arg2
);
1628 wxPyEndAllowThreads(__tstate
);
1629 if (PyErr_Occurred()) SWIG_fail
;
1633 resultptr
= new wxSize((wxSize
&) result
);
1634 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
1642 static PyObject
*_wrap_Size_IncTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1643 PyObject
*resultobj
;
1644 wxSize
*arg1
= (wxSize
*) 0 ;
1647 PyObject
* obj0
= 0 ;
1648 PyObject
* obj1
= 0 ;
1650 (char *) "self",(char *) "sz", NULL
1653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_IncTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1657 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1661 (arg1
)->IncTo((wxSize
const &)*arg2
);
1663 wxPyEndAllowThreads(__tstate
);
1664 if (PyErr_Occurred()) SWIG_fail
;
1666 Py_INCREF(Py_None
); resultobj
= Py_None
;
1673 static PyObject
*_wrap_Size_DecTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1674 PyObject
*resultobj
;
1675 wxSize
*arg1
= (wxSize
*) 0 ;
1678 PyObject
* obj0
= 0 ;
1679 PyObject
* obj1
= 0 ;
1681 (char *) "self",(char *) "sz", NULL
1684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Size_DecTo",kwnames
,&obj0
,&obj1
)) goto fail
;
1685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1688 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
1691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1692 (arg1
)->DecTo((wxSize
const &)*arg2
);
1694 wxPyEndAllowThreads(__tstate
);
1695 if (PyErr_Occurred()) SWIG_fail
;
1697 Py_INCREF(Py_None
); resultobj
= Py_None
;
1704 static PyObject
*_wrap_Size_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1705 PyObject
*resultobj
;
1706 wxSize
*arg1
= (wxSize
*) 0 ;
1709 PyObject
* obj0
= 0 ;
1711 (char *) "self",(char *) "w",(char *) "h", NULL
1714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Size_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
1715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1718 (arg1
)->Set(arg2
,arg3
);
1720 wxPyEndAllowThreads(__tstate
);
1721 if (PyErr_Occurred()) SWIG_fail
;
1723 Py_INCREF(Py_None
); resultobj
= Py_None
;
1730 static PyObject
*_wrap_Size_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1731 PyObject
*resultobj
;
1732 wxSize
*arg1
= (wxSize
*) 0 ;
1734 PyObject
* obj0
= 0 ;
1736 (char *) "self",(char *) "w", NULL
1739 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
1740 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1742 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1743 (arg1
)->SetWidth(arg2
);
1745 wxPyEndAllowThreads(__tstate
);
1746 if (PyErr_Occurred()) SWIG_fail
;
1748 Py_INCREF(Py_None
); resultobj
= Py_None
;
1755 static PyObject
*_wrap_Size_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1756 PyObject
*resultobj
;
1757 wxSize
*arg1
= (wxSize
*) 0 ;
1759 PyObject
* obj0
= 0 ;
1761 (char *) "self",(char *) "h", NULL
1764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Size_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
1765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1768 (arg1
)->SetHeight(arg2
);
1770 wxPyEndAllowThreads(__tstate
);
1771 if (PyErr_Occurred()) SWIG_fail
;
1773 Py_INCREF(Py_None
); resultobj
= Py_None
;
1780 static PyObject
*_wrap_Size_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1781 PyObject
*resultobj
;
1782 wxSize
*arg1
= (wxSize
*) 0 ;
1784 PyObject
* obj0
= 0 ;
1786 (char *) "self", NULL
1789 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetWidth",kwnames
,&obj0
)) goto fail
;
1790 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1792 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1793 result
= (int)((wxSize
const *)arg1
)->GetWidth();
1795 wxPyEndAllowThreads(__tstate
);
1796 if (PyErr_Occurred()) SWIG_fail
;
1798 resultobj
= PyInt_FromLong((long)result
);
1805 static PyObject
*_wrap_Size_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1806 PyObject
*resultobj
;
1807 wxSize
*arg1
= (wxSize
*) 0 ;
1809 PyObject
* obj0
= 0 ;
1811 (char *) "self", NULL
1814 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_GetHeight",kwnames
,&obj0
)) goto fail
;
1815 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1817 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1818 result
= (int)((wxSize
const *)arg1
)->GetHeight();
1820 wxPyEndAllowThreads(__tstate
);
1821 if (PyErr_Occurred()) SWIG_fail
;
1823 resultobj
= PyInt_FromLong((long)result
);
1830 static PyObject
*_wrap_Size_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1831 PyObject
*resultobj
;
1832 wxSize
*arg1
= (wxSize
*) 0 ;
1834 PyObject
* obj0
= 0 ;
1836 (char *) "self", NULL
1839 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Size_Get",kwnames
,&obj0
)) goto fail
;
1840 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1843 result
= (PyObject
*)wxSize_Get(arg1
);
1845 wxPyEndAllowThreads(__tstate
);
1846 if (PyErr_Occurred()) SWIG_fail
;
1855 static PyObject
* Size_swigregister(PyObject
*self
, PyObject
*args
) {
1857 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
1858 SWIG_TypeClientData(SWIGTYPE_p_wxSize
, obj
);
1860 return Py_BuildValue((char *)"");
1862 static PyObject
*_wrap_RealPoint_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1863 PyObject
*resultobj
;
1864 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1866 PyObject
* obj0
= 0 ;
1868 (char *) "self",(char *) "x", NULL
1871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1873 if (arg1
) (arg1
)->x
= arg2
;
1875 Py_INCREF(Py_None
); resultobj
= Py_None
;
1882 static PyObject
*_wrap_RealPoint_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1883 PyObject
*resultobj
;
1884 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1886 PyObject
* obj0
= 0 ;
1888 (char *) "self", NULL
1891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_x_get",kwnames
,&obj0
)) goto fail
;
1892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1893 result
= (double) ((arg1
)->x
);
1895 resultobj
= PyFloat_FromDouble(result
);
1902 static PyObject
*_wrap_RealPoint_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1903 PyObject
*resultobj
;
1904 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1906 PyObject
* obj0
= 0 ;
1908 (char *) "self",(char *) "y", NULL
1911 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:RealPoint_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
1912 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1913 if (arg1
) (arg1
)->y
= arg2
;
1915 Py_INCREF(Py_None
); resultobj
= Py_None
;
1922 static PyObject
*_wrap_RealPoint_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1923 PyObject
*resultobj
;
1924 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1926 PyObject
* obj0
= 0 ;
1928 (char *) "self", NULL
1931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_y_get",kwnames
,&obj0
)) goto fail
;
1932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1933 result
= (double) ((arg1
)->y
);
1935 resultobj
= PyFloat_FromDouble(result
);
1942 static PyObject
*_wrap_new_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1943 PyObject
*resultobj
;
1944 double arg1
= (double) 0.0 ;
1945 double arg2
= (double) 0.0 ;
1946 wxRealPoint
*result
;
1948 (char *) "x",(char *) "y", NULL
1951 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_RealPoint",kwnames
,&arg1
,&arg2
)) goto fail
;
1953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1954 result
= (wxRealPoint
*)new wxRealPoint(arg1
,arg2
);
1956 wxPyEndAllowThreads(__tstate
);
1957 if (PyErr_Occurred()) SWIG_fail
;
1959 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRealPoint
, 1);
1966 static PyObject
*_wrap_delete_RealPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1967 PyObject
*resultobj
;
1968 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1969 PyObject
* obj0
= 0 ;
1971 (char *) "self", NULL
1974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_RealPoint",kwnames
,&obj0
)) goto fail
;
1975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
1977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
1980 wxPyEndAllowThreads(__tstate
);
1981 if (PyErr_Occurred()) SWIG_fail
;
1983 Py_INCREF(Py_None
); resultobj
= Py_None
;
1990 static PyObject
*_wrap_RealPoint___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
1991 PyObject
*resultobj
;
1992 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
1993 wxRealPoint
*arg2
= 0 ;
1996 PyObject
* obj0
= 0 ;
1997 PyObject
* obj1
= 0 ;
1999 (char *) "self",(char *) "pt", NULL
2002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2006 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2010 result
= (bool)(arg1
)->operator ==((wxRealPoint
const &)*arg2
);
2012 wxPyEndAllowThreads(__tstate
);
2013 if (PyErr_Occurred()) SWIG_fail
;
2015 resultobj
= PyInt_FromLong((long)result
);
2022 static PyObject
*_wrap_RealPoint___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2023 PyObject
*resultobj
;
2024 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2025 wxRealPoint
*arg2
= 0 ;
2028 PyObject
* obj0
= 0 ;
2029 PyObject
* obj1
= 0 ;
2031 (char *) "self",(char *) "pt", NULL
2034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2038 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2042 result
= (bool)(arg1
)->operator !=((wxRealPoint
const &)*arg2
);
2044 wxPyEndAllowThreads(__tstate
);
2045 if (PyErr_Occurred()) SWIG_fail
;
2047 resultobj
= PyInt_FromLong((long)result
);
2054 static PyObject
*_wrap_RealPoint___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2055 PyObject
*resultobj
;
2056 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2057 wxRealPoint
*arg2
= 0 ;
2060 PyObject
* obj0
= 0 ;
2061 PyObject
* obj1
= 0 ;
2063 (char *) "self",(char *) "pt", NULL
2066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2070 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2074 result
= (arg1
)->operator +((wxRealPoint
const &)*arg2
);
2076 wxPyEndAllowThreads(__tstate
);
2077 if (PyErr_Occurred()) SWIG_fail
;
2080 wxRealPoint
* resultptr
;
2081 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2082 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2090 static PyObject
*_wrap_RealPoint___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2091 PyObject
*resultobj
;
2092 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2093 wxRealPoint
*arg2
= 0 ;
2096 PyObject
* obj0
= 0 ;
2097 PyObject
* obj1
= 0 ;
2099 (char *) "self",(char *) "pt", NULL
2102 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:RealPoint___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2103 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2106 if ( ! wxRealPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2110 result
= (arg1
)->operator -((wxRealPoint
const &)*arg2
);
2112 wxPyEndAllowThreads(__tstate
);
2113 if (PyErr_Occurred()) SWIG_fail
;
2116 wxRealPoint
* resultptr
;
2117 resultptr
= new wxRealPoint((wxRealPoint
&) result
);
2118 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRealPoint
, 1);
2126 static PyObject
*_wrap_RealPoint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2127 PyObject
*resultobj
;
2128 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2131 PyObject
* obj0
= 0 ;
2133 (char *) "self",(char *) "x",(char *) "y", NULL
2136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Odd:RealPoint_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2140 wxRealPoint_Set(arg1
,arg2
,arg3
);
2142 wxPyEndAllowThreads(__tstate
);
2143 if (PyErr_Occurred()) SWIG_fail
;
2145 Py_INCREF(Py_None
); resultobj
= Py_None
;
2152 static PyObject
*_wrap_RealPoint_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2153 PyObject
*resultobj
;
2154 wxRealPoint
*arg1
= (wxRealPoint
*) 0 ;
2156 PyObject
* obj0
= 0 ;
2158 (char *) "self", NULL
2161 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:RealPoint_Get",kwnames
,&obj0
)) goto fail
;
2162 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRealPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2165 result
= (PyObject
*)wxRealPoint_Get(arg1
);
2167 wxPyEndAllowThreads(__tstate
);
2168 if (PyErr_Occurred()) SWIG_fail
;
2177 static PyObject
* RealPoint_swigregister(PyObject
*self
, PyObject
*args
) {
2179 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2180 SWIG_TypeClientData(SWIGTYPE_p_wxRealPoint
, obj
);
2182 return Py_BuildValue((char *)"");
2184 static PyObject
*_wrap_Point_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2185 PyObject
*resultobj
;
2186 wxPoint
*arg1
= (wxPoint
*) 0 ;
2188 PyObject
* obj0
= 0 ;
2190 (char *) "self",(char *) "x", NULL
2193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2195 if (arg1
) (arg1
)->x
= arg2
;
2197 Py_INCREF(Py_None
); resultobj
= Py_None
;
2204 static PyObject
*_wrap_Point_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2205 PyObject
*resultobj
;
2206 wxPoint
*arg1
= (wxPoint
*) 0 ;
2208 PyObject
* obj0
= 0 ;
2210 (char *) "self", NULL
2213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_x_get",kwnames
,&obj0
)) goto fail
;
2214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2215 result
= (int) ((arg1
)->x
);
2217 resultobj
= PyInt_FromLong((long)result
);
2224 static PyObject
*_wrap_Point_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2225 PyObject
*resultobj
;
2226 wxPoint
*arg1
= (wxPoint
*) 0 ;
2228 PyObject
* obj0
= 0 ;
2230 (char *) "self",(char *) "y", NULL
2233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Point_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
2234 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2235 if (arg1
) (arg1
)->y
= arg2
;
2237 Py_INCREF(Py_None
); resultobj
= Py_None
;
2244 static PyObject
*_wrap_Point_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2245 PyObject
*resultobj
;
2246 wxPoint
*arg1
= (wxPoint
*) 0 ;
2248 PyObject
* obj0
= 0 ;
2250 (char *) "self", NULL
2253 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_y_get",kwnames
,&obj0
)) goto fail
;
2254 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2255 result
= (int) ((arg1
)->y
);
2257 resultobj
= PyInt_FromLong((long)result
);
2264 static PyObject
*_wrap_new_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2265 PyObject
*resultobj
;
2266 int arg1
= (int) 0 ;
2267 int arg2
= (int) 0 ;
2270 (char *) "x",(char *) "y", NULL
2273 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_Point",kwnames
,&arg1
,&arg2
)) goto fail
;
2275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2276 result
= (wxPoint
*)new wxPoint(arg1
,arg2
);
2278 wxPyEndAllowThreads(__tstate
);
2279 if (PyErr_Occurred()) SWIG_fail
;
2281 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 1);
2288 static PyObject
*_wrap_delete_Point(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2289 PyObject
*resultobj
;
2290 wxPoint
*arg1
= (wxPoint
*) 0 ;
2291 PyObject
* obj0
= 0 ;
2293 (char *) "self", NULL
2296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Point",kwnames
,&obj0
)) goto fail
;
2297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2302 wxPyEndAllowThreads(__tstate
);
2303 if (PyErr_Occurred()) SWIG_fail
;
2305 Py_INCREF(Py_None
); resultobj
= Py_None
;
2312 static PyObject
*_wrap_Point___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2313 PyObject
*resultobj
;
2314 wxPoint
*arg1
= (wxPoint
*) 0 ;
2318 PyObject
* obj0
= 0 ;
2319 PyObject
* obj1
= 0 ;
2321 (char *) "self",(char *) "pt", NULL
2324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
2325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2328 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2332 result
= (bool)(arg1
)->operator ==((wxPoint
const &)*arg2
);
2334 wxPyEndAllowThreads(__tstate
);
2335 if (PyErr_Occurred()) SWIG_fail
;
2337 resultobj
= PyInt_FromLong((long)result
);
2344 static PyObject
*_wrap_Point___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2345 PyObject
*resultobj
;
2346 wxPoint
*arg1
= (wxPoint
*) 0 ;
2350 PyObject
* obj0
= 0 ;
2351 PyObject
* obj1
= 0 ;
2353 (char *) "self",(char *) "pt", NULL
2356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
2357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2360 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2364 result
= (bool)(arg1
)->operator !=((wxPoint
const &)*arg2
);
2366 wxPyEndAllowThreads(__tstate
);
2367 if (PyErr_Occurred()) SWIG_fail
;
2369 resultobj
= PyInt_FromLong((long)result
);
2376 static PyObject
*_wrap_Point___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2377 PyObject
*resultobj
;
2378 wxPoint
*arg1
= (wxPoint
*) 0 ;
2382 PyObject
* obj0
= 0 ;
2383 PyObject
* obj1
= 0 ;
2385 (char *) "self",(char *) "pt", NULL
2388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
2389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2392 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2396 result
= (arg1
)->operator +((wxPoint
const &)*arg2
);
2398 wxPyEndAllowThreads(__tstate
);
2399 if (PyErr_Occurred()) SWIG_fail
;
2402 wxPoint
* resultptr
;
2403 resultptr
= new wxPoint((wxPoint
&) result
);
2404 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2412 static PyObject
*_wrap_Point___sub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2413 PyObject
*resultobj
;
2414 wxPoint
*arg1
= (wxPoint
*) 0 ;
2418 PyObject
* obj0
= 0 ;
2419 PyObject
* obj1
= 0 ;
2421 (char *) "self",(char *) "pt", NULL
2424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___sub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2428 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2432 result
= (arg1
)->operator -((wxPoint
const &)*arg2
);
2434 wxPyEndAllowThreads(__tstate
);
2435 if (PyErr_Occurred()) SWIG_fail
;
2438 wxPoint
* resultptr
;
2439 resultptr
= new wxPoint((wxPoint
&) result
);
2440 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2448 static PyObject
*_wrap_Point___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2449 PyObject
*resultobj
;
2450 wxPoint
*arg1
= (wxPoint
*) 0 ;
2454 PyObject
* obj0
= 0 ;
2455 PyObject
* obj1
= 0 ;
2457 (char *) "self",(char *) "pt", NULL
2460 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
2461 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2464 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2469 wxPoint
&_result_ref
= (arg1
)->operator +=((wxPoint
const &)*arg2
);
2470 result
= (wxPoint
*) &_result_ref
;
2473 wxPyEndAllowThreads(__tstate
);
2474 if (PyErr_Occurred()) SWIG_fail
;
2476 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2483 static PyObject
*_wrap_Point___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2484 PyObject
*resultobj
;
2485 wxPoint
*arg1
= (wxPoint
*) 0 ;
2489 PyObject
* obj0
= 0 ;
2490 PyObject
* obj1
= 0 ;
2492 (char *) "self",(char *) "pt", NULL
2495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
2496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2499 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2504 wxPoint
&_result_ref
= (arg1
)->operator -=((wxPoint
const &)*arg2
);
2505 result
= (wxPoint
*) &_result_ref
;
2508 wxPyEndAllowThreads(__tstate
);
2509 if (PyErr_Occurred()) SWIG_fail
;
2511 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
2518 static PyObject
*_wrap_Point_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2519 PyObject
*resultobj
;
2520 wxPoint
*arg1
= (wxPoint
*) 0 ;
2523 PyObject
* obj0
= 0 ;
2525 (char *) "self",(char *) "x",(char *) "y", NULL
2528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oll:Point_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
2529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2531 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2532 wxPoint_Set(arg1
,arg2
,arg3
);
2534 wxPyEndAllowThreads(__tstate
);
2535 if (PyErr_Occurred()) SWIG_fail
;
2537 Py_INCREF(Py_None
); resultobj
= Py_None
;
2544 static PyObject
*_wrap_Point_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2545 PyObject
*resultobj
;
2546 wxPoint
*arg1
= (wxPoint
*) 0 ;
2548 PyObject
* obj0
= 0 ;
2550 (char *) "self", NULL
2553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point_Get",kwnames
,&obj0
)) goto fail
;
2554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2557 result
= (PyObject
*)wxPoint_Get(arg1
);
2559 wxPyEndAllowThreads(__tstate
);
2560 if (PyErr_Occurred()) SWIG_fail
;
2569 static PyObject
* Point_swigregister(PyObject
*self
, PyObject
*args
) {
2571 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
2572 SWIG_TypeClientData(SWIGTYPE_p_wxPoint
, obj
);
2574 return Py_BuildValue((char *)"");
2576 static PyObject
*_wrap_new_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2577 PyObject
*resultobj
;
2578 int arg1
= (int) 0 ;
2579 int arg2
= (int) 0 ;
2580 int arg3
= (int) 0 ;
2581 int arg4
= (int) 0 ;
2584 (char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
2587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_Rect",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
2589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2590 result
= (wxRect
*)new wxRect(arg1
,arg2
,arg3
,arg4
);
2592 wxPyEndAllowThreads(__tstate
);
2593 if (PyErr_Occurred()) SWIG_fail
;
2595 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2602 static PyObject
*_wrap_new_RectPP(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2603 PyObject
*resultobj
;
2609 PyObject
* obj0
= 0 ;
2610 PyObject
* obj1
= 0 ;
2612 (char *) "topLeft",(char *) "bottomRight", NULL
2615 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPP",kwnames
,&obj0
,&obj1
)) goto fail
;
2618 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2622 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2626 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxPoint
const &)*arg2
);
2628 wxPyEndAllowThreads(__tstate
);
2629 if (PyErr_Occurred()) SWIG_fail
;
2631 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2638 static PyObject
*_wrap_new_RectPS(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2639 PyObject
*resultobj
;
2645 PyObject
* obj0
= 0 ;
2646 PyObject
* obj1
= 0 ;
2648 (char *) "pos",(char *) "size", NULL
2651 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_RectPS",kwnames
,&obj0
,&obj1
)) goto fail
;
2654 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
2658 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
2661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2662 result
= (wxRect
*)new wxRect((wxPoint
const &)*arg1
,(wxSize
const &)*arg2
);
2664 wxPyEndAllowThreads(__tstate
);
2665 if (PyErr_Occurred()) SWIG_fail
;
2667 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 1);
2674 static PyObject
*_wrap_delete_Rect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2675 PyObject
*resultobj
;
2676 wxRect
*arg1
= (wxRect
*) 0 ;
2677 PyObject
* obj0
= 0 ;
2679 (char *) "self", NULL
2682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Rect",kwnames
,&obj0
)) goto fail
;
2683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2688 wxPyEndAllowThreads(__tstate
);
2689 if (PyErr_Occurred()) SWIG_fail
;
2691 Py_INCREF(Py_None
); resultobj
= Py_None
;
2698 static PyObject
*_wrap_Rect_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2699 PyObject
*resultobj
;
2700 wxRect
*arg1
= (wxRect
*) 0 ;
2702 PyObject
* obj0
= 0 ;
2704 (char *) "self", NULL
2707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetX",kwnames
,&obj0
)) goto fail
;
2708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2711 result
= (int)((wxRect
const *)arg1
)->GetX();
2713 wxPyEndAllowThreads(__tstate
);
2714 if (PyErr_Occurred()) SWIG_fail
;
2716 resultobj
= PyInt_FromLong((long)result
);
2723 static PyObject
*_wrap_Rect_SetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2724 PyObject
*resultobj
;
2725 wxRect
*arg1
= (wxRect
*) 0 ;
2727 PyObject
* obj0
= 0 ;
2729 (char *) "self",(char *) "x", NULL
2732 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetX",kwnames
,&obj0
,&arg2
)) goto fail
;
2733 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2738 wxPyEndAllowThreads(__tstate
);
2739 if (PyErr_Occurred()) SWIG_fail
;
2741 Py_INCREF(Py_None
); resultobj
= Py_None
;
2748 static PyObject
*_wrap_Rect_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2749 PyObject
*resultobj
;
2750 wxRect
*arg1
= (wxRect
*) 0 ;
2752 PyObject
* obj0
= 0 ;
2754 (char *) "self", NULL
2757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetY",kwnames
,&obj0
)) goto fail
;
2758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2761 result
= (int)(arg1
)->GetY();
2763 wxPyEndAllowThreads(__tstate
);
2764 if (PyErr_Occurred()) SWIG_fail
;
2766 resultobj
= PyInt_FromLong((long)result
);
2773 static PyObject
*_wrap_Rect_SetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2774 PyObject
*resultobj
;
2775 wxRect
*arg1
= (wxRect
*) 0 ;
2777 PyObject
* obj0
= 0 ;
2779 (char *) "self",(char *) "y", NULL
2782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetY",kwnames
,&obj0
,&arg2
)) goto fail
;
2783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2788 wxPyEndAllowThreads(__tstate
);
2789 if (PyErr_Occurred()) SWIG_fail
;
2791 Py_INCREF(Py_None
); resultobj
= Py_None
;
2798 static PyObject
*_wrap_Rect_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2799 PyObject
*resultobj
;
2800 wxRect
*arg1
= (wxRect
*) 0 ;
2802 PyObject
* obj0
= 0 ;
2804 (char *) "self", NULL
2807 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetWidth",kwnames
,&obj0
)) goto fail
;
2808 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2811 result
= (int)((wxRect
const *)arg1
)->GetWidth();
2813 wxPyEndAllowThreads(__tstate
);
2814 if (PyErr_Occurred()) SWIG_fail
;
2816 resultobj
= PyInt_FromLong((long)result
);
2823 static PyObject
*_wrap_Rect_SetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2824 PyObject
*resultobj
;
2825 wxRect
*arg1
= (wxRect
*) 0 ;
2827 PyObject
* obj0
= 0 ;
2829 (char *) "self",(char *) "w", NULL
2832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
2833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2836 (arg1
)->SetWidth(arg2
);
2838 wxPyEndAllowThreads(__tstate
);
2839 if (PyErr_Occurred()) SWIG_fail
;
2841 Py_INCREF(Py_None
); resultobj
= Py_None
;
2848 static PyObject
*_wrap_Rect_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2849 PyObject
*resultobj
;
2850 wxRect
*arg1
= (wxRect
*) 0 ;
2852 PyObject
* obj0
= 0 ;
2854 (char *) "self", NULL
2857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetHeight",kwnames
,&obj0
)) goto fail
;
2858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2861 result
= (int)((wxRect
const *)arg1
)->GetHeight();
2863 wxPyEndAllowThreads(__tstate
);
2864 if (PyErr_Occurred()) SWIG_fail
;
2866 resultobj
= PyInt_FromLong((long)result
);
2873 static PyObject
*_wrap_Rect_SetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2874 PyObject
*resultobj
;
2875 wxRect
*arg1
= (wxRect
*) 0 ;
2877 PyObject
* obj0
= 0 ;
2879 (char *) "self",(char *) "h", NULL
2882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetHeight",kwnames
,&obj0
,&arg2
)) goto fail
;
2883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2886 (arg1
)->SetHeight(arg2
);
2888 wxPyEndAllowThreads(__tstate
);
2889 if (PyErr_Occurred()) SWIG_fail
;
2891 Py_INCREF(Py_None
); resultobj
= Py_None
;
2898 static PyObject
*_wrap_Rect_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2899 PyObject
*resultobj
;
2900 wxRect
*arg1
= (wxRect
*) 0 ;
2902 PyObject
* obj0
= 0 ;
2904 (char *) "self", NULL
2907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetPosition",kwnames
,&obj0
)) goto fail
;
2908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2911 result
= ((wxRect
const *)arg1
)->GetPosition();
2913 wxPyEndAllowThreads(__tstate
);
2914 if (PyErr_Occurred()) SWIG_fail
;
2917 wxPoint
* resultptr
;
2918 resultptr
= new wxPoint((wxPoint
&) result
);
2919 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
2927 static PyObject
*_wrap_Rect_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2928 PyObject
*resultobj
;
2929 wxRect
*arg1
= (wxRect
*) 0 ;
2932 PyObject
* obj0
= 0 ;
2933 PyObject
* obj1
= 0 ;
2935 (char *) "self",(char *) "p", NULL
2938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
2939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2942 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
2945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2946 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
2948 wxPyEndAllowThreads(__tstate
);
2949 if (PyErr_Occurred()) SWIG_fail
;
2951 Py_INCREF(Py_None
); resultobj
= Py_None
;
2958 static PyObject
*_wrap_Rect_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2959 PyObject
*resultobj
;
2960 wxRect
*arg1
= (wxRect
*) 0 ;
2962 PyObject
* obj0
= 0 ;
2964 (char *) "self", NULL
2967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetSize",kwnames
,&obj0
)) goto fail
;
2968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
2970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
2971 result
= ((wxRect
const *)arg1
)->GetSize();
2973 wxPyEndAllowThreads(__tstate
);
2974 if (PyErr_Occurred()) SWIG_fail
;
2978 resultptr
= new wxSize((wxSize
&) result
);
2979 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
2987 static PyObject
*_wrap_Rect_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
2988 PyObject
*resultobj
;
2989 wxRect
*arg1
= (wxRect
*) 0 ;
2992 PyObject
* obj0
= 0 ;
2993 PyObject
* obj1
= 0 ;
2995 (char *) "self",(char *) "s", NULL
2998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
2999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3002 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
3005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3006 (arg1
)->SetSize((wxSize
const &)*arg2
);
3008 wxPyEndAllowThreads(__tstate
);
3009 if (PyErr_Occurred()) SWIG_fail
;
3011 Py_INCREF(Py_None
); resultobj
= Py_None
;
3018 static PyObject
*_wrap_Rect_GetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3019 PyObject
*resultobj
;
3020 wxRect
*arg1
= (wxRect
*) 0 ;
3022 PyObject
* obj0
= 0 ;
3024 (char *) "self", NULL
3027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTopLeft",kwnames
,&obj0
)) goto fail
;
3028 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3031 result
= ((wxRect
const *)arg1
)->GetTopLeft();
3033 wxPyEndAllowThreads(__tstate
);
3034 if (PyErr_Occurred()) SWIG_fail
;
3037 wxPoint
* resultptr
;
3038 resultptr
= new wxPoint((wxPoint
&) result
);
3039 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3047 static PyObject
*_wrap_Rect_SetTopLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3048 PyObject
*resultobj
;
3049 wxRect
*arg1
= (wxRect
*) 0 ;
3052 PyObject
* obj0
= 0 ;
3053 PyObject
* obj1
= 0 ;
3055 (char *) "self",(char *) "p", NULL
3058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetTopLeft",kwnames
,&obj0
,&obj1
)) goto fail
;
3059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3062 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3066 (arg1
)->SetTopLeft((wxPoint
const &)*arg2
);
3068 wxPyEndAllowThreads(__tstate
);
3069 if (PyErr_Occurred()) SWIG_fail
;
3071 Py_INCREF(Py_None
); resultobj
= Py_None
;
3078 static PyObject
*_wrap_Rect_GetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3079 PyObject
*resultobj
;
3080 wxRect
*arg1
= (wxRect
*) 0 ;
3082 PyObject
* obj0
= 0 ;
3084 (char *) "self", NULL
3087 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottomRight",kwnames
,&obj0
)) goto fail
;
3088 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3091 result
= ((wxRect
const *)arg1
)->GetBottomRight();
3093 wxPyEndAllowThreads(__tstate
);
3094 if (PyErr_Occurred()) SWIG_fail
;
3097 wxPoint
* resultptr
;
3098 resultptr
= new wxPoint((wxPoint
&) result
);
3099 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
3107 static PyObject
*_wrap_Rect_SetBottomRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3108 PyObject
*resultobj
;
3109 wxRect
*arg1
= (wxRect
*) 0 ;
3112 PyObject
* obj0
= 0 ;
3113 PyObject
* obj1
= 0 ;
3115 (char *) "self",(char *) "p", NULL
3118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_SetBottomRight",kwnames
,&obj0
,&obj1
)) goto fail
;
3119 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3122 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3125 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3126 (arg1
)->SetBottomRight((wxPoint
const &)*arg2
);
3128 wxPyEndAllowThreads(__tstate
);
3129 if (PyErr_Occurred()) SWIG_fail
;
3131 Py_INCREF(Py_None
); resultobj
= Py_None
;
3138 static PyObject
*_wrap_Rect_GetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3139 PyObject
*resultobj
;
3140 wxRect
*arg1
= (wxRect
*) 0 ;
3142 PyObject
* obj0
= 0 ;
3144 (char *) "self", NULL
3147 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetLeft",kwnames
,&obj0
)) goto fail
;
3148 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3151 result
= (int)((wxRect
const *)arg1
)->GetLeft();
3153 wxPyEndAllowThreads(__tstate
);
3154 if (PyErr_Occurred()) SWIG_fail
;
3156 resultobj
= PyInt_FromLong((long)result
);
3163 static PyObject
*_wrap_Rect_GetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3164 PyObject
*resultobj
;
3165 wxRect
*arg1
= (wxRect
*) 0 ;
3167 PyObject
* obj0
= 0 ;
3169 (char *) "self", NULL
3172 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetTop",kwnames
,&obj0
)) goto fail
;
3173 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3176 result
= (int)((wxRect
const *)arg1
)->GetTop();
3178 wxPyEndAllowThreads(__tstate
);
3179 if (PyErr_Occurred()) SWIG_fail
;
3181 resultobj
= PyInt_FromLong((long)result
);
3188 static PyObject
*_wrap_Rect_GetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3189 PyObject
*resultobj
;
3190 wxRect
*arg1
= (wxRect
*) 0 ;
3192 PyObject
* obj0
= 0 ;
3194 (char *) "self", NULL
3197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetBottom",kwnames
,&obj0
)) goto fail
;
3198 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3201 result
= (int)((wxRect
const *)arg1
)->GetBottom();
3203 wxPyEndAllowThreads(__tstate
);
3204 if (PyErr_Occurred()) SWIG_fail
;
3206 resultobj
= PyInt_FromLong((long)result
);
3213 static PyObject
*_wrap_Rect_GetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3214 PyObject
*resultobj
;
3215 wxRect
*arg1
= (wxRect
*) 0 ;
3217 PyObject
* obj0
= 0 ;
3219 (char *) "self", NULL
3222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_GetRight",kwnames
,&obj0
)) goto fail
;
3223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3226 result
= (int)((wxRect
const *)arg1
)->GetRight();
3228 wxPyEndAllowThreads(__tstate
);
3229 if (PyErr_Occurred()) SWIG_fail
;
3231 resultobj
= PyInt_FromLong((long)result
);
3238 static PyObject
*_wrap_Rect_SetLeft(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3239 PyObject
*resultobj
;
3240 wxRect
*arg1
= (wxRect
*) 0 ;
3242 PyObject
* obj0
= 0 ;
3244 (char *) "self",(char *) "left", NULL
3247 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetLeft",kwnames
,&obj0
,&arg2
)) goto fail
;
3248 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3251 (arg1
)->SetLeft(arg2
);
3253 wxPyEndAllowThreads(__tstate
);
3254 if (PyErr_Occurred()) SWIG_fail
;
3256 Py_INCREF(Py_None
); resultobj
= Py_None
;
3263 static PyObject
*_wrap_Rect_SetRight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3264 PyObject
*resultobj
;
3265 wxRect
*arg1
= (wxRect
*) 0 ;
3267 PyObject
* obj0
= 0 ;
3269 (char *) "self",(char *) "right", NULL
3272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetRight",kwnames
,&obj0
,&arg2
)) goto fail
;
3273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3276 (arg1
)->SetRight(arg2
);
3278 wxPyEndAllowThreads(__tstate
);
3279 if (PyErr_Occurred()) SWIG_fail
;
3281 Py_INCREF(Py_None
); resultobj
= Py_None
;
3288 static PyObject
*_wrap_Rect_SetTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3289 PyObject
*resultobj
;
3290 wxRect
*arg1
= (wxRect
*) 0 ;
3292 PyObject
* obj0
= 0 ;
3294 (char *) "self",(char *) "top", NULL
3297 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetTop",kwnames
,&obj0
,&arg2
)) goto fail
;
3298 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3301 (arg1
)->SetTop(arg2
);
3303 wxPyEndAllowThreads(__tstate
);
3304 if (PyErr_Occurred()) SWIG_fail
;
3306 Py_INCREF(Py_None
); resultobj
= Py_None
;
3313 static PyObject
*_wrap_Rect_SetBottom(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3314 PyObject
*resultobj
;
3315 wxRect
*arg1
= (wxRect
*) 0 ;
3317 PyObject
* obj0
= 0 ;
3319 (char *) "self",(char *) "bottom", NULL
3322 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_SetBottom",kwnames
,&obj0
,&arg2
)) goto fail
;
3323 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3325 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3326 (arg1
)->SetBottom(arg2
);
3328 wxPyEndAllowThreads(__tstate
);
3329 if (PyErr_Occurred()) SWIG_fail
;
3331 Py_INCREF(Py_None
); resultobj
= Py_None
;
3338 static PyObject
*_wrap_Rect_Inflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3339 PyObject
*resultobj
;
3340 wxRect
*arg1
= (wxRect
*) 0 ;
3344 PyObject
* obj0
= 0 ;
3346 (char *) "self",(char *) "dx",(char *) "dy", NULL
3349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Inflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3354 wxRect
&_result_ref
= (arg1
)->Inflate(arg2
,arg3
);
3355 result
= (wxRect
*) &_result_ref
;
3358 wxPyEndAllowThreads(__tstate
);
3359 if (PyErr_Occurred()) SWIG_fail
;
3361 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3368 static PyObject
*_wrap_Rect_Deflate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3369 PyObject
*resultobj
;
3370 wxRect
*arg1
= (wxRect
*) 0 ;
3374 PyObject
* obj0
= 0 ;
3376 (char *) "self",(char *) "dx",(char *) "dy", NULL
3379 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_Deflate",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3380 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3384 wxRect
&_result_ref
= (arg1
)->Deflate(arg2
,arg3
);
3385 result
= (wxRect
*) &_result_ref
;
3388 wxPyEndAllowThreads(__tstate
);
3389 if (PyErr_Occurred()) SWIG_fail
;
3391 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3398 static PyObject
*_wrap_Rect_OffsetXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3399 PyObject
*resultobj
;
3400 wxRect
*arg1
= (wxRect
*) 0 ;
3403 PyObject
* obj0
= 0 ;
3405 (char *) "self",(char *) "dx",(char *) "dy", NULL
3408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_OffsetXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3412 (arg1
)->Offset(arg2
,arg3
);
3414 wxPyEndAllowThreads(__tstate
);
3415 if (PyErr_Occurred()) SWIG_fail
;
3417 Py_INCREF(Py_None
); resultobj
= Py_None
;
3424 static PyObject
*_wrap_Rect_Offset(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3425 PyObject
*resultobj
;
3426 wxRect
*arg1
= (wxRect
*) 0 ;
3429 PyObject
* obj0
= 0 ;
3430 PyObject
* obj1
= 0 ;
3432 (char *) "self",(char *) "pt", NULL
3435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Offset",kwnames
,&obj0
,&obj1
)) goto fail
;
3436 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3439 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3443 (arg1
)->Offset((wxPoint
const &)*arg2
);
3445 wxPyEndAllowThreads(__tstate
);
3446 if (PyErr_Occurred()) SWIG_fail
;
3448 Py_INCREF(Py_None
); resultobj
= Py_None
;
3455 static PyObject
*_wrap_Rect_Intersect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3456 PyObject
*resultobj
;
3457 wxRect
*arg1
= (wxRect
*) 0 ;
3461 PyObject
* obj0
= 0 ;
3462 PyObject
* obj1
= 0 ;
3464 (char *) "self",(char *) "rect", NULL
3467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersect",kwnames
,&obj0
,&obj1
)) goto fail
;
3468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3471 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3476 wxRect
&_result_ref
= (arg1
)->Intersect((wxRect
const &)*arg2
);
3477 result
= (wxRect
*) &_result_ref
;
3480 wxPyEndAllowThreads(__tstate
);
3481 if (PyErr_Occurred()) SWIG_fail
;
3483 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3490 static PyObject
*_wrap_Rect___add__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3491 PyObject
*resultobj
;
3492 wxRect
*arg1
= (wxRect
*) 0 ;
3496 PyObject
* obj0
= 0 ;
3497 PyObject
* obj1
= 0 ;
3499 (char *) "self",(char *) "rect", NULL
3502 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___add__",kwnames
,&obj0
,&obj1
)) goto fail
;
3503 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3506 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3510 result
= ((wxRect
const *)arg1
)->operator +((wxRect
const &)*arg2
);
3512 wxPyEndAllowThreads(__tstate
);
3513 if (PyErr_Occurred()) SWIG_fail
;
3517 resultptr
= new wxRect((wxRect
&) result
);
3518 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
3526 static PyObject
*_wrap_Rect___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3527 PyObject
*resultobj
;
3528 wxRect
*arg1
= (wxRect
*) 0 ;
3532 PyObject
* obj0
= 0 ;
3533 PyObject
* obj1
= 0 ;
3535 (char *) "self",(char *) "rect", NULL
3538 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
3539 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3542 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3547 wxRect
&_result_ref
= (arg1
)->operator +=((wxRect
const &)*arg2
);
3548 result
= (wxRect
*) &_result_ref
;
3551 wxPyEndAllowThreads(__tstate
);
3552 if (PyErr_Occurred()) SWIG_fail
;
3554 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
3561 static PyObject
*_wrap_Rect___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3562 PyObject
*resultobj
;
3563 wxRect
*arg1
= (wxRect
*) 0 ;
3567 PyObject
* obj0
= 0 ;
3568 PyObject
* obj1
= 0 ;
3570 (char *) "self",(char *) "rect", NULL
3573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
3574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3577 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3581 result
= (bool)((wxRect
const *)arg1
)->operator ==((wxRect
const &)*arg2
);
3583 wxPyEndAllowThreads(__tstate
);
3584 if (PyErr_Occurred()) SWIG_fail
;
3586 resultobj
= PyInt_FromLong((long)result
);
3593 static PyObject
*_wrap_Rect___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3594 PyObject
*resultobj
;
3595 wxRect
*arg1
= (wxRect
*) 0 ;
3599 PyObject
* obj0
= 0 ;
3600 PyObject
* obj1
= 0 ;
3602 (char *) "self",(char *) "rect", NULL
3605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
3606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3609 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3613 result
= (bool)((wxRect
const *)arg1
)->operator !=((wxRect
const &)*arg2
);
3615 wxPyEndAllowThreads(__tstate
);
3616 if (PyErr_Occurred()) SWIG_fail
;
3618 resultobj
= PyInt_FromLong((long)result
);
3625 static PyObject
*_wrap_Rect_InsideXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3626 PyObject
*resultobj
;
3627 wxRect
*arg1
= (wxRect
*) 0 ;
3631 PyObject
* obj0
= 0 ;
3633 (char *) "self",(char *) "x",(char *) "y", NULL
3636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Rect_InsideXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
3637 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3640 result
= (bool)((wxRect
const *)arg1
)->Inside(arg2
,arg3
);
3642 wxPyEndAllowThreads(__tstate
);
3643 if (PyErr_Occurred()) SWIG_fail
;
3645 resultobj
= PyInt_FromLong((long)result
);
3652 static PyObject
*_wrap_Rect_Inside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3653 PyObject
*resultobj
;
3654 wxRect
*arg1
= (wxRect
*) 0 ;
3658 PyObject
* obj0
= 0 ;
3659 PyObject
* obj1
= 0 ;
3661 (char *) "self",(char *) "pt", NULL
3664 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Inside",kwnames
,&obj0
,&obj1
)) goto fail
;
3665 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3668 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
3671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3672 result
= (bool)((wxRect
const *)arg1
)->Inside((wxPoint
const &)*arg2
);
3674 wxPyEndAllowThreads(__tstate
);
3675 if (PyErr_Occurred()) SWIG_fail
;
3677 resultobj
= PyInt_FromLong((long)result
);
3684 static PyObject
*_wrap_Rect_Intersects(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3685 PyObject
*resultobj
;
3686 wxRect
*arg1
= (wxRect
*) 0 ;
3690 PyObject
* obj0
= 0 ;
3691 PyObject
* obj1
= 0 ;
3693 (char *) "self",(char *) "rect", NULL
3696 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Rect_Intersects",kwnames
,&obj0
,&obj1
)) goto fail
;
3697 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3700 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
3703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3704 result
= (bool)((wxRect
const *)arg1
)->Intersects((wxRect
const &)*arg2
);
3706 wxPyEndAllowThreads(__tstate
);
3707 if (PyErr_Occurred()) SWIG_fail
;
3709 resultobj
= PyInt_FromLong((long)result
);
3716 static PyObject
*_wrap_Rect_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3717 PyObject
*resultobj
;
3718 wxRect
*arg1
= (wxRect
*) 0 ;
3720 PyObject
* obj0
= 0 ;
3722 (char *) "self",(char *) "x", NULL
3725 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3726 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3727 if (arg1
) (arg1
)->x
= arg2
;
3729 Py_INCREF(Py_None
); resultobj
= Py_None
;
3736 static PyObject
*_wrap_Rect_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3737 PyObject
*resultobj
;
3738 wxRect
*arg1
= (wxRect
*) 0 ;
3740 PyObject
* obj0
= 0 ;
3742 (char *) "self", NULL
3745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_x_get",kwnames
,&obj0
)) goto fail
;
3746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3747 result
= (int) ((arg1
)->x
);
3749 resultobj
= PyInt_FromLong((long)result
);
3756 static PyObject
*_wrap_Rect_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3757 PyObject
*resultobj
;
3758 wxRect
*arg1
= (wxRect
*) 0 ;
3760 PyObject
* obj0
= 0 ;
3762 (char *) "self",(char *) "y", NULL
3765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3767 if (arg1
) (arg1
)->y
= arg2
;
3769 Py_INCREF(Py_None
); resultobj
= Py_None
;
3776 static PyObject
*_wrap_Rect_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3777 PyObject
*resultobj
;
3778 wxRect
*arg1
= (wxRect
*) 0 ;
3780 PyObject
* obj0
= 0 ;
3782 (char *) "self", NULL
3785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_y_get",kwnames
,&obj0
)) goto fail
;
3786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3787 result
= (int) ((arg1
)->y
);
3789 resultobj
= PyInt_FromLong((long)result
);
3796 static PyObject
*_wrap_Rect_width_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3797 PyObject
*resultobj
;
3798 wxRect
*arg1
= (wxRect
*) 0 ;
3800 PyObject
* obj0
= 0 ;
3802 (char *) "self",(char *) "width", NULL
3805 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_width_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3807 if (arg1
) (arg1
)->width
= arg2
;
3809 Py_INCREF(Py_None
); resultobj
= Py_None
;
3816 static PyObject
*_wrap_Rect_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3817 PyObject
*resultobj
;
3818 wxRect
*arg1
= (wxRect
*) 0 ;
3820 PyObject
* obj0
= 0 ;
3822 (char *) "self", NULL
3825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_width_get",kwnames
,&obj0
)) goto fail
;
3826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3827 result
= (int) ((arg1
)->width
);
3829 resultobj
= PyInt_FromLong((long)result
);
3836 static PyObject
*_wrap_Rect_height_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3837 PyObject
*resultobj
;
3838 wxRect
*arg1
= (wxRect
*) 0 ;
3840 PyObject
* obj0
= 0 ;
3842 (char *) "self",(char *) "height", NULL
3845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Rect_height_set",kwnames
,&obj0
,&arg2
)) goto fail
;
3846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3847 if (arg1
) (arg1
)->height
= arg2
;
3849 Py_INCREF(Py_None
); resultobj
= Py_None
;
3856 static PyObject
*_wrap_Rect_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3857 PyObject
*resultobj
;
3858 wxRect
*arg1
= (wxRect
*) 0 ;
3860 PyObject
* obj0
= 0 ;
3862 (char *) "self", NULL
3865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_height_get",kwnames
,&obj0
)) goto fail
;
3866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3867 result
= (int) ((arg1
)->height
);
3869 resultobj
= PyInt_FromLong((long)result
);
3876 static PyObject
*_wrap_Rect_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3877 PyObject
*resultobj
;
3878 wxRect
*arg1
= (wxRect
*) 0 ;
3879 int arg2
= (int) 0 ;
3880 int arg3
= (int) 0 ;
3881 int arg4
= (int) 0 ;
3882 int arg5
= (int) 0 ;
3883 PyObject
* obj0
= 0 ;
3885 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
3888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|iiii:Rect_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
3889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3892 wxRect_Set(arg1
,arg2
,arg3
,arg4
,arg5
);
3894 wxPyEndAllowThreads(__tstate
);
3895 if (PyErr_Occurred()) SWIG_fail
;
3897 Py_INCREF(Py_None
); resultobj
= Py_None
;
3904 static PyObject
*_wrap_Rect_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3905 PyObject
*resultobj
;
3906 wxRect
*arg1
= (wxRect
*) 0 ;
3908 PyObject
* obj0
= 0 ;
3910 (char *) "self", NULL
3913 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Rect_Get",kwnames
,&obj0
)) goto fail
;
3914 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3917 result
= (PyObject
*)wxRect_Get(arg1
);
3919 wxPyEndAllowThreads(__tstate
);
3920 if (PyErr_Occurred()) SWIG_fail
;
3929 static PyObject
* Rect_swigregister(PyObject
*self
, PyObject
*args
) {
3931 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
3932 SWIG_TypeClientData(SWIGTYPE_p_wxRect
, obj
);
3934 return Py_BuildValue((char *)"");
3936 static PyObject
*_wrap_IntersectRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3937 PyObject
*resultobj
;
3938 wxRect
*arg1
= (wxRect
*) 0 ;
3939 wxRect
*arg2
= (wxRect
*) 0 ;
3941 PyObject
* obj0
= 0 ;
3942 PyObject
* obj1
= 0 ;
3944 (char *) "r1",(char *) "r2", NULL
3947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IntersectRect",kwnames
,&obj0
,&obj1
)) goto fail
;
3948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3949 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (PyObject
*)wxIntersectRect(arg1
,arg2
);
3954 wxPyEndAllowThreads(__tstate
);
3955 if (PyErr_Occurred()) SWIG_fail
;
3964 static PyObject
*_wrap_new_Point2D(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3965 PyObject
*resultobj
;
3966 double arg1
= (double) 0.0 ;
3967 double arg2
= (double) 0.0 ;
3970 (char *) "x",(char *) "y", NULL
3973 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|dd:new_Point2D",kwnames
,&arg1
,&arg2
)) goto fail
;
3975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3976 result
= (wxPoint2D
*)new wxPoint2D(arg1
,arg2
);
3978 wxPyEndAllowThreads(__tstate
);
3979 if (PyErr_Occurred()) SWIG_fail
;
3981 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
3988 static PyObject
*_wrap_new_Point2DCopy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
3989 PyObject
*resultobj
;
3990 wxPoint2D
*arg1
= 0 ;
3993 PyObject
* obj0
= 0 ;
3998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DCopy",kwnames
,&obj0
)) goto fail
;
4001 if ( ! wxPoint2D_helper(obj0
, &arg1
)) SWIG_fail
;
4004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4005 result
= (wxPoint2D
*)new wxPoint2D((wxPoint2D
const &)*arg1
);
4007 wxPyEndAllowThreads(__tstate
);
4008 if (PyErr_Occurred()) SWIG_fail
;
4010 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4017 static PyObject
*_wrap_new_Point2DFromPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4018 PyObject
*resultobj
;
4022 PyObject
* obj0
= 0 ;
4027 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_Point2DFromPoint",kwnames
,&obj0
)) goto fail
;
4030 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
4033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4034 result
= (wxPoint2D
*)new wxPoint2D((wxPoint
const &)*arg1
);
4036 wxPyEndAllowThreads(__tstate
);
4037 if (PyErr_Occurred()) SWIG_fail
;
4039 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 1);
4046 static PyObject
*_wrap_Point2D_GetFloor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4047 PyObject
*resultobj
;
4048 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4049 int *arg2
= (int *) 0 ;
4050 int *arg3
= (int *) 0 ;
4053 PyObject
* obj0
= 0 ;
4055 (char *) "self", NULL
4060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetFloor",kwnames
,&obj0
)) goto fail
;
4061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4064 ((wxPoint2D
const *)arg1
)->GetFloor(arg2
,arg3
);
4066 wxPyEndAllowThreads(__tstate
);
4067 if (PyErr_Occurred()) SWIG_fail
;
4069 Py_INCREF(Py_None
); resultobj
= Py_None
;
4071 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4072 resultobj
= t_output_helper(resultobj
,o
);
4075 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4076 resultobj
= t_output_helper(resultobj
,o
);
4084 static PyObject
*_wrap_Point2D_GetRounded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4085 PyObject
*resultobj
;
4086 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4087 int *arg2
= (int *) 0 ;
4088 int *arg3
= (int *) 0 ;
4091 PyObject
* obj0
= 0 ;
4093 (char *) "self", NULL
4098 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetRounded",kwnames
,&obj0
)) goto fail
;
4099 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4102 ((wxPoint2D
const *)arg1
)->GetRounded(arg2
,arg3
);
4104 wxPyEndAllowThreads(__tstate
);
4105 if (PyErr_Occurred()) SWIG_fail
;
4107 Py_INCREF(Py_None
); resultobj
= Py_None
;
4109 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
4110 resultobj
= t_output_helper(resultobj
,o
);
4113 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
4114 resultobj
= t_output_helper(resultobj
,o
);
4122 static PyObject
*_wrap_Point2D_GetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4123 PyObject
*resultobj
;
4124 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4126 PyObject
* obj0
= 0 ;
4128 (char *) "self", NULL
4131 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorLength",kwnames
,&obj0
)) goto fail
;
4132 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4135 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorLength();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= PyFloat_FromDouble(result
);
4147 static PyObject
*_wrap_Point2D_GetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
;
4149 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4151 PyObject
* obj0
= 0 ;
4153 (char *) "self", NULL
4156 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_GetVectorAngle",kwnames
,&obj0
)) goto fail
;
4157 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4160 result
= (double)((wxPoint2D
const *)arg1
)->GetVectorAngle();
4162 wxPyEndAllowThreads(__tstate
);
4163 if (PyErr_Occurred()) SWIG_fail
;
4165 resultobj
= PyFloat_FromDouble(result
);
4172 static PyObject
*_wrap_Point2D_SetVectorLength(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4173 PyObject
*resultobj
;
4174 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4176 PyObject
* obj0
= 0 ;
4178 (char *) "self",(char *) "length", NULL
4181 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorLength",kwnames
,&obj0
,&arg2
)) goto fail
;
4182 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4185 (arg1
)->SetVectorLength(arg2
);
4187 wxPyEndAllowThreads(__tstate
);
4188 if (PyErr_Occurred()) SWIG_fail
;
4190 Py_INCREF(Py_None
); resultobj
= Py_None
;
4197 static PyObject
*_wrap_Point2D_SetVectorAngle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4198 PyObject
*resultobj
;
4199 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4201 PyObject
* obj0
= 0 ;
4203 (char *) "self",(char *) "degrees", NULL
4206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_SetVectorAngle",kwnames
,&obj0
,&arg2
)) goto fail
;
4207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4210 (arg1
)->SetVectorAngle(arg2
);
4212 wxPyEndAllowThreads(__tstate
);
4213 if (PyErr_Occurred()) SWIG_fail
;
4215 Py_INCREF(Py_None
); resultobj
= Py_None
;
4222 static PyObject
*_wrap_Point2D_GetDistance(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4223 PyObject
*resultobj
;
4224 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4225 wxPoint2D
*arg2
= 0 ;
4228 PyObject
* obj0
= 0 ;
4229 PyObject
* obj1
= 0 ;
4231 (char *) "self",(char *) "pt", NULL
4234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistance",kwnames
,&obj0
,&obj1
)) goto fail
;
4235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4238 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4242 result
= (double)((wxPoint2D
const *)arg1
)->GetDistance((wxPoint2D
const &)*arg2
);
4244 wxPyEndAllowThreads(__tstate
);
4245 if (PyErr_Occurred()) SWIG_fail
;
4247 resultobj
= PyFloat_FromDouble(result
);
4254 static PyObject
*_wrap_Point2D_GetDistanceSquare(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4255 PyObject
*resultobj
;
4256 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4257 wxPoint2D
*arg2
= 0 ;
4260 PyObject
* obj0
= 0 ;
4261 PyObject
* obj1
= 0 ;
4263 (char *) "self",(char *) "pt", NULL
4266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDistanceSquare",kwnames
,&obj0
,&obj1
)) goto fail
;
4267 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4270 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4274 result
= (double)((wxPoint2D
const *)arg1
)->GetDistanceSquare((wxPoint2D
const &)*arg2
);
4276 wxPyEndAllowThreads(__tstate
);
4277 if (PyErr_Occurred()) SWIG_fail
;
4279 resultobj
= PyFloat_FromDouble(result
);
4286 static PyObject
*_wrap_Point2D_GetDotProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4287 PyObject
*resultobj
;
4288 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4289 wxPoint2D
*arg2
= 0 ;
4292 PyObject
* obj0
= 0 ;
4293 PyObject
* obj1
= 0 ;
4295 (char *) "self",(char *) "vec", NULL
4298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetDotProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4302 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4306 result
= (double)((wxPoint2D
const *)arg1
)->GetDotProduct((wxPoint2D
const &)*arg2
);
4308 wxPyEndAllowThreads(__tstate
);
4309 if (PyErr_Occurred()) SWIG_fail
;
4311 resultobj
= PyFloat_FromDouble(result
);
4318 static PyObject
*_wrap_Point2D_GetCrossProduct(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4319 PyObject
*resultobj
;
4320 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4321 wxPoint2D
*arg2
= 0 ;
4324 PyObject
* obj0
= 0 ;
4325 PyObject
* obj1
= 0 ;
4327 (char *) "self",(char *) "vec", NULL
4330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D_GetCrossProduct",kwnames
,&obj0
,&obj1
)) goto fail
;
4331 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4334 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4338 result
= (double)((wxPoint2D
const *)arg1
)->GetCrossProduct((wxPoint2D
const &)*arg2
);
4340 wxPyEndAllowThreads(__tstate
);
4341 if (PyErr_Occurred()) SWIG_fail
;
4343 resultobj
= PyFloat_FromDouble(result
);
4350 static PyObject
*_wrap_Point2D___neg__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4351 PyObject
*resultobj
;
4352 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4354 PyObject
* obj0
= 0 ;
4356 (char *) "self", NULL
4359 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D___neg__",kwnames
,&obj0
)) goto fail
;
4360 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4363 result
= (arg1
)->operator -();
4365 wxPyEndAllowThreads(__tstate
);
4366 if (PyErr_Occurred()) SWIG_fail
;
4369 wxPoint2D
* resultptr
;
4370 resultptr
= new wxPoint2D((wxPoint2D
&) result
);
4371 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint2D
, 1);
4379 static PyObject
*_wrap_Point2D___iadd__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4380 PyObject
*resultobj
;
4381 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4382 wxPoint2D
*arg2
= 0 ;
4385 PyObject
* obj0
= 0 ;
4386 PyObject
* obj1
= 0 ;
4388 (char *) "self",(char *) "pt", NULL
4391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___iadd__",kwnames
,&obj0
,&obj1
)) goto fail
;
4392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4395 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4400 wxPoint2D
&_result_ref
= (arg1
)->operator +=((wxPoint2D
const &)*arg2
);
4401 result
= (wxPoint2D
*) &_result_ref
;
4404 wxPyEndAllowThreads(__tstate
);
4405 if (PyErr_Occurred()) SWIG_fail
;
4407 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4414 static PyObject
*_wrap_Point2D___isub__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4415 PyObject
*resultobj
;
4416 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4417 wxPoint2D
*arg2
= 0 ;
4420 PyObject
* obj0
= 0 ;
4421 PyObject
* obj1
= 0 ;
4423 (char *) "self",(char *) "pt", NULL
4426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___isub__",kwnames
,&obj0
,&obj1
)) goto fail
;
4427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4430 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4435 wxPoint2D
&_result_ref
= (arg1
)->operator -=((wxPoint2D
const &)*arg2
);
4436 result
= (wxPoint2D
*) &_result_ref
;
4439 wxPyEndAllowThreads(__tstate
);
4440 if (PyErr_Occurred()) SWIG_fail
;
4442 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4449 static PyObject
*_wrap_Point2D___imul__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4450 PyObject
*resultobj
;
4451 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4452 wxPoint2D
*arg2
= 0 ;
4455 PyObject
* obj0
= 0 ;
4456 PyObject
* obj1
= 0 ;
4458 (char *) "self",(char *) "pt", NULL
4461 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___imul__",kwnames
,&obj0
,&obj1
)) goto fail
;
4462 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4465 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4470 wxPoint2D
&_result_ref
= (arg1
)->operator *=((wxPoint2D
const &)*arg2
);
4471 result
= (wxPoint2D
*) &_result_ref
;
4474 wxPyEndAllowThreads(__tstate
);
4475 if (PyErr_Occurred()) SWIG_fail
;
4477 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4484 static PyObject
*_wrap_Point2D___idiv__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4485 PyObject
*resultobj
;
4486 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4487 wxPoint2D
*arg2
= 0 ;
4490 PyObject
* obj0
= 0 ;
4491 PyObject
* obj1
= 0 ;
4493 (char *) "self",(char *) "pt", NULL
4496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___idiv__",kwnames
,&obj0
,&obj1
)) goto fail
;
4497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4500 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 wxPoint2D
&_result_ref
= (arg1
)->operator /=((wxPoint2D
const &)*arg2
);
4506 result
= (wxPoint2D
*) &_result_ref
;
4509 wxPyEndAllowThreads(__tstate
);
4510 if (PyErr_Occurred()) SWIG_fail
;
4512 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint2D
, 0);
4519 static PyObject
*_wrap_Point2D___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4520 PyObject
*resultobj
;
4521 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4522 wxPoint2D
*arg2
= 0 ;
4525 PyObject
* obj0
= 0 ;
4526 PyObject
* obj1
= 0 ;
4528 (char *) "self",(char *) "pt", NULL
4531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
4532 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4535 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4539 result
= (bool)((wxPoint2D
const *)arg1
)->operator ==((wxPoint2D
const &)*arg2
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= PyInt_FromLong((long)result
);
4551 static PyObject
*_wrap_Point2D___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4552 PyObject
*resultobj
;
4553 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4554 wxPoint2D
*arg2
= 0 ;
4557 PyObject
* obj0
= 0 ;
4558 PyObject
* obj1
= 0 ;
4560 (char *) "self",(char *) "pt", NULL
4563 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Point2D___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
4564 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4567 if ( ! wxPoint2D_helper(obj1
, &arg2
)) SWIG_fail
;
4570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4571 result
= (bool)((wxPoint2D
const *)arg1
)->operator !=((wxPoint2D
const &)*arg2
);
4573 wxPyEndAllowThreads(__tstate
);
4574 if (PyErr_Occurred()) SWIG_fail
;
4576 resultobj
= PyInt_FromLong((long)result
);
4583 static PyObject
*_wrap_Point2D_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4584 PyObject
*resultobj
;
4585 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4587 PyObject
* obj0
= 0 ;
4589 (char *) "self",(char *) "m_x", NULL
4592 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4593 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4594 if (arg1
) (arg1
)->m_x
= arg2
;
4596 Py_INCREF(Py_None
); resultobj
= Py_None
;
4603 static PyObject
*_wrap_Point2D_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4604 PyObject
*resultobj
;
4605 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4607 PyObject
* obj0
= 0 ;
4609 (char *) "self", NULL
4612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_x_get",kwnames
,&obj0
)) goto fail
;
4613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4614 result
= (double) ((arg1
)->m_x
);
4616 resultobj
= PyFloat_FromDouble(result
);
4623 static PyObject
*_wrap_Point2D_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4624 PyObject
*resultobj
;
4625 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4627 PyObject
* obj0
= 0 ;
4629 (char *) "self",(char *) "m_y", NULL
4632 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Od:Point2D_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
4633 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4634 if (arg1
) (arg1
)->m_y
= arg2
;
4636 Py_INCREF(Py_None
); resultobj
= Py_None
;
4643 static PyObject
*_wrap_Point2D_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4644 PyObject
*resultobj
;
4645 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4647 PyObject
* obj0
= 0 ;
4649 (char *) "self", NULL
4652 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_y_get",kwnames
,&obj0
)) goto fail
;
4653 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4654 result
= (double) ((arg1
)->m_y
);
4656 resultobj
= PyFloat_FromDouble(result
);
4663 static PyObject
*_wrap_Point2D_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4664 PyObject
*resultobj
;
4665 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4666 double arg2
= (double) 0 ;
4667 double arg3
= (double) 0 ;
4668 PyObject
* obj0
= 0 ;
4670 (char *) "self",(char *) "x",(char *) "y", NULL
4673 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|dd:Point2D_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4674 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4677 wxPoint2D_Set(arg1
,arg2
,arg3
);
4679 wxPyEndAllowThreads(__tstate
);
4680 if (PyErr_Occurred()) SWIG_fail
;
4682 Py_INCREF(Py_None
); resultobj
= Py_None
;
4689 static PyObject
*_wrap_Point2D_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4690 PyObject
*resultobj
;
4691 wxPoint2D
*arg1
= (wxPoint2D
*) 0 ;
4693 PyObject
* obj0
= 0 ;
4695 (char *) "self", NULL
4698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Point2D_Get",kwnames
,&obj0
)) goto fail
;
4699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPoint2D
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4702 result
= (PyObject
*)wxPoint2D_Get(arg1
);
4704 wxPyEndAllowThreads(__tstate
);
4705 if (PyErr_Occurred()) SWIG_fail
;
4714 static PyObject
* Point2D_swigregister(PyObject
*self
, PyObject
*args
) {
4716 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
4717 SWIG_TypeClientData(SWIGTYPE_p_wxPoint2D
, obj
);
4719 return Py_BuildValue((char *)"");
4721 static int _wrap_DefaultPosition_set(PyObject
*_val
) {
4722 PyErr_SetString(PyExc_TypeError
,"Variable DefaultPosition is read-only.");
4727 static PyObject
*_wrap_DefaultPosition_get() {
4730 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultPosition
, SWIGTYPE_p_wxPoint
, 0);
4735 static int _wrap_DefaultSize_set(PyObject
*_val
) {
4736 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSize is read-only.");
4741 static PyObject
*_wrap_DefaultSize_get() {
4744 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSize
, SWIGTYPE_p_wxSize
, 0);
4749 static PyObject
*_wrap_new_InputStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4750 PyObject
*resultobj
;
4751 PyObject
*arg1
= (PyObject
*) 0 ;
4752 wxPyInputStream
*result
;
4753 PyObject
* obj0
= 0 ;
4758 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_InputStream",kwnames
,&obj0
)) goto fail
;
4761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4762 result
= (wxPyInputStream
*)new_wxPyInputStream(arg1
);
4764 wxPyEndAllowThreads(__tstate
);
4765 if (PyErr_Occurred()) SWIG_fail
;
4767 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyInputStream
, 1);
4774 static PyObject
*_wrap_InputStream_close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4775 PyObject
*resultobj
;
4776 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4777 PyObject
* obj0
= 0 ;
4779 (char *) "self", NULL
4782 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_close",kwnames
,&obj0
)) goto fail
;
4783 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 wxPyEndAllowThreads(__tstate
);
4789 if (PyErr_Occurred()) SWIG_fail
;
4791 Py_INCREF(Py_None
); resultobj
= Py_None
;
4798 static PyObject
*_wrap_InputStream_flush(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4799 PyObject
*resultobj
;
4800 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4801 PyObject
* obj0
= 0 ;
4803 (char *) "self", NULL
4806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_flush",kwnames
,&obj0
)) goto fail
;
4807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4812 wxPyEndAllowThreads(__tstate
);
4813 if (PyErr_Occurred()) SWIG_fail
;
4815 Py_INCREF(Py_None
); resultobj
= Py_None
;
4822 static PyObject
*_wrap_InputStream_eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4823 PyObject
*resultobj
;
4824 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4826 PyObject
* obj0
= 0 ;
4828 (char *) "self", NULL
4831 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_eof",kwnames
,&obj0
)) goto fail
;
4832 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4835 result
= (bool)(arg1
)->eof();
4837 wxPyEndAllowThreads(__tstate
);
4838 if (PyErr_Occurred()) SWIG_fail
;
4840 resultobj
= PyInt_FromLong((long)result
);
4847 static PyObject
*_wrap_InputStream_read(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4848 PyObject
*resultobj
;
4849 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4850 int arg2
= (int) -1 ;
4852 PyObject
* obj0
= 0 ;
4854 (char *) "self",(char *) "size", NULL
4857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_read",kwnames
,&obj0
,&arg2
)) goto fail
;
4858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4861 result
= (PyObject
*)(arg1
)->read(arg2
);
4863 wxPyEndAllowThreads(__tstate
);
4864 if (PyErr_Occurred()) SWIG_fail
;
4873 static PyObject
*_wrap_InputStream_readline(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4874 PyObject
*resultobj
;
4875 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4876 int arg2
= (int) -1 ;
4878 PyObject
* obj0
= 0 ;
4880 (char *) "self",(char *) "size", NULL
4883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readline",kwnames
,&obj0
,&arg2
)) goto fail
;
4884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4887 result
= (PyObject
*)(arg1
)->readline(arg2
);
4889 wxPyEndAllowThreads(__tstate
);
4890 if (PyErr_Occurred()) SWIG_fail
;
4899 static PyObject
*_wrap_InputStream_readlines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4900 PyObject
*resultobj
;
4901 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4902 int arg2
= (int) -1 ;
4904 PyObject
* obj0
= 0 ;
4906 (char *) "self",(char *) "sizehint", NULL
4909 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:InputStream_readlines",kwnames
,&obj0
,&arg2
)) goto fail
;
4910 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4913 result
= (PyObject
*)(arg1
)->readlines(arg2
);
4915 wxPyEndAllowThreads(__tstate
);
4916 if (PyErr_Occurred()) SWIG_fail
;
4925 static PyObject
*_wrap_InputStream_seek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4926 PyObject
*resultobj
;
4927 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4929 int arg3
= (int) 0 ;
4930 PyObject
* obj0
= 0 ;
4932 (char *) "self",(char *) "offset",(char *) "whence", NULL
4935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|i:InputStream_seek",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
4936 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4939 (arg1
)->seek(arg2
,arg3
);
4941 wxPyEndAllowThreads(__tstate
);
4942 if (PyErr_Occurred()) SWIG_fail
;
4944 Py_INCREF(Py_None
); resultobj
= Py_None
;
4951 static PyObject
*_wrap_InputStream_tell(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4952 PyObject
*resultobj
;
4953 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4955 PyObject
* obj0
= 0 ;
4957 (char *) "self", NULL
4960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_tell",kwnames
,&obj0
)) goto fail
;
4961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4964 result
= (int)(arg1
)->tell();
4966 wxPyEndAllowThreads(__tstate
);
4967 if (PyErr_Occurred()) SWIG_fail
;
4969 resultobj
= PyInt_FromLong((long)result
);
4976 static PyObject
*_wrap_InputStream_Peek(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
4977 PyObject
*resultobj
;
4978 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
4980 PyObject
* obj0
= 0 ;
4982 (char *) "self", NULL
4985 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Peek",kwnames
,&obj0
)) goto fail
;
4986 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
4988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4989 result
= (char)(arg1
)->Peek();
4991 wxPyEndAllowThreads(__tstate
);
4992 if (PyErr_Occurred()) SWIG_fail
;
4994 resultobj
= Py_BuildValue((char*)"c",result
);
5001 static PyObject
*_wrap_InputStream_GetC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5002 PyObject
*resultobj
;
5003 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5005 PyObject
* obj0
= 0 ;
5007 (char *) "self", NULL
5010 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_GetC",kwnames
,&obj0
)) goto fail
;
5011 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5014 result
= (char)(arg1
)->GetC();
5016 wxPyEndAllowThreads(__tstate
);
5017 if (PyErr_Occurred()) SWIG_fail
;
5019 resultobj
= Py_BuildValue((char*)"c",result
);
5026 static PyObject
*_wrap_InputStream_LastRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5027 PyObject
*resultobj
;
5028 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5030 PyObject
* obj0
= 0 ;
5032 (char *) "self", NULL
5035 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_LastRead",kwnames
,&obj0
)) goto fail
;
5036 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5039 result
= (size_t)(arg1
)->LastRead();
5041 wxPyEndAllowThreads(__tstate
);
5042 if (PyErr_Occurred()) SWIG_fail
;
5044 resultobj
= PyInt_FromLong((long)result
);
5051 static PyObject
*_wrap_InputStream_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5052 PyObject
*resultobj
;
5053 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5055 PyObject
* obj0
= 0 ;
5057 (char *) "self", NULL
5060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_CanRead",kwnames
,&obj0
)) goto fail
;
5061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5064 result
= (bool)(arg1
)->CanRead();
5066 wxPyEndAllowThreads(__tstate
);
5067 if (PyErr_Occurred()) SWIG_fail
;
5069 resultobj
= PyInt_FromLong((long)result
);
5076 static PyObject
*_wrap_InputStream_Eof(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5077 PyObject
*resultobj
;
5078 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5082 (char *) "self", NULL
5085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_Eof",kwnames
,&obj0
)) goto fail
;
5086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5089 result
= (bool)(arg1
)->Eof();
5091 wxPyEndAllowThreads(__tstate
);
5092 if (PyErr_Occurred()) SWIG_fail
;
5094 resultobj
= PyInt_FromLong((long)result
);
5101 static PyObject
*_wrap_InputStream_Ungetch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5102 PyObject
*resultobj
;
5103 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5106 PyObject
* obj0
= 0 ;
5108 (char *) "self",(char *) "c", NULL
5111 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oc:InputStream_Ungetch",kwnames
,&obj0
,&arg2
)) goto fail
;
5112 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5115 result
= (bool)(arg1
)->Ungetch(arg2
);
5117 wxPyEndAllowThreads(__tstate
);
5118 if (PyErr_Occurred()) SWIG_fail
;
5120 resultobj
= PyInt_FromLong((long)result
);
5127 static PyObject
*_wrap_InputStream_SeekI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5128 PyObject
*resultobj
;
5129 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5131 int arg3
= (int) wxFromStart
;
5133 PyObject
* obj0
= 0 ;
5135 (char *) "self",(char *) "pos",(char *) "mode", NULL
5138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol|i:InputStream_SeekI",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
5139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5142 result
= (long)(arg1
)->SeekI(arg2
,(wxSeekMode
)arg3
);
5144 wxPyEndAllowThreads(__tstate
);
5145 if (PyErr_Occurred()) SWIG_fail
;
5147 resultobj
= PyInt_FromLong((long)result
);
5154 static PyObject
*_wrap_InputStream_TellI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5155 PyObject
*resultobj
;
5156 wxPyInputStream
*arg1
= (wxPyInputStream
*) 0 ;
5158 PyObject
* obj0
= 0 ;
5160 (char *) "self", NULL
5163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:InputStream_TellI",kwnames
,&obj0
)) goto fail
;
5164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyInputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5167 result
= (long)(arg1
)->TellI();
5169 wxPyEndAllowThreads(__tstate
);
5170 if (PyErr_Occurred()) SWIG_fail
;
5172 resultobj
= PyInt_FromLong((long)result
);
5179 static PyObject
* InputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5181 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5182 SWIG_TypeClientData(SWIGTYPE_p_wxPyInputStream
, obj
);
5184 return Py_BuildValue((char *)"");
5186 static PyObject
*_wrap_OutputStream_write(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5187 PyObject
*resultobj
;
5188 wxOutputStream
*arg1
= (wxOutputStream
*) 0 ;
5189 PyObject
*arg2
= (PyObject
*) 0 ;
5190 PyObject
* obj0
= 0 ;
5191 PyObject
* obj1
= 0 ;
5193 (char *) "self",(char *) "obj", NULL
5196 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:OutputStream_write",kwnames
,&obj0
,&obj1
)) goto fail
;
5197 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxOutputStream
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5201 wxOutputStream_write(arg1
,arg2
);
5203 wxPyEndAllowThreads(__tstate
);
5204 if (PyErr_Occurred()) SWIG_fail
;
5206 Py_INCREF(Py_None
); resultobj
= Py_None
;
5213 static PyObject
* OutputStream_swigregister(PyObject
*self
, PyObject
*args
) {
5215 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5216 SWIG_TypeClientData(SWIGTYPE_p_wxOutputStream
, obj
);
5218 return Py_BuildValue((char *)"");
5220 static PyObject
*_wrap_new_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5221 PyObject
*resultobj
;
5222 wxInputStream
*arg1
= (wxInputStream
*) 0 ;
5223 wxString
*arg2
= 0 ;
5224 wxString
*arg3
= 0 ;
5225 wxString
*arg4
= 0 ;
5228 wxPyInputStream
*temp1
;
5230 bool temp2
= False
;
5231 bool temp3
= False
;
5232 bool temp4
= False
;
5234 PyObject
* obj0
= 0 ;
5235 PyObject
* obj1
= 0 ;
5236 PyObject
* obj2
= 0 ;
5237 PyObject
* obj3
= 0 ;
5238 PyObject
* obj4
= 0 ;
5240 (char *) "stream",(char *) "loc",(char *) "mimetype",(char *) "anchor",(char *) "modif", NULL
5243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:new_FSFile",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
5245 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
5246 arg1
= temp1
->m_wxis
;
5249 PyErr_Clear(); // clear the failure of the wxPyConvert above
5250 arg1
= wxPyCBInputStream_create(obj0
, False
);
5252 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
5259 arg2
= wxString_in_helper(obj1
);
5260 if (arg2
== NULL
) SWIG_fail
;
5264 arg3
= wxString_in_helper(obj2
);
5265 if (arg3
== NULL
) SWIG_fail
;
5269 arg4
= wxString_in_helper(obj3
);
5270 if (arg4
== NULL
) SWIG_fail
;
5273 if ((SWIG_ConvertPtr(obj4
,(void **) &argp5
, SWIGTYPE_p_wxDateTime
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
5276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5277 result
= (wxFSFile
*)new wxFSFile(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
);
5279 wxPyEndAllowThreads(__tstate
);
5280 if (PyErr_Occurred()) SWIG_fail
;
5283 resultobj
= wxPyMake_wxObject(result
);
5323 static PyObject
*_wrap_delete_FSFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5324 PyObject
*resultobj
;
5325 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5326 PyObject
* obj0
= 0 ;
5328 (char *) "self", NULL
5331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FSFile",kwnames
,&obj0
)) goto fail
;
5332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 wxPyEndAllowThreads(__tstate
);
5338 if (PyErr_Occurred()) SWIG_fail
;
5340 Py_INCREF(Py_None
); resultobj
= Py_None
;
5347 static PyObject
*_wrap_FSFile_GetStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5348 PyObject
*resultobj
;
5349 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5350 wxInputStream
*result
;
5351 PyObject
* obj0
= 0 ;
5353 (char *) "self", NULL
5356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetStream",kwnames
,&obj0
)) goto fail
;
5357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5360 result
= (wxInputStream
*)(arg1
)->GetStream();
5362 wxPyEndAllowThreads(__tstate
);
5363 if (PyErr_Occurred()) SWIG_fail
;
5366 wxPyInputStream
* _ptr
= NULL
;
5369 _ptr
= new wxPyInputStream(result
);
5371 resultobj
= wxPyConstructObject(_ptr
, wxT("wxPyInputStream"), True
);
5379 static PyObject
*_wrap_FSFile_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5380 PyObject
*resultobj
;
5381 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5383 PyObject
* obj0
= 0 ;
5385 (char *) "self", NULL
5388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetMimeType",kwnames
,&obj0
)) goto fail
;
5389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5393 wxString
const &_result_ref
= (arg1
)->GetMimeType();
5394 result
= (wxString
*) &_result_ref
;
5397 wxPyEndAllowThreads(__tstate
);
5398 if (PyErr_Occurred()) SWIG_fail
;
5402 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5404 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5413 static PyObject
*_wrap_FSFile_GetLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5414 PyObject
*resultobj
;
5415 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5417 PyObject
* obj0
= 0 ;
5419 (char *) "self", NULL
5422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetLocation",kwnames
,&obj0
)) goto fail
;
5423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5427 wxString
const &_result_ref
= (arg1
)->GetLocation();
5428 result
= (wxString
*) &_result_ref
;
5431 wxPyEndAllowThreads(__tstate
);
5432 if (PyErr_Occurred()) SWIG_fail
;
5436 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5438 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5447 static PyObject
*_wrap_FSFile_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5448 PyObject
*resultobj
;
5449 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5451 PyObject
* obj0
= 0 ;
5453 (char *) "self", NULL
5456 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetAnchor",kwnames
,&obj0
)) goto fail
;
5457 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5461 wxString
const &_result_ref
= (arg1
)->GetAnchor();
5462 result
= (wxString
*) &_result_ref
;
5465 wxPyEndAllowThreads(__tstate
);
5466 if (PyErr_Occurred()) SWIG_fail
;
5470 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
5472 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
5481 static PyObject
*_wrap_FSFile_GetModificationTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5482 PyObject
*resultobj
;
5483 wxFSFile
*arg1
= (wxFSFile
*) 0 ;
5485 PyObject
* obj0
= 0 ;
5487 (char *) "self", NULL
5490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FSFile_GetModificationTime",kwnames
,&obj0
)) goto fail
;
5491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFSFile
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5493 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5494 result
= (arg1
)->GetModificationTime();
5496 wxPyEndAllowThreads(__tstate
);
5497 if (PyErr_Occurred()) SWIG_fail
;
5500 wxDateTime
* resultptr
;
5501 resultptr
= new wxDateTime((wxDateTime
&) result
);
5502 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxDateTime
, 1);
5510 static PyObject
* FSFile_swigregister(PyObject
*self
, PyObject
*args
) {
5512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5513 SWIG_TypeClientData(SWIGTYPE_p_wxFSFile
, obj
);
5515 return Py_BuildValue((char *)"");
5517 static PyObject
* CPPFileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5519 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5520 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystemHandler
, obj
);
5522 return Py_BuildValue((char *)"");
5524 static PyObject
*_wrap_new_FileSystemHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5525 PyObject
*resultobj
;
5526 wxPyFileSystemHandler
*result
;
5531 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystemHandler",kwnames
)) goto fail
;
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= (wxPyFileSystemHandler
*)new wxPyFileSystemHandler();
5536 wxPyEndAllowThreads(__tstate
);
5537 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyFileSystemHandler
, 1);
5546 static PyObject
*_wrap_FileSystemHandler__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5547 PyObject
*resultobj
;
5548 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5549 PyObject
*arg2
= (PyObject
*) 0 ;
5550 PyObject
*arg3
= (PyObject
*) 0 ;
5551 PyObject
* obj0
= 0 ;
5552 PyObject
* obj1
= 0 ;
5553 PyObject
* obj2
= 0 ;
5555 (char *) "self",(char *) "self",(char *) "_class", NULL
5558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 (arg1
)->_setCallbackInfo(arg2
,arg3
);
5566 wxPyEndAllowThreads(__tstate
);
5567 if (PyErr_Occurred()) SWIG_fail
;
5569 Py_INCREF(Py_None
); resultobj
= Py_None
;
5576 static PyObject
*_wrap_FileSystemHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5577 PyObject
*resultobj
;
5578 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5579 wxString
*arg2
= 0 ;
5581 bool temp2
= False
;
5582 PyObject
* obj0
= 0 ;
5583 PyObject
* obj1
= 0 ;
5585 (char *) "self",(char *) "location", NULL
5588 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
5589 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5591 arg2
= wxString_in_helper(obj1
);
5592 if (arg2
== NULL
) SWIG_fail
;
5596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5597 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
5599 wxPyEndAllowThreads(__tstate
);
5600 if (PyErr_Occurred()) SWIG_fail
;
5602 resultobj
= PyInt_FromLong((long)result
);
5617 static PyObject
*_wrap_FileSystemHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5618 PyObject
*resultobj
;
5619 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5620 wxFileSystem
*arg2
= 0 ;
5621 wxString
*arg3
= 0 ;
5623 bool temp3
= False
;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5626 PyObject
* obj2
= 0 ;
5628 (char *) "self",(char *) "fs",(char *) "location", NULL
5631 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FileSystemHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
5632 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5633 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5635 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
5638 arg3
= wxString_in_helper(obj2
);
5639 if (arg3
== NULL
) SWIG_fail
;
5643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5644 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
5646 wxPyEndAllowThreads(__tstate
);
5647 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= wxPyMake_wxObject(result
);
5666 static PyObject
*_wrap_FileSystemHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5667 PyObject
*resultobj
;
5668 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5669 wxString
*arg2
= 0 ;
5670 int arg3
= (int) 0 ;
5672 bool temp2
= False
;
5673 PyObject
* obj0
= 0 ;
5674 PyObject
* obj1
= 0 ;
5676 (char *) "self",(char *) "spec",(char *) "flags", NULL
5679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystemHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
5680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5682 arg2
= wxString_in_helper(obj1
);
5683 if (arg2
== NULL
) SWIG_fail
;
5687 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5688 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
5690 wxPyEndAllowThreads(__tstate
);
5691 if (PyErr_Occurred()) SWIG_fail
;
5695 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5697 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5714 static PyObject
*_wrap_FileSystemHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5715 PyObject
*resultobj
;
5716 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5718 PyObject
* obj0
= 0 ;
5720 (char *) "self", NULL
5723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystemHandler_FindNext",kwnames
,&obj0
)) goto fail
;
5724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5727 result
= (arg1
)->FindNext();
5729 wxPyEndAllowThreads(__tstate
);
5730 if (PyErr_Occurred()) SWIG_fail
;
5734 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5736 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5745 static PyObject
*_wrap_FileSystemHandler_GetProtocol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5746 PyObject
*resultobj
;
5747 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5748 wxString
*arg2
= 0 ;
5750 bool temp2
= False
;
5751 PyObject
* obj0
= 0 ;
5752 PyObject
* obj1
= 0 ;
5754 (char *) "self",(char *) "location", NULL
5757 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetProtocol",kwnames
,&obj0
,&obj1
)) goto fail
;
5758 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5760 arg2
= wxString_in_helper(obj1
);
5761 if (arg2
== NULL
) SWIG_fail
;
5765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5766 result
= (arg1
)->GetProtocol((wxString
const &)*arg2
);
5768 wxPyEndAllowThreads(__tstate
);
5769 if (PyErr_Occurred()) SWIG_fail
;
5773 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5775 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5792 static PyObject
*_wrap_FileSystemHandler_GetLeftLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5793 PyObject
*resultobj
;
5794 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5795 wxString
*arg2
= 0 ;
5797 bool temp2
= False
;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5801 (char *) "self",(char *) "location", NULL
5804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetLeftLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5807 arg2
= wxString_in_helper(obj1
);
5808 if (arg2
== NULL
) SWIG_fail
;
5812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5813 result
= (arg1
)->GetLeftLocation((wxString
const &)*arg2
);
5815 wxPyEndAllowThreads(__tstate
);
5816 if (PyErr_Occurred()) SWIG_fail
;
5820 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5822 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5839 static PyObject
*_wrap_FileSystemHandler_GetAnchor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5840 PyObject
*resultobj
;
5841 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5842 wxString
*arg2
= 0 ;
5844 bool temp2
= False
;
5845 PyObject
* obj0
= 0 ;
5846 PyObject
* obj1
= 0 ;
5848 (char *) "self",(char *) "location", NULL
5851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetAnchor",kwnames
,&obj0
,&obj1
)) goto fail
;
5852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5854 arg2
= wxString_in_helper(obj1
);
5855 if (arg2
== NULL
) SWIG_fail
;
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= (arg1
)->GetAnchor((wxString
const &)*arg2
);
5862 wxPyEndAllowThreads(__tstate
);
5863 if (PyErr_Occurred()) SWIG_fail
;
5867 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5869 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5886 static PyObject
*_wrap_FileSystemHandler_GetRightLocation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5887 PyObject
*resultobj
;
5888 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5889 wxString
*arg2
= 0 ;
5891 bool temp2
= False
;
5892 PyObject
* obj0
= 0 ;
5893 PyObject
* obj1
= 0 ;
5895 (char *) "self",(char *) "location", NULL
5898 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetRightLocation",kwnames
,&obj0
,&obj1
)) goto fail
;
5899 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5901 arg2
= wxString_in_helper(obj1
);
5902 if (arg2
== NULL
) SWIG_fail
;
5906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5907 result
= (arg1
)->GetRightLocation((wxString
const &)*arg2
);
5909 wxPyEndAllowThreads(__tstate
);
5910 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5916 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5933 static PyObject
*_wrap_FileSystemHandler_GetMimeTypeFromExt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5934 PyObject
*resultobj
;
5935 wxPyFileSystemHandler
*arg1
= (wxPyFileSystemHandler
*) 0 ;
5936 wxString
*arg2
= 0 ;
5938 bool temp2
= False
;
5939 PyObject
* obj0
= 0 ;
5940 PyObject
* obj1
= 0 ;
5942 (char *) "self",(char *) "location", NULL
5945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystemHandler_GetMimeTypeFromExt",kwnames
,&obj0
,&obj1
)) goto fail
;
5946 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
5948 arg2
= wxString_in_helper(obj1
);
5949 if (arg2
== NULL
) SWIG_fail
;
5953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5954 result
= (arg1
)->GetMimeTypeFromExt((wxString
const &)*arg2
);
5956 wxPyEndAllowThreads(__tstate
);
5957 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5963 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5980 static PyObject
* FileSystemHandler_swigregister(PyObject
*self
, PyObject
*args
) {
5982 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
5983 SWIG_TypeClientData(SWIGTYPE_p_wxPyFileSystemHandler
, obj
);
5985 return Py_BuildValue((char *)"");
5987 static PyObject
*_wrap_new_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
5988 PyObject
*resultobj
;
5989 wxFileSystem
*result
;
5994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_FileSystem",kwnames
)) goto fail
;
5996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5997 result
= (wxFileSystem
*)new wxFileSystem();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= wxPyMake_wxObject(result
);
6011 static PyObject
*_wrap_delete_FileSystem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
;
6013 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6014 PyObject
* obj0
= 0 ;
6016 (char *) "self", NULL
6019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_FileSystem",kwnames
,&obj0
)) goto fail
;
6020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6025 wxPyEndAllowThreads(__tstate
);
6026 if (PyErr_Occurred()) SWIG_fail
;
6028 Py_INCREF(Py_None
); resultobj
= Py_None
;
6035 static PyObject
*_wrap_FileSystem_ChangePathTo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6036 PyObject
*resultobj
;
6037 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6038 wxString
*arg2
= 0 ;
6039 bool arg3
= (bool) False
;
6040 bool temp2
= False
;
6041 PyObject
* obj0
= 0 ;
6042 PyObject
* obj1
= 0 ;
6043 PyObject
* obj2
= 0 ;
6045 (char *) "self",(char *) "location",(char *) "is_dir", NULL
6048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:FileSystem_ChangePathTo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6051 arg2
= wxString_in_helper(obj1
);
6052 if (arg2
== NULL
) SWIG_fail
;
6056 arg3
= PyInt_AsLong(obj2
) ? true : false;
6057 if (PyErr_Occurred()) SWIG_fail
;
6060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6061 (arg1
)->ChangePathTo((wxString
const &)*arg2
,arg3
);
6063 wxPyEndAllowThreads(__tstate
);
6064 if (PyErr_Occurred()) SWIG_fail
;
6066 Py_INCREF(Py_None
); resultobj
= Py_None
;
6081 static PyObject
*_wrap_FileSystem_GetPath(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6082 PyObject
*resultobj
;
6083 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6085 PyObject
* obj0
= 0 ;
6087 (char *) "self", NULL
6090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_GetPath",kwnames
,&obj0
)) goto fail
;
6091 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (arg1
)->GetPath();
6096 wxPyEndAllowThreads(__tstate
);
6097 if (PyErr_Occurred()) SWIG_fail
;
6101 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6103 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6112 static PyObject
*_wrap_FileSystem_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6113 PyObject
*resultobj
;
6114 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6115 wxString
*arg2
= 0 ;
6117 bool temp2
= False
;
6118 PyObject
* obj0
= 0 ;
6119 PyObject
* obj1
= 0 ;
6121 (char *) "self",(char *) "location", NULL
6124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileSystem_OpenFile",kwnames
,&obj0
,&obj1
)) goto fail
;
6125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6127 arg2
= wxString_in_helper(obj1
);
6128 if (arg2
== NULL
) SWIG_fail
;
6132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6133 result
= (wxFSFile
*)(arg1
)->OpenFile((wxString
const &)*arg2
);
6135 wxPyEndAllowThreads(__tstate
);
6136 if (PyErr_Occurred()) SWIG_fail
;
6139 resultobj
= wxPyMake_wxObject(result
);
6155 static PyObject
*_wrap_FileSystem_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6156 PyObject
*resultobj
;
6157 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6158 wxString
*arg2
= 0 ;
6159 int arg3
= (int) 0 ;
6161 bool temp2
= False
;
6162 PyObject
* obj0
= 0 ;
6163 PyObject
* obj1
= 0 ;
6165 (char *) "self",(char *) "spec",(char *) "flags", NULL
6168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FileSystem_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6171 arg2
= wxString_in_helper(obj1
);
6172 if (arg2
== NULL
) SWIG_fail
;
6176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6177 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6179 wxPyEndAllowThreads(__tstate
);
6180 if (PyErr_Occurred()) SWIG_fail
;
6184 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6186 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6203 static PyObject
*_wrap_FileSystem_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6204 PyObject
*resultobj
;
6205 wxFileSystem
*arg1
= (wxFileSystem
*) 0 ;
6207 PyObject
* obj0
= 0 ;
6209 (char *) "self", NULL
6212 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FindNext",kwnames
,&obj0
)) goto fail
;
6213 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6216 result
= (arg1
)->FindNext();
6218 wxPyEndAllowThreads(__tstate
);
6219 if (PyErr_Occurred()) SWIG_fail
;
6223 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6225 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6234 static PyObject
*_wrap_FileSystem_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6235 PyObject
*resultobj
;
6236 wxFileSystemHandler
*arg1
= (wxFileSystemHandler
*) 0 ;
6237 PyObject
* obj0
= 0 ;
6239 (char *) "handler", NULL
6242 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_AddHandler",kwnames
,&obj0
)) goto fail
;
6243 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFileSystemHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6246 wxFileSystem::AddHandler(arg1
);
6248 wxPyEndAllowThreads(__tstate
);
6249 if (PyErr_Occurred()) SWIG_fail
;
6251 Py_INCREF(Py_None
); resultobj
= Py_None
;
6258 static PyObject
*_wrap_FileSystem_CleanUpHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6259 PyObject
*resultobj
;
6264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":FileSystem_CleanUpHandlers",kwnames
)) goto fail
;
6266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6267 wxFileSystem::CleanUpHandlers();
6269 wxPyEndAllowThreads(__tstate
);
6270 if (PyErr_Occurred()) SWIG_fail
;
6272 Py_INCREF(Py_None
); resultobj
= Py_None
;
6279 static PyObject
*_wrap_FileSystem_FileNameToURL(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6280 PyObject
*resultobj
;
6281 wxString
*arg1
= 0 ;
6283 bool temp1
= False
;
6284 PyObject
* obj0
= 0 ;
6286 (char *) "filename", NULL
6289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_FileNameToURL",kwnames
,&obj0
)) goto fail
;
6291 arg1
= wxString_in_helper(obj0
);
6292 if (arg1
== NULL
) SWIG_fail
;
6296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6297 result
= wxFileSystem::FileNameToURL((wxString
const &)*arg1
);
6299 wxPyEndAllowThreads(__tstate
);
6300 if (PyErr_Occurred()) SWIG_fail
;
6304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6323 static PyObject
* FileSystem_swigregister(PyObject
*self
, PyObject
*args
) {
6325 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6326 SWIG_TypeClientData(SWIGTYPE_p_wxFileSystem
, obj
);
6328 return Py_BuildValue((char *)"");
6330 static PyObject
*_wrap_FileSystem_URLToFileName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6331 PyObject
*resultobj
;
6332 wxString
*arg1
= 0 ;
6334 bool temp1
= False
;
6335 PyObject
* obj0
= 0 ;
6337 (char *) "url", NULL
6340 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FileSystem_URLToFileName",kwnames
,&obj0
)) goto fail
;
6342 arg1
= wxString_in_helper(obj0
);
6343 if (arg1
== NULL
) SWIG_fail
;
6347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6348 result
= wxFileSystem_URLToFileName((wxString
const &)*arg1
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6355 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6357 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6374 static PyObject
*_wrap_new_InternetFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6375 PyObject
*resultobj
;
6376 wxInternetFSHandler
*result
;
6381 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_InternetFSHandler",kwnames
)) goto fail
;
6383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6384 result
= (wxInternetFSHandler
*)new wxInternetFSHandler();
6386 wxPyEndAllowThreads(__tstate
);
6387 if (PyErr_Occurred()) SWIG_fail
;
6389 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInternetFSHandler
, 1);
6396 static PyObject
*_wrap_InternetFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6397 PyObject
*resultobj
;
6398 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 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:InternetFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,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_InternetFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6438 PyObject
*resultobj
;
6439 wxInternetFSHandler
*arg1
= (wxInternetFSHandler
*) 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:InternetFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6452 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxInternetFSHandler
,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
* InternetFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6488 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6489 SWIG_TypeClientData(SWIGTYPE_p_wxInternetFSHandler
, obj
);
6491 return Py_BuildValue((char *)"");
6493 static PyObject
*_wrap_new_ZipFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6494 PyObject
*resultobj
;
6495 wxZipFSHandler
*result
;
6500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ZipFSHandler",kwnames
)) goto fail
;
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 result
= (wxZipFSHandler
*)new wxZipFSHandler();
6505 wxPyEndAllowThreads(__tstate
);
6506 if (PyErr_Occurred()) SWIG_fail
;
6508 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxZipFSHandler
, 1);
6515 static PyObject
*_wrap_ZipFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6516 PyObject
*resultobj
;
6517 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6518 wxString
*arg2
= 0 ;
6520 bool temp2
= False
;
6521 PyObject
* obj0
= 0 ;
6522 PyObject
* obj1
= 0 ;
6524 (char *) "self",(char *) "location", NULL
6527 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ZipFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6528 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6530 arg2
= wxString_in_helper(obj1
);
6531 if (arg2
== NULL
) SWIG_fail
;
6535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6536 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6538 wxPyEndAllowThreads(__tstate
);
6539 if (PyErr_Occurred()) SWIG_fail
;
6541 resultobj
= PyInt_FromLong((long)result
);
6556 static PyObject
*_wrap_ZipFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6557 PyObject
*resultobj
;
6558 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6559 wxFileSystem
*arg2
= 0 ;
6560 wxString
*arg3
= 0 ;
6562 bool temp3
= False
;
6563 PyObject
* obj0
= 0 ;
6564 PyObject
* obj1
= 0 ;
6565 PyObject
* obj2
= 0 ;
6567 (char *) "self",(char *) "fs",(char *) "location", NULL
6570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ZipFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6572 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6574 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6577 arg3
= wxString_in_helper(obj2
);
6578 if (arg3
== NULL
) SWIG_fail
;
6582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6583 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6585 wxPyEndAllowThreads(__tstate
);
6586 if (PyErr_Occurred()) SWIG_fail
;
6589 resultobj
= wxPyMake_wxObject(result
);
6605 static PyObject
*_wrap_ZipFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6606 PyObject
*resultobj
;
6607 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6608 wxString
*arg2
= 0 ;
6609 int arg3
= (int) 0 ;
6611 bool temp2
= False
;
6612 PyObject
* obj0
= 0 ;
6613 PyObject
* obj1
= 0 ;
6615 (char *) "self",(char *) "spec",(char *) "flags", NULL
6618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:ZipFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6619 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6621 arg2
= wxString_in_helper(obj1
);
6622 if (arg2
== NULL
) SWIG_fail
;
6626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6627 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6629 wxPyEndAllowThreads(__tstate
);
6630 if (PyErr_Occurred()) SWIG_fail
;
6634 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6636 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6653 static PyObject
*_wrap_ZipFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6654 PyObject
*resultobj
;
6655 wxZipFSHandler
*arg1
= (wxZipFSHandler
*) 0 ;
6657 PyObject
* obj0
= 0 ;
6659 (char *) "self", NULL
6662 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ZipFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
6663 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxZipFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6666 result
= (arg1
)->FindNext();
6668 wxPyEndAllowThreads(__tstate
);
6669 if (PyErr_Occurred()) SWIG_fail
;
6673 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6675 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
6684 static PyObject
* ZipFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
6686 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
6687 SWIG_TypeClientData(SWIGTYPE_p_wxZipFSHandler
, obj
);
6689 return Py_BuildValue((char *)"");
6691 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6692 PyObject
*resultobj
;
6693 wxString
*arg1
= 0 ;
6696 bool temp1
= False
;
6697 PyObject
* obj0
= 0 ;
6698 PyObject
* obj1
= 0 ;
6700 (char *) "filename",(char *) "image",(char *) "type", NULL
6703 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxImage",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6705 arg1
= wxString_in_helper(obj0
);
6706 if (arg1
== NULL
) SWIG_fail
;
6709 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6711 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6715 __wxMemoryFSHandler_AddFile_wxImage((wxString
const &)*arg1
,*arg2
,arg3
);
6717 wxPyEndAllowThreads(__tstate
);
6718 if (PyErr_Occurred()) SWIG_fail
;
6720 Py_INCREF(Py_None
); resultobj
= Py_None
;
6735 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_wxBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6736 PyObject
*resultobj
;
6737 wxString
*arg1
= 0 ;
6738 wxBitmap
*arg2
= 0 ;
6740 bool temp1
= False
;
6741 PyObject
* obj0
= 0 ;
6742 PyObject
* obj1
= 0 ;
6744 (char *) "filename",(char *) "bitmap",(char *) "type", NULL
6747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOl:__wxMemoryFSHandler_AddFile_wxBitmap",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6749 arg1
= wxString_in_helper(obj0
);
6750 if (arg1
== NULL
) SWIG_fail
;
6753 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6755 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6759 __wxMemoryFSHandler_AddFile_wxBitmap((wxString
const &)*arg1
,(wxBitmap
const &)*arg2
,arg3
);
6761 wxPyEndAllowThreads(__tstate
);
6762 if (PyErr_Occurred()) SWIG_fail
;
6764 Py_INCREF(Py_None
); resultobj
= Py_None
;
6779 static PyObject
*_wrap___wxMemoryFSHandler_AddFile_Data(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
;
6781 wxString
*arg1
= 0 ;
6782 PyObject
*arg2
= (PyObject
*) 0 ;
6783 bool temp1
= False
;
6784 PyObject
* obj0
= 0 ;
6785 PyObject
* obj1
= 0 ;
6787 (char *) "filename",(char *) "data", NULL
6790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:__wxMemoryFSHandler_AddFile_Data",kwnames
,&obj0
,&obj1
)) goto fail
;
6792 arg1
= wxString_in_helper(obj0
);
6793 if (arg1
== NULL
) SWIG_fail
;
6798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6799 __wxMemoryFSHandler_AddFile_Data((wxString
const &)*arg1
,arg2
);
6801 wxPyEndAllowThreads(__tstate
);
6802 if (PyErr_Occurred()) SWIG_fail
;
6804 Py_INCREF(Py_None
); resultobj
= Py_None
;
6819 static PyObject
*_wrap_new_MemoryFSHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6820 PyObject
*resultobj
;
6821 wxMemoryFSHandler
*result
;
6826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_MemoryFSHandler",kwnames
)) goto fail
;
6828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6829 result
= (wxMemoryFSHandler
*)new wxMemoryFSHandler();
6831 wxPyEndAllowThreads(__tstate
);
6832 if (PyErr_Occurred()) SWIG_fail
;
6834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMemoryFSHandler
, 1);
6841 static PyObject
*_wrap_MemoryFSHandler_RemoveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
;
6843 wxString
*arg1
= 0 ;
6844 bool temp1
= False
;
6845 PyObject
* obj0
= 0 ;
6847 (char *) "filename", NULL
6850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_RemoveFile",kwnames
,&obj0
)) goto fail
;
6852 arg1
= wxString_in_helper(obj0
);
6853 if (arg1
== NULL
) SWIG_fail
;
6857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6858 wxMemoryFSHandler::RemoveFile((wxString
const &)*arg1
);
6860 wxPyEndAllowThreads(__tstate
);
6861 if (PyErr_Occurred()) SWIG_fail
;
6863 Py_INCREF(Py_None
); resultobj
= Py_None
;
6878 static PyObject
*_wrap_MemoryFSHandler_CanOpen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
;
6880 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6881 wxString
*arg2
= 0 ;
6883 bool temp2
= False
;
6884 PyObject
* obj0
= 0 ;
6885 PyObject
* obj1
= 0 ;
6887 (char *) "self",(char *) "location", NULL
6890 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MemoryFSHandler_CanOpen",kwnames
,&obj0
,&obj1
)) goto fail
;
6891 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6893 arg2
= wxString_in_helper(obj1
);
6894 if (arg2
== NULL
) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (bool)(arg1
)->CanOpen((wxString
const &)*arg2
);
6901 wxPyEndAllowThreads(__tstate
);
6902 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= PyInt_FromLong((long)result
);
6919 static PyObject
*_wrap_MemoryFSHandler_OpenFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6920 PyObject
*resultobj
;
6921 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6922 wxFileSystem
*arg2
= 0 ;
6923 wxString
*arg3
= 0 ;
6925 bool temp3
= False
;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 PyObject
* obj2
= 0 ;
6930 (char *) "self",(char *) "fs",(char *) "location", NULL
6933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MemoryFSHandler_OpenFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
6934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6935 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFileSystem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6937 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
6940 arg3
= wxString_in_helper(obj2
);
6941 if (arg3
== NULL
) SWIG_fail
;
6945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6946 result
= (wxFSFile
*)(arg1
)->OpenFile(*arg2
,(wxString
const &)*arg3
);
6948 wxPyEndAllowThreads(__tstate
);
6949 if (PyErr_Occurred()) SWIG_fail
;
6952 resultobj
= wxPyMake_wxObject(result
);
6968 static PyObject
*_wrap_MemoryFSHandler_FindFirst(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
6969 PyObject
*resultobj
;
6970 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
6971 wxString
*arg2
= 0 ;
6972 int arg3
= (int) 0 ;
6974 bool temp2
= False
;
6975 PyObject
* obj0
= 0 ;
6976 PyObject
* obj1
= 0 ;
6978 (char *) "self",(char *) "spec",(char *) "flags", NULL
6981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:MemoryFSHandler_FindFirst",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
6982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
6984 arg2
= wxString_in_helper(obj1
);
6985 if (arg2
== NULL
) SWIG_fail
;
6989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6990 result
= (arg1
)->FindFirst((wxString
const &)*arg2
,arg3
);
6992 wxPyEndAllowThreads(__tstate
);
6993 if (PyErr_Occurred()) SWIG_fail
;
6997 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
6999 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7016 static PyObject
*_wrap_MemoryFSHandler_FindNext(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7017 PyObject
*resultobj
;
7018 wxMemoryFSHandler
*arg1
= (wxMemoryFSHandler
*) 0 ;
7020 PyObject
* obj0
= 0 ;
7022 (char *) "self", NULL
7025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MemoryFSHandler_FindNext",kwnames
,&obj0
)) goto fail
;
7026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMemoryFSHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (arg1
)->FindNext();
7031 wxPyEndAllowThreads(__tstate
);
7032 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7038 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7047 static PyObject
* MemoryFSHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7049 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7050 SWIG_TypeClientData(SWIGTYPE_p_wxMemoryFSHandler
, obj
);
7052 return Py_BuildValue((char *)"");
7054 static PyObject
*_wrap_ImageHandler_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
;
7056 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7058 PyObject
* obj0
= 0 ;
7060 (char *) "self", NULL
7063 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetName",kwnames
,&obj0
)) goto fail
;
7064 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7067 result
= (arg1
)->GetName();
7069 wxPyEndAllowThreads(__tstate
);
7070 if (PyErr_Occurred()) SWIG_fail
;
7074 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7076 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7085 static PyObject
*_wrap_ImageHandler_GetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7086 PyObject
*resultobj
;
7087 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7089 PyObject
* obj0
= 0 ;
7091 (char *) "self", NULL
7094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetExtension",kwnames
,&obj0
)) goto fail
;
7095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (arg1
)->GetExtension();
7100 wxPyEndAllowThreads(__tstate
);
7101 if (PyErr_Occurred()) SWIG_fail
;
7105 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7107 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7116 static PyObject
*_wrap_ImageHandler_GetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7117 PyObject
*resultobj
;
7118 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7120 PyObject
* obj0
= 0 ;
7122 (char *) "self", NULL
7125 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetType",kwnames
,&obj0
)) goto fail
;
7126 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7129 result
= (long)(arg1
)->GetType();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7134 resultobj
= PyInt_FromLong((long)result
);
7141 static PyObject
*_wrap_ImageHandler_GetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7142 PyObject
*resultobj
;
7143 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7145 PyObject
* obj0
= 0 ;
7147 (char *) "self", NULL
7150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ImageHandler_GetMimeType",kwnames
,&obj0
)) goto fail
;
7151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7154 result
= (arg1
)->GetMimeType();
7156 wxPyEndAllowThreads(__tstate
);
7157 if (PyErr_Occurred()) SWIG_fail
;
7161 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
7163 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
7172 static PyObject
*_wrap_ImageHandler_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7173 PyObject
*resultobj
;
7174 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7175 wxString
*arg2
= 0 ;
7177 bool temp2
= False
;
7178 PyObject
* obj0
= 0 ;
7179 PyObject
* obj1
= 0 ;
7181 (char *) "self",(char *) "name", NULL
7184 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_CanRead",kwnames
,&obj0
,&obj1
)) goto fail
;
7185 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7187 arg2
= wxString_in_helper(obj1
);
7188 if (arg2
== NULL
) SWIG_fail
;
7192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7193 result
= (bool)(arg1
)->CanRead((wxString
const &)*arg2
);
7195 wxPyEndAllowThreads(__tstate
);
7196 if (PyErr_Occurred()) SWIG_fail
;
7198 resultobj
= PyInt_FromLong((long)result
);
7213 static PyObject
*_wrap_ImageHandler_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7214 PyObject
*resultobj
;
7215 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7216 wxString
*arg2
= 0 ;
7217 bool temp2
= False
;
7218 PyObject
* obj0
= 0 ;
7219 PyObject
* obj1
= 0 ;
7221 (char *) "self",(char *) "name", NULL
7224 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
7225 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7227 arg2
= wxString_in_helper(obj1
);
7228 if (arg2
== NULL
) SWIG_fail
;
7232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7233 (arg1
)->SetName((wxString
const &)*arg2
);
7235 wxPyEndAllowThreads(__tstate
);
7236 if (PyErr_Occurred()) SWIG_fail
;
7238 Py_INCREF(Py_None
); resultobj
= Py_None
;
7253 static PyObject
*_wrap_ImageHandler_SetExtension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7254 PyObject
*resultobj
;
7255 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7256 wxString
*arg2
= 0 ;
7257 bool temp2
= False
;
7258 PyObject
* obj0
= 0 ;
7259 PyObject
* obj1
= 0 ;
7261 (char *) "self",(char *) "extension", NULL
7264 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetExtension",kwnames
,&obj0
,&obj1
)) goto fail
;
7265 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7267 arg2
= wxString_in_helper(obj1
);
7268 if (arg2
== NULL
) SWIG_fail
;
7272 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7273 (arg1
)->SetExtension((wxString
const &)*arg2
);
7275 wxPyEndAllowThreads(__tstate
);
7276 if (PyErr_Occurred()) SWIG_fail
;
7278 Py_INCREF(Py_None
); resultobj
= Py_None
;
7293 static PyObject
*_wrap_ImageHandler_SetType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7294 PyObject
*resultobj
;
7295 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7297 PyObject
* obj0
= 0 ;
7299 (char *) "self",(char *) "type", NULL
7302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:ImageHandler_SetType",kwnames
,&obj0
,&arg2
)) goto fail
;
7303 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7306 (arg1
)->SetType(arg2
);
7308 wxPyEndAllowThreads(__tstate
);
7309 if (PyErr_Occurred()) SWIG_fail
;
7311 Py_INCREF(Py_None
); resultobj
= Py_None
;
7318 static PyObject
*_wrap_ImageHandler_SetMimeType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7319 PyObject
*resultobj
;
7320 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
7321 wxString
*arg2
= 0 ;
7322 bool temp2
= False
;
7323 PyObject
* obj0
= 0 ;
7324 PyObject
* obj1
= 0 ;
7326 (char *) "self",(char *) "mimetype", NULL
7329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ImageHandler_SetMimeType",kwnames
,&obj0
,&obj1
)) goto fail
;
7330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7332 arg2
= wxString_in_helper(obj1
);
7333 if (arg2
== NULL
) SWIG_fail
;
7337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7338 (arg1
)->SetMimeType((wxString
const &)*arg2
);
7340 wxPyEndAllowThreads(__tstate
);
7341 if (PyErr_Occurred()) SWIG_fail
;
7343 Py_INCREF(Py_None
); resultobj
= Py_None
;
7358 static PyObject
* ImageHandler_swigregister(PyObject
*self
, PyObject
*args
) {
7360 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7361 SWIG_TypeClientData(SWIGTYPE_p_wxImageHandler
, obj
);
7363 return Py_BuildValue((char *)"");
7365 static PyObject
*_wrap_new_ImageHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7366 PyObject
*resultobj
;
7367 wxImageHistogram
*result
;
7372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ImageHistogram",kwnames
)) goto fail
;
7374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7375 result
= (wxImageHistogram
*)new wxImageHistogram();
7377 wxPyEndAllowThreads(__tstate
);
7378 if (PyErr_Occurred()) SWIG_fail
;
7380 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImageHistogram
, 1);
7387 static PyObject
*_wrap_ImageHistogram_MakeKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7388 PyObject
*resultobj
;
7389 unsigned char arg1
;
7390 unsigned char arg2
;
7391 unsigned char arg3
;
7392 unsigned long result
;
7393 PyObject
* obj0
= 0 ;
7394 PyObject
* obj1
= 0 ;
7395 PyObject
* obj2
= 0 ;
7397 (char *) "r",(char *) "g",(char *) "b", NULL
7400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ImageHistogram_MakeKey",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
7401 arg1
= (unsigned char) PyInt_AsLong(obj0
);
7402 if (PyErr_Occurred()) SWIG_fail
;
7403 arg2
= (unsigned char) PyInt_AsLong(obj1
);
7404 if (PyErr_Occurred()) SWIG_fail
;
7405 arg3
= (unsigned char) PyInt_AsLong(obj2
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (unsigned long)wxImageHistogram::MakeKey(arg1
,arg2
,arg3
);
7411 wxPyEndAllowThreads(__tstate
);
7412 if (PyErr_Occurred()) SWIG_fail
;
7414 resultobj
= PyInt_FromLong((long)result
);
7421 static PyObject
*_wrap_ImageHistogram_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7422 PyObject
*resultobj
;
7423 wxImageHistogram
*arg1
= (wxImageHistogram
*) 0 ;
7424 unsigned char *arg2
= (unsigned char *) 0 ;
7425 unsigned char *arg3
= (unsigned char *) 0 ;
7426 unsigned char *arg4
= (unsigned char *) 0 ;
7427 unsigned char arg5
= (unsigned char) 1 ;
7428 unsigned char arg6
= (unsigned char) 0 ;
7429 unsigned char arg7
= (unsigned char) 0 ;
7431 unsigned char temp2
;
7432 unsigned char temp3
;
7433 unsigned char temp4
;
7434 PyObject
* obj0
= 0 ;
7435 PyObject
* obj1
= 0 ;
7436 PyObject
* obj2
= 0 ;
7437 PyObject
* obj3
= 0 ;
7439 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
7445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:ImageHistogram_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
7446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7448 arg5
= (unsigned char) PyInt_AsLong(obj1
);
7449 if (PyErr_Occurred()) SWIG_fail
;
7452 arg6
= (unsigned char) PyInt_AsLong(obj2
);
7453 if (PyErr_Occurred()) SWIG_fail
;
7456 arg7
= (unsigned char) PyInt_AsLong(obj3
);
7457 if (PyErr_Occurred()) SWIG_fail
;
7460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7461 result
= (bool)((wxImageHistogram
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
7463 wxPyEndAllowThreads(__tstate
);
7464 if (PyErr_Occurred()) SWIG_fail
;
7466 resultobj
= PyInt_FromLong((long)result
);
7468 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
7469 resultobj
= t_output_helper(resultobj
,o
);
7472 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
7473 resultobj
= t_output_helper(resultobj
,o
);
7476 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
7477 resultobj
= t_output_helper(resultobj
,o
);
7485 static PyObject
* ImageHistogram_swigregister(PyObject
*self
, PyObject
*args
) {
7487 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
7488 SWIG_TypeClientData(SWIGTYPE_p_wxImageHistogram
, obj
);
7490 return Py_BuildValue((char *)"");
7492 static PyObject
*_wrap_new_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7493 PyObject
*resultobj
;
7494 wxString
*arg1
= 0 ;
7495 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7496 int arg3
= (int) -1 ;
7498 bool temp1
= False
;
7499 PyObject
* obj0
= 0 ;
7501 (char *) "name",(char *) "type",(char *) "index", NULL
7504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_Image",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7506 arg1
= wxString_in_helper(obj0
);
7507 if (arg1
== NULL
) SWIG_fail
;
7511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7512 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,arg2
,arg3
);
7514 wxPyEndAllowThreads(__tstate
);
7515 if (PyErr_Occurred()) SWIG_fail
;
7517 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7532 static PyObject
*_wrap_delete_Image(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7533 PyObject
*resultobj
;
7534 wxImage
*arg1
= (wxImage
*) 0 ;
7535 PyObject
* obj0
= 0 ;
7537 (char *) "self", NULL
7540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Image",kwnames
,&obj0
)) goto fail
;
7541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7546 wxPyEndAllowThreads(__tstate
);
7547 if (PyErr_Occurred()) SWIG_fail
;
7549 Py_INCREF(Py_None
); resultobj
= Py_None
;
7556 static PyObject
*_wrap_new_ImageFromMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7557 PyObject
*resultobj
;
7558 wxString
*arg1
= 0 ;
7559 wxString
*arg2
= 0 ;
7560 int arg3
= (int) -1 ;
7562 bool temp1
= False
;
7563 bool temp2
= False
;
7564 PyObject
* obj0
= 0 ;
7565 PyObject
* obj1
= 0 ;
7567 (char *) "name",(char *) "mimetype",(char *) "index", NULL
7570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7572 arg1
= wxString_in_helper(obj0
);
7573 if (arg1
== NULL
) SWIG_fail
;
7577 arg2
= wxString_in_helper(obj1
);
7578 if (arg2
== NULL
) SWIG_fail
;
7582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7583 result
= (wxImage
*)new wxImage((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
);
7585 wxPyEndAllowThreads(__tstate
);
7586 if (PyErr_Occurred()) SWIG_fail
;
7588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7611 static PyObject
*_wrap_new_ImageFromStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7612 PyObject
*resultobj
;
7613 wxInputStream
*arg1
= 0 ;
7614 long arg2
= (long) wxBITMAP_TYPE_ANY
;
7615 int arg3
= (int) -1 ;
7617 wxPyInputStream
*temp1
;
7619 PyObject
* obj0
= 0 ;
7621 (char *) "stream",(char *) "type",(char *) "index", NULL
7624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|li:new_ImageFromStream",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7626 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7627 arg1
= temp1
->m_wxis
;
7630 PyErr_Clear(); // clear the failure of the wxPyConvert above
7631 arg1
= wxPyCBInputStream_create(obj0
, False
);
7633 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7641 result
= (wxImage
*)new wxImage(*arg1
,arg2
,arg3
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7661 static PyObject
*_wrap_new_ImageFromStreamMime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7662 PyObject
*resultobj
;
7663 wxInputStream
*arg1
= 0 ;
7664 wxString
*arg2
= 0 ;
7665 int arg3
= (int) -1 ;
7667 wxPyInputStream
*temp1
;
7669 bool temp2
= False
;
7670 PyObject
* obj0
= 0 ;
7671 PyObject
* obj1
= 0 ;
7673 (char *) "stream",(char *) "mimetype",(char *) "index", NULL
7676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:new_ImageFromStreamMime",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
7678 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
7679 arg1
= temp1
->m_wxis
;
7682 PyErr_Clear(); // clear the failure of the wxPyConvert above
7683 arg1
= wxPyCBInputStream_create(obj0
, False
);
7685 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
7692 arg2
= wxString_in_helper(obj1
);
7693 if (arg2
== NULL
) SWIG_fail
;
7697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7698 result
= (wxImage
*)new wxImage(*arg1
,(wxString
const &)*arg2
,arg3
);
7700 wxPyEndAllowThreads(__tstate
);
7701 if (PyErr_Occurred()) SWIG_fail
;
7703 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7726 static PyObject
*_wrap_new_EmptyImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7727 PyObject
*resultobj
;
7728 int arg1
= (int) 0 ;
7729 int arg2
= (int) 0 ;
7730 bool arg3
= (bool) True
;
7732 PyObject
* obj2
= 0 ;
7734 (char *) "width",(char *) "height",(char *) "clear", NULL
7737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_EmptyImage",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7739 arg3
= PyInt_AsLong(obj2
) ? true : false;
7740 if (PyErr_Occurred()) SWIG_fail
;
7743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7744 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7746 wxPyEndAllowThreads(__tstate
);
7747 if (PyErr_Occurred()) SWIG_fail
;
7749 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7756 static PyObject
*_wrap_new_ImageFromBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7757 PyObject
*resultobj
;
7758 wxBitmap
*arg1
= 0 ;
7760 PyObject
* obj0
= 0 ;
7762 (char *) "bitmap", NULL
7765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_ImageFromBitmap",kwnames
,&obj0
)) goto fail
;
7766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (wxImage
*)new_wxImage((wxBitmap
const &)*arg1
);
7774 wxPyEndAllowThreads(__tstate
);
7775 if (PyErr_Occurred()) SWIG_fail
;
7777 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7784 static PyObject
*_wrap_new_ImageFromData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7785 PyObject
*resultobj
;
7788 unsigned char *arg3
= (unsigned char *) 0 ;
7790 PyObject
* obj2
= 0 ;
7792 (char *) "width",(char *) "height",(char *) "data", NULL
7795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiO:new_ImageFromData",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
7796 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_unsigned_char
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7799 result
= (wxImage
*)new_wxImage(arg1
,arg2
,arg3
);
7801 wxPyEndAllowThreads(__tstate
);
7802 if (PyErr_Occurred()) SWIG_fail
;
7804 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 1);
7811 static PyObject
*_wrap_Image_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7812 PyObject
*resultobj
;
7813 wxImage
*arg1
= (wxImage
*) 0 ;
7816 PyObject
* obj0
= 0 ;
7818 (char *) "self",(char *) "width",(char *) "height", NULL
7821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Create",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7825 (arg1
)->Create(arg2
,arg3
);
7827 wxPyEndAllowThreads(__tstate
);
7828 if (PyErr_Occurred()) SWIG_fail
;
7830 Py_INCREF(Py_None
); resultobj
= Py_None
;
7837 static PyObject
*_wrap_Image_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7838 PyObject
*resultobj
;
7839 wxImage
*arg1
= (wxImage
*) 0 ;
7840 PyObject
* obj0
= 0 ;
7842 (char *) "self", NULL
7845 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Destroy",kwnames
,&obj0
)) goto fail
;
7846 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7854 Py_INCREF(Py_None
); resultobj
= Py_None
;
7861 static PyObject
*_wrap_Image_Scale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7862 PyObject
*resultobj
;
7863 wxImage
*arg1
= (wxImage
*) 0 ;
7866 SwigValueWrapper
< wxImage
> result
;
7867 PyObject
* obj0
= 0 ;
7869 (char *) "self",(char *) "width",(char *) "height", NULL
7872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Scale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7876 result
= (arg1
)->Scale(arg2
,arg3
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7882 wxImage
* resultptr
;
7883 resultptr
= new wxImage((wxImage
&) result
);
7884 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7892 static PyObject
*_wrap_Image_ShrinkBy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7893 PyObject
*resultobj
;
7894 wxImage
*arg1
= (wxImage
*) 0 ;
7897 SwigValueWrapper
< wxImage
> result
;
7898 PyObject
* obj0
= 0 ;
7900 (char *) "self",(char *) "xFactor",(char *) "yFactor", NULL
7903 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_ShrinkBy",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7904 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= ((wxImage
const *)arg1
)->ShrinkBy(arg2
,arg3
);
7909 wxPyEndAllowThreads(__tstate
);
7910 if (PyErr_Occurred()) SWIG_fail
;
7913 wxImage
* resultptr
;
7914 resultptr
= new wxImage((wxImage
&) result
);
7915 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
7923 static PyObject
*_wrap_Image_Rescale(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
;
7925 wxImage
*arg1
= (wxImage
*) 0 ;
7929 PyObject
* obj0
= 0 ;
7931 (char *) "self",(char *) "width",(char *) "height", NULL
7934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_Rescale",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
7935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7939 wxImage
&_result_ref
= (arg1
)->Rescale(arg2
,arg3
);
7940 result
= (wxImage
*) &_result_ref
;
7943 wxPyEndAllowThreads(__tstate
);
7944 if (PyErr_Occurred()) SWIG_fail
;
7946 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxImage
, 0);
7953 static PyObject
*_wrap_Image_SetRGB(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7954 PyObject
*resultobj
;
7955 wxImage
*arg1
= (wxImage
*) 0 ;
7958 unsigned char arg4
;
7959 unsigned char arg5
;
7960 unsigned char arg6
;
7961 PyObject
* obj0
= 0 ;
7962 PyObject
* obj3
= 0 ;
7963 PyObject
* obj4
= 0 ;
7964 PyObject
* obj5
= 0 ;
7966 (char *) "self",(char *) "x",(char *) "y",(char *) "r",(char *) "g",(char *) "b", NULL
7969 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiOOO:Image_SetRGB",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
7970 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
7971 arg4
= (unsigned char) PyInt_AsLong(obj3
);
7972 if (PyErr_Occurred()) SWIG_fail
;
7973 arg5
= (unsigned char) PyInt_AsLong(obj4
);
7974 if (PyErr_Occurred()) SWIG_fail
;
7975 arg6
= (unsigned char) PyInt_AsLong(obj5
);
7976 if (PyErr_Occurred()) SWIG_fail
;
7978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7979 (arg1
)->SetRGB(arg2
,arg3
,arg4
,arg5
,arg6
);
7981 wxPyEndAllowThreads(__tstate
);
7982 if (PyErr_Occurred()) SWIG_fail
;
7984 Py_INCREF(Py_None
); resultobj
= Py_None
;
7991 static PyObject
*_wrap_Image_GetRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
7992 PyObject
*resultobj
;
7993 wxImage
*arg1
= (wxImage
*) 0 ;
7996 unsigned char result
;
7997 PyObject
* obj0
= 0 ;
7999 (char *) "self",(char *) "x",(char *) "y", NULL
8002 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetRed",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8003 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8005 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8006 result
= (unsigned char)(arg1
)->GetRed(arg2
,arg3
);
8008 wxPyEndAllowThreads(__tstate
);
8009 if (PyErr_Occurred()) SWIG_fail
;
8011 resultobj
= PyInt_FromLong((long)result
);
8018 static PyObject
*_wrap_Image_GetGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8019 PyObject
*resultobj
;
8020 wxImage
*arg1
= (wxImage
*) 0 ;
8023 unsigned char result
;
8024 PyObject
* obj0
= 0 ;
8026 (char *) "self",(char *) "x",(char *) "y", NULL
8029 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetGreen",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8030 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8033 result
= (unsigned char)(arg1
)->GetGreen(arg2
,arg3
);
8035 wxPyEndAllowThreads(__tstate
);
8036 if (PyErr_Occurred()) SWIG_fail
;
8038 resultobj
= PyInt_FromLong((long)result
);
8045 static PyObject
*_wrap_Image_GetBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8046 PyObject
*resultobj
;
8047 wxImage
*arg1
= (wxImage
*) 0 ;
8050 unsigned char result
;
8051 PyObject
* obj0
= 0 ;
8053 (char *) "self",(char *) "x",(char *) "y", NULL
8056 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetBlue",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8057 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8060 result
= (unsigned char)(arg1
)->GetBlue(arg2
,arg3
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= PyInt_FromLong((long)result
);
8072 static PyObject
*_wrap_Image_SetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8073 PyObject
*resultobj
;
8074 wxImage
*arg1
= (wxImage
*) 0 ;
8077 unsigned char arg4
;
8078 PyObject
* obj0
= 0 ;
8079 PyObject
* obj3
= 0 ;
8081 (char *) "self",(char *) "x",(char *) "y",(char *) "alpha", NULL
8084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiO:Image_SetAlpha",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
8085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8086 arg4
= (unsigned char) PyInt_AsLong(obj3
);
8087 if (PyErr_Occurred()) SWIG_fail
;
8089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8090 (arg1
)->SetAlpha(arg2
,arg3
,arg4
);
8092 wxPyEndAllowThreads(__tstate
);
8093 if (PyErr_Occurred()) SWIG_fail
;
8095 Py_INCREF(Py_None
); resultobj
= Py_None
;
8102 static PyObject
*_wrap_Image_GetAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8103 PyObject
*resultobj
;
8104 wxImage
*arg1
= (wxImage
*) 0 ;
8107 unsigned char result
;
8108 PyObject
* obj0
= 0 ;
8110 (char *) "self",(char *) "x",(char *) "y", NULL
8113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Image_GetAlpha",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
8114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8117 result
= (unsigned char)(arg1
)->GetAlpha(arg2
,arg3
);
8119 wxPyEndAllowThreads(__tstate
);
8120 if (PyErr_Occurred()) SWIG_fail
;
8122 resultobj
= PyInt_FromLong((long)result
);
8129 static PyObject
*_wrap_Image_HasAlpha(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8130 PyObject
*resultobj
;
8131 wxImage
*arg1
= (wxImage
*) 0 ;
8133 PyObject
* obj0
= 0 ;
8135 (char *) "self", NULL
8138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasAlpha",kwnames
,&obj0
)) goto fail
;
8139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (bool)(arg1
)->HasAlpha();
8144 wxPyEndAllowThreads(__tstate
);
8145 if (PyErr_Occurred()) SWIG_fail
;
8147 resultobj
= PyInt_FromLong((long)result
);
8154 static PyObject
*_wrap_Image_FindFirstUnusedColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8155 PyObject
*resultobj
;
8156 wxImage
*arg1
= (wxImage
*) 0 ;
8157 byte
*arg2
= (byte
*) 0 ;
8158 byte
*arg3
= (byte
*) 0 ;
8159 byte
*arg4
= (byte
*) 0 ;
8160 byte arg5
= (byte
) 0 ;
8161 byte arg6
= (byte
) 0 ;
8162 byte arg7
= (byte
) 0 ;
8167 PyObject
* obj0
= 0 ;
8168 PyObject
* obj1
= 0 ;
8169 PyObject
* obj2
= 0 ;
8170 PyObject
* obj3
= 0 ;
8172 (char *) "self",(char *) "startR",(char *) "startG",(char *) "startB", NULL
8178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Image_FindFirstUnusedColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
8179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8181 arg5
= (byte
) PyInt_AsLong(obj1
);
8182 if (PyErr_Occurred()) SWIG_fail
;
8185 arg6
= (byte
) PyInt_AsLong(obj2
);
8186 if (PyErr_Occurred()) SWIG_fail
;
8189 arg7
= (byte
) PyInt_AsLong(obj3
);
8190 if (PyErr_Occurred()) SWIG_fail
;
8193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8194 result
= (bool)((wxImage
const *)arg1
)->FindFirstUnusedColour(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
8196 wxPyEndAllowThreads(__tstate
);
8197 if (PyErr_Occurred()) SWIG_fail
;
8199 resultobj
= PyInt_FromLong((long)result
);
8201 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
8202 resultobj
= t_output_helper(resultobj
,o
);
8205 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
8206 resultobj
= t_output_helper(resultobj
,o
);
8209 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
8210 resultobj
= t_output_helper(resultobj
,o
);
8218 static PyObject
*_wrap_Image_SetMaskFromImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8219 PyObject
*resultobj
;
8220 wxImage
*arg1
= (wxImage
*) 0 ;
8226 PyObject
* obj0
= 0 ;
8227 PyObject
* obj1
= 0 ;
8228 PyObject
* obj2
= 0 ;
8229 PyObject
* obj3
= 0 ;
8230 PyObject
* obj4
= 0 ;
8232 (char *) "self",(char *) "mask",(char *) "mr",(char *) "mg",(char *) "mb", NULL
8235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:Image_SetMaskFromImage",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) goto fail
;
8236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8239 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8241 arg3
= (byte
) PyInt_AsLong(obj2
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8243 arg4
= (byte
) PyInt_AsLong(obj3
);
8244 if (PyErr_Occurred()) SWIG_fail
;
8245 arg5
= (byte
) PyInt_AsLong(obj4
);
8246 if (PyErr_Occurred()) SWIG_fail
;
8248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8249 result
= (bool)(arg1
)->SetMaskFromImage((wxImage
const &)*arg2
,arg3
,arg4
,arg5
);
8251 wxPyEndAllowThreads(__tstate
);
8252 if (PyErr_Occurred()) SWIG_fail
;
8254 resultobj
= PyInt_FromLong((long)result
);
8261 static PyObject
*_wrap_Image_CanRead(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8262 PyObject
*resultobj
;
8263 wxString
*arg1
= 0 ;
8265 bool temp1
= False
;
8266 PyObject
* obj0
= 0 ;
8268 (char *) "name", NULL
8271 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanRead",kwnames
,&obj0
)) goto fail
;
8273 arg1
= wxString_in_helper(obj0
);
8274 if (arg1
== NULL
) SWIG_fail
;
8278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8279 result
= (bool)wxImage::CanRead((wxString
const &)*arg1
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8284 resultobj
= PyInt_FromLong((long)result
);
8299 static PyObject
*_wrap_Image_GetImageCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8300 PyObject
*resultobj
;
8301 wxString
*arg1
= 0 ;
8302 long arg2
= (long) wxBITMAP_TYPE_ANY
;
8304 bool temp1
= False
;
8305 PyObject
* obj0
= 0 ;
8307 (char *) "name",(char *) "type", NULL
8310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Image_GetImageCount",kwnames
,&obj0
,&arg2
)) goto fail
;
8312 arg1
= wxString_in_helper(obj0
);
8313 if (arg1
== NULL
) SWIG_fail
;
8317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8318 result
= (int)wxImage::GetImageCount((wxString
const &)*arg1
,arg2
);
8320 wxPyEndAllowThreads(__tstate
);
8321 if (PyErr_Occurred()) SWIG_fail
;
8323 resultobj
= PyInt_FromLong((long)result
);
8338 static PyObject
*_wrap_Image_LoadFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8339 PyObject
*resultobj
;
8340 wxImage
*arg1
= (wxImage
*) 0 ;
8341 wxString
*arg2
= 0 ;
8342 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8343 int arg4
= (int) -1 ;
8345 bool temp2
= False
;
8346 PyObject
* obj0
= 0 ;
8347 PyObject
* obj1
= 0 ;
8349 (char *) "self",(char *) "name",(char *) "type",(char *) "index", NULL
8352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadFile",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8353 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8355 arg2
= wxString_in_helper(obj1
);
8356 if (arg2
== NULL
) SWIG_fail
;
8360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8361 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,arg3
,arg4
);
8363 wxPyEndAllowThreads(__tstate
);
8364 if (PyErr_Occurred()) SWIG_fail
;
8366 resultobj
= PyInt_FromLong((long)result
);
8381 static PyObject
*_wrap_Image_LoadMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8382 PyObject
*resultobj
;
8383 wxImage
*arg1
= (wxImage
*) 0 ;
8384 wxString
*arg2
= 0 ;
8385 wxString
*arg3
= 0 ;
8386 int arg4
= (int) -1 ;
8388 bool temp2
= False
;
8389 bool temp3
= False
;
8390 PyObject
* obj0
= 0 ;
8391 PyObject
* obj1
= 0 ;
8392 PyObject
* obj2
= 0 ;
8394 (char *) "self",(char *) "name",(char *) "mimetype",(char *) "index", NULL
8397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeFile",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8400 arg2
= wxString_in_helper(obj1
);
8401 if (arg2
== NULL
) SWIG_fail
;
8405 arg3
= wxString_in_helper(obj2
);
8406 if (arg3
== NULL
) SWIG_fail
;
8410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8411 result
= (bool)(arg1
)->LoadFile((wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
);
8413 wxPyEndAllowThreads(__tstate
);
8414 if (PyErr_Occurred()) SWIG_fail
;
8416 resultobj
= PyInt_FromLong((long)result
);
8439 static PyObject
*_wrap_Image_SaveFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8440 PyObject
*resultobj
;
8441 wxImage
*arg1
= (wxImage
*) 0 ;
8442 wxString
*arg2
= 0 ;
8445 bool temp2
= False
;
8446 PyObject
* obj0
= 0 ;
8447 PyObject
* obj1
= 0 ;
8449 (char *) "self",(char *) "name",(char *) "type", NULL
8452 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SaveFile",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
8453 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8455 arg2
= wxString_in_helper(obj1
);
8456 if (arg2
== NULL
) SWIG_fail
;
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8461 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,arg3
);
8463 wxPyEndAllowThreads(__tstate
);
8464 if (PyErr_Occurred()) SWIG_fail
;
8466 resultobj
= PyInt_FromLong((long)result
);
8481 static PyObject
*_wrap_Image_SaveMimeFile(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8482 PyObject
*resultobj
;
8483 wxImage
*arg1
= (wxImage
*) 0 ;
8484 wxString
*arg2
= 0 ;
8485 wxString
*arg3
= 0 ;
8487 bool temp2
= False
;
8488 bool temp3
= False
;
8489 PyObject
* obj0
= 0 ;
8490 PyObject
* obj1
= 0 ;
8491 PyObject
* obj2
= 0 ;
8493 (char *) "self",(char *) "name",(char *) "mimetype", NULL
8496 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SaveMimeFile",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
8497 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8499 arg2
= wxString_in_helper(obj1
);
8500 if (arg2
== NULL
) SWIG_fail
;
8504 arg3
= wxString_in_helper(obj2
);
8505 if (arg3
== NULL
) SWIG_fail
;
8509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8510 result
= (bool)(arg1
)->SaveFile((wxString
const &)*arg2
,(wxString
const &)*arg3
);
8512 wxPyEndAllowThreads(__tstate
);
8513 if (PyErr_Occurred()) SWIG_fail
;
8515 resultobj
= PyInt_FromLong((long)result
);
8538 static PyObject
*_wrap_Image_CanReadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8539 PyObject
*resultobj
;
8540 wxInputStream
*arg1
= 0 ;
8542 wxPyInputStream
*temp1
;
8544 PyObject
* obj0
= 0 ;
8546 (char *) "stream", NULL
8549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_CanReadStream",kwnames
,&obj0
)) goto fail
;
8551 if (wxPyConvertSwigPtr(obj0
, (void **)&temp1
, wxT("wxPyInputStream"))) {
8552 arg1
= temp1
->m_wxis
;
8555 PyErr_Clear(); // clear the failure of the wxPyConvert above
8556 arg1
= wxPyCBInputStream_create(obj0
, False
);
8558 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8566 result
= (bool)wxImage::CanRead(*arg1
);
8568 wxPyEndAllowThreads(__tstate
);
8569 if (PyErr_Occurred()) SWIG_fail
;
8571 resultobj
= PyInt_FromLong((long)result
);
8586 static PyObject
*_wrap_Image_LoadStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8587 PyObject
*resultobj
;
8588 wxImage
*arg1
= (wxImage
*) 0 ;
8589 wxInputStream
*arg2
= 0 ;
8590 long arg3
= (long) wxBITMAP_TYPE_ANY
;
8591 int arg4
= (int) -1 ;
8593 wxPyInputStream
*temp2
;
8595 PyObject
* obj0
= 0 ;
8596 PyObject
* obj1
= 0 ;
8598 (char *) "self",(char *) "stream",(char *) "type",(char *) "index", NULL
8601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|li:Image_LoadStream",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8604 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8605 arg2
= temp2
->m_wxis
;
8608 PyErr_Clear(); // clear the failure of the wxPyConvert above
8609 arg2
= wxPyCBInputStream_create(obj1
, False
);
8611 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8619 result
= (bool)(arg1
)->LoadFile(*arg2
,arg3
,arg4
);
8621 wxPyEndAllowThreads(__tstate
);
8622 if (PyErr_Occurred()) SWIG_fail
;
8624 resultobj
= PyInt_FromLong((long)result
);
8639 static PyObject
*_wrap_Image_LoadMimeStream(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8640 PyObject
*resultobj
;
8641 wxImage
*arg1
= (wxImage
*) 0 ;
8642 wxInputStream
*arg2
= 0 ;
8643 wxString
*arg3
= 0 ;
8644 int arg4
= (int) -1 ;
8646 wxPyInputStream
*temp2
;
8648 bool temp3
= False
;
8649 PyObject
* obj0
= 0 ;
8650 PyObject
* obj1
= 0 ;
8651 PyObject
* obj2
= 0 ;
8653 (char *) "self",(char *) "stream",(char *) "mimetype",(char *) "index", NULL
8656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:Image_LoadMimeStream",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
8657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8659 if (wxPyConvertSwigPtr(obj1
, (void **)&temp2
, wxT("wxPyInputStream"))) {
8660 arg2
= temp2
->m_wxis
;
8663 PyErr_Clear(); // clear the failure of the wxPyConvert above
8664 arg2
= wxPyCBInputStream_create(obj1
, False
);
8666 PyErr_SetString(PyExc_TypeError
, "Expected wxInputStream or Python file-like object.");
8673 arg3
= wxString_in_helper(obj2
);
8674 if (arg3
== NULL
) SWIG_fail
;
8678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8679 result
= (bool)(arg1
)->LoadFile(*arg2
,(wxString
const &)*arg3
,arg4
);
8681 wxPyEndAllowThreads(__tstate
);
8682 if (PyErr_Occurred()) SWIG_fail
;
8684 resultobj
= PyInt_FromLong((long)result
);
8707 static PyObject
*_wrap_Image_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8708 PyObject
*resultobj
;
8709 wxImage
*arg1
= (wxImage
*) 0 ;
8711 PyObject
* obj0
= 0 ;
8713 (char *) "self", NULL
8716 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Ok",kwnames
,&obj0
)) goto fail
;
8717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8720 result
= (bool)(arg1
)->Ok();
8722 wxPyEndAllowThreads(__tstate
);
8723 if (PyErr_Occurred()) SWIG_fail
;
8725 resultobj
= PyInt_FromLong((long)result
);
8732 static PyObject
*_wrap_Image_GetWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8733 PyObject
*resultobj
;
8734 wxImage
*arg1
= (wxImage
*) 0 ;
8736 PyObject
* obj0
= 0 ;
8738 (char *) "self", NULL
8741 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetWidth",kwnames
,&obj0
)) goto fail
;
8742 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8745 result
= (int)(arg1
)->GetWidth();
8747 wxPyEndAllowThreads(__tstate
);
8748 if (PyErr_Occurred()) SWIG_fail
;
8750 resultobj
= PyInt_FromLong((long)result
);
8757 static PyObject
*_wrap_Image_GetHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8758 PyObject
*resultobj
;
8759 wxImage
*arg1
= (wxImage
*) 0 ;
8761 PyObject
* obj0
= 0 ;
8763 (char *) "self", NULL
8766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetHeight",kwnames
,&obj0
)) goto fail
;
8767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8770 result
= (int)(arg1
)->GetHeight();
8772 wxPyEndAllowThreads(__tstate
);
8773 if (PyErr_Occurred()) SWIG_fail
;
8775 resultobj
= PyInt_FromLong((long)result
);
8782 static PyObject
*_wrap_Image_GetSubImage(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8783 PyObject
*resultobj
;
8784 wxImage
*arg1
= (wxImage
*) 0 ;
8786 SwigValueWrapper
< wxImage
> result
;
8788 PyObject
* obj0
= 0 ;
8789 PyObject
* obj1
= 0 ;
8791 (char *) "self",(char *) "rect", NULL
8794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetSubImage",kwnames
,&obj0
,&obj1
)) goto fail
;
8795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8798 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
8801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8802 result
= (arg1
)->GetSubImage((wxRect
const &)*arg2
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8808 wxImage
* resultptr
;
8809 resultptr
= new wxImage((wxImage
&) result
);
8810 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8818 static PyObject
*_wrap_Image_Copy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8819 PyObject
*resultobj
;
8820 wxImage
*arg1
= (wxImage
*) 0 ;
8821 SwigValueWrapper
< wxImage
> result
;
8822 PyObject
* obj0
= 0 ;
8824 (char *) "self", NULL
8827 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_Copy",kwnames
,&obj0
)) goto fail
;
8828 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8831 result
= (arg1
)->Copy();
8833 wxPyEndAllowThreads(__tstate
);
8834 if (PyErr_Occurred()) SWIG_fail
;
8837 wxImage
* resultptr
;
8838 resultptr
= new wxImage((wxImage
&) result
);
8839 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
8847 static PyObject
*_wrap_Image_Paste(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8848 PyObject
*resultobj
;
8849 wxImage
*arg1
= (wxImage
*) 0 ;
8853 PyObject
* obj0
= 0 ;
8854 PyObject
* obj1
= 0 ;
8856 (char *) "self",(char *) "image",(char *) "x",(char *) "y", NULL
8859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Image_Paste",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
8860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8861 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8863 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
8866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8867 (arg1
)->Paste((wxImage
const &)*arg2
,arg3
,arg4
);
8869 wxPyEndAllowThreads(__tstate
);
8870 if (PyErr_Occurred()) SWIG_fail
;
8872 Py_INCREF(Py_None
); resultobj
= Py_None
;
8879 static PyObject
*_wrap_Image_GetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8880 PyObject
*resultobj
;
8881 wxImage
*arg1
= (wxImage
*) 0 ;
8883 PyObject
* obj0
= 0 ;
8885 (char *) "self", NULL
8888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetData",kwnames
,&obj0
)) goto fail
;
8889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8892 result
= (PyObject
*)wxImage_GetData(arg1
);
8894 wxPyEndAllowThreads(__tstate
);
8895 if (PyErr_Occurred()) SWIG_fail
;
8904 static PyObject
*_wrap_Image_SetData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8905 PyObject
*resultobj
;
8906 wxImage
*arg1
= (wxImage
*) 0 ;
8907 PyObject
*arg2
= (PyObject
*) 0 ;
8908 PyObject
* obj0
= 0 ;
8909 PyObject
* obj1
= 0 ;
8911 (char *) "self",(char *) "data", NULL
8914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetData",kwnames
,&obj0
,&obj1
)) goto fail
;
8915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8919 wxImage_SetData(arg1
,arg2
);
8921 wxPyEndAllowThreads(__tstate
);
8922 if (PyErr_Occurred()) SWIG_fail
;
8924 Py_INCREF(Py_None
); resultobj
= Py_None
;
8931 static PyObject
*_wrap_Image_GetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8932 PyObject
*resultobj
;
8933 wxImage
*arg1
= (wxImage
*) 0 ;
8935 PyObject
* obj0
= 0 ;
8937 (char *) "self", NULL
8940 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetDataBuffer",kwnames
,&obj0
)) goto fail
;
8941 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8944 result
= (PyObject
*)wxImage_GetDataBuffer(arg1
);
8946 wxPyEndAllowThreads(__tstate
);
8947 if (PyErr_Occurred()) SWIG_fail
;
8956 static PyObject
*_wrap_Image_SetDataBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8957 PyObject
*resultobj
;
8958 wxImage
*arg1
= (wxImage
*) 0 ;
8959 PyObject
*arg2
= (PyObject
*) 0 ;
8960 PyObject
* obj0
= 0 ;
8961 PyObject
* obj1
= 0 ;
8963 (char *) "self",(char *) "data", NULL
8966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetDataBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
8967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8971 wxImage_SetDataBuffer(arg1
,arg2
);
8973 wxPyEndAllowThreads(__tstate
);
8974 if (PyErr_Occurred()) SWIG_fail
;
8976 Py_INCREF(Py_None
); resultobj
= Py_None
;
8983 static PyObject
*_wrap_Image_GetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
8984 PyObject
*resultobj
;
8985 wxImage
*arg1
= (wxImage
*) 0 ;
8987 PyObject
* obj0
= 0 ;
8989 (char *) "self", NULL
8992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaData",kwnames
,&obj0
)) goto fail
;
8993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
8995 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8996 result
= (PyObject
*)wxImage_GetAlphaData(arg1
);
8998 wxPyEndAllowThreads(__tstate
);
8999 if (PyErr_Occurred()) SWIG_fail
;
9008 static PyObject
*_wrap_Image_SetAlphaData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9009 PyObject
*resultobj
;
9010 wxImage
*arg1
= (wxImage
*) 0 ;
9011 PyObject
*arg2
= (PyObject
*) 0 ;
9012 PyObject
* obj0
= 0 ;
9013 PyObject
* obj1
= 0 ;
9015 (char *) "self",(char *) "data", NULL
9018 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaData",kwnames
,&obj0
,&obj1
)) goto fail
;
9019 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9023 wxImage_SetAlphaData(arg1
,arg2
);
9025 wxPyEndAllowThreads(__tstate
);
9026 if (PyErr_Occurred()) SWIG_fail
;
9028 Py_INCREF(Py_None
); resultobj
= Py_None
;
9035 static PyObject
*_wrap_Image_GetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9036 PyObject
*resultobj
;
9037 wxImage
*arg1
= (wxImage
*) 0 ;
9039 PyObject
* obj0
= 0 ;
9041 (char *) "self", NULL
9044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetAlphaBuffer",kwnames
,&obj0
)) goto fail
;
9045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= (PyObject
*)wxImage_GetAlphaBuffer(arg1
);
9050 wxPyEndAllowThreads(__tstate
);
9051 if (PyErr_Occurred()) SWIG_fail
;
9060 static PyObject
*_wrap_Image_SetAlphaBuffer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9061 PyObject
*resultobj
;
9062 wxImage
*arg1
= (wxImage
*) 0 ;
9063 PyObject
*arg2
= (PyObject
*) 0 ;
9064 PyObject
* obj0
= 0 ;
9065 PyObject
* obj1
= 0 ;
9067 (char *) "self",(char *) "data", NULL
9070 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_SetAlphaBuffer",kwnames
,&obj0
,&obj1
)) goto fail
;
9071 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9075 wxImage_SetAlphaBuffer(arg1
,arg2
);
9077 wxPyEndAllowThreads(__tstate
);
9078 if (PyErr_Occurred()) SWIG_fail
;
9080 Py_INCREF(Py_None
); resultobj
= Py_None
;
9087 static PyObject
*_wrap_Image_SetMaskColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
;
9089 wxImage
*arg1
= (wxImage
*) 0 ;
9090 unsigned char arg2
;
9091 unsigned char arg3
;
9092 unsigned char arg4
;
9093 PyObject
* obj0
= 0 ;
9094 PyObject
* obj1
= 0 ;
9095 PyObject
* obj2
= 0 ;
9096 PyObject
* obj3
= 0 ;
9098 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_SetMaskColour",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9103 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9104 if (PyErr_Occurred()) SWIG_fail
;
9105 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9106 if (PyErr_Occurred()) SWIG_fail
;
9107 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9108 if (PyErr_Occurred()) SWIG_fail
;
9110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9111 (arg1
)->SetMaskColour(arg2
,arg3
,arg4
);
9113 wxPyEndAllowThreads(__tstate
);
9114 if (PyErr_Occurred()) SWIG_fail
;
9116 Py_INCREF(Py_None
); resultobj
= Py_None
;
9123 static PyObject
*_wrap_Image_GetMaskRed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9124 PyObject
*resultobj
;
9125 wxImage
*arg1
= (wxImage
*) 0 ;
9126 unsigned char result
;
9127 PyObject
* obj0
= 0 ;
9129 (char *) "self", NULL
9132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskRed",kwnames
,&obj0
)) goto fail
;
9133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9136 result
= (unsigned char)(arg1
)->GetMaskRed();
9138 wxPyEndAllowThreads(__tstate
);
9139 if (PyErr_Occurred()) SWIG_fail
;
9141 resultobj
= PyInt_FromLong((long)result
);
9148 static PyObject
*_wrap_Image_GetMaskGreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9149 PyObject
*resultobj
;
9150 wxImage
*arg1
= (wxImage
*) 0 ;
9151 unsigned char result
;
9152 PyObject
* obj0
= 0 ;
9154 (char *) "self", NULL
9157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskGreen",kwnames
,&obj0
)) goto fail
;
9158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9161 result
= (unsigned char)(arg1
)->GetMaskGreen();
9163 wxPyEndAllowThreads(__tstate
);
9164 if (PyErr_Occurred()) SWIG_fail
;
9166 resultobj
= PyInt_FromLong((long)result
);
9173 static PyObject
*_wrap_Image_GetMaskBlue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9174 PyObject
*resultobj
;
9175 wxImage
*arg1
= (wxImage
*) 0 ;
9176 unsigned char result
;
9177 PyObject
* obj0
= 0 ;
9179 (char *) "self", NULL
9182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_GetMaskBlue",kwnames
,&obj0
)) goto fail
;
9183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9186 result
= (unsigned char)(arg1
)->GetMaskBlue();
9188 wxPyEndAllowThreads(__tstate
);
9189 if (PyErr_Occurred()) SWIG_fail
;
9191 resultobj
= PyInt_FromLong((long)result
);
9198 static PyObject
*_wrap_Image_SetMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9199 PyObject
*resultobj
;
9200 wxImage
*arg1
= (wxImage
*) 0 ;
9201 bool arg2
= (bool) True
;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9205 (char *) "self",(char *) "mask", NULL
9208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_SetMask",kwnames
,&obj0
,&obj1
)) goto fail
;
9209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9211 arg2
= PyInt_AsLong(obj1
) ? true : false;
9212 if (PyErr_Occurred()) SWIG_fail
;
9215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9216 (arg1
)->SetMask(arg2
);
9218 wxPyEndAllowThreads(__tstate
);
9219 if (PyErr_Occurred()) SWIG_fail
;
9221 Py_INCREF(Py_None
); resultobj
= Py_None
;
9228 static PyObject
*_wrap_Image_HasMask(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9229 PyObject
*resultobj
;
9230 wxImage
*arg1
= (wxImage
*) 0 ;
9232 PyObject
* obj0
= 0 ;
9234 (char *) "self", NULL
9237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_HasMask",kwnames
,&obj0
)) goto fail
;
9238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= (bool)(arg1
)->HasMask();
9243 wxPyEndAllowThreads(__tstate
);
9244 if (PyErr_Occurred()) SWIG_fail
;
9246 resultobj
= PyInt_FromLong((long)result
);
9253 static PyObject
*_wrap_Image_Rotate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9254 PyObject
*resultobj
;
9255 wxImage
*arg1
= (wxImage
*) 0 ;
9258 bool arg4
= (bool) True
;
9259 wxPoint
*arg5
= (wxPoint
*) NULL
;
9260 SwigValueWrapper
< wxImage
> result
;
9262 PyObject
* obj0
= 0 ;
9263 PyObject
* obj2
= 0 ;
9264 PyObject
* obj3
= 0 ;
9265 PyObject
* obj4
= 0 ;
9267 (char *) "self",(char *) "angle",(char *) "centre_of_rotation",(char *) "interpolating",(char *) "offset_after_rotation", NULL
9270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OdO|OO:Image_Rotate",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
9271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9274 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9277 arg4
= PyInt_AsLong(obj3
) ? true : false;
9278 if (PyErr_Occurred()) SWIG_fail
;
9281 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9285 result
= ((wxImage
const *)arg1
)->Rotate(arg2
,(wxPoint
const &)*arg3
,arg4
,arg5
);
9287 wxPyEndAllowThreads(__tstate
);
9288 if (PyErr_Occurred()) SWIG_fail
;
9291 wxImage
* resultptr
;
9292 resultptr
= new wxImage((wxImage
&) result
);
9293 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9301 static PyObject
*_wrap_Image_Rotate90(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9302 PyObject
*resultobj
;
9303 wxImage
*arg1
= (wxImage
*) 0 ;
9304 bool arg2
= (bool) True
;
9305 SwigValueWrapper
< wxImage
> result
;
9306 PyObject
* obj0
= 0 ;
9307 PyObject
* obj1
= 0 ;
9309 (char *) "self",(char *) "clockwise", NULL
9312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Rotate90",kwnames
,&obj0
,&obj1
)) goto fail
;
9313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9315 arg2
= PyInt_AsLong(obj1
) ? true : false;
9316 if (PyErr_Occurred()) SWIG_fail
;
9319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9320 result
= (arg1
)->Rotate90(arg2
);
9322 wxPyEndAllowThreads(__tstate
);
9323 if (PyErr_Occurred()) SWIG_fail
;
9326 wxImage
* resultptr
;
9327 resultptr
= new wxImage((wxImage
&) result
);
9328 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9336 static PyObject
*_wrap_Image_Mirror(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9337 PyObject
*resultobj
;
9338 wxImage
*arg1
= (wxImage
*) 0 ;
9339 bool arg2
= (bool) True
;
9340 SwigValueWrapper
< wxImage
> result
;
9341 PyObject
* obj0
= 0 ;
9342 PyObject
* obj1
= 0 ;
9344 (char *) "self",(char *) "horizontally", NULL
9347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_Mirror",kwnames
,&obj0
,&obj1
)) goto fail
;
9348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9350 arg2
= PyInt_AsLong(obj1
) ? true : false;
9351 if (PyErr_Occurred()) SWIG_fail
;
9354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9355 result
= (arg1
)->Mirror(arg2
);
9357 wxPyEndAllowThreads(__tstate
);
9358 if (PyErr_Occurred()) SWIG_fail
;
9361 wxImage
* resultptr
;
9362 resultptr
= new wxImage((wxImage
&) result
);
9363 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9371 static PyObject
*_wrap_Image_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
;
9373 wxImage
*arg1
= (wxImage
*) 0 ;
9374 unsigned char arg2
;
9375 unsigned char arg3
;
9376 unsigned char arg4
;
9377 unsigned char arg5
;
9378 unsigned char arg6
;
9379 unsigned char arg7
;
9380 PyObject
* obj0
= 0 ;
9381 PyObject
* obj1
= 0 ;
9382 PyObject
* obj2
= 0 ;
9383 PyObject
* obj3
= 0 ;
9384 PyObject
* obj4
= 0 ;
9385 PyObject
* obj5
= 0 ;
9386 PyObject
* obj6
= 0 ;
9388 (char *) "self",(char *) "r1",(char *) "g1",(char *) "b1",(char *) "r2",(char *) "g2",(char *) "b2", NULL
9391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO:Image_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) goto fail
;
9392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9393 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9394 if (PyErr_Occurred()) SWIG_fail
;
9395 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9396 if (PyErr_Occurred()) SWIG_fail
;
9397 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9398 if (PyErr_Occurred()) SWIG_fail
;
9399 arg5
= (unsigned char) PyInt_AsLong(obj4
);
9400 if (PyErr_Occurred()) SWIG_fail
;
9401 arg6
= (unsigned char) PyInt_AsLong(obj5
);
9402 if (PyErr_Occurred()) SWIG_fail
;
9403 arg7
= (unsigned char) PyInt_AsLong(obj6
);
9404 if (PyErr_Occurred()) SWIG_fail
;
9406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9407 (arg1
)->Replace(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
9409 wxPyEndAllowThreads(__tstate
);
9410 if (PyErr_Occurred()) SWIG_fail
;
9412 Py_INCREF(Py_None
); resultobj
= Py_None
;
9419 static PyObject
*_wrap_Image_ConvertToMono(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9420 PyObject
*resultobj
;
9421 wxImage
*arg1
= (wxImage
*) 0 ;
9422 unsigned char arg2
;
9423 unsigned char arg3
;
9424 unsigned char arg4
;
9425 SwigValueWrapper
< wxImage
> result
;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9428 PyObject
* obj2
= 0 ;
9429 PyObject
* obj3
= 0 ;
9431 (char *) "self",(char *) "r",(char *) "g",(char *) "b", NULL
9434 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMono",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9435 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9436 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9437 if (PyErr_Occurred()) SWIG_fail
;
9438 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9439 if (PyErr_Occurred()) SWIG_fail
;
9440 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9441 if (PyErr_Occurred()) SWIG_fail
;
9443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9444 result
= ((wxImage
const *)arg1
)->ConvertToMono(arg2
,arg3
,arg4
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9450 wxImage
* resultptr
;
9451 resultptr
= new wxImage((wxImage
&) result
);
9452 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxImage
, 1);
9460 static PyObject
*_wrap_Image_SetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9461 PyObject
*resultobj
;
9462 wxImage
*arg1
= (wxImage
*) 0 ;
9463 wxString
*arg2
= 0 ;
9464 wxString
*arg3
= 0 ;
9465 bool temp2
= False
;
9466 bool temp3
= False
;
9467 PyObject
* obj0
= 0 ;
9468 PyObject
* obj1
= 0 ;
9469 PyObject
* obj2
= 0 ;
9471 (char *) "self",(char *) "name",(char *) "value", NULL
9474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Image_SetOption",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
9475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9477 arg2
= wxString_in_helper(obj1
);
9478 if (arg2
== NULL
) SWIG_fail
;
9482 arg3
= wxString_in_helper(obj2
);
9483 if (arg3
== NULL
) SWIG_fail
;
9487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9488 (arg1
)->SetOption((wxString
const &)*arg2
,(wxString
const &)*arg3
);
9490 wxPyEndAllowThreads(__tstate
);
9491 if (PyErr_Occurred()) SWIG_fail
;
9493 Py_INCREF(Py_None
); resultobj
= Py_None
;
9516 static PyObject
*_wrap_Image_SetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9517 PyObject
*resultobj
;
9518 wxImage
*arg1
= (wxImage
*) 0 ;
9519 wxString
*arg2
= 0 ;
9521 bool temp2
= False
;
9522 PyObject
* obj0
= 0 ;
9523 PyObject
* obj1
= 0 ;
9525 (char *) "self",(char *) "name",(char *) "value", NULL
9528 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi:Image_SetOptionInt",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
9529 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9531 arg2
= wxString_in_helper(obj1
);
9532 if (arg2
== NULL
) SWIG_fail
;
9536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9537 (arg1
)->SetOption((wxString
const &)*arg2
,arg3
);
9539 wxPyEndAllowThreads(__tstate
);
9540 if (PyErr_Occurred()) SWIG_fail
;
9542 Py_INCREF(Py_None
); resultobj
= Py_None
;
9557 static PyObject
*_wrap_Image_GetOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9558 PyObject
*resultobj
;
9559 wxImage
*arg1
= (wxImage
*) 0 ;
9560 wxString
*arg2
= 0 ;
9562 bool temp2
= False
;
9563 PyObject
* obj0
= 0 ;
9564 PyObject
* obj1
= 0 ;
9566 (char *) "self",(char *) "name", NULL
9569 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9570 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9572 arg2
= wxString_in_helper(obj1
);
9573 if (arg2
== NULL
) SWIG_fail
;
9577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9578 result
= ((wxImage
const *)arg1
)->GetOption((wxString
const &)*arg2
);
9580 wxPyEndAllowThreads(__tstate
);
9581 if (PyErr_Occurred()) SWIG_fail
;
9585 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9587 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9604 static PyObject
*_wrap_Image_GetOptionInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9605 PyObject
*resultobj
;
9606 wxImage
*arg1
= (wxImage
*) 0 ;
9607 wxString
*arg2
= 0 ;
9609 bool temp2
= False
;
9610 PyObject
* obj0
= 0 ;
9611 PyObject
* obj1
= 0 ;
9613 (char *) "self",(char *) "name", NULL
9616 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_GetOptionInt",kwnames
,&obj0
,&obj1
)) goto fail
;
9617 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9619 arg2
= wxString_in_helper(obj1
);
9620 if (arg2
== NULL
) SWIG_fail
;
9624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9625 result
= (int)((wxImage
const *)arg1
)->GetOptionInt((wxString
const &)*arg2
);
9627 wxPyEndAllowThreads(__tstate
);
9628 if (PyErr_Occurred()) SWIG_fail
;
9630 resultobj
= PyInt_FromLong((long)result
);
9645 static PyObject
*_wrap_Image_HasOption(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9646 PyObject
*resultobj
;
9647 wxImage
*arg1
= (wxImage
*) 0 ;
9648 wxString
*arg2
= 0 ;
9650 bool temp2
= False
;
9651 PyObject
* obj0
= 0 ;
9652 PyObject
* obj1
= 0 ;
9654 (char *) "self",(char *) "name", NULL
9657 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_HasOption",kwnames
,&obj0
,&obj1
)) goto fail
;
9658 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9660 arg2
= wxString_in_helper(obj1
);
9661 if (arg2
== NULL
) SWIG_fail
;
9665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9666 result
= (bool)((wxImage
const *)arg1
)->HasOption((wxString
const &)*arg2
);
9668 wxPyEndAllowThreads(__tstate
);
9669 if (PyErr_Occurred()) SWIG_fail
;
9671 resultobj
= PyInt_FromLong((long)result
);
9686 static PyObject
*_wrap_Image_CountColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9687 PyObject
*resultobj
;
9688 wxImage
*arg1
= (wxImage
*) 0 ;
9689 unsigned long arg2
= (unsigned long) (unsigned long) -1 ;
9690 unsigned long result
;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9694 (char *) "self",(char *) "stopafter", NULL
9697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Image_CountColours",kwnames
,&obj0
,&obj1
)) goto fail
;
9698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9700 arg2
= (unsigned long) PyInt_AsLong(obj1
);
9701 if (PyErr_Occurred()) SWIG_fail
;
9704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9705 result
= (unsigned long)(arg1
)->CountColours(arg2
);
9707 wxPyEndAllowThreads(__tstate
);
9708 if (PyErr_Occurred()) SWIG_fail
;
9710 resultobj
= PyInt_FromLong((long)result
);
9717 static PyObject
*_wrap_Image_ComputeHistogram(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9718 PyObject
*resultobj
;
9719 wxImage
*arg1
= (wxImage
*) 0 ;
9720 wxImageHistogram
*arg2
= 0 ;
9721 unsigned long result
;
9722 PyObject
* obj0
= 0 ;
9723 PyObject
* obj1
= 0 ;
9725 (char *) "self",(char *) "h", NULL
9728 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Image_ComputeHistogram",kwnames
,&obj0
,&obj1
)) goto fail
;
9729 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9730 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxImageHistogram
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9732 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
9735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9736 result
= (unsigned long)(arg1
)->ComputeHistogram(*arg2
);
9738 wxPyEndAllowThreads(__tstate
);
9739 if (PyErr_Occurred()) SWIG_fail
;
9741 resultobj
= PyInt_FromLong((long)result
);
9748 static PyObject
*_wrap_Image_AddHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9749 PyObject
*resultobj
;
9750 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9751 PyObject
* obj0
= 0 ;
9753 (char *) "handler", NULL
9756 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_AddHandler",kwnames
,&obj0
)) goto fail
;
9757 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9760 wxImage::AddHandler(arg1
);
9762 wxPyEndAllowThreads(__tstate
);
9763 if (PyErr_Occurred()) SWIG_fail
;
9765 Py_INCREF(Py_None
); resultobj
= Py_None
;
9772 static PyObject
*_wrap_Image_InsertHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9773 PyObject
*resultobj
;
9774 wxImageHandler
*arg1
= (wxImageHandler
*) 0 ;
9775 PyObject
* obj0
= 0 ;
9777 (char *) "handler", NULL
9780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_InsertHandler",kwnames
,&obj0
)) goto fail
;
9781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImageHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9784 wxImage::InsertHandler(arg1
);
9786 wxPyEndAllowThreads(__tstate
);
9787 if (PyErr_Occurred()) SWIG_fail
;
9789 Py_INCREF(Py_None
); resultobj
= Py_None
;
9796 static PyObject
*_wrap_Image_RemoveHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9797 PyObject
*resultobj
;
9798 wxString
*arg1
= 0 ;
9800 bool temp1
= False
;
9801 PyObject
* obj0
= 0 ;
9803 (char *) "name", NULL
9806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_RemoveHandler",kwnames
,&obj0
)) goto fail
;
9808 arg1
= wxString_in_helper(obj0
);
9809 if (arg1
== NULL
) SWIG_fail
;
9813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9814 result
= (bool)wxImage::RemoveHandler((wxString
const &)*arg1
);
9816 wxPyEndAllowThreads(__tstate
);
9817 if (PyErr_Occurred()) SWIG_fail
;
9819 resultobj
= PyInt_FromLong((long)result
);
9834 static PyObject
*_wrap_Image_GetImageExtWildcard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9835 PyObject
*resultobj
;
9841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Image_GetImageExtWildcard",kwnames
)) goto fail
;
9843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9844 result
= wxImage::GetImageExtWildcard();
9846 wxPyEndAllowThreads(__tstate
);
9847 if (PyErr_Occurred()) SWIG_fail
;
9851 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9853 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9862 static PyObject
*_wrap_Image_ConvertToBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9863 PyObject
*resultobj
;
9864 wxImage
*arg1
= (wxImage
*) 0 ;
9866 PyObject
* obj0
= 0 ;
9868 (char *) "self", NULL
9871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Image_ConvertToBitmap",kwnames
,&obj0
)) goto fail
;
9872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9875 result
= wxImage_ConvertToBitmap(arg1
);
9877 wxPyEndAllowThreads(__tstate
);
9878 if (PyErr_Occurred()) SWIG_fail
;
9881 wxBitmap
* resultptr
;
9882 resultptr
= new wxBitmap((wxBitmap
&) result
);
9883 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9891 static PyObject
*_wrap_Image_ConvertToMonoBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9892 PyObject
*resultobj
;
9893 wxImage
*arg1
= (wxImage
*) 0 ;
9894 unsigned char arg2
;
9895 unsigned char arg3
;
9896 unsigned char arg4
;
9898 PyObject
* obj0
= 0 ;
9899 PyObject
* obj1
= 0 ;
9900 PyObject
* obj2
= 0 ;
9901 PyObject
* obj3
= 0 ;
9903 (char *) "self",(char *) "red",(char *) "green",(char *) "blue", NULL
9906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Image_ConvertToMonoBitmap",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
9907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxImage
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
9908 arg2
= (unsigned char) PyInt_AsLong(obj1
);
9909 if (PyErr_Occurred()) SWIG_fail
;
9910 arg3
= (unsigned char) PyInt_AsLong(obj2
);
9911 if (PyErr_Occurred()) SWIG_fail
;
9912 arg4
= (unsigned char) PyInt_AsLong(obj3
);
9913 if (PyErr_Occurred()) SWIG_fail
;
9915 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9916 result
= wxImage_ConvertToMonoBitmap(arg1
,arg2
,arg3
,arg4
);
9918 wxPyEndAllowThreads(__tstate
);
9919 if (PyErr_Occurred()) SWIG_fail
;
9922 wxBitmap
* resultptr
;
9923 resultptr
= new wxBitmap((wxBitmap
&) result
);
9924 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxBitmap
, 1);
9932 static PyObject
* Image_swigregister(PyObject
*self
, PyObject
*args
) {
9934 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
9935 SWIG_TypeClientData(SWIGTYPE_p_wxImage
, obj
);
9937 return Py_BuildValue((char *)"");
9939 static PyObject
*_wrap_InitAllImageHandlers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
9940 PyObject
*resultobj
;
9945 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":InitAllImageHandlers",kwnames
)) goto fail
;
9947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9948 wxInitAllImageHandlers();
9950 wxPyEndAllowThreads(__tstate
);
9951 if (PyErr_Occurred()) SWIG_fail
;
9953 Py_INCREF(Py_None
); resultobj
= Py_None
;
9960 static int _wrap_NullImage_set(PyObject
*_val
) {
9961 PyErr_SetString(PyExc_TypeError
,"Variable NullImage is read-only.");
9966 static PyObject
*_wrap_NullImage_get() {
9969 pyobj
= SWIG_NewPointerObj((void *) &wxNullImage
, SWIGTYPE_p_wxImage
, 0);
9974 static int _wrap_IMAGE_OPTION_BMP_FORMAT_set(PyObject
*_val
) {
9975 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_BMP_FORMAT is read-only.");
9980 static PyObject
*_wrap_IMAGE_OPTION_BMP_FORMAT_get() {
9985 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9987 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_BMP_FORMAT
)->c_str(), (&wxPyIMAGE_OPTION_BMP_FORMAT
)->Len());
9994 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set(PyObject
*_val
) {
9995 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_X is read-only.");
10000 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get() {
10005 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10007 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_X
)->Len());
10014 static int _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set(PyObject
*_val
) {
10015 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_CUR_HOTSPOT_Y is read-only.");
10020 static PyObject
*_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get() {
10025 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10027 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->c_str(), (&wxPyIMAGE_OPTION_CUR_HOTSPOT_Y
)->Len());
10034 static int _wrap_IMAGE_OPTION_RESOLUTION_set(PyObject
*_val
) {
10035 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTION is read-only.");
10040 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTION_get() {
10045 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10047 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTION
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTION
)->Len());
10054 static int _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set(PyObject
*_val
) {
10055 PyErr_SetString(PyExc_TypeError
,"Variable IMAGE_OPTION_RESOLUTIONUNIT is read-only.");
10060 static PyObject
*_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get() {
10065 pyobj
= PyUnicode_FromWideChar((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10067 pyobj
= PyString_FromStringAndSize((&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->c_str(), (&wxPyIMAGE_OPTION_RESOLUTIONUNIT
)->Len());
10074 static PyObject
*_wrap_new_BMPHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10075 PyObject
*resultobj
;
10076 wxBMPHandler
*result
;
10077 char *kwnames
[] = {
10081 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_BMPHandler",kwnames
)) goto fail
;
10083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10084 result
= (wxBMPHandler
*)new wxBMPHandler();
10086 wxPyEndAllowThreads(__tstate
);
10087 if (PyErr_Occurred()) SWIG_fail
;
10089 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBMPHandler
, 1);
10096 static PyObject
* BMPHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10098 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10099 SWIG_TypeClientData(SWIGTYPE_p_wxBMPHandler
, obj
);
10101 return Py_BuildValue((char *)"");
10103 static PyObject
*_wrap_new_ICOHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10104 PyObject
*resultobj
;
10105 wxICOHandler
*result
;
10106 char *kwnames
[] = {
10110 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ICOHandler",kwnames
)) goto fail
;
10112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10113 result
= (wxICOHandler
*)new wxICOHandler();
10115 wxPyEndAllowThreads(__tstate
);
10116 if (PyErr_Occurred()) SWIG_fail
;
10118 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxICOHandler
, 1);
10125 static PyObject
* ICOHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10127 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10128 SWIG_TypeClientData(SWIGTYPE_p_wxICOHandler
, obj
);
10130 return Py_BuildValue((char *)"");
10132 static PyObject
*_wrap_new_CURHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10133 PyObject
*resultobj
;
10134 wxCURHandler
*result
;
10135 char *kwnames
[] = {
10139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_CURHandler",kwnames
)) goto fail
;
10141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10142 result
= (wxCURHandler
*)new wxCURHandler();
10144 wxPyEndAllowThreads(__tstate
);
10145 if (PyErr_Occurred()) SWIG_fail
;
10147 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCURHandler
, 1);
10154 static PyObject
* CURHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10156 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10157 SWIG_TypeClientData(SWIGTYPE_p_wxCURHandler
, obj
);
10159 return Py_BuildValue((char *)"");
10161 static PyObject
*_wrap_new_ANIHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10162 PyObject
*resultobj
;
10163 wxANIHandler
*result
;
10164 char *kwnames
[] = {
10168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_ANIHandler",kwnames
)) goto fail
;
10170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10171 result
= (wxANIHandler
*)new wxANIHandler();
10173 wxPyEndAllowThreads(__tstate
);
10174 if (PyErr_Occurred()) SWIG_fail
;
10176 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxANIHandler
, 1);
10183 static PyObject
* ANIHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10185 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10186 SWIG_TypeClientData(SWIGTYPE_p_wxANIHandler
, obj
);
10188 return Py_BuildValue((char *)"");
10190 static PyObject
*_wrap_new_PNGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10191 PyObject
*resultobj
;
10192 wxPNGHandler
*result
;
10193 char *kwnames
[] = {
10197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNGHandler",kwnames
)) goto fail
;
10199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10200 result
= (wxPNGHandler
*)new wxPNGHandler();
10202 wxPyEndAllowThreads(__tstate
);
10203 if (PyErr_Occurred()) SWIG_fail
;
10205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNGHandler
, 1);
10212 static PyObject
* PNGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10214 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10215 SWIG_TypeClientData(SWIGTYPE_p_wxPNGHandler
, obj
);
10217 return Py_BuildValue((char *)"");
10219 static PyObject
*_wrap_new_GIFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10220 PyObject
*resultobj
;
10221 wxGIFHandler
*result
;
10222 char *kwnames
[] = {
10226 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GIFHandler",kwnames
)) goto fail
;
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 result
= (wxGIFHandler
*)new wxGIFHandler();
10231 wxPyEndAllowThreads(__tstate
);
10232 if (PyErr_Occurred()) SWIG_fail
;
10234 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGIFHandler
, 1);
10241 static PyObject
* GIFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10243 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10244 SWIG_TypeClientData(SWIGTYPE_p_wxGIFHandler
, obj
);
10246 return Py_BuildValue((char *)"");
10248 static PyObject
*_wrap_new_PCXHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10249 PyObject
*resultobj
;
10250 wxPCXHandler
*result
;
10251 char *kwnames
[] = {
10255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PCXHandler",kwnames
)) goto fail
;
10257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10258 result
= (wxPCXHandler
*)new wxPCXHandler();
10260 wxPyEndAllowThreads(__tstate
);
10261 if (PyErr_Occurred()) SWIG_fail
;
10263 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPCXHandler
, 1);
10270 static PyObject
* PCXHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10272 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10273 SWIG_TypeClientData(SWIGTYPE_p_wxPCXHandler
, obj
);
10275 return Py_BuildValue((char *)"");
10277 static PyObject
*_wrap_new_JPEGHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10278 PyObject
*resultobj
;
10279 wxJPEGHandler
*result
;
10280 char *kwnames
[] = {
10284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_JPEGHandler",kwnames
)) goto fail
;
10286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10287 result
= (wxJPEGHandler
*)new wxJPEGHandler();
10289 wxPyEndAllowThreads(__tstate
);
10290 if (PyErr_Occurred()) SWIG_fail
;
10292 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxJPEGHandler
, 1);
10299 static PyObject
* JPEGHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10301 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10302 SWIG_TypeClientData(SWIGTYPE_p_wxJPEGHandler
, obj
);
10304 return Py_BuildValue((char *)"");
10306 static PyObject
*_wrap_new_PNMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10307 PyObject
*resultobj
;
10308 wxPNMHandler
*result
;
10309 char *kwnames
[] = {
10313 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PNMHandler",kwnames
)) goto fail
;
10315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10316 result
= (wxPNMHandler
*)new wxPNMHandler();
10318 wxPyEndAllowThreads(__tstate
);
10319 if (PyErr_Occurred()) SWIG_fail
;
10321 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPNMHandler
, 1);
10328 static PyObject
* PNMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10330 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10331 SWIG_TypeClientData(SWIGTYPE_p_wxPNMHandler
, obj
);
10333 return Py_BuildValue((char *)"");
10335 static PyObject
*_wrap_new_XPMHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
;
10337 wxXPMHandler
*result
;
10338 char *kwnames
[] = {
10342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_XPMHandler",kwnames
)) goto fail
;
10344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10345 result
= (wxXPMHandler
*)new wxXPMHandler();
10347 wxPyEndAllowThreads(__tstate
);
10348 if (PyErr_Occurred()) SWIG_fail
;
10350 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxXPMHandler
, 1);
10357 static PyObject
* XPMHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10359 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10360 SWIG_TypeClientData(SWIGTYPE_p_wxXPMHandler
, obj
);
10362 return Py_BuildValue((char *)"");
10364 static PyObject
*_wrap_new_TIFFHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10365 PyObject
*resultobj
;
10366 wxTIFFHandler
*result
;
10367 char *kwnames
[] = {
10371 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_TIFFHandler",kwnames
)) goto fail
;
10373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10374 result
= (wxTIFFHandler
*)new wxTIFFHandler();
10376 wxPyEndAllowThreads(__tstate
);
10377 if (PyErr_Occurred()) SWIG_fail
;
10379 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxTIFFHandler
, 1);
10386 static PyObject
* TIFFHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10389 SWIG_TypeClientData(SWIGTYPE_p_wxTIFFHandler
, obj
);
10391 return Py_BuildValue((char *)"");
10393 static PyObject
*_wrap_new_EvtHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10394 PyObject
*resultobj
;
10395 wxEvtHandler
*result
;
10396 char *kwnames
[] = {
10400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_EvtHandler",kwnames
)) goto fail
;
10402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10403 result
= (wxEvtHandler
*)new wxEvtHandler();
10405 wxPyEndAllowThreads(__tstate
);
10406 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= wxPyMake_wxObject(result
);
10417 static PyObject
*_wrap_EvtHandler_GetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10418 PyObject
*resultobj
;
10419 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10420 wxEvtHandler
*result
;
10421 PyObject
* obj0
= 0 ;
10422 char *kwnames
[] = {
10423 (char *) "self", NULL
10426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetNextHandler",kwnames
,&obj0
)) goto fail
;
10427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10430 result
= (wxEvtHandler
*)(arg1
)->GetNextHandler();
10432 wxPyEndAllowThreads(__tstate
);
10433 if (PyErr_Occurred()) SWIG_fail
;
10436 resultobj
= wxPyMake_wxObject(result
);
10444 static PyObject
*_wrap_EvtHandler_GetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10445 PyObject
*resultobj
;
10446 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10447 wxEvtHandler
*result
;
10448 PyObject
* obj0
= 0 ;
10449 char *kwnames
[] = {
10450 (char *) "self", NULL
10453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetPreviousHandler",kwnames
,&obj0
)) goto fail
;
10454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10457 result
= (wxEvtHandler
*)(arg1
)->GetPreviousHandler();
10459 wxPyEndAllowThreads(__tstate
);
10460 if (PyErr_Occurred()) SWIG_fail
;
10463 resultobj
= wxPyMake_wxObject(result
);
10471 static PyObject
*_wrap_EvtHandler_SetNextHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10472 PyObject
*resultobj
;
10473 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10474 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10475 PyObject
* obj0
= 0 ;
10476 PyObject
* obj1
= 0 ;
10477 char *kwnames
[] = {
10478 (char *) "self",(char *) "handler", NULL
10481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetNextHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10486 (arg1
)->SetNextHandler(arg2
);
10488 wxPyEndAllowThreads(__tstate
);
10489 if (PyErr_Occurred()) SWIG_fail
;
10491 Py_INCREF(Py_None
); resultobj
= Py_None
;
10498 static PyObject
*_wrap_EvtHandler_SetPreviousHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10499 PyObject
*resultobj
;
10500 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10501 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
10502 PyObject
* obj0
= 0 ;
10503 PyObject
* obj1
= 0 ;
10504 char *kwnames
[] = {
10505 (char *) "self",(char *) "handler", NULL
10508 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetPreviousHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
10509 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10510 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10513 (arg1
)->SetPreviousHandler(arg2
);
10515 wxPyEndAllowThreads(__tstate
);
10516 if (PyErr_Occurred()) SWIG_fail
;
10518 Py_INCREF(Py_None
); resultobj
= Py_None
;
10525 static PyObject
*_wrap_EvtHandler_GetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10526 PyObject
*resultobj
;
10527 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10529 PyObject
* obj0
= 0 ;
10530 char *kwnames
[] = {
10531 (char *) "self", NULL
10534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_GetEvtHandlerEnabled",kwnames
,&obj0
)) goto fail
;
10535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10538 result
= (bool)(arg1
)->GetEvtHandlerEnabled();
10540 wxPyEndAllowThreads(__tstate
);
10541 if (PyErr_Occurred()) SWIG_fail
;
10543 resultobj
= PyInt_FromLong((long)result
);
10550 static PyObject
*_wrap_EvtHandler_SetEvtHandlerEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10551 PyObject
*resultobj
;
10552 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10554 PyObject
* obj0
= 0 ;
10555 PyObject
* obj1
= 0 ;
10556 char *kwnames
[] = {
10557 (char *) "self",(char *) "enabled", NULL
10560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_SetEvtHandlerEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
10561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10562 arg2
= PyInt_AsLong(obj1
) ? true : false;
10563 if (PyErr_Occurred()) SWIG_fail
;
10565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10566 (arg1
)->SetEvtHandlerEnabled(arg2
);
10568 wxPyEndAllowThreads(__tstate
);
10569 if (PyErr_Occurred()) SWIG_fail
;
10571 Py_INCREF(Py_None
); resultobj
= Py_None
;
10578 static PyObject
*_wrap_EvtHandler_ProcessEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10579 PyObject
*resultobj
;
10580 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10581 wxEvent
*arg2
= 0 ;
10583 PyObject
* obj0
= 0 ;
10584 PyObject
* obj1
= 0 ;
10585 char *kwnames
[] = {
10586 (char *) "self",(char *) "event", NULL
10589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_ProcessEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10591 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10592 if (arg2
== NULL
) {
10593 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10597 result
= (bool)(arg1
)->ProcessEvent(*arg2
);
10599 wxPyEndAllowThreads(__tstate
);
10600 if (PyErr_Occurred()) SWIG_fail
;
10602 resultobj
= PyInt_FromLong((long)result
);
10609 static PyObject
*_wrap_EvtHandler_AddPendingEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10610 PyObject
*resultobj
;
10611 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10612 wxEvent
*arg2
= 0 ;
10613 PyObject
* obj0
= 0 ;
10614 PyObject
* obj1
= 0 ;
10615 char *kwnames
[] = {
10616 (char *) "self",(char *) "event", NULL
10619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler_AddPendingEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
10620 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10621 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10622 if (arg2
== NULL
) {
10623 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
10626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10627 (arg1
)->AddPendingEvent(*arg2
);
10629 wxPyEndAllowThreads(__tstate
);
10630 if (PyErr_Occurred()) SWIG_fail
;
10632 Py_INCREF(Py_None
); resultobj
= Py_None
;
10639 static PyObject
*_wrap_EvtHandler_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10640 PyObject
*resultobj
;
10641 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10642 PyObject
* obj0
= 0 ;
10643 char *kwnames
[] = {
10644 (char *) "self", NULL
10647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EvtHandler_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
10648 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10651 (arg1
)->ProcessPendingEvents();
10653 wxPyEndAllowThreads(__tstate
);
10654 if (PyErr_Occurred()) SWIG_fail
;
10656 Py_INCREF(Py_None
); resultobj
= Py_None
;
10663 static PyObject
*_wrap_EvtHandler_Connect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10664 PyObject
*resultobj
;
10665 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10669 PyObject
*arg5
= (PyObject
*) 0 ;
10670 PyObject
* obj0
= 0 ;
10671 PyObject
* obj4
= 0 ;
10672 char *kwnames
[] = {
10673 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType",(char *) "func", NULL
10676 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:EvtHandler_Connect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
10677 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 wxEvtHandler_Connect(arg1
,arg2
,arg3
,arg4
,arg5
);
10683 wxPyEndAllowThreads(__tstate
);
10684 if (PyErr_Occurred()) SWIG_fail
;
10686 Py_INCREF(Py_None
); resultobj
= Py_None
;
10693 static PyObject
*_wrap_EvtHandler_Disconnect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10694 PyObject
*resultobj
;
10695 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10697 int arg3
= (int) -1 ;
10698 wxEventType arg4
= (wxEventType
) wxEVT_NULL
;
10700 PyObject
* obj0
= 0 ;
10701 char *kwnames
[] = {
10702 (char *) "self",(char *) "id",(char *) "lastId",(char *) "eventType", NULL
10705 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|ii:EvtHandler_Disconnect",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
10706 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10709 result
= (bool)wxEvtHandler_Disconnect(arg1
,arg2
,arg3
,arg4
);
10711 wxPyEndAllowThreads(__tstate
);
10712 if (PyErr_Occurred()) SWIG_fail
;
10714 resultobj
= PyInt_FromLong((long)result
);
10721 static PyObject
*_wrap_EvtHandler__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10722 PyObject
*resultobj
;
10723 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
10724 PyObject
*arg2
= (PyObject
*) 0 ;
10725 PyObject
* obj0
= 0 ;
10726 PyObject
* obj1
= 0 ;
10727 char *kwnames
[] = {
10728 (char *) "self",(char *) "_self", NULL
10731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:EvtHandler__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
10732 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10736 wxEvtHandler__setOORInfo(arg1
,arg2
);
10738 wxPyEndAllowThreads(__tstate
);
10739 if (PyErr_Occurred()) SWIG_fail
;
10741 Py_INCREF(Py_None
); resultobj
= Py_None
;
10748 static PyObject
* EvtHandler_swigregister(PyObject
*self
, PyObject
*args
) {
10750 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
10751 SWIG_TypeClientData(SWIGTYPE_p_wxEvtHandler
, obj
);
10753 return Py_BuildValue((char *)"");
10755 static PyObject
*_wrap_NewEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10756 PyObject
*resultobj
;
10757 wxEventType result
;
10758 char *kwnames
[] = {
10762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":NewEventType",kwnames
)) goto fail
;
10764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10765 result
= (wxEventType
)wxNewEventType();
10767 wxPyEndAllowThreads(__tstate
);
10768 if (PyErr_Occurred()) SWIG_fail
;
10770 resultobj
= PyInt_FromLong((long)result
);
10777 static PyObject
*_wrap_delete_Event(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10778 PyObject
*resultobj
;
10779 wxEvent
*arg1
= (wxEvent
*) 0 ;
10780 PyObject
* obj0
= 0 ;
10781 char *kwnames
[] = {
10782 (char *) "self", NULL
10785 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_Event",kwnames
,&obj0
)) goto fail
;
10786 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10788 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10791 wxPyEndAllowThreads(__tstate
);
10792 if (PyErr_Occurred()) SWIG_fail
;
10794 Py_INCREF(Py_None
); resultobj
= Py_None
;
10801 static PyObject
*_wrap_Event_SetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10802 PyObject
*resultobj
;
10803 wxEvent
*arg1
= (wxEvent
*) 0 ;
10805 PyObject
* obj0
= 0 ;
10806 char *kwnames
[] = {
10807 (char *) "self",(char *) "typ", NULL
10810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetEventType",kwnames
,&obj0
,&arg2
)) goto fail
;
10811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10814 (arg1
)->SetEventType(arg2
);
10816 wxPyEndAllowThreads(__tstate
);
10817 if (PyErr_Occurred()) SWIG_fail
;
10819 Py_INCREF(Py_None
); resultobj
= Py_None
;
10826 static PyObject
*_wrap_Event_GetEventType(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10827 PyObject
*resultobj
;
10828 wxEvent
*arg1
= (wxEvent
*) 0 ;
10829 wxEventType result
;
10830 PyObject
* obj0
= 0 ;
10831 char *kwnames
[] = {
10832 (char *) "self", NULL
10835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventType",kwnames
,&obj0
)) goto fail
;
10836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10839 result
= (wxEventType
)((wxEvent
const *)arg1
)->GetEventType();
10841 wxPyEndAllowThreads(__tstate
);
10842 if (PyErr_Occurred()) SWIG_fail
;
10844 resultobj
= PyInt_FromLong((long)result
);
10851 static PyObject
*_wrap_Event_GetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10852 PyObject
*resultobj
;
10853 wxEvent
*arg1
= (wxEvent
*) 0 ;
10855 PyObject
* obj0
= 0 ;
10856 char *kwnames
[] = {
10857 (char *) "self", NULL
10860 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetEventObject",kwnames
,&obj0
)) goto fail
;
10861 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10864 result
= (wxObject
*)((wxEvent
const *)arg1
)->GetEventObject();
10866 wxPyEndAllowThreads(__tstate
);
10867 if (PyErr_Occurred()) SWIG_fail
;
10870 resultobj
= wxPyMake_wxObject(result
);
10878 static PyObject
*_wrap_Event_SetEventObject(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10879 PyObject
*resultobj
;
10880 wxEvent
*arg1
= (wxEvent
*) 0 ;
10881 wxObject
*arg2
= (wxObject
*) 0 ;
10882 PyObject
* obj0
= 0 ;
10883 PyObject
* obj1
= 0 ;
10884 char *kwnames
[] = {
10885 (char *) "self",(char *) "obj", NULL
10888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Event_SetEventObject",kwnames
,&obj0
,&obj1
)) goto fail
;
10889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10890 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10893 (arg1
)->SetEventObject(arg2
);
10895 wxPyEndAllowThreads(__tstate
);
10896 if (PyErr_Occurred()) SWIG_fail
;
10898 Py_INCREF(Py_None
); resultobj
= Py_None
;
10905 static PyObject
*_wrap_Event_GetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10906 PyObject
*resultobj
;
10907 wxEvent
*arg1
= (wxEvent
*) 0 ;
10909 PyObject
* obj0
= 0 ;
10910 char *kwnames
[] = {
10911 (char *) "self", NULL
10914 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetTimestamp",kwnames
,&obj0
)) goto fail
;
10915 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 result
= (long)((wxEvent
const *)arg1
)->GetTimestamp();
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= PyInt_FromLong((long)result
);
10930 static PyObject
*_wrap_Event_SetTimestamp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10931 PyObject
*resultobj
;
10932 wxEvent
*arg1
= (wxEvent
*) 0 ;
10933 long arg2
= (long) 0 ;
10934 PyObject
* obj0
= 0 ;
10935 char *kwnames
[] = {
10936 (char *) "self",(char *) "ts", NULL
10939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Event_SetTimestamp",kwnames
,&obj0
,&arg2
)) goto fail
;
10940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10943 (arg1
)->SetTimestamp(arg2
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 Py_INCREF(Py_None
); resultobj
= Py_None
;
10955 static PyObject
*_wrap_Event_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10956 PyObject
*resultobj
;
10957 wxEvent
*arg1
= (wxEvent
*) 0 ;
10959 PyObject
* obj0
= 0 ;
10960 char *kwnames
[] = {
10961 (char *) "self", NULL
10964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetId",kwnames
,&obj0
)) goto fail
;
10965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10968 result
= (int)((wxEvent
const *)arg1
)->GetId();
10970 wxPyEndAllowThreads(__tstate
);
10971 if (PyErr_Occurred()) SWIG_fail
;
10973 resultobj
= PyInt_FromLong((long)result
);
10980 static PyObject
*_wrap_Event_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
10981 PyObject
*resultobj
;
10982 wxEvent
*arg1
= (wxEvent
*) 0 ;
10984 PyObject
* obj0
= 0 ;
10985 char *kwnames
[] = {
10986 (char *) "self",(char *) "Id", NULL
10989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
10990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
10992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10993 (arg1
)->SetId(arg2
);
10995 wxPyEndAllowThreads(__tstate
);
10996 if (PyErr_Occurred()) SWIG_fail
;
10998 Py_INCREF(Py_None
); resultobj
= Py_None
;
11005 static PyObject
*_wrap_Event_IsCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11006 PyObject
*resultobj
;
11007 wxEvent
*arg1
= (wxEvent
*) 0 ;
11009 PyObject
* obj0
= 0 ;
11010 char *kwnames
[] = {
11011 (char *) "self", NULL
11014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_IsCommandEvent",kwnames
,&obj0
)) goto fail
;
11015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11018 result
= (bool)((wxEvent
const *)arg1
)->IsCommandEvent();
11020 wxPyEndAllowThreads(__tstate
);
11021 if (PyErr_Occurred()) SWIG_fail
;
11023 resultobj
= PyInt_FromLong((long)result
);
11030 static PyObject
*_wrap_Event_Skip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11031 PyObject
*resultobj
;
11032 wxEvent
*arg1
= (wxEvent
*) 0 ;
11033 bool arg2
= (bool) True
;
11034 PyObject
* obj0
= 0 ;
11035 PyObject
* obj1
= 0 ;
11036 char *kwnames
[] = {
11037 (char *) "self",(char *) "skip", NULL
11040 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Event_Skip",kwnames
,&obj0
,&obj1
)) goto fail
;
11041 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11043 arg2
= PyInt_AsLong(obj1
) ? true : false;
11044 if (PyErr_Occurred()) SWIG_fail
;
11047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11048 (arg1
)->Skip(arg2
);
11050 wxPyEndAllowThreads(__tstate
);
11051 if (PyErr_Occurred()) SWIG_fail
;
11053 Py_INCREF(Py_None
); resultobj
= Py_None
;
11060 static PyObject
*_wrap_Event_GetSkipped(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11061 PyObject
*resultobj
;
11062 wxEvent
*arg1
= (wxEvent
*) 0 ;
11064 PyObject
* obj0
= 0 ;
11065 char *kwnames
[] = {
11066 (char *) "self", NULL
11069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_GetSkipped",kwnames
,&obj0
)) goto fail
;
11070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11073 result
= (bool)((wxEvent
const *)arg1
)->GetSkipped();
11075 wxPyEndAllowThreads(__tstate
);
11076 if (PyErr_Occurred()) SWIG_fail
;
11078 resultobj
= PyInt_FromLong((long)result
);
11085 static PyObject
*_wrap_Event_ShouldPropagate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11086 PyObject
*resultobj
;
11087 wxEvent
*arg1
= (wxEvent
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 char *kwnames
[] = {
11091 (char *) "self", NULL
11094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_ShouldPropagate",kwnames
,&obj0
)) goto fail
;
11095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11098 result
= (bool)((wxEvent
const *)arg1
)->ShouldPropagate();
11100 wxPyEndAllowThreads(__tstate
);
11101 if (PyErr_Occurred()) SWIG_fail
;
11103 resultobj
= PyInt_FromLong((long)result
);
11110 static PyObject
*_wrap_Event_StopPropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11111 PyObject
*resultobj
;
11112 wxEvent
*arg1
= (wxEvent
*) 0 ;
11114 PyObject
* obj0
= 0 ;
11115 char *kwnames
[] = {
11116 (char *) "self", NULL
11119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_StopPropagation",kwnames
,&obj0
)) goto fail
;
11120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11123 result
= (int)(arg1
)->StopPropagation();
11125 wxPyEndAllowThreads(__tstate
);
11126 if (PyErr_Occurred()) SWIG_fail
;
11128 resultobj
= PyInt_FromLong((long)result
);
11135 static PyObject
*_wrap_Event_ResumePropagation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11136 PyObject
*resultobj
;
11137 wxEvent
*arg1
= (wxEvent
*) 0 ;
11139 PyObject
* obj0
= 0 ;
11140 char *kwnames
[] = {
11141 (char *) "self",(char *) "propagationLevel", NULL
11144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Event_ResumePropagation",kwnames
,&obj0
,&arg2
)) goto fail
;
11145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11148 (arg1
)->ResumePropagation(arg2
);
11150 wxPyEndAllowThreads(__tstate
);
11151 if (PyErr_Occurred()) SWIG_fail
;
11153 Py_INCREF(Py_None
); resultobj
= Py_None
;
11160 static PyObject
*_wrap_Event_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11161 PyObject
*resultobj
;
11162 wxEvent
*arg1
= (wxEvent
*) 0 ;
11164 PyObject
* obj0
= 0 ;
11165 char *kwnames
[] = {
11166 (char *) "self", NULL
11169 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Event_Clone",kwnames
,&obj0
)) goto fail
;
11170 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11173 result
= (wxEvent
*)(arg1
)->Clone();
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11185 static PyObject
* Event_swigregister(PyObject
*self
, PyObject
*args
) {
11187 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11188 SWIG_TypeClientData(SWIGTYPE_p_wxEvent
, obj
);
11190 return Py_BuildValue((char *)"");
11192 static PyObject
*_wrap_new_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11193 PyObject
*resultobj
;
11194 wxEvent
*arg1
= 0 ;
11195 wxPropagationDisabler
*result
;
11196 PyObject
* obj0
= 0 ;
11197 char *kwnames
[] = {
11198 (char *) "event", NULL
11201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11203 if (arg1
== NULL
) {
11204 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11208 result
= (wxPropagationDisabler
*)new wxPropagationDisabler(*arg1
);
11210 wxPyEndAllowThreads(__tstate
);
11211 if (PyErr_Occurred()) SWIG_fail
;
11213 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagationDisabler
, 1);
11220 static PyObject
*_wrap_delete_PropagationDisabler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11221 PyObject
*resultobj
;
11222 wxPropagationDisabler
*arg1
= (wxPropagationDisabler
*) 0 ;
11223 PyObject
* obj0
= 0 ;
11224 char *kwnames
[] = {
11225 (char *) "self", NULL
11228 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagationDisabler",kwnames
,&obj0
)) goto fail
;
11229 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagationDisabler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11231 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 wxPyEndAllowThreads(__tstate
);
11235 if (PyErr_Occurred()) SWIG_fail
;
11237 Py_INCREF(Py_None
); resultobj
= Py_None
;
11244 static PyObject
* PropagationDisabler_swigregister(PyObject
*self
, PyObject
*args
) {
11246 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11247 SWIG_TypeClientData(SWIGTYPE_p_wxPropagationDisabler
, obj
);
11249 return Py_BuildValue((char *)"");
11251 static PyObject
*_wrap_new_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
;
11253 wxEvent
*arg1
= 0 ;
11254 wxPropagateOnce
*result
;
11255 PyObject
* obj0
= 0 ;
11256 char *kwnames
[] = {
11257 (char *) "event", NULL
11260 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11261 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11262 if (arg1
== NULL
) {
11263 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
11266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11267 result
= (wxPropagateOnce
*)new wxPropagateOnce(*arg1
);
11269 wxPyEndAllowThreads(__tstate
);
11270 if (PyErr_Occurred()) SWIG_fail
;
11272 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPropagateOnce
, 1);
11279 static PyObject
*_wrap_delete_PropagateOnce(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11280 PyObject
*resultobj
;
11281 wxPropagateOnce
*arg1
= (wxPropagateOnce
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 char *kwnames
[] = {
11284 (char *) "self", NULL
11287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PropagateOnce",kwnames
,&obj0
)) goto fail
;
11288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPropagateOnce
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11293 wxPyEndAllowThreads(__tstate
);
11294 if (PyErr_Occurred()) SWIG_fail
;
11296 Py_INCREF(Py_None
); resultobj
= Py_None
;
11303 static PyObject
* PropagateOnce_swigregister(PyObject
*self
, PyObject
*args
) {
11305 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11306 SWIG_TypeClientData(SWIGTYPE_p_wxPropagateOnce
, obj
);
11308 return Py_BuildValue((char *)"");
11310 static PyObject
*_wrap_new_CommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11311 PyObject
*resultobj
;
11312 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11313 int arg2
= (int) 0 ;
11314 wxCommandEvent
*result
;
11315 char *kwnames
[] = {
11316 (char *) "commandType",(char *) "winid", NULL
11319 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11322 result
= (wxCommandEvent
*)new wxCommandEvent(arg1
,arg2
);
11324 wxPyEndAllowThreads(__tstate
);
11325 if (PyErr_Occurred()) SWIG_fail
;
11327 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCommandEvent
, 1);
11334 static PyObject
*_wrap_CommandEvent_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11335 PyObject
*resultobj
;
11336 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11338 PyObject
* obj0
= 0 ;
11339 char *kwnames
[] = {
11340 (char *) "self", NULL
11343 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetSelection",kwnames
,&obj0
)) goto fail
;
11344 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11347 result
= (int)((wxCommandEvent
const *)arg1
)->GetSelection();
11349 wxPyEndAllowThreads(__tstate
);
11350 if (PyErr_Occurred()) SWIG_fail
;
11352 resultobj
= PyInt_FromLong((long)result
);
11359 static PyObject
*_wrap_CommandEvent_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11360 PyObject
*resultobj
;
11361 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11362 wxString
*arg2
= 0 ;
11363 bool temp2
= False
;
11364 PyObject
* obj0
= 0 ;
11365 PyObject
* obj1
= 0 ;
11366 char *kwnames
[] = {
11367 (char *) "self",(char *) "s", NULL
11370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CommandEvent_SetString",kwnames
,&obj0
,&obj1
)) goto fail
;
11371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11373 arg2
= wxString_in_helper(obj1
);
11374 if (arg2
== NULL
) SWIG_fail
;
11378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11379 (arg1
)->SetString((wxString
const &)*arg2
);
11381 wxPyEndAllowThreads(__tstate
);
11382 if (PyErr_Occurred()) SWIG_fail
;
11384 Py_INCREF(Py_None
); resultobj
= Py_None
;
11399 static PyObject
*_wrap_CommandEvent_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11400 PyObject
*resultobj
;
11401 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11403 PyObject
* obj0
= 0 ;
11404 char *kwnames
[] = {
11405 (char *) "self", NULL
11408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetString",kwnames
,&obj0
)) goto fail
;
11409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11412 result
= ((wxCommandEvent
const *)arg1
)->GetString();
11414 wxPyEndAllowThreads(__tstate
);
11415 if (PyErr_Occurred()) SWIG_fail
;
11419 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
11421 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
11430 static PyObject
*_wrap_CommandEvent_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11431 PyObject
*resultobj
;
11432 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11434 PyObject
* obj0
= 0 ;
11435 char *kwnames
[] = {
11436 (char *) "self", NULL
11439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsChecked",kwnames
,&obj0
)) goto fail
;
11440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11443 result
= (bool)((wxCommandEvent
const *)arg1
)->IsChecked();
11445 wxPyEndAllowThreads(__tstate
);
11446 if (PyErr_Occurred()) SWIG_fail
;
11448 resultobj
= PyInt_FromLong((long)result
);
11455 static PyObject
*_wrap_CommandEvent_IsSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11456 PyObject
*resultobj
;
11457 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11459 PyObject
* obj0
= 0 ;
11460 char *kwnames
[] = {
11461 (char *) "self", NULL
11464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_IsSelection",kwnames
,&obj0
)) goto fail
;
11465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11468 result
= (bool)((wxCommandEvent
const *)arg1
)->IsSelection();
11470 wxPyEndAllowThreads(__tstate
);
11471 if (PyErr_Occurred()) SWIG_fail
;
11473 resultobj
= PyInt_FromLong((long)result
);
11480 static PyObject
*_wrap_CommandEvent_SetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11481 PyObject
*resultobj
;
11482 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11484 PyObject
* obj0
= 0 ;
11485 char *kwnames
[] = {
11486 (char *) "self",(char *) "extraLong", NULL
11489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:CommandEvent_SetExtraLong",kwnames
,&obj0
,&arg2
)) goto fail
;
11490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11493 (arg1
)->SetExtraLong(arg2
);
11495 wxPyEndAllowThreads(__tstate
);
11496 if (PyErr_Occurred()) SWIG_fail
;
11498 Py_INCREF(Py_None
); resultobj
= Py_None
;
11505 static PyObject
*_wrap_CommandEvent_GetExtraLong(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11506 PyObject
*resultobj
;
11507 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11509 PyObject
* obj0
= 0 ;
11510 char *kwnames
[] = {
11511 (char *) "self", NULL
11514 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetExtraLong",kwnames
,&obj0
)) goto fail
;
11515 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11518 result
= (long)((wxCommandEvent
const *)arg1
)->GetExtraLong();
11520 wxPyEndAllowThreads(__tstate
);
11521 if (PyErr_Occurred()) SWIG_fail
;
11523 resultobj
= PyInt_FromLong((long)result
);
11530 static PyObject
*_wrap_CommandEvent_SetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11531 PyObject
*resultobj
;
11532 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11534 PyObject
* obj0
= 0 ;
11535 char *kwnames
[] = {
11536 (char *) "self",(char *) "i", NULL
11539 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:CommandEvent_SetInt",kwnames
,&obj0
,&arg2
)) goto fail
;
11540 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11543 (arg1
)->SetInt(arg2
);
11545 wxPyEndAllowThreads(__tstate
);
11546 if (PyErr_Occurred()) SWIG_fail
;
11548 Py_INCREF(Py_None
); resultobj
= Py_None
;
11555 static PyObject
*_wrap_CommandEvent_GetInt(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11556 PyObject
*resultobj
;
11557 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11559 PyObject
* obj0
= 0 ;
11560 char *kwnames
[] = {
11561 (char *) "self", NULL
11564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_GetInt",kwnames
,&obj0
)) goto fail
;
11565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (long)((wxCommandEvent
const *)arg1
)->GetInt();
11570 wxPyEndAllowThreads(__tstate
);
11571 if (PyErr_Occurred()) SWIG_fail
;
11573 resultobj
= PyInt_FromLong((long)result
);
11580 static PyObject
*_wrap_CommandEvent_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11581 PyObject
*resultobj
;
11582 wxCommandEvent
*arg1
= (wxCommandEvent
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 char *kwnames
[] = {
11586 (char *) "self", NULL
11589 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CommandEvent_Clone",kwnames
,&obj0
)) goto fail
;
11590 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11593 result
= (wxEvent
*)((wxCommandEvent
const *)arg1
)->Clone();
11595 wxPyEndAllowThreads(__tstate
);
11596 if (PyErr_Occurred()) SWIG_fail
;
11598 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEvent
, 0);
11605 static PyObject
* CommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11607 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11608 SWIG_TypeClientData(SWIGTYPE_p_wxCommandEvent
, obj
);
11610 return Py_BuildValue((char *)"");
11612 static PyObject
*_wrap_new_NotifyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11613 PyObject
*resultobj
;
11614 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11615 int arg2
= (int) 0 ;
11616 wxNotifyEvent
*result
;
11617 char *kwnames
[] = {
11618 (char *) "commandType",(char *) "winid", NULL
11621 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_NotifyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
11623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11624 result
= (wxNotifyEvent
*)new wxNotifyEvent(arg1
,arg2
);
11626 wxPyEndAllowThreads(__tstate
);
11627 if (PyErr_Occurred()) SWIG_fail
;
11629 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNotifyEvent
, 1);
11636 static PyObject
*_wrap_NotifyEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11637 PyObject
*resultobj
;
11638 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11639 PyObject
* obj0
= 0 ;
11640 char *kwnames
[] = {
11641 (char *) "self", NULL
11644 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Veto",kwnames
,&obj0
)) goto fail
;
11645 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11650 wxPyEndAllowThreads(__tstate
);
11651 if (PyErr_Occurred()) SWIG_fail
;
11653 Py_INCREF(Py_None
); resultobj
= Py_None
;
11660 static PyObject
*_wrap_NotifyEvent_Allow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11661 PyObject
*resultobj
;
11662 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11663 PyObject
* obj0
= 0 ;
11664 char *kwnames
[] = {
11665 (char *) "self", NULL
11668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_Allow",kwnames
,&obj0
)) goto fail
;
11669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11674 wxPyEndAllowThreads(__tstate
);
11675 if (PyErr_Occurred()) SWIG_fail
;
11677 Py_INCREF(Py_None
); resultobj
= Py_None
;
11684 static PyObject
*_wrap_NotifyEvent_IsAllowed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11685 PyObject
*resultobj
;
11686 wxNotifyEvent
*arg1
= (wxNotifyEvent
*) 0 ;
11688 PyObject
* obj0
= 0 ;
11689 char *kwnames
[] = {
11690 (char *) "self", NULL
11693 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NotifyEvent_IsAllowed",kwnames
,&obj0
)) goto fail
;
11694 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNotifyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11697 result
= (bool)(arg1
)->IsAllowed();
11699 wxPyEndAllowThreads(__tstate
);
11700 if (PyErr_Occurred()) SWIG_fail
;
11702 resultobj
= PyInt_FromLong((long)result
);
11709 static PyObject
* NotifyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11711 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11712 SWIG_TypeClientData(SWIGTYPE_p_wxNotifyEvent
, obj
);
11714 return Py_BuildValue((char *)"");
11716 static PyObject
*_wrap_new_ScrollEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11717 PyObject
*resultobj
;
11718 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11719 int arg2
= (int) 0 ;
11720 int arg3
= (int) 0 ;
11721 int arg4
= (int) 0 ;
11722 wxScrollEvent
*result
;
11723 char *kwnames
[] = {
11724 (char *) "commandType",(char *) "winid",(char *) "pos",(char *) "orient", NULL
11727 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_ScrollEvent",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (wxScrollEvent
*)new wxScrollEvent(arg1
,arg2
,arg3
,arg4
);
11732 wxPyEndAllowThreads(__tstate
);
11733 if (PyErr_Occurred()) SWIG_fail
;
11735 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollEvent
, 1);
11742 static PyObject
*_wrap_ScrollEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11743 PyObject
*resultobj
;
11744 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11746 PyObject
* obj0
= 0 ;
11747 char *kwnames
[] = {
11748 (char *) "self", NULL
11751 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11752 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11755 result
= (int)((wxScrollEvent
const *)arg1
)->GetOrientation();
11757 wxPyEndAllowThreads(__tstate
);
11758 if (PyErr_Occurred()) SWIG_fail
;
11760 resultobj
= PyInt_FromLong((long)result
);
11767 static PyObject
*_wrap_ScrollEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
;
11769 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11771 PyObject
* obj0
= 0 ;
11772 char *kwnames
[] = {
11773 (char *) "self", NULL
11776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11780 result
= (int)((wxScrollEvent
const *)arg1
)->GetPosition();
11782 wxPyEndAllowThreads(__tstate
);
11783 if (PyErr_Occurred()) SWIG_fail
;
11785 resultobj
= PyInt_FromLong((long)result
);
11792 static PyObject
*_wrap_ScrollEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11793 PyObject
*resultobj
;
11794 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11796 PyObject
* obj0
= 0 ;
11797 char *kwnames
[] = {
11798 (char *) "self",(char *) "orient", NULL
11801 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11802 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11805 (arg1
)->SetOrientation(arg2
);
11807 wxPyEndAllowThreads(__tstate
);
11808 if (PyErr_Occurred()) SWIG_fail
;
11810 Py_INCREF(Py_None
); resultobj
= Py_None
;
11817 static PyObject
*_wrap_ScrollEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11818 PyObject
*resultobj
;
11819 wxScrollEvent
*arg1
= (wxScrollEvent
*) 0 ;
11821 PyObject
* obj0
= 0 ;
11822 char *kwnames
[] = {
11823 (char *) "self",(char *) "pos", NULL
11826 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11827 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11830 (arg1
)->SetPosition(arg2
);
11832 wxPyEndAllowThreads(__tstate
);
11833 if (PyErr_Occurred()) SWIG_fail
;
11835 Py_INCREF(Py_None
); resultobj
= Py_None
;
11842 static PyObject
* ScrollEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11844 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11845 SWIG_TypeClientData(SWIGTYPE_p_wxScrollEvent
, obj
);
11847 return Py_BuildValue((char *)"");
11849 static PyObject
*_wrap_new_ScrollWinEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11850 PyObject
*resultobj
;
11851 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11852 int arg2
= (int) 0 ;
11853 int arg3
= (int) 0 ;
11854 wxScrollWinEvent
*result
;
11855 char *kwnames
[] = {
11856 (char *) "commandType",(char *) "pos",(char *) "orient", NULL
11859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iii:new_ScrollWinEvent",kwnames
,&arg1
,&arg2
,&arg3
)) goto fail
;
11861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11862 result
= (wxScrollWinEvent
*)new wxScrollWinEvent(arg1
,arg2
,arg3
);
11864 wxPyEndAllowThreads(__tstate
);
11865 if (PyErr_Occurred()) SWIG_fail
;
11867 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxScrollWinEvent
, 1);
11874 static PyObject
*_wrap_ScrollWinEvent_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11875 PyObject
*resultobj
;
11876 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11878 PyObject
* obj0
= 0 ;
11879 char *kwnames
[] = {
11880 (char *) "self", NULL
11883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetOrientation",kwnames
,&obj0
)) goto fail
;
11884 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11887 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetOrientation();
11889 wxPyEndAllowThreads(__tstate
);
11890 if (PyErr_Occurred()) SWIG_fail
;
11892 resultobj
= PyInt_FromLong((long)result
);
11899 static PyObject
*_wrap_ScrollWinEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11900 PyObject
*resultobj
;
11901 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11903 PyObject
* obj0
= 0 ;
11904 char *kwnames
[] = {
11905 (char *) "self", NULL
11908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ScrollWinEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
11909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11912 result
= (int)((wxScrollWinEvent
const *)arg1
)->GetPosition();
11914 wxPyEndAllowThreads(__tstate
);
11915 if (PyErr_Occurred()) SWIG_fail
;
11917 resultobj
= PyInt_FromLong((long)result
);
11924 static PyObject
*_wrap_ScrollWinEvent_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11925 PyObject
*resultobj
;
11926 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11928 PyObject
* obj0
= 0 ;
11929 char *kwnames
[] = {
11930 (char *) "self",(char *) "orient", NULL
11933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
11934 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11937 (arg1
)->SetOrientation(arg2
);
11939 wxPyEndAllowThreads(__tstate
);
11940 if (PyErr_Occurred()) SWIG_fail
;
11942 Py_INCREF(Py_None
); resultobj
= Py_None
;
11949 static PyObject
*_wrap_ScrollWinEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11950 PyObject
*resultobj
;
11951 wxScrollWinEvent
*arg1
= (wxScrollWinEvent
*) 0 ;
11953 PyObject
* obj0
= 0 ;
11954 char *kwnames
[] = {
11955 (char *) "self",(char *) "pos", NULL
11958 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ScrollWinEvent_SetPosition",kwnames
,&obj0
,&arg2
)) goto fail
;
11959 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxScrollWinEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
11961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11962 (arg1
)->SetPosition(arg2
);
11964 wxPyEndAllowThreads(__tstate
);
11965 if (PyErr_Occurred()) SWIG_fail
;
11967 Py_INCREF(Py_None
); resultobj
= Py_None
;
11974 static PyObject
* ScrollWinEvent_swigregister(PyObject
*self
, PyObject
*args
) {
11976 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
11977 SWIG_TypeClientData(SWIGTYPE_p_wxScrollWinEvent
, obj
);
11979 return Py_BuildValue((char *)"");
11981 static PyObject
*_wrap_new_MouseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
11982 PyObject
*resultobj
;
11983 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
11984 wxMouseEvent
*result
;
11985 char *kwnames
[] = {
11986 (char *) "mouseType", NULL
11989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MouseEvent",kwnames
,&arg1
)) goto fail
;
11991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11992 result
= (wxMouseEvent
*)new wxMouseEvent(arg1
);
11994 wxPyEndAllowThreads(__tstate
);
11995 if (PyErr_Occurred()) SWIG_fail
;
11998 resultobj
= wxPyMake_wxObject(result
);
12006 static PyObject
*_wrap_MouseEvent_IsButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12007 PyObject
*resultobj
;
12008 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12010 PyObject
* obj0
= 0 ;
12011 char *kwnames
[] = {
12012 (char *) "self", NULL
12015 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsButton",kwnames
,&obj0
)) goto fail
;
12016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12019 result
= (bool)((wxMouseEvent
const *)arg1
)->IsButton();
12021 wxPyEndAllowThreads(__tstate
);
12022 if (PyErr_Occurred()) SWIG_fail
;
12024 resultobj
= PyInt_FromLong((long)result
);
12031 static PyObject
*_wrap_MouseEvent_ButtonDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12032 PyObject
*resultobj
;
12033 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12034 int arg2
= (int) wxMOUSE_BTN_ANY
;
12036 PyObject
* obj0
= 0 ;
12037 char *kwnames
[] = {
12038 (char *) "self",(char *) "but", NULL
12041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12045 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDown(arg2
);
12047 wxPyEndAllowThreads(__tstate
);
12048 if (PyErr_Occurred()) SWIG_fail
;
12050 resultobj
= PyInt_FromLong((long)result
);
12057 static PyObject
*_wrap_MouseEvent_ButtonDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12058 PyObject
*resultobj
;
12059 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12060 int arg2
= (int) wxMOUSE_BTN_ANY
;
12062 PyObject
* obj0
= 0 ;
12063 char *kwnames
[] = {
12064 (char *) "self",(char *) "but", NULL
12067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonDClick",kwnames
,&obj0
,&arg2
)) goto fail
;
12068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12071 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonDClick(arg2
);
12073 wxPyEndAllowThreads(__tstate
);
12074 if (PyErr_Occurred()) SWIG_fail
;
12076 resultobj
= PyInt_FromLong((long)result
);
12083 static PyObject
*_wrap_MouseEvent_ButtonUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12084 PyObject
*resultobj
;
12085 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12086 int arg2
= (int) wxMOUSE_BTN_ANY
;
12088 PyObject
* obj0
= 0 ;
12089 char *kwnames
[] = {
12090 (char *) "self",(char *) "but", NULL
12093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:MouseEvent_ButtonUp",kwnames
,&obj0
,&arg2
)) goto fail
;
12094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12097 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonUp(arg2
);
12099 wxPyEndAllowThreads(__tstate
);
12100 if (PyErr_Occurred()) SWIG_fail
;
12102 resultobj
= PyInt_FromLong((long)result
);
12109 static PyObject
*_wrap_MouseEvent_Button(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12110 PyObject
*resultobj
;
12111 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12114 PyObject
* obj0
= 0 ;
12115 char *kwnames
[] = {
12116 (char *) "self",(char *) "but", NULL
12119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_Button",kwnames
,&obj0
,&arg2
)) goto fail
;
12120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12123 result
= (bool)((wxMouseEvent
const *)arg1
)->Button(arg2
);
12125 wxPyEndAllowThreads(__tstate
);
12126 if (PyErr_Occurred()) SWIG_fail
;
12128 resultobj
= PyInt_FromLong((long)result
);
12135 static PyObject
*_wrap_MouseEvent_ButtonIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12136 PyObject
*resultobj
;
12137 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12140 PyObject
* obj0
= 0 ;
12141 char *kwnames
[] = {
12142 (char *) "self",(char *) "but", NULL
12145 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_ButtonIsDown",kwnames
,&obj0
,&arg2
)) goto fail
;
12146 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12149 result
= (bool)((wxMouseEvent
const *)arg1
)->ButtonIsDown(arg2
);
12151 wxPyEndAllowThreads(__tstate
);
12152 if (PyErr_Occurred()) SWIG_fail
;
12154 resultobj
= PyInt_FromLong((long)result
);
12161 static PyObject
*_wrap_MouseEvent_GetButton(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12162 PyObject
*resultobj
;
12163 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12165 PyObject
* obj0
= 0 ;
12166 char *kwnames
[] = {
12167 (char *) "self", NULL
12170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetButton",kwnames
,&obj0
)) goto fail
;
12171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12174 result
= (int)((wxMouseEvent
const *)arg1
)->GetButton();
12176 wxPyEndAllowThreads(__tstate
);
12177 if (PyErr_Occurred()) SWIG_fail
;
12179 resultobj
= PyInt_FromLong((long)result
);
12186 static PyObject
*_wrap_MouseEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12187 PyObject
*resultobj
;
12188 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12190 PyObject
* obj0
= 0 ;
12191 char *kwnames
[] = {
12192 (char *) "self", NULL
12195 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
12196 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12199 result
= (bool)((wxMouseEvent
const *)arg1
)->ControlDown();
12201 wxPyEndAllowThreads(__tstate
);
12202 if (PyErr_Occurred()) SWIG_fail
;
12204 resultobj
= PyInt_FromLong((long)result
);
12211 static PyObject
*_wrap_MouseEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12212 PyObject
*resultobj
;
12213 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12215 PyObject
* obj0
= 0 ;
12216 char *kwnames
[] = {
12217 (char *) "self", NULL
12220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
12221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12224 result
= (bool)((wxMouseEvent
const *)arg1
)->MetaDown();
12226 wxPyEndAllowThreads(__tstate
);
12227 if (PyErr_Occurred()) SWIG_fail
;
12229 resultobj
= PyInt_FromLong((long)result
);
12236 static PyObject
*_wrap_MouseEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12237 PyObject
*resultobj
;
12238 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12240 PyObject
* obj0
= 0 ;
12241 char *kwnames
[] = {
12242 (char *) "self", NULL
12245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_AltDown",kwnames
,&obj0
)) goto fail
;
12246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12249 result
= (bool)((wxMouseEvent
const *)arg1
)->AltDown();
12251 wxPyEndAllowThreads(__tstate
);
12252 if (PyErr_Occurred()) SWIG_fail
;
12254 resultobj
= PyInt_FromLong((long)result
);
12261 static PyObject
*_wrap_MouseEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12262 PyObject
*resultobj
;
12263 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12265 PyObject
* obj0
= 0 ;
12266 char *kwnames
[] = {
12267 (char *) "self", NULL
12270 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
12271 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= (bool)((wxMouseEvent
const *)arg1
)->ShiftDown();
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= PyInt_FromLong((long)result
);
12286 static PyObject
*_wrap_MouseEvent_LeftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12287 PyObject
*resultobj
;
12288 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12290 PyObject
* obj0
= 0 ;
12291 char *kwnames
[] = {
12292 (char *) "self", NULL
12295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDown",kwnames
,&obj0
)) goto fail
;
12296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12299 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDown();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= PyInt_FromLong((long)result
);
12311 static PyObject
*_wrap_MouseEvent_MiddleDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
;
12313 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12315 PyObject
* obj0
= 0 ;
12316 char *kwnames
[] = {
12317 (char *) "self", NULL
12320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDown",kwnames
,&obj0
)) goto fail
;
12321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12324 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDown();
12326 wxPyEndAllowThreads(__tstate
);
12327 if (PyErr_Occurred()) SWIG_fail
;
12329 resultobj
= PyInt_FromLong((long)result
);
12336 static PyObject
*_wrap_MouseEvent_RightDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12337 PyObject
*resultobj
;
12338 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12340 PyObject
* obj0
= 0 ;
12341 char *kwnames
[] = {
12342 (char *) "self", NULL
12345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDown",kwnames
,&obj0
)) goto fail
;
12346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12349 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDown();
12351 wxPyEndAllowThreads(__tstate
);
12352 if (PyErr_Occurred()) SWIG_fail
;
12354 resultobj
= PyInt_FromLong((long)result
);
12361 static PyObject
*_wrap_MouseEvent_LeftUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12362 PyObject
*resultobj
;
12363 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 char *kwnames
[] = {
12367 (char *) "self", NULL
12370 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftUp",kwnames
,&obj0
)) goto fail
;
12371 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12373 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12374 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftUp();
12376 wxPyEndAllowThreads(__tstate
);
12377 if (PyErr_Occurred()) SWIG_fail
;
12379 resultobj
= PyInt_FromLong((long)result
);
12386 static PyObject
*_wrap_MouseEvent_MiddleUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12387 PyObject
*resultobj
;
12388 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12390 PyObject
* obj0
= 0 ;
12391 char *kwnames
[] = {
12392 (char *) "self", NULL
12395 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleUp",kwnames
,&obj0
)) goto fail
;
12396 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12399 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleUp();
12401 wxPyEndAllowThreads(__tstate
);
12402 if (PyErr_Occurred()) SWIG_fail
;
12404 resultobj
= PyInt_FromLong((long)result
);
12411 static PyObject
*_wrap_MouseEvent_RightUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12412 PyObject
*resultobj
;
12413 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12415 PyObject
* obj0
= 0 ;
12416 char *kwnames
[] = {
12417 (char *) "self", NULL
12420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightUp",kwnames
,&obj0
)) goto fail
;
12421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12424 result
= (bool)((wxMouseEvent
const *)arg1
)->RightUp();
12426 wxPyEndAllowThreads(__tstate
);
12427 if (PyErr_Occurred()) SWIG_fail
;
12429 resultobj
= PyInt_FromLong((long)result
);
12436 static PyObject
*_wrap_MouseEvent_LeftDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12437 PyObject
*resultobj
;
12438 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12440 PyObject
* obj0
= 0 ;
12441 char *kwnames
[] = {
12442 (char *) "self", NULL
12445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftDClick",kwnames
,&obj0
)) goto fail
;
12446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12449 result
= (bool)((wxMouseEvent
const *)arg1
)->LeftDClick();
12451 wxPyEndAllowThreads(__tstate
);
12452 if (PyErr_Occurred()) SWIG_fail
;
12454 resultobj
= PyInt_FromLong((long)result
);
12461 static PyObject
*_wrap_MouseEvent_MiddleDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12462 PyObject
*resultobj
;
12463 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12465 PyObject
* obj0
= 0 ;
12466 char *kwnames
[] = {
12467 (char *) "self", NULL
12470 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleDClick",kwnames
,&obj0
)) goto fail
;
12471 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12474 result
= (bool)((wxMouseEvent
const *)arg1
)->MiddleDClick();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= PyInt_FromLong((long)result
);
12486 static PyObject
*_wrap_MouseEvent_RightDClick(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
;
12488 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12490 PyObject
* obj0
= 0 ;
12491 char *kwnames
[] = {
12492 (char *) "self", NULL
12495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightDClick",kwnames
,&obj0
)) goto fail
;
12496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12499 result
= (bool)((wxMouseEvent
const *)arg1
)->RightDClick();
12501 wxPyEndAllowThreads(__tstate
);
12502 if (PyErr_Occurred()) SWIG_fail
;
12504 resultobj
= PyInt_FromLong((long)result
);
12511 static PyObject
*_wrap_MouseEvent_LeftIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12512 PyObject
*resultobj
;
12513 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12515 PyObject
* obj0
= 0 ;
12516 char *kwnames
[] = {
12517 (char *) "self", NULL
12520 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_LeftIsDown",kwnames
,&obj0
)) goto fail
;
12521 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12524 result
= (bool)(arg1
)->LeftIsDown();
12526 wxPyEndAllowThreads(__tstate
);
12527 if (PyErr_Occurred()) SWIG_fail
;
12529 resultobj
= PyInt_FromLong((long)result
);
12536 static PyObject
*_wrap_MouseEvent_MiddleIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12537 PyObject
*resultobj
;
12538 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12540 PyObject
* obj0
= 0 ;
12541 char *kwnames
[] = {
12542 (char *) "self", NULL
12545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_MiddleIsDown",kwnames
,&obj0
)) goto fail
;
12546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12549 result
= (bool)(arg1
)->MiddleIsDown();
12551 wxPyEndAllowThreads(__tstate
);
12552 if (PyErr_Occurred()) SWIG_fail
;
12554 resultobj
= PyInt_FromLong((long)result
);
12561 static PyObject
*_wrap_MouseEvent_RightIsDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
;
12563 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12565 PyObject
* obj0
= 0 ;
12566 char *kwnames
[] = {
12567 (char *) "self", NULL
12570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_RightIsDown",kwnames
,&obj0
)) goto fail
;
12571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12574 result
= (bool)(arg1
)->RightIsDown();
12576 wxPyEndAllowThreads(__tstate
);
12577 if (PyErr_Occurred()) SWIG_fail
;
12579 resultobj
= PyInt_FromLong((long)result
);
12586 static PyObject
*_wrap_MouseEvent_Dragging(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12587 PyObject
*resultobj
;
12588 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12590 PyObject
* obj0
= 0 ;
12591 char *kwnames
[] = {
12592 (char *) "self", NULL
12595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Dragging",kwnames
,&obj0
)) goto fail
;
12596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12599 result
= (bool)((wxMouseEvent
const *)arg1
)->Dragging();
12601 wxPyEndAllowThreads(__tstate
);
12602 if (PyErr_Occurred()) SWIG_fail
;
12604 resultobj
= PyInt_FromLong((long)result
);
12611 static PyObject
*_wrap_MouseEvent_Moving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12612 PyObject
*resultobj
;
12613 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12615 PyObject
* obj0
= 0 ;
12616 char *kwnames
[] = {
12617 (char *) "self", NULL
12620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Moving",kwnames
,&obj0
)) goto fail
;
12621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12624 result
= (bool)((wxMouseEvent
const *)arg1
)->Moving();
12626 wxPyEndAllowThreads(__tstate
);
12627 if (PyErr_Occurred()) SWIG_fail
;
12629 resultobj
= PyInt_FromLong((long)result
);
12636 static PyObject
*_wrap_MouseEvent_Entering(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12637 PyObject
*resultobj
;
12638 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12640 PyObject
* obj0
= 0 ;
12641 char *kwnames
[] = {
12642 (char *) "self", NULL
12645 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Entering",kwnames
,&obj0
)) goto fail
;
12646 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12648 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12649 result
= (bool)((wxMouseEvent
const *)arg1
)->Entering();
12651 wxPyEndAllowThreads(__tstate
);
12652 if (PyErr_Occurred()) SWIG_fail
;
12654 resultobj
= PyInt_FromLong((long)result
);
12661 static PyObject
*_wrap_MouseEvent_Leaving(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12662 PyObject
*resultobj
;
12663 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12665 PyObject
* obj0
= 0 ;
12666 char *kwnames
[] = {
12667 (char *) "self", NULL
12670 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_Leaving",kwnames
,&obj0
)) goto fail
;
12671 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12674 result
= (bool)((wxMouseEvent
const *)arg1
)->Leaving();
12676 wxPyEndAllowThreads(__tstate
);
12677 if (PyErr_Occurred()) SWIG_fail
;
12679 resultobj
= PyInt_FromLong((long)result
);
12686 static PyObject
*_wrap_MouseEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12687 PyObject
*resultobj
;
12688 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12690 PyObject
* obj0
= 0 ;
12691 char *kwnames
[] = {
12692 (char *) "self", NULL
12695 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
12696 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12699 result
= (arg1
)->GetPosition();
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12705 wxPoint
* resultptr
;
12706 resultptr
= new wxPoint((wxPoint
&) result
);
12707 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12715 static PyObject
*_wrap_MouseEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12716 PyObject
*resultobj
;
12717 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12718 long *arg2
= (long *) 0 ;
12719 long *arg3
= (long *) 0 ;
12722 PyObject
* obj0
= 0 ;
12723 char *kwnames
[] = {
12724 (char *) "self", NULL
12729 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
12730 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12733 (arg1
)->GetPosition(arg2
,arg3
);
12735 wxPyEndAllowThreads(__tstate
);
12736 if (PyErr_Occurred()) SWIG_fail
;
12738 Py_INCREF(Py_None
); resultobj
= Py_None
;
12740 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
12741 resultobj
= t_output_helper(resultobj
,o
);
12744 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
12745 resultobj
= t_output_helper(resultobj
,o
);
12753 static PyObject
*_wrap_MouseEvent_GetLogicalPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12754 PyObject
*resultobj
;
12755 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12758 PyObject
* obj0
= 0 ;
12759 PyObject
* obj1
= 0 ;
12760 char *kwnames
[] = {
12761 (char *) "self",(char *) "dc", NULL
12764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_GetLogicalPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
12765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12766 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12767 if (arg2
== NULL
) {
12768 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
12771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12772 result
= ((wxMouseEvent
const *)arg1
)->GetLogicalPosition((wxDC
const &)*arg2
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 wxPoint
* resultptr
;
12779 resultptr
= new wxPoint((wxPoint
&) result
);
12780 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
12788 static PyObject
*_wrap_MouseEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12789 PyObject
*resultobj
;
12790 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12792 PyObject
* obj0
= 0 ;
12793 char *kwnames
[] = {
12794 (char *) "self", NULL
12797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetX",kwnames
,&obj0
)) goto fail
;
12798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12801 result
= (int)((wxMouseEvent
const *)arg1
)->GetX();
12803 wxPyEndAllowThreads(__tstate
);
12804 if (PyErr_Occurred()) SWIG_fail
;
12806 resultobj
= PyInt_FromLong((long)result
);
12813 static PyObject
*_wrap_MouseEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12814 PyObject
*resultobj
;
12815 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12817 PyObject
* obj0
= 0 ;
12818 char *kwnames
[] = {
12819 (char *) "self", NULL
12822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetY",kwnames
,&obj0
)) goto fail
;
12823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12826 result
= (int)((wxMouseEvent
const *)arg1
)->GetY();
12828 wxPyEndAllowThreads(__tstate
);
12829 if (PyErr_Occurred()) SWIG_fail
;
12831 resultobj
= PyInt_FromLong((long)result
);
12838 static PyObject
*_wrap_MouseEvent_GetWheelRotation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
;
12840 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12842 PyObject
* obj0
= 0 ;
12843 char *kwnames
[] = {
12844 (char *) "self", NULL
12847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelRotation",kwnames
,&obj0
)) goto fail
;
12848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12851 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelRotation();
12853 wxPyEndAllowThreads(__tstate
);
12854 if (PyErr_Occurred()) SWIG_fail
;
12856 resultobj
= PyInt_FromLong((long)result
);
12863 static PyObject
*_wrap_MouseEvent_GetWheelDelta(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12864 PyObject
*resultobj
;
12865 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12867 PyObject
* obj0
= 0 ;
12868 char *kwnames
[] = {
12869 (char *) "self", NULL
12872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetWheelDelta",kwnames
,&obj0
)) goto fail
;
12873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12876 result
= (int)((wxMouseEvent
const *)arg1
)->GetWheelDelta();
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12881 resultobj
= PyInt_FromLong((long)result
);
12888 static PyObject
*_wrap_MouseEvent_GetLinesPerAction(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12889 PyObject
*resultobj
;
12890 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12892 PyObject
* obj0
= 0 ;
12893 char *kwnames
[] = {
12894 (char *) "self", NULL
12897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_GetLinesPerAction",kwnames
,&obj0
)) goto fail
;
12898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12901 result
= (int)((wxMouseEvent
const *)arg1
)->GetLinesPerAction();
12903 wxPyEndAllowThreads(__tstate
);
12904 if (PyErr_Occurred()) SWIG_fail
;
12906 resultobj
= PyInt_FromLong((long)result
);
12913 static PyObject
*_wrap_MouseEvent_IsPageScroll(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12914 PyObject
*resultobj
;
12915 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12917 PyObject
* obj0
= 0 ;
12918 char *kwnames
[] = {
12919 (char *) "self", NULL
12922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_IsPageScroll",kwnames
,&obj0
)) goto fail
;
12923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 result
= (bool)((wxMouseEvent
const *)arg1
)->IsPageScroll();
12928 wxPyEndAllowThreads(__tstate
);
12929 if (PyErr_Occurred()) SWIG_fail
;
12931 resultobj
= PyInt_FromLong((long)result
);
12938 static PyObject
*_wrap_MouseEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12939 PyObject
*resultobj
;
12940 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12942 PyObject
* obj0
= 0 ;
12943 char *kwnames
[] = {
12944 (char *) "self",(char *) "m_x", NULL
12947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12949 if (arg1
) (arg1
)->m_x
= arg2
;
12951 Py_INCREF(Py_None
); resultobj
= Py_None
;
12958 static PyObject
*_wrap_MouseEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12959 PyObject
*resultobj
;
12960 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12962 PyObject
* obj0
= 0 ;
12963 char *kwnames
[] = {
12964 (char *) "self", NULL
12967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
12968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12969 result
= (int) ((arg1
)->m_x
);
12971 resultobj
= PyInt_FromLong((long)result
);
12978 static PyObject
*_wrap_MouseEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12979 PyObject
*resultobj
;
12980 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
12982 PyObject
* obj0
= 0 ;
12983 char *kwnames
[] = {
12984 (char *) "self",(char *) "m_y", NULL
12987 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
12988 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
12989 if (arg1
) (arg1
)->m_y
= arg2
;
12991 Py_INCREF(Py_None
); resultobj
= Py_None
;
12998 static PyObject
*_wrap_MouseEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
12999 PyObject
*resultobj
;
13000 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13002 PyObject
* obj0
= 0 ;
13003 char *kwnames
[] = {
13004 (char *) "self", NULL
13007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
13008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13009 result
= (int) ((arg1
)->m_y
);
13011 resultobj
= PyInt_FromLong((long)result
);
13018 static PyObject
*_wrap_MouseEvent_m_leftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13019 PyObject
*resultobj
;
13020 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13022 PyObject
* obj0
= 0 ;
13023 PyObject
* obj1
= 0 ;
13024 char *kwnames
[] = {
13025 (char *) "self",(char *) "m_leftDown", NULL
13028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_leftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13030 arg2
= PyInt_AsLong(obj1
) ? true : false;
13031 if (PyErr_Occurred()) SWIG_fail
;
13032 if (arg1
) (arg1
)->m_leftDown
= arg2
;
13034 Py_INCREF(Py_None
); resultobj
= Py_None
;
13041 static PyObject
*_wrap_MouseEvent_m_leftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13042 PyObject
*resultobj
;
13043 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13045 PyObject
* obj0
= 0 ;
13046 char *kwnames
[] = {
13047 (char *) "self", NULL
13050 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_leftDown_get",kwnames
,&obj0
)) goto fail
;
13051 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13052 result
= (bool) ((arg1
)->m_leftDown
);
13054 resultobj
= PyInt_FromLong((long)result
);
13061 static PyObject
*_wrap_MouseEvent_m_middleDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13062 PyObject
*resultobj
;
13063 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13065 PyObject
* obj0
= 0 ;
13066 PyObject
* obj1
= 0 ;
13067 char *kwnames
[] = {
13068 (char *) "self",(char *) "m_middleDown", NULL
13071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_middleDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13073 arg2
= PyInt_AsLong(obj1
) ? true : false;
13074 if (PyErr_Occurred()) SWIG_fail
;
13075 if (arg1
) (arg1
)->m_middleDown
= arg2
;
13077 Py_INCREF(Py_None
); resultobj
= Py_None
;
13084 static PyObject
*_wrap_MouseEvent_m_middleDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13085 PyObject
*resultobj
;
13086 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13088 PyObject
* obj0
= 0 ;
13089 char *kwnames
[] = {
13090 (char *) "self", NULL
13093 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_middleDown_get",kwnames
,&obj0
)) goto fail
;
13094 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13095 result
= (bool) ((arg1
)->m_middleDown
);
13097 resultobj
= PyInt_FromLong((long)result
);
13104 static PyObject
*_wrap_MouseEvent_m_rightDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13105 PyObject
*resultobj
;
13106 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13108 PyObject
* obj0
= 0 ;
13109 PyObject
* obj1
= 0 ;
13110 char *kwnames
[] = {
13111 (char *) "self",(char *) "m_rightDown", NULL
13114 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_rightDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13115 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13116 arg2
= PyInt_AsLong(obj1
) ? true : false;
13117 if (PyErr_Occurred()) SWIG_fail
;
13118 if (arg1
) (arg1
)->m_rightDown
= arg2
;
13120 Py_INCREF(Py_None
); resultobj
= Py_None
;
13127 static PyObject
*_wrap_MouseEvent_m_rightDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13128 PyObject
*resultobj
;
13129 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13131 PyObject
* obj0
= 0 ;
13132 char *kwnames
[] = {
13133 (char *) "self", NULL
13136 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_rightDown_get",kwnames
,&obj0
)) goto fail
;
13137 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13138 result
= (bool) ((arg1
)->m_rightDown
);
13140 resultobj
= PyInt_FromLong((long)result
);
13147 static PyObject
*_wrap_MouseEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13148 PyObject
*resultobj
;
13149 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13151 PyObject
* obj0
= 0 ;
13152 PyObject
* obj1
= 0 ;
13153 char *kwnames
[] = {
13154 (char *) "self",(char *) "m_controlDown", NULL
13157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13159 arg2
= PyInt_AsLong(obj1
) ? true : false;
13160 if (PyErr_Occurred()) SWIG_fail
;
13161 if (arg1
) (arg1
)->m_controlDown
= arg2
;
13163 Py_INCREF(Py_None
); resultobj
= Py_None
;
13170 static PyObject
*_wrap_MouseEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13171 PyObject
*resultobj
;
13172 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13174 PyObject
* obj0
= 0 ;
13175 char *kwnames
[] = {
13176 (char *) "self", NULL
13179 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
13180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13181 result
= (bool) ((arg1
)->m_controlDown
);
13183 resultobj
= PyInt_FromLong((long)result
);
13190 static PyObject
*_wrap_MouseEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13191 PyObject
*resultobj
;
13192 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13194 PyObject
* obj0
= 0 ;
13195 PyObject
* obj1
= 0 ;
13196 char *kwnames
[] = {
13197 (char *) "self",(char *) "m_shiftDown", NULL
13200 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13201 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13202 arg2
= PyInt_AsLong(obj1
) ? true : false;
13203 if (PyErr_Occurred()) SWIG_fail
;
13204 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
13206 Py_INCREF(Py_None
); resultobj
= Py_None
;
13213 static PyObject
*_wrap_MouseEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13214 PyObject
*resultobj
;
13215 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13217 PyObject
* obj0
= 0 ;
13218 char *kwnames
[] = {
13219 (char *) "self", NULL
13222 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
13223 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13224 result
= (bool) ((arg1
)->m_shiftDown
);
13226 resultobj
= PyInt_FromLong((long)result
);
13233 static PyObject
*_wrap_MouseEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13234 PyObject
*resultobj
;
13235 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13237 PyObject
* obj0
= 0 ;
13238 PyObject
* obj1
= 0 ;
13239 char *kwnames
[] = {
13240 (char *) "self",(char *) "m_altDown", NULL
13243 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13244 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13245 arg2
= PyInt_AsLong(obj1
) ? true : false;
13246 if (PyErr_Occurred()) SWIG_fail
;
13247 if (arg1
) (arg1
)->m_altDown
= arg2
;
13249 Py_INCREF(Py_None
); resultobj
= Py_None
;
13256 static PyObject
*_wrap_MouseEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
;
13258 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13260 PyObject
* obj0
= 0 ;
13261 char *kwnames
[] = {
13262 (char *) "self", NULL
13265 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
13266 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13267 result
= (bool) ((arg1
)->m_altDown
);
13269 resultobj
= PyInt_FromLong((long)result
);
13276 static PyObject
*_wrap_MouseEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13277 PyObject
*resultobj
;
13278 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13280 PyObject
* obj0
= 0 ;
13281 PyObject
* obj1
= 0 ;
13282 char *kwnames
[] = {
13283 (char *) "self",(char *) "m_metaDown", NULL
13286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MouseEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
13287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13288 arg2
= PyInt_AsLong(obj1
) ? true : false;
13289 if (PyErr_Occurred()) SWIG_fail
;
13290 if (arg1
) (arg1
)->m_metaDown
= arg2
;
13292 Py_INCREF(Py_None
); resultobj
= Py_None
;
13299 static PyObject
*_wrap_MouseEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13300 PyObject
*resultobj
;
13301 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13303 PyObject
* obj0
= 0 ;
13304 char *kwnames
[] = {
13305 (char *) "self", NULL
13308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
13309 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13310 result
= (bool) ((arg1
)->m_metaDown
);
13312 resultobj
= PyInt_FromLong((long)result
);
13319 static PyObject
*_wrap_MouseEvent_m_wheelRotation_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13320 PyObject
*resultobj
;
13321 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13323 PyObject
* obj0
= 0 ;
13324 char *kwnames
[] = {
13325 (char *) "self",(char *) "m_wheelRotation", NULL
13328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelRotation_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13329 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13330 if (arg1
) (arg1
)->m_wheelRotation
= arg2
;
13332 Py_INCREF(Py_None
); resultobj
= Py_None
;
13339 static PyObject
*_wrap_MouseEvent_m_wheelRotation_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13340 PyObject
*resultobj
;
13341 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13343 PyObject
* obj0
= 0 ;
13344 char *kwnames
[] = {
13345 (char *) "self", NULL
13348 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelRotation_get",kwnames
,&obj0
)) goto fail
;
13349 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13350 result
= (int) ((arg1
)->m_wheelRotation
);
13352 resultobj
= PyInt_FromLong((long)result
);
13359 static PyObject
*_wrap_MouseEvent_m_wheelDelta_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13360 PyObject
*resultobj
;
13361 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13363 PyObject
* obj0
= 0 ;
13364 char *kwnames
[] = {
13365 (char *) "self",(char *) "m_wheelDelta", NULL
13368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_wheelDelta_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13370 if (arg1
) (arg1
)->m_wheelDelta
= arg2
;
13372 Py_INCREF(Py_None
); resultobj
= Py_None
;
13379 static PyObject
*_wrap_MouseEvent_m_wheelDelta_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13380 PyObject
*resultobj
;
13381 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13383 PyObject
* obj0
= 0 ;
13384 char *kwnames
[] = {
13385 (char *) "self", NULL
13388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_wheelDelta_get",kwnames
,&obj0
)) goto fail
;
13389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13390 result
= (int) ((arg1
)->m_wheelDelta
);
13392 resultobj
= PyInt_FromLong((long)result
);
13399 static PyObject
*_wrap_MouseEvent_m_linesPerAction_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13400 PyObject
*resultobj
;
13401 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13403 PyObject
* obj0
= 0 ;
13404 char *kwnames
[] = {
13405 (char *) "self",(char *) "m_linesPerAction", NULL
13408 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MouseEvent_m_linesPerAction_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13409 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13410 if (arg1
) (arg1
)->m_linesPerAction
= arg2
;
13412 Py_INCREF(Py_None
); resultobj
= Py_None
;
13419 static PyObject
*_wrap_MouseEvent_m_linesPerAction_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13420 PyObject
*resultobj
;
13421 wxMouseEvent
*arg1
= (wxMouseEvent
*) 0 ;
13423 PyObject
* obj0
= 0 ;
13424 char *kwnames
[] = {
13425 (char *) "self", NULL
13428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseEvent_m_linesPerAction_get",kwnames
,&obj0
)) goto fail
;
13429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13430 result
= (int) ((arg1
)->m_linesPerAction
);
13432 resultobj
= PyInt_FromLong((long)result
);
13439 static PyObject
* MouseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13441 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13442 SWIG_TypeClientData(SWIGTYPE_p_wxMouseEvent
, obj
);
13444 return Py_BuildValue((char *)"");
13446 static PyObject
*_wrap_new_SetCursorEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13447 PyObject
*resultobj
;
13448 int arg1
= (int) 0 ;
13449 int arg2
= (int) 0 ;
13450 wxSetCursorEvent
*result
;
13451 char *kwnames
[] = {
13452 (char *) "x",(char *) "y", NULL
13455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_SetCursorEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (wxSetCursorEvent
*)new wxSetCursorEvent(arg1
,arg2
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSetCursorEvent
, 1);
13470 static PyObject
*_wrap_SetCursorEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13471 PyObject
*resultobj
;
13472 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13474 PyObject
* obj0
= 0 ;
13475 char *kwnames
[] = {
13476 (char *) "self", NULL
13479 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetX",kwnames
,&obj0
)) goto fail
;
13480 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetX();
13485 wxPyEndAllowThreads(__tstate
);
13486 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= PyInt_FromLong((long)result
);
13495 static PyObject
*_wrap_SetCursorEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13496 PyObject
*resultobj
;
13497 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13499 PyObject
* obj0
= 0 ;
13500 char *kwnames
[] = {
13501 (char *) "self", NULL
13504 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetY",kwnames
,&obj0
)) goto fail
;
13505 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13508 result
= (int)((wxSetCursorEvent
const *)arg1
)->GetY();
13510 wxPyEndAllowThreads(__tstate
);
13511 if (PyErr_Occurred()) SWIG_fail
;
13513 resultobj
= PyInt_FromLong((long)result
);
13520 static PyObject
*_wrap_SetCursorEvent_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13521 PyObject
*resultobj
;
13522 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13523 wxCursor
*arg2
= 0 ;
13524 PyObject
* obj0
= 0 ;
13525 PyObject
* obj1
= 0 ;
13526 char *kwnames
[] = {
13527 (char *) "self",(char *) "cursor", NULL
13530 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SetCursorEvent_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
13531 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13532 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13533 if (arg2
== NULL
) {
13534 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
13537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13538 (arg1
)->SetCursor((wxCursor
const &)*arg2
);
13540 wxPyEndAllowThreads(__tstate
);
13541 if (PyErr_Occurred()) SWIG_fail
;
13543 Py_INCREF(Py_None
); resultobj
= Py_None
;
13550 static PyObject
*_wrap_SetCursorEvent_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13551 PyObject
*resultobj
;
13552 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13554 PyObject
* obj0
= 0 ;
13555 char *kwnames
[] = {
13556 (char *) "self", NULL
13559 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_GetCursor",kwnames
,&obj0
)) goto fail
;
13560 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13564 wxCursor
const &_result_ref
= ((wxSetCursorEvent
const *)arg1
)->GetCursor();
13565 result
= (wxCursor
*) &_result_ref
;
13568 wxPyEndAllowThreads(__tstate
);
13569 if (PyErr_Occurred()) SWIG_fail
;
13571 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
13578 static PyObject
*_wrap_SetCursorEvent_HasCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13579 PyObject
*resultobj
;
13580 wxSetCursorEvent
*arg1
= (wxSetCursorEvent
*) 0 ;
13582 PyObject
* obj0
= 0 ;
13583 char *kwnames
[] = {
13584 (char *) "self", NULL
13587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SetCursorEvent_HasCursor",kwnames
,&obj0
)) goto fail
;
13588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSetCursorEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13591 result
= (bool)((wxSetCursorEvent
const *)arg1
)->HasCursor();
13593 wxPyEndAllowThreads(__tstate
);
13594 if (PyErr_Occurred()) SWIG_fail
;
13596 resultobj
= PyInt_FromLong((long)result
);
13603 static PyObject
* SetCursorEvent_swigregister(PyObject
*self
, PyObject
*args
) {
13605 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
13606 SWIG_TypeClientData(SWIGTYPE_p_wxSetCursorEvent
, obj
);
13608 return Py_BuildValue((char *)"");
13610 static PyObject
*_wrap_new_KeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13611 PyObject
*resultobj
;
13612 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
13613 wxKeyEvent
*result
;
13614 char *kwnames
[] = {
13615 (char *) "keyType", NULL
13618 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_KeyEvent",kwnames
,&arg1
)) goto fail
;
13620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13621 result
= (wxKeyEvent
*)new wxKeyEvent(arg1
);
13623 wxPyEndAllowThreads(__tstate
);
13624 if (PyErr_Occurred()) SWIG_fail
;
13626 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxKeyEvent
, 1);
13633 static PyObject
*_wrap_KeyEvent_ControlDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
;
13635 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13637 PyObject
* obj0
= 0 ;
13638 char *kwnames
[] = {
13639 (char *) "self", NULL
13642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ControlDown",kwnames
,&obj0
)) goto fail
;
13643 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13646 result
= (bool)((wxKeyEvent
const *)arg1
)->ControlDown();
13648 wxPyEndAllowThreads(__tstate
);
13649 if (PyErr_Occurred()) SWIG_fail
;
13651 resultobj
= PyInt_FromLong((long)result
);
13658 static PyObject
*_wrap_KeyEvent_MetaDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13659 PyObject
*resultobj
;
13660 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13662 PyObject
* obj0
= 0 ;
13663 char *kwnames
[] = {
13664 (char *) "self", NULL
13667 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_MetaDown",kwnames
,&obj0
)) goto fail
;
13668 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13671 result
= (bool)((wxKeyEvent
const *)arg1
)->MetaDown();
13673 wxPyEndAllowThreads(__tstate
);
13674 if (PyErr_Occurred()) SWIG_fail
;
13676 resultobj
= PyInt_FromLong((long)result
);
13683 static PyObject
*_wrap_KeyEvent_AltDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13684 PyObject
*resultobj
;
13685 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13687 PyObject
* obj0
= 0 ;
13688 char *kwnames
[] = {
13689 (char *) "self", NULL
13692 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_AltDown",kwnames
,&obj0
)) goto fail
;
13693 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13696 result
= (bool)((wxKeyEvent
const *)arg1
)->AltDown();
13698 wxPyEndAllowThreads(__tstate
);
13699 if (PyErr_Occurred()) SWIG_fail
;
13701 resultobj
= PyInt_FromLong((long)result
);
13708 static PyObject
*_wrap_KeyEvent_ShiftDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13709 PyObject
*resultobj
;
13710 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13712 PyObject
* obj0
= 0 ;
13713 char *kwnames
[] = {
13714 (char *) "self", NULL
13717 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_ShiftDown",kwnames
,&obj0
)) goto fail
;
13718 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13721 result
= (bool)((wxKeyEvent
const *)arg1
)->ShiftDown();
13723 wxPyEndAllowThreads(__tstate
);
13724 if (PyErr_Occurred()) SWIG_fail
;
13726 resultobj
= PyInt_FromLong((long)result
);
13733 static PyObject
*_wrap_KeyEvent_HasModifiers(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13734 PyObject
*resultobj
;
13735 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13737 PyObject
* obj0
= 0 ;
13738 char *kwnames
[] = {
13739 (char *) "self", NULL
13742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_HasModifiers",kwnames
,&obj0
)) goto fail
;
13743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13746 result
= (bool)((wxKeyEvent
const *)arg1
)->HasModifiers();
13748 wxPyEndAllowThreads(__tstate
);
13749 if (PyErr_Occurred()) SWIG_fail
;
13751 resultobj
= PyInt_FromLong((long)result
);
13758 static PyObject
*_wrap_KeyEvent_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13759 PyObject
*resultobj
;
13760 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 char *kwnames
[] = {
13764 (char *) "self", NULL
13767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetKeyCode",kwnames
,&obj0
)) goto fail
;
13768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13771 result
= (int)((wxKeyEvent
const *)arg1
)->GetKeyCode();
13773 wxPyEndAllowThreads(__tstate
);
13774 if (PyErr_Occurred()) SWIG_fail
;
13776 resultobj
= PyInt_FromLong((long)result
);
13783 static PyObject
*_wrap_KeyEvent_GetUniChar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13784 PyObject
*resultobj
;
13785 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13787 PyObject
* obj0
= 0 ;
13788 char *kwnames
[] = {
13789 (char *) "self", NULL
13792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetUniChar",kwnames
,&obj0
)) goto fail
;
13793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13796 result
= (int)wxKeyEvent_GetUniChar(arg1
);
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= PyInt_FromLong((long)result
);
13808 static PyObject
*_wrap_KeyEvent_GetRawKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13809 PyObject
*resultobj
;
13810 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13811 unsigned int result
;
13812 PyObject
* obj0
= 0 ;
13813 char *kwnames
[] = {
13814 (char *) "self", NULL
13817 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyCode",kwnames
,&obj0
)) goto fail
;
13818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13821 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyCode();
13823 wxPyEndAllowThreads(__tstate
);
13824 if (PyErr_Occurred()) SWIG_fail
;
13826 resultobj
= PyInt_FromLong((long)result
);
13833 static PyObject
*_wrap_KeyEvent_GetRawKeyFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13834 PyObject
*resultobj
;
13835 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13836 unsigned int result
;
13837 PyObject
* obj0
= 0 ;
13838 char *kwnames
[] = {
13839 (char *) "self", NULL
13842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetRawKeyFlags",kwnames
,&obj0
)) goto fail
;
13843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13846 result
= (unsigned int)((wxKeyEvent
const *)arg1
)->GetRawKeyFlags();
13848 wxPyEndAllowThreads(__tstate
);
13849 if (PyErr_Occurred()) SWIG_fail
;
13851 resultobj
= PyInt_FromLong((long)result
);
13858 static PyObject
*_wrap_KeyEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13859 PyObject
*resultobj
;
13860 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13862 PyObject
* obj0
= 0 ;
13863 char *kwnames
[] = {
13864 (char *) "self", NULL
13867 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
13868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (arg1
)->GetPosition();
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13877 wxPoint
* resultptr
;
13878 resultptr
= new wxPoint((wxPoint
&) result
);
13879 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
13887 static PyObject
*_wrap_KeyEvent_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13888 PyObject
*resultobj
;
13889 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13890 long *arg2
= (long *) 0 ;
13891 long *arg3
= (long *) 0 ;
13894 PyObject
* obj0
= 0 ;
13895 char *kwnames
[] = {
13896 (char *) "self", NULL
13901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
13902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13905 (arg1
)->GetPosition(arg2
,arg3
);
13907 wxPyEndAllowThreads(__tstate
);
13908 if (PyErr_Occurred()) SWIG_fail
;
13910 Py_INCREF(Py_None
); resultobj
= Py_None
;
13912 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
13913 resultobj
= t_output_helper(resultobj
,o
);
13916 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
13917 resultobj
= t_output_helper(resultobj
,o
);
13925 static PyObject
*_wrap_KeyEvent_GetX(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13926 PyObject
*resultobj
;
13927 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13929 PyObject
* obj0
= 0 ;
13930 char *kwnames
[] = {
13931 (char *) "self", NULL
13934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetX",kwnames
,&obj0
)) goto fail
;
13935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13938 result
= (int)((wxKeyEvent
const *)arg1
)->GetX();
13940 wxPyEndAllowThreads(__tstate
);
13941 if (PyErr_Occurred()) SWIG_fail
;
13943 resultobj
= PyInt_FromLong((long)result
);
13950 static PyObject
*_wrap_KeyEvent_GetY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13951 PyObject
*resultobj
;
13952 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13954 PyObject
* obj0
= 0 ;
13955 char *kwnames
[] = {
13956 (char *) "self", NULL
13959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_GetY",kwnames
,&obj0
)) goto fail
;
13960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13963 result
= (int)((wxKeyEvent
const *)arg1
)->GetY();
13965 wxPyEndAllowThreads(__tstate
);
13966 if (PyErr_Occurred()) SWIG_fail
;
13968 resultobj
= PyInt_FromLong((long)result
);
13975 static PyObject
*_wrap_KeyEvent_m_x_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13976 PyObject
*resultobj
;
13977 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13979 PyObject
* obj0
= 0 ;
13980 char *kwnames
[] = {
13981 (char *) "self",(char *) "m_x", NULL
13984 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_x_set",kwnames
,&obj0
,&arg2
)) goto fail
;
13985 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
13986 if (arg1
) (arg1
)->m_x
= arg2
;
13988 Py_INCREF(Py_None
); resultobj
= Py_None
;
13995 static PyObject
*_wrap_KeyEvent_m_x_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
13996 PyObject
*resultobj
;
13997 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
13999 PyObject
* obj0
= 0 ;
14000 char *kwnames
[] = {
14001 (char *) "self", NULL
14004 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_x_get",kwnames
,&obj0
)) goto fail
;
14005 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14006 result
= (int) ((arg1
)->m_x
);
14008 resultobj
= PyInt_FromLong((long)result
);
14015 static PyObject
*_wrap_KeyEvent_m_y_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14016 PyObject
*resultobj
;
14017 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14019 PyObject
* obj0
= 0 ;
14020 char *kwnames
[] = {
14021 (char *) "self",(char *) "m_y", NULL
14024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:KeyEvent_m_y_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14026 if (arg1
) (arg1
)->m_y
= arg2
;
14028 Py_INCREF(Py_None
); resultobj
= Py_None
;
14035 static PyObject
*_wrap_KeyEvent_m_y_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14036 PyObject
*resultobj
;
14037 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14039 PyObject
* obj0
= 0 ;
14040 char *kwnames
[] = {
14041 (char *) "self", NULL
14044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_y_get",kwnames
,&obj0
)) goto fail
;
14045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14046 result
= (int) ((arg1
)->m_y
);
14048 resultobj
= PyInt_FromLong((long)result
);
14055 static PyObject
*_wrap_KeyEvent_m_keyCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14056 PyObject
*resultobj
;
14057 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14059 PyObject
* obj0
= 0 ;
14060 char *kwnames
[] = {
14061 (char *) "self",(char *) "m_keyCode", NULL
14064 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:KeyEvent_m_keyCode_set",kwnames
,&obj0
,&arg2
)) goto fail
;
14065 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14066 if (arg1
) (arg1
)->m_keyCode
= arg2
;
14068 Py_INCREF(Py_None
); resultobj
= Py_None
;
14075 static PyObject
*_wrap_KeyEvent_m_keyCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14076 PyObject
*resultobj
;
14077 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14079 PyObject
* obj0
= 0 ;
14080 char *kwnames
[] = {
14081 (char *) "self", NULL
14084 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_keyCode_get",kwnames
,&obj0
)) goto fail
;
14085 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14086 result
= (long) ((arg1
)->m_keyCode
);
14088 resultobj
= PyInt_FromLong((long)result
);
14095 static PyObject
*_wrap_KeyEvent_m_controlDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14096 PyObject
*resultobj
;
14097 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14099 PyObject
* obj0
= 0 ;
14100 PyObject
* obj1
= 0 ;
14101 char *kwnames
[] = {
14102 (char *) "self",(char *) "m_controlDown", NULL
14105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_controlDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14107 arg2
= PyInt_AsLong(obj1
) ? true : false;
14108 if (PyErr_Occurred()) SWIG_fail
;
14109 if (arg1
) (arg1
)->m_controlDown
= arg2
;
14111 Py_INCREF(Py_None
); resultobj
= Py_None
;
14118 static PyObject
*_wrap_KeyEvent_m_controlDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14119 PyObject
*resultobj
;
14120 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14122 PyObject
* obj0
= 0 ;
14123 char *kwnames
[] = {
14124 (char *) "self", NULL
14127 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_controlDown_get",kwnames
,&obj0
)) goto fail
;
14128 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14129 result
= (bool) ((arg1
)->m_controlDown
);
14131 resultobj
= PyInt_FromLong((long)result
);
14138 static PyObject
*_wrap_KeyEvent_m_shiftDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14139 PyObject
*resultobj
;
14140 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14142 PyObject
* obj0
= 0 ;
14143 PyObject
* obj1
= 0 ;
14144 char *kwnames
[] = {
14145 (char *) "self",(char *) "m_shiftDown", NULL
14148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_shiftDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14150 arg2
= PyInt_AsLong(obj1
) ? true : false;
14151 if (PyErr_Occurred()) SWIG_fail
;
14152 if (arg1
) (arg1
)->m_shiftDown
= arg2
;
14154 Py_INCREF(Py_None
); resultobj
= Py_None
;
14161 static PyObject
*_wrap_KeyEvent_m_shiftDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14162 PyObject
*resultobj
;
14163 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14165 PyObject
* obj0
= 0 ;
14166 char *kwnames
[] = {
14167 (char *) "self", NULL
14170 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_shiftDown_get",kwnames
,&obj0
)) goto fail
;
14171 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14172 result
= (bool) ((arg1
)->m_shiftDown
);
14174 resultobj
= PyInt_FromLong((long)result
);
14181 static PyObject
*_wrap_KeyEvent_m_altDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14182 PyObject
*resultobj
;
14183 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14185 PyObject
* obj0
= 0 ;
14186 PyObject
* obj1
= 0 ;
14187 char *kwnames
[] = {
14188 (char *) "self",(char *) "m_altDown", NULL
14191 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_altDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14192 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14193 arg2
= PyInt_AsLong(obj1
) ? true : false;
14194 if (PyErr_Occurred()) SWIG_fail
;
14195 if (arg1
) (arg1
)->m_altDown
= arg2
;
14197 Py_INCREF(Py_None
); resultobj
= Py_None
;
14204 static PyObject
*_wrap_KeyEvent_m_altDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
;
14206 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 char *kwnames
[] = {
14210 (char *) "self", NULL
14213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_altDown_get",kwnames
,&obj0
)) goto fail
;
14214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14215 result
= (bool) ((arg1
)->m_altDown
);
14217 resultobj
= PyInt_FromLong((long)result
);
14224 static PyObject
*_wrap_KeyEvent_m_metaDown_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14225 PyObject
*resultobj
;
14226 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14228 PyObject
* obj0
= 0 ;
14229 PyObject
* obj1
= 0 ;
14230 char *kwnames
[] = {
14231 (char *) "self",(char *) "m_metaDown", NULL
14234 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_metaDown_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14235 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14236 arg2
= PyInt_AsLong(obj1
) ? true : false;
14237 if (PyErr_Occurred()) SWIG_fail
;
14238 if (arg1
) (arg1
)->m_metaDown
= arg2
;
14240 Py_INCREF(Py_None
); resultobj
= Py_None
;
14247 static PyObject
*_wrap_KeyEvent_m_metaDown_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14248 PyObject
*resultobj
;
14249 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14251 PyObject
* obj0
= 0 ;
14252 char *kwnames
[] = {
14253 (char *) "self", NULL
14256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_metaDown_get",kwnames
,&obj0
)) goto fail
;
14257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14258 result
= (bool) ((arg1
)->m_metaDown
);
14260 resultobj
= PyInt_FromLong((long)result
);
14267 static PyObject
*_wrap_KeyEvent_m_scanCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14268 PyObject
*resultobj
;
14269 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14271 PyObject
* obj0
= 0 ;
14272 PyObject
* obj1
= 0 ;
14273 char *kwnames
[] = {
14274 (char *) "self",(char *) "m_scanCode", NULL
14277 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_scanCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14278 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14279 arg2
= PyInt_AsLong(obj1
) ? true : false;
14280 if (PyErr_Occurred()) SWIG_fail
;
14281 if (arg1
) (arg1
)->m_scanCode
= arg2
;
14283 Py_INCREF(Py_None
); resultobj
= Py_None
;
14290 static PyObject
*_wrap_KeyEvent_m_scanCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14291 PyObject
*resultobj
;
14292 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14294 PyObject
* obj0
= 0 ;
14295 char *kwnames
[] = {
14296 (char *) "self", NULL
14299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_scanCode_get",kwnames
,&obj0
)) goto fail
;
14300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14301 result
= (bool) ((arg1
)->m_scanCode
);
14303 resultobj
= PyInt_FromLong((long)result
);
14310 static PyObject
*_wrap_KeyEvent_m_rawCode_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14311 PyObject
*resultobj
;
14312 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14313 unsigned int arg2
;
14314 PyObject
* obj0
= 0 ;
14315 PyObject
* obj1
= 0 ;
14316 char *kwnames
[] = {
14317 (char *) "self",(char *) "m_rawCode", NULL
14320 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawCode_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14321 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14322 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14323 if (PyErr_Occurred()) SWIG_fail
;
14324 if (arg1
) (arg1
)->m_rawCode
= arg2
;
14326 Py_INCREF(Py_None
); resultobj
= Py_None
;
14333 static PyObject
*_wrap_KeyEvent_m_rawCode_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14334 PyObject
*resultobj
;
14335 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14336 unsigned int result
;
14337 PyObject
* obj0
= 0 ;
14338 char *kwnames
[] = {
14339 (char *) "self", NULL
14342 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawCode_get",kwnames
,&obj0
)) goto fail
;
14343 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14344 result
= (unsigned int) ((arg1
)->m_rawCode
);
14346 resultobj
= PyInt_FromLong((long)result
);
14353 static PyObject
*_wrap_KeyEvent_m_rawFlags_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14354 PyObject
*resultobj
;
14355 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14356 unsigned int arg2
;
14357 PyObject
* obj0
= 0 ;
14358 PyObject
* obj1
= 0 ;
14359 char *kwnames
[] = {
14360 (char *) "self",(char *) "m_rawFlags", NULL
14363 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:KeyEvent_m_rawFlags_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14364 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14365 arg2
= (unsigned int) PyInt_AsLong(obj1
);
14366 if (PyErr_Occurred()) SWIG_fail
;
14367 if (arg1
) (arg1
)->m_rawFlags
= arg2
;
14369 Py_INCREF(Py_None
); resultobj
= Py_None
;
14376 static PyObject
*_wrap_KeyEvent_m_rawFlags_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14377 PyObject
*resultobj
;
14378 wxKeyEvent
*arg1
= (wxKeyEvent
*) 0 ;
14379 unsigned int result
;
14380 PyObject
* obj0
= 0 ;
14381 char *kwnames
[] = {
14382 (char *) "self", NULL
14385 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:KeyEvent_m_rawFlags_get",kwnames
,&obj0
)) goto fail
;
14386 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14387 result
= (unsigned int) ((arg1
)->m_rawFlags
);
14389 resultobj
= PyInt_FromLong((long)result
);
14396 static PyObject
* KeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14398 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14399 SWIG_TypeClientData(SWIGTYPE_p_wxKeyEvent
, obj
);
14401 return Py_BuildValue((char *)"");
14403 static PyObject
*_wrap_new_SizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14404 PyObject
*resultobj
;
14405 wxSize
const &arg1_defvalue
= wxDefaultSize
;
14406 wxSize
*arg1
= (wxSize
*) &arg1_defvalue
;
14407 int arg2
= (int) 0 ;
14408 wxSizeEvent
*result
;
14410 PyObject
* obj0
= 0 ;
14411 char *kwnames
[] = {
14412 (char *) "sz",(char *) "winid", NULL
14415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_SizeEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14419 if ( ! wxSize_helper(obj0
, &arg1
)) SWIG_fail
;
14423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14424 result
= (wxSizeEvent
*)new wxSizeEvent((wxSize
const &)*arg1
,arg2
);
14426 wxPyEndAllowThreads(__tstate
);
14427 if (PyErr_Occurred()) SWIG_fail
;
14429 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizeEvent
, 1);
14436 static PyObject
*_wrap_SizeEvent_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14437 PyObject
*resultobj
;
14438 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14440 PyObject
* obj0
= 0 ;
14441 char *kwnames
[] = {
14442 (char *) "self", NULL
14445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetSize",kwnames
,&obj0
)) goto fail
;
14446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14449 result
= ((wxSizeEvent
const *)arg1
)->GetSize();
14451 wxPyEndAllowThreads(__tstate
);
14452 if (PyErr_Occurred()) SWIG_fail
;
14455 wxSize
* resultptr
;
14456 resultptr
= new wxSize((wxSize
&) result
);
14457 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
14465 static PyObject
*_wrap_SizeEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
;
14467 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14469 PyObject
* obj0
= 0 ;
14470 char *kwnames
[] = {
14471 (char *) "self", NULL
14474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14478 result
= ((wxSizeEvent
const *)arg1
)->GetRect();
14480 wxPyEndAllowThreads(__tstate
);
14481 if (PyErr_Occurred()) SWIG_fail
;
14484 wxRect
* resultptr
;
14485 resultptr
= new wxRect((wxRect
&) result
);
14486 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14494 static PyObject
*_wrap_SizeEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14495 PyObject
*resultobj
;
14496 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14499 PyObject
* obj0
= 0 ;
14500 PyObject
* obj1
= 0 ;
14501 char *kwnames
[] = {
14502 (char *) "self",(char *) "rect", NULL
14505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14507 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14511 (arg1
)->SetRect(arg2
);
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14516 Py_INCREF(Py_None
); resultobj
= Py_None
;
14523 static PyObject
*_wrap_SizeEvent_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14524 PyObject
*resultobj
;
14525 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14528 PyObject
* obj0
= 0 ;
14529 PyObject
* obj1
= 0 ;
14530 char *kwnames
[] = {
14531 (char *) "self",(char *) "size", NULL
14534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
14535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14536 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14540 wxSizeEvent_SetSize(arg1
,arg2
);
14542 wxPyEndAllowThreads(__tstate
);
14543 if (PyErr_Occurred()) SWIG_fail
;
14545 Py_INCREF(Py_None
); resultobj
= Py_None
;
14552 static PyObject
*_wrap_SizeEvent_m_size_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14553 PyObject
*resultobj
;
14554 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14555 wxSize
*arg2
= (wxSize
*) 0 ;
14556 PyObject
* obj0
= 0 ;
14557 PyObject
* obj1
= 0 ;
14558 char *kwnames
[] = {
14559 (char *) "self",(char *) "m_size", NULL
14562 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_size_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14563 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14564 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14565 if (arg1
) (arg1
)->m_size
= *arg2
;
14567 Py_INCREF(Py_None
); resultobj
= Py_None
;
14574 static PyObject
*_wrap_SizeEvent_m_size_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14575 PyObject
*resultobj
;
14576 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14578 PyObject
* obj0
= 0 ;
14579 char *kwnames
[] = {
14580 (char *) "self", NULL
14583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_size_get",kwnames
,&obj0
)) goto fail
;
14584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14585 result
= (wxSize
*)& ((arg1
)->m_size
);
14587 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
14594 static PyObject
*_wrap_SizeEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
;
14596 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14597 wxRect
*arg2
= (wxRect
*) 0 ;
14598 PyObject
* obj0
= 0 ;
14599 PyObject
* obj1
= 0 ;
14600 char *kwnames
[] = {
14601 (char *) "self",(char *) "m_rect", NULL
14604 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizeEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14605 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14606 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14607 if (arg1
) (arg1
)->m_rect
= *arg2
;
14609 Py_INCREF(Py_None
); resultobj
= Py_None
;
14616 static PyObject
*_wrap_SizeEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14617 PyObject
*resultobj
;
14618 wxSizeEvent
*arg1
= (wxSizeEvent
*) 0 ;
14620 PyObject
* obj0
= 0 ;
14621 char *kwnames
[] = {
14622 (char *) "self", NULL
14625 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizeEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14626 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14627 result
= (wxRect
*)& ((arg1
)->m_rect
);
14629 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14636 static PyObject
* SizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14638 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14639 SWIG_TypeClientData(SWIGTYPE_p_wxSizeEvent
, obj
);
14641 return Py_BuildValue((char *)"");
14643 static PyObject
*_wrap_new_MoveEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14644 PyObject
*resultobj
;
14645 wxPoint
const &arg1_defvalue
= wxDefaultPosition
;
14646 wxPoint
*arg1
= (wxPoint
*) &arg1_defvalue
;
14647 int arg2
= (int) 0 ;
14648 wxMoveEvent
*result
;
14650 PyObject
* obj0
= 0 ;
14651 char *kwnames
[] = {
14652 (char *) "pos",(char *) "winid", NULL
14655 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Oi:new_MoveEvent",kwnames
,&obj0
,&arg2
)) goto fail
;
14659 if ( ! wxPoint_helper(obj0
, &arg1
)) SWIG_fail
;
14663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14664 result
= (wxMoveEvent
*)new wxMoveEvent((wxPoint
const &)*arg1
,arg2
);
14666 wxPyEndAllowThreads(__tstate
);
14667 if (PyErr_Occurred()) SWIG_fail
;
14669 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMoveEvent
, 1);
14676 static PyObject
*_wrap_MoveEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14677 PyObject
*resultobj
;
14678 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14680 PyObject
* obj0
= 0 ;
14681 char *kwnames
[] = {
14682 (char *) "self", NULL
14685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
14686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14689 result
= ((wxMoveEvent
const *)arg1
)->GetPosition();
14691 wxPyEndAllowThreads(__tstate
);
14692 if (PyErr_Occurred()) SWIG_fail
;
14695 wxPoint
* resultptr
;
14696 resultptr
= new wxPoint((wxPoint
&) result
);
14697 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
14705 static PyObject
*_wrap_MoveEvent_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14706 PyObject
*resultobj
;
14707 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14709 PyObject
* obj0
= 0 ;
14710 char *kwnames
[] = {
14711 (char *) "self", NULL
14714 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_GetRect",kwnames
,&obj0
)) goto fail
;
14715 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14718 result
= ((wxMoveEvent
const *)arg1
)->GetRect();
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14724 wxRect
* resultptr
;
14725 resultptr
= new wxRect((wxRect
&) result
);
14726 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
14734 static PyObject
*_wrap_MoveEvent_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14735 PyObject
*resultobj
;
14736 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14739 PyObject
* obj0
= 0 ;
14740 PyObject
* obj1
= 0 ;
14741 char *kwnames
[] = {
14742 (char *) "self",(char *) "rect", NULL
14745 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetRect",kwnames
,&obj0
,&obj1
)) goto fail
;
14746 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14747 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14751 (arg1
)->SetRect(arg2
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 Py_INCREF(Py_None
); resultobj
= Py_None
;
14763 static PyObject
*_wrap_MoveEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
;
14765 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14768 PyObject
* obj0
= 0 ;
14769 PyObject
* obj1
= 0 ;
14770 char *kwnames
[] = {
14771 (char *) "self",(char *) "pos", NULL
14774 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
14775 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14776 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
14779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14780 wxMoveEvent_SetPosition(arg1
,arg2
);
14782 wxPyEndAllowThreads(__tstate
);
14783 if (PyErr_Occurred()) SWIG_fail
;
14785 Py_INCREF(Py_None
); resultobj
= Py_None
;
14792 static PyObject
*_wrap_MoveEvent_m_pos_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14793 PyObject
*resultobj
;
14794 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14795 wxPoint
*arg2
= (wxPoint
*) 0 ;
14796 PyObject
* obj0
= 0 ;
14797 PyObject
* obj1
= 0 ;
14798 char *kwnames
[] = {
14799 (char *) "self",(char *) "m_pos", NULL
14802 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_pos_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14803 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14804 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14805 if (arg1
) (arg1
)->m_pos
= *arg2
;
14807 Py_INCREF(Py_None
); resultobj
= Py_None
;
14814 static PyObject
*_wrap_MoveEvent_m_pos_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14815 PyObject
*resultobj
;
14816 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14818 PyObject
* obj0
= 0 ;
14819 char *kwnames
[] = {
14820 (char *) "self", NULL
14823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_pos_get",kwnames
,&obj0
)) goto fail
;
14824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14825 result
= (wxPoint
*)& ((arg1
)->m_pos
);
14827 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
14834 static PyObject
*_wrap_MoveEvent_m_rect_set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14835 PyObject
*resultobj
;
14836 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14837 wxRect
*arg2
= (wxRect
*) 0 ;
14838 PyObject
* obj0
= 0 ;
14839 PyObject
* obj1
= 0 ;
14840 char *kwnames
[] = {
14841 (char *) "self",(char *) "m_rect", NULL
14844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MoveEvent_m_rect_set",kwnames
,&obj0
,&obj1
)) goto fail
;
14845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14846 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14847 if (arg1
) (arg1
)->m_rect
= *arg2
;
14849 Py_INCREF(Py_None
); resultobj
= Py_None
;
14856 static PyObject
*_wrap_MoveEvent_m_rect_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14857 PyObject
*resultobj
;
14858 wxMoveEvent
*arg1
= (wxMoveEvent
*) 0 ;
14860 PyObject
* obj0
= 0 ;
14861 char *kwnames
[] = {
14862 (char *) "self", NULL
14865 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MoveEvent_m_rect_get",kwnames
,&obj0
)) goto fail
;
14866 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMoveEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14867 result
= (wxRect
*)& ((arg1
)->m_rect
);
14869 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRect
, 0);
14876 static PyObject
* MoveEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14878 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14879 SWIG_TypeClientData(SWIGTYPE_p_wxMoveEvent
, obj
);
14881 return Py_BuildValue((char *)"");
14883 static PyObject
*_wrap_new_PaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14884 PyObject
*resultobj
;
14885 int arg1
= (int) 0 ;
14886 wxPaintEvent
*result
;
14887 char *kwnames
[] = {
14888 (char *) "Id", NULL
14891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaintEvent",kwnames
,&arg1
)) goto fail
;
14893 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14894 result
= (wxPaintEvent
*)new wxPaintEvent(arg1
);
14896 wxPyEndAllowThreads(__tstate
);
14897 if (PyErr_Occurred()) SWIG_fail
;
14899 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaintEvent
, 1);
14906 static PyObject
* PaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14908 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14909 SWIG_TypeClientData(SWIGTYPE_p_wxPaintEvent
, obj
);
14911 return Py_BuildValue((char *)"");
14913 static PyObject
*_wrap_new_NcPaintEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14914 PyObject
*resultobj
;
14915 int arg1
= (int) 0 ;
14916 wxNcPaintEvent
*result
;
14917 char *kwnames
[] = {
14918 (char *) "winid", NULL
14921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_NcPaintEvent",kwnames
,&arg1
)) goto fail
;
14923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14924 result
= (wxNcPaintEvent
*)new wxNcPaintEvent(arg1
);
14926 wxPyEndAllowThreads(__tstate
);
14927 if (PyErr_Occurred()) SWIG_fail
;
14929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNcPaintEvent
, 1);
14936 static PyObject
* NcPaintEvent_swigregister(PyObject
*self
, PyObject
*args
) {
14938 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
14939 SWIG_TypeClientData(SWIGTYPE_p_wxNcPaintEvent
, obj
);
14941 return Py_BuildValue((char *)"");
14943 static PyObject
*_wrap_new_EraseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14944 PyObject
*resultobj
;
14945 int arg1
= (int) 0 ;
14946 wxDC
*arg2
= (wxDC
*) (wxDC
*) NULL
;
14947 wxEraseEvent
*result
;
14948 PyObject
* obj1
= 0 ;
14949 char *kwnames
[] = {
14950 (char *) "Id",(char *) "dc", NULL
14953 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_EraseEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
14955 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14959 result
= (wxEraseEvent
*)new wxEraseEvent(arg1
,arg2
);
14961 wxPyEndAllowThreads(__tstate
);
14962 if (PyErr_Occurred()) SWIG_fail
;
14964 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxEraseEvent
, 1);
14971 static PyObject
*_wrap_EraseEvent_GetDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
14972 PyObject
*resultobj
;
14973 wxEraseEvent
*arg1
= (wxEraseEvent
*) 0 ;
14975 PyObject
* obj0
= 0 ;
14976 char *kwnames
[] = {
14977 (char *) "self", NULL
14980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:EraseEvent_GetDC",kwnames
,&obj0
)) goto fail
;
14981 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEraseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
14983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14984 result
= (wxDC
*)((wxEraseEvent
const *)arg1
)->GetDC();
14986 wxPyEndAllowThreads(__tstate
);
14987 if (PyErr_Occurred()) SWIG_fail
;
14990 resultobj
= wxPyMake_wxObject(result
);
14998 static PyObject
* EraseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15000 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15001 SWIG_TypeClientData(SWIGTYPE_p_wxEraseEvent
, obj
);
15003 return Py_BuildValue((char *)"");
15005 static PyObject
*_wrap_new_FocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15006 PyObject
*resultobj
;
15007 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15008 int arg2
= (int) 0 ;
15009 wxFocusEvent
*result
;
15010 char *kwnames
[] = {
15011 (char *) "type",(char *) "winid", NULL
15014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_FocusEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15017 result
= (wxFocusEvent
*)new wxFocusEvent(arg1
,arg2
);
15019 wxPyEndAllowThreads(__tstate
);
15020 if (PyErr_Occurred()) SWIG_fail
;
15022 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFocusEvent
, 1);
15029 static PyObject
*_wrap_FocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15030 PyObject
*resultobj
;
15031 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15033 PyObject
* obj0
= 0 ;
15034 char *kwnames
[] = {
15035 (char *) "self", NULL
15038 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15039 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15042 result
= (wxWindow
*)((wxFocusEvent
const *)arg1
)->GetWindow();
15044 wxPyEndAllowThreads(__tstate
);
15045 if (PyErr_Occurred()) SWIG_fail
;
15048 resultobj
= wxPyMake_wxObject(result
);
15056 static PyObject
*_wrap_FocusEvent_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15057 PyObject
*resultobj
;
15058 wxFocusEvent
*arg1
= (wxFocusEvent
*) 0 ;
15059 wxWindow
*arg2
= (wxWindow
*) 0 ;
15060 PyObject
* obj0
= 0 ;
15061 PyObject
* obj1
= 0 ;
15062 char *kwnames
[] = {
15063 (char *) "self",(char *) "win", NULL
15066 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FocusEvent_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
15067 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15068 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 (arg1
)->SetWindow(arg2
);
15073 wxPyEndAllowThreads(__tstate
);
15074 if (PyErr_Occurred()) SWIG_fail
;
15076 Py_INCREF(Py_None
); resultobj
= Py_None
;
15083 static PyObject
* FocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15085 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15086 SWIG_TypeClientData(SWIGTYPE_p_wxFocusEvent
, obj
);
15088 return Py_BuildValue((char *)"");
15090 static PyObject
*_wrap_new_ChildFocusEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15091 PyObject
*resultobj
;
15092 wxWindow
*arg1
= (wxWindow
*) NULL
;
15093 wxChildFocusEvent
*result
;
15094 PyObject
* obj0
= 0 ;
15095 char *kwnames
[] = {
15096 (char *) "win", NULL
15099 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_ChildFocusEvent",kwnames
,&obj0
)) goto fail
;
15101 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15105 result
= (wxChildFocusEvent
*)new wxChildFocusEvent(arg1
);
15107 wxPyEndAllowThreads(__tstate
);
15108 if (PyErr_Occurred()) SWIG_fail
;
15110 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxChildFocusEvent
, 1);
15117 static PyObject
*_wrap_ChildFocusEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15118 PyObject
*resultobj
;
15119 wxChildFocusEvent
*arg1
= (wxChildFocusEvent
*) 0 ;
15121 PyObject
* obj0
= 0 ;
15122 char *kwnames
[] = {
15123 (char *) "self", NULL
15126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ChildFocusEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
15127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxChildFocusEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15130 result
= (wxWindow
*)((wxChildFocusEvent
const *)arg1
)->GetWindow();
15132 wxPyEndAllowThreads(__tstate
);
15133 if (PyErr_Occurred()) SWIG_fail
;
15136 resultobj
= wxPyMake_wxObject(result
);
15144 static PyObject
* ChildFocusEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15146 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15147 SWIG_TypeClientData(SWIGTYPE_p_wxChildFocusEvent
, obj
);
15149 return Py_BuildValue((char *)"");
15151 static PyObject
*_wrap_new_ActivateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15152 PyObject
*resultobj
;
15153 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15154 bool arg2
= (bool) True
;
15155 int arg3
= (int) 0 ;
15156 wxActivateEvent
*result
;
15157 PyObject
* obj1
= 0 ;
15158 char *kwnames
[] = {
15159 (char *) "type",(char *) "active",(char *) "Id", NULL
15162 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iOi:new_ActivateEvent",kwnames
,&arg1
,&obj1
,&arg3
)) goto fail
;
15164 arg2
= PyInt_AsLong(obj1
) ? true : false;
15165 if (PyErr_Occurred()) SWIG_fail
;
15168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15169 result
= (wxActivateEvent
*)new wxActivateEvent(arg1
,arg2
,arg3
);
15171 wxPyEndAllowThreads(__tstate
);
15172 if (PyErr_Occurred()) SWIG_fail
;
15174 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxActivateEvent
, 1);
15181 static PyObject
*_wrap_ActivateEvent_GetActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15182 PyObject
*resultobj
;
15183 wxActivateEvent
*arg1
= (wxActivateEvent
*) 0 ;
15185 PyObject
* obj0
= 0 ;
15186 char *kwnames
[] = {
15187 (char *) "self", NULL
15190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ActivateEvent_GetActive",kwnames
,&obj0
)) goto fail
;
15191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxActivateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15194 result
= (bool)((wxActivateEvent
const *)arg1
)->GetActive();
15196 wxPyEndAllowThreads(__tstate
);
15197 if (PyErr_Occurred()) SWIG_fail
;
15199 resultobj
= PyInt_FromLong((long)result
);
15206 static PyObject
* ActivateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15208 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15209 SWIG_TypeClientData(SWIGTYPE_p_wxActivateEvent
, obj
);
15211 return Py_BuildValue((char *)"");
15213 static PyObject
*_wrap_new_InitDialogEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15214 PyObject
*resultobj
;
15215 int arg1
= (int) 0 ;
15216 wxInitDialogEvent
*result
;
15217 char *kwnames
[] = {
15218 (char *) "Id", NULL
15221 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_InitDialogEvent",kwnames
,&arg1
)) goto fail
;
15223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15224 result
= (wxInitDialogEvent
*)new wxInitDialogEvent(arg1
);
15226 wxPyEndAllowThreads(__tstate
);
15227 if (PyErr_Occurred()) SWIG_fail
;
15229 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxInitDialogEvent
, 1);
15236 static PyObject
* InitDialogEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15238 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15239 SWIG_TypeClientData(SWIGTYPE_p_wxInitDialogEvent
, obj
);
15241 return Py_BuildValue((char *)"");
15243 static PyObject
*_wrap_new_MenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15244 PyObject
*resultobj
;
15245 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15246 int arg2
= (int) 0 ;
15247 wxMenu
*arg3
= (wxMenu
*) NULL
;
15248 wxMenuEvent
*result
;
15249 PyObject
* obj2
= 0 ;
15250 char *kwnames
[] = {
15251 (char *) "type",(char *) "winid",(char *) "menu", NULL
15254 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_MenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
15256 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15260 result
= (wxMenuEvent
*)new wxMenuEvent(arg1
,arg2
,arg3
);
15262 wxPyEndAllowThreads(__tstate
);
15263 if (PyErr_Occurred()) SWIG_fail
;
15265 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMenuEvent
, 1);
15272 static PyObject
*_wrap_MenuEvent_GetMenuId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15273 PyObject
*resultobj
;
15274 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15276 PyObject
* obj0
= 0 ;
15277 char *kwnames
[] = {
15278 (char *) "self", NULL
15281 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenuId",kwnames
,&obj0
)) goto fail
;
15282 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 result
= (int)((wxMenuEvent
const *)arg1
)->GetMenuId();
15287 wxPyEndAllowThreads(__tstate
);
15288 if (PyErr_Occurred()) SWIG_fail
;
15290 resultobj
= PyInt_FromLong((long)result
);
15297 static PyObject
*_wrap_MenuEvent_IsPopup(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15298 PyObject
*resultobj
;
15299 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15301 PyObject
* obj0
= 0 ;
15302 char *kwnames
[] = {
15303 (char *) "self", NULL
15306 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_IsPopup",kwnames
,&obj0
)) goto fail
;
15307 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15310 result
= (bool)((wxMenuEvent
const *)arg1
)->IsPopup();
15312 wxPyEndAllowThreads(__tstate
);
15313 if (PyErr_Occurred()) SWIG_fail
;
15315 resultobj
= PyInt_FromLong((long)result
);
15322 static PyObject
*_wrap_MenuEvent_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15323 PyObject
*resultobj
;
15324 wxMenuEvent
*arg1
= (wxMenuEvent
*) 0 ;
15326 PyObject
* obj0
= 0 ;
15327 char *kwnames
[] = {
15328 (char *) "self", NULL
15331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuEvent_GetMenu",kwnames
,&obj0
)) goto fail
;
15332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15335 result
= (wxMenu
*)((wxMenuEvent
const *)arg1
)->GetMenu();
15337 wxPyEndAllowThreads(__tstate
);
15338 if (PyErr_Occurred()) SWIG_fail
;
15341 resultobj
= wxPyMake_wxObject(result
);
15349 static PyObject
* MenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15351 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15352 SWIG_TypeClientData(SWIGTYPE_p_wxMenuEvent
, obj
);
15354 return Py_BuildValue((char *)"");
15356 static PyObject
*_wrap_new_CloseEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15357 PyObject
*resultobj
;
15358 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
15359 int arg2
= (int) 0 ;
15360 wxCloseEvent
*result
;
15361 char *kwnames
[] = {
15362 (char *) "type",(char *) "winid", NULL
15365 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_CloseEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
15367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15368 result
= (wxCloseEvent
*)new wxCloseEvent(arg1
,arg2
);
15370 wxPyEndAllowThreads(__tstate
);
15371 if (PyErr_Occurred()) SWIG_fail
;
15373 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCloseEvent
, 1);
15380 static PyObject
*_wrap_CloseEvent_SetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15381 PyObject
*resultobj
;
15382 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15384 PyObject
* obj0
= 0 ;
15385 PyObject
* obj1
= 0 ;
15386 char *kwnames
[] = {
15387 (char *) "self",(char *) "logOff", NULL
15390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetLoggingOff",kwnames
,&obj0
,&obj1
)) goto fail
;
15391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15392 arg2
= PyInt_AsLong(obj1
) ? true : false;
15393 if (PyErr_Occurred()) SWIG_fail
;
15395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15396 (arg1
)->SetLoggingOff(arg2
);
15398 wxPyEndAllowThreads(__tstate
);
15399 if (PyErr_Occurred()) SWIG_fail
;
15401 Py_INCREF(Py_None
); resultobj
= Py_None
;
15408 static PyObject
*_wrap_CloseEvent_GetLoggingOff(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15409 PyObject
*resultobj
;
15410 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15412 PyObject
* obj0
= 0 ;
15413 char *kwnames
[] = {
15414 (char *) "self", NULL
15417 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetLoggingOff",kwnames
,&obj0
)) goto fail
;
15418 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15421 result
= (bool)((wxCloseEvent
const *)arg1
)->GetLoggingOff();
15423 wxPyEndAllowThreads(__tstate
);
15424 if (PyErr_Occurred()) SWIG_fail
;
15426 resultobj
= PyInt_FromLong((long)result
);
15433 static PyObject
*_wrap_CloseEvent_Veto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15434 PyObject
*resultobj
;
15435 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15436 bool arg2
= (bool) True
;
15437 PyObject
* obj0
= 0 ;
15438 PyObject
* obj1
= 0 ;
15439 char *kwnames
[] = {
15440 (char *) "self",(char *) "veto", NULL
15443 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:CloseEvent_Veto",kwnames
,&obj0
,&obj1
)) goto fail
;
15444 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15446 arg2
= PyInt_AsLong(obj1
) ? true : false;
15447 if (PyErr_Occurred()) SWIG_fail
;
15450 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15451 (arg1
)->Veto(arg2
);
15453 wxPyEndAllowThreads(__tstate
);
15454 if (PyErr_Occurred()) SWIG_fail
;
15456 Py_INCREF(Py_None
); resultobj
= Py_None
;
15463 static PyObject
*_wrap_CloseEvent_SetCanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15464 PyObject
*resultobj
;
15465 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15467 PyObject
* obj0
= 0 ;
15468 PyObject
* obj1
= 0 ;
15469 char *kwnames
[] = {
15470 (char *) "self",(char *) "canVeto", NULL
15473 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CloseEvent_SetCanVeto",kwnames
,&obj0
,&obj1
)) goto fail
;
15474 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15475 arg2
= PyInt_AsLong(obj1
) ? true : false;
15476 if (PyErr_Occurred()) SWIG_fail
;
15478 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15479 (arg1
)->SetCanVeto(arg2
);
15481 wxPyEndAllowThreads(__tstate
);
15482 if (PyErr_Occurred()) SWIG_fail
;
15484 Py_INCREF(Py_None
); resultobj
= Py_None
;
15491 static PyObject
*_wrap_CloseEvent_CanVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15492 PyObject
*resultobj
;
15493 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15495 PyObject
* obj0
= 0 ;
15496 char *kwnames
[] = {
15497 (char *) "self", NULL
15500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_CanVeto",kwnames
,&obj0
)) goto fail
;
15501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15504 result
= (bool)((wxCloseEvent
const *)arg1
)->CanVeto();
15506 wxPyEndAllowThreads(__tstate
);
15507 if (PyErr_Occurred()) SWIG_fail
;
15509 resultobj
= PyInt_FromLong((long)result
);
15516 static PyObject
*_wrap_CloseEvent_GetVeto(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15517 PyObject
*resultobj
;
15518 wxCloseEvent
*arg1
= (wxCloseEvent
*) 0 ;
15520 PyObject
* obj0
= 0 ;
15521 char *kwnames
[] = {
15522 (char *) "self", NULL
15525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:CloseEvent_GetVeto",kwnames
,&obj0
)) goto fail
;
15526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxCloseEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15529 result
= (bool)((wxCloseEvent
const *)arg1
)->GetVeto();
15531 wxPyEndAllowThreads(__tstate
);
15532 if (PyErr_Occurred()) SWIG_fail
;
15534 resultobj
= PyInt_FromLong((long)result
);
15541 static PyObject
* CloseEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15543 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15544 SWIG_TypeClientData(SWIGTYPE_p_wxCloseEvent
, obj
);
15546 return Py_BuildValue((char *)"");
15548 static PyObject
*_wrap_new_ShowEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15549 PyObject
*resultobj
;
15550 int arg1
= (int) 0 ;
15551 bool arg2
= (bool) False
;
15552 wxShowEvent
*result
;
15553 PyObject
* obj1
= 0 ;
15554 char *kwnames
[] = {
15555 (char *) "winid",(char *) "show", NULL
15558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_ShowEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15560 arg2
= PyInt_AsLong(obj1
) ? true : false;
15561 if (PyErr_Occurred()) SWIG_fail
;
15564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15565 result
= (wxShowEvent
*)new wxShowEvent(arg1
,arg2
);
15567 wxPyEndAllowThreads(__tstate
);
15568 if (PyErr_Occurred()) SWIG_fail
;
15570 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxShowEvent
, 1);
15577 static PyObject
*_wrap_ShowEvent_SetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15578 PyObject
*resultobj
;
15579 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15581 PyObject
* obj0
= 0 ;
15582 PyObject
* obj1
= 0 ;
15583 char *kwnames
[] = {
15584 (char *) "self",(char *) "show", NULL
15587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ShowEvent_SetShow",kwnames
,&obj0
,&obj1
)) goto fail
;
15588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15589 arg2
= PyInt_AsLong(obj1
) ? true : false;
15590 if (PyErr_Occurred()) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 (arg1
)->SetShow(arg2
);
15595 wxPyEndAllowThreads(__tstate
);
15596 if (PyErr_Occurred()) SWIG_fail
;
15598 Py_INCREF(Py_None
); resultobj
= Py_None
;
15605 static PyObject
*_wrap_ShowEvent_GetShow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15606 PyObject
*resultobj
;
15607 wxShowEvent
*arg1
= (wxShowEvent
*) 0 ;
15609 PyObject
* obj0
= 0 ;
15610 char *kwnames
[] = {
15611 (char *) "self", NULL
15614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ShowEvent_GetShow",kwnames
,&obj0
)) goto fail
;
15615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxShowEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15618 result
= (bool)((wxShowEvent
const *)arg1
)->GetShow();
15620 wxPyEndAllowThreads(__tstate
);
15621 if (PyErr_Occurred()) SWIG_fail
;
15623 resultobj
= PyInt_FromLong((long)result
);
15630 static PyObject
* ShowEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15632 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15633 SWIG_TypeClientData(SWIGTYPE_p_wxShowEvent
, obj
);
15635 return Py_BuildValue((char *)"");
15637 static PyObject
*_wrap_new_IconizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15638 PyObject
*resultobj
;
15639 int arg1
= (int) 0 ;
15640 bool arg2
= (bool) True
;
15641 wxIconizeEvent
*result
;
15642 PyObject
* obj1
= 0 ;
15643 char *kwnames
[] = {
15644 (char *) "id",(char *) "iconized", NULL
15647 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_IconizeEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
15649 arg2
= PyInt_AsLong(obj1
) ? true : false;
15650 if (PyErr_Occurred()) SWIG_fail
;
15653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15654 result
= (wxIconizeEvent
*)new wxIconizeEvent(arg1
,arg2
);
15656 wxPyEndAllowThreads(__tstate
);
15657 if (PyErr_Occurred()) SWIG_fail
;
15659 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIconizeEvent
, 1);
15666 static PyObject
*_wrap_IconizeEvent_Iconized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15667 PyObject
*resultobj
;
15668 wxIconizeEvent
*arg1
= (wxIconizeEvent
*) 0 ;
15670 PyObject
* obj0
= 0 ;
15671 char *kwnames
[] = {
15672 (char *) "self", NULL
15675 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IconizeEvent_Iconized",kwnames
,&obj0
)) goto fail
;
15676 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIconizeEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15679 result
= (bool)(arg1
)->Iconized();
15681 wxPyEndAllowThreads(__tstate
);
15682 if (PyErr_Occurred()) SWIG_fail
;
15684 resultobj
= PyInt_FromLong((long)result
);
15691 static PyObject
* IconizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15693 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15694 SWIG_TypeClientData(SWIGTYPE_p_wxIconizeEvent
, obj
);
15696 return Py_BuildValue((char *)"");
15698 static PyObject
*_wrap_new_MaximizeEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15699 PyObject
*resultobj
;
15700 int arg1
= (int) 0 ;
15701 wxMaximizeEvent
*result
;
15702 char *kwnames
[] = {
15703 (char *) "id", NULL
15706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_MaximizeEvent",kwnames
,&arg1
)) goto fail
;
15708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15709 result
= (wxMaximizeEvent
*)new wxMaximizeEvent(arg1
);
15711 wxPyEndAllowThreads(__tstate
);
15712 if (PyErr_Occurred()) SWIG_fail
;
15714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMaximizeEvent
, 1);
15721 static PyObject
* MaximizeEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15723 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15724 SWIG_TypeClientData(SWIGTYPE_p_wxMaximizeEvent
, obj
);
15726 return Py_BuildValue((char *)"");
15728 static PyObject
*_wrap_DropFilesEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
;
15730 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15732 PyObject
* obj0
= 0 ;
15733 char *kwnames
[] = {
15734 (char *) "self", NULL
15737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
15738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15741 result
= (arg1
)->GetPosition();
15743 wxPyEndAllowThreads(__tstate
);
15744 if (PyErr_Occurred()) SWIG_fail
;
15747 wxPoint
* resultptr
;
15748 resultptr
= new wxPoint((wxPoint
&) result
);
15749 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
15757 static PyObject
*_wrap_DropFilesEvent_GetNumberOfFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15758 PyObject
*resultobj
;
15759 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15761 PyObject
* obj0
= 0 ;
15762 char *kwnames
[] = {
15763 (char *) "self", NULL
15766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetNumberOfFiles",kwnames
,&obj0
)) goto fail
;
15767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (int)(arg1
)->GetNumberOfFiles();
15772 wxPyEndAllowThreads(__tstate
);
15773 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= PyInt_FromLong((long)result
);
15782 static PyObject
*_wrap_DropFilesEvent_GetFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15783 PyObject
*resultobj
;
15784 wxDropFilesEvent
*arg1
= (wxDropFilesEvent
*) 0 ;
15786 PyObject
* obj0
= 0 ;
15787 char *kwnames
[] = {
15788 (char *) "self", NULL
15791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:DropFilesEvent_GetFiles",kwnames
,&obj0
)) goto fail
;
15792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxDropFilesEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15795 result
= (PyObject
*)wxDropFilesEvent_GetFiles(arg1
);
15797 wxPyEndAllowThreads(__tstate
);
15798 if (PyErr_Occurred()) SWIG_fail
;
15800 resultobj
= result
;
15807 static PyObject
* DropFilesEvent_swigregister(PyObject
*self
, PyObject
*args
) {
15809 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
15810 SWIG_TypeClientData(SWIGTYPE_p_wxDropFilesEvent
, obj
);
15812 return Py_BuildValue((char *)"");
15814 static PyObject
*_wrap_new_UpdateUIEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15815 PyObject
*resultobj
;
15816 int arg1
= (int) 0 ;
15817 wxUpdateUIEvent
*result
;
15818 char *kwnames
[] = {
15819 (char *) "commandId", NULL
15822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_UpdateUIEvent",kwnames
,&arg1
)) goto fail
;
15824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15825 result
= (wxUpdateUIEvent
*)new wxUpdateUIEvent(arg1
);
15827 wxPyEndAllowThreads(__tstate
);
15828 if (PyErr_Occurred()) SWIG_fail
;
15830 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxUpdateUIEvent
, 1);
15837 static PyObject
*_wrap_UpdateUIEvent_GetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15838 PyObject
*resultobj
;
15839 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15841 PyObject
* obj0
= 0 ;
15842 char *kwnames
[] = {
15843 (char *) "self", NULL
15846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetChecked",kwnames
,&obj0
)) goto fail
;
15847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15850 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetChecked();
15852 wxPyEndAllowThreads(__tstate
);
15853 if (PyErr_Occurred()) SWIG_fail
;
15855 resultobj
= PyInt_FromLong((long)result
);
15862 static PyObject
*_wrap_UpdateUIEvent_GetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15863 PyObject
*resultobj
;
15864 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15866 PyObject
* obj0
= 0 ;
15867 char *kwnames
[] = {
15868 (char *) "self", NULL
15871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetEnabled",kwnames
,&obj0
)) goto fail
;
15872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15875 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetEnabled();
15877 wxPyEndAllowThreads(__tstate
);
15878 if (PyErr_Occurred()) SWIG_fail
;
15880 resultobj
= PyInt_FromLong((long)result
);
15887 static PyObject
*_wrap_UpdateUIEvent_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15888 PyObject
*resultobj
;
15889 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15891 PyObject
* obj0
= 0 ;
15892 char *kwnames
[] = {
15893 (char *) "self", NULL
15896 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetText",kwnames
,&obj0
)) goto fail
;
15897 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15900 result
= ((wxUpdateUIEvent
const *)arg1
)->GetText();
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15907 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
15909 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
15918 static PyObject
*_wrap_UpdateUIEvent_GetSetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15919 PyObject
*resultobj
;
15920 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15922 PyObject
* obj0
= 0 ;
15923 char *kwnames
[] = {
15924 (char *) "self", NULL
15927 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetText",kwnames
,&obj0
)) goto fail
;
15928 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15931 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetText();
15933 wxPyEndAllowThreads(__tstate
);
15934 if (PyErr_Occurred()) SWIG_fail
;
15936 resultobj
= PyInt_FromLong((long)result
);
15943 static PyObject
*_wrap_UpdateUIEvent_GetSetChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15944 PyObject
*resultobj
;
15945 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15947 PyObject
* obj0
= 0 ;
15948 char *kwnames
[] = {
15949 (char *) "self", NULL
15952 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetChecked",kwnames
,&obj0
)) goto fail
;
15953 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15955 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15956 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetChecked();
15958 wxPyEndAllowThreads(__tstate
);
15959 if (PyErr_Occurred()) SWIG_fail
;
15961 resultobj
= PyInt_FromLong((long)result
);
15968 static PyObject
*_wrap_UpdateUIEvent_GetSetEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15969 PyObject
*resultobj
;
15970 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15972 PyObject
* obj0
= 0 ;
15973 char *kwnames
[] = {
15974 (char *) "self", NULL
15977 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_GetSetEnabled",kwnames
,&obj0
)) goto fail
;
15978 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
15980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15981 result
= (bool)((wxUpdateUIEvent
const *)arg1
)->GetSetEnabled();
15983 wxPyEndAllowThreads(__tstate
);
15984 if (PyErr_Occurred()) SWIG_fail
;
15986 resultobj
= PyInt_FromLong((long)result
);
15993 static PyObject
*_wrap_UpdateUIEvent_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
15994 PyObject
*resultobj
;
15995 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
15997 PyObject
* obj0
= 0 ;
15998 PyObject
* obj1
= 0 ;
15999 char *kwnames
[] = {
16000 (char *) "self",(char *) "check", NULL
16003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
16004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16005 arg2
= PyInt_AsLong(obj1
) ? true : false;
16006 if (PyErr_Occurred()) SWIG_fail
;
16008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16009 (arg1
)->Check(arg2
);
16011 wxPyEndAllowThreads(__tstate
);
16012 if (PyErr_Occurred()) SWIG_fail
;
16014 Py_INCREF(Py_None
); resultobj
= Py_None
;
16021 static PyObject
*_wrap_UpdateUIEvent_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16022 PyObject
*resultobj
;
16023 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16025 PyObject
* obj0
= 0 ;
16026 PyObject
* obj1
= 0 ;
16027 char *kwnames
[] = {
16028 (char *) "self",(char *) "enable", NULL
16031 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
16032 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16033 arg2
= PyInt_AsLong(obj1
) ? true : false;
16034 if (PyErr_Occurred()) SWIG_fail
;
16036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16037 (arg1
)->Enable(arg2
);
16039 wxPyEndAllowThreads(__tstate
);
16040 if (PyErr_Occurred()) SWIG_fail
;
16042 Py_INCREF(Py_None
); resultobj
= Py_None
;
16049 static PyObject
*_wrap_UpdateUIEvent_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
;
16051 wxUpdateUIEvent
*arg1
= (wxUpdateUIEvent
*) 0 ;
16052 wxString
*arg2
= 0 ;
16053 bool temp2
= False
;
16054 PyObject
* obj0
= 0 ;
16055 PyObject
* obj1
= 0 ;
16056 char *kwnames
[] = {
16057 (char *) "self",(char *) "text", NULL
16060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:UpdateUIEvent_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
16061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxUpdateUIEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16063 arg2
= wxString_in_helper(obj1
);
16064 if (arg2
== NULL
) SWIG_fail
;
16068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16069 (arg1
)->SetText((wxString
const &)*arg2
);
16071 wxPyEndAllowThreads(__tstate
);
16072 if (PyErr_Occurred()) SWIG_fail
;
16074 Py_INCREF(Py_None
); resultobj
= Py_None
;
16089 static PyObject
*_wrap_UpdateUIEvent_SetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16090 PyObject
*resultobj
;
16092 char *kwnames
[] = {
16093 (char *) "updateInterval", NULL
16096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:UpdateUIEvent_SetUpdateInterval",kwnames
,&arg1
)) goto fail
;
16098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16099 wxUpdateUIEvent::SetUpdateInterval(arg1
);
16101 wxPyEndAllowThreads(__tstate
);
16102 if (PyErr_Occurred()) SWIG_fail
;
16104 Py_INCREF(Py_None
); resultobj
= Py_None
;
16111 static PyObject
*_wrap_UpdateUIEvent_GetUpdateInterval(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16112 PyObject
*resultobj
;
16114 char *kwnames
[] = {
16118 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetUpdateInterval",kwnames
)) goto fail
;
16120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16121 result
= (long)wxUpdateUIEvent::GetUpdateInterval();
16123 wxPyEndAllowThreads(__tstate
);
16124 if (PyErr_Occurred()) SWIG_fail
;
16126 resultobj
= PyInt_FromLong((long)result
);
16133 static PyObject
*_wrap_UpdateUIEvent_CanUpdate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16134 PyObject
*resultobj
;
16135 wxWindow
*arg1
= (wxWindow
*) 0 ;
16137 PyObject
* obj0
= 0 ;
16138 char *kwnames
[] = {
16139 (char *) "win", NULL
16142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:UpdateUIEvent_CanUpdate",kwnames
,&obj0
)) goto fail
;
16143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16146 result
= (bool)wxUpdateUIEvent::CanUpdate(arg1
);
16148 wxPyEndAllowThreads(__tstate
);
16149 if (PyErr_Occurred()) SWIG_fail
;
16151 resultobj
= PyInt_FromLong((long)result
);
16158 static PyObject
*_wrap_UpdateUIEvent_ResetUpdateTime(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16159 PyObject
*resultobj
;
16160 char *kwnames
[] = {
16164 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_ResetUpdateTime",kwnames
)) goto fail
;
16166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16167 wxUpdateUIEvent::ResetUpdateTime();
16169 wxPyEndAllowThreads(__tstate
);
16170 if (PyErr_Occurred()) SWIG_fail
;
16172 Py_INCREF(Py_None
); resultobj
= Py_None
;
16179 static PyObject
*_wrap_UpdateUIEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16180 PyObject
*resultobj
;
16182 char *kwnames
[] = {
16183 (char *) "mode", NULL
16186 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:UpdateUIEvent_SetMode",kwnames
,&arg1
)) goto fail
;
16188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16189 wxUpdateUIEvent::SetMode((wxUpdateUIMode
)arg1
);
16191 wxPyEndAllowThreads(__tstate
);
16192 if (PyErr_Occurred()) SWIG_fail
;
16194 Py_INCREF(Py_None
); resultobj
= Py_None
;
16201 static PyObject
*_wrap_UpdateUIEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16202 PyObject
*resultobj
;
16204 char *kwnames
[] = {
16208 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":UpdateUIEvent_GetMode",kwnames
)) goto fail
;
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (int)wxUpdateUIEvent::GetMode();
16213 wxPyEndAllowThreads(__tstate
);
16214 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= PyInt_FromLong((long)result
);
16223 static PyObject
* UpdateUIEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16225 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16226 SWIG_TypeClientData(SWIGTYPE_p_wxUpdateUIEvent
, obj
);
16228 return Py_BuildValue((char *)"");
16230 static PyObject
*_wrap_new_SysColourChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16231 PyObject
*resultobj
;
16232 wxSysColourChangedEvent
*result
;
16233 char *kwnames
[] = {
16237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SysColourChangedEvent",kwnames
)) goto fail
;
16239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16240 result
= (wxSysColourChangedEvent
*)new wxSysColourChangedEvent();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16245 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSysColourChangedEvent
, 1);
16252 static PyObject
* SysColourChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16254 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16255 SWIG_TypeClientData(SWIGTYPE_p_wxSysColourChangedEvent
, obj
);
16257 return Py_BuildValue((char *)"");
16259 static PyObject
*_wrap_new_MouseCaptureChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
;
16261 int arg1
= (int) 0 ;
16262 wxWindow
*arg2
= (wxWindow
*) NULL
;
16263 wxMouseCaptureChangedEvent
*result
;
16264 PyObject
* obj1
= 0 ;
16265 char *kwnames
[] = {
16266 (char *) "winid",(char *) "gainedCapture", NULL
16269 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iO:new_MouseCaptureChangedEvent",kwnames
,&arg1
,&obj1
)) goto fail
;
16271 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16275 result
= (wxMouseCaptureChangedEvent
*)new wxMouseCaptureChangedEvent(arg1
,arg2
);
16277 wxPyEndAllowThreads(__tstate
);
16278 if (PyErr_Occurred()) SWIG_fail
;
16280 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxMouseCaptureChangedEvent
, 1);
16287 static PyObject
*_wrap_MouseCaptureChangedEvent_GetCapturedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16288 PyObject
*resultobj
;
16289 wxMouseCaptureChangedEvent
*arg1
= (wxMouseCaptureChangedEvent
*) 0 ;
16291 PyObject
* obj0
= 0 ;
16292 char *kwnames
[] = {
16293 (char *) "self", NULL
16296 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MouseCaptureChangedEvent_GetCapturedWindow",kwnames
,&obj0
)) goto fail
;
16297 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMouseCaptureChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16300 result
= (wxWindow
*)((wxMouseCaptureChangedEvent
const *)arg1
)->GetCapturedWindow();
16302 wxPyEndAllowThreads(__tstate
);
16303 if (PyErr_Occurred()) SWIG_fail
;
16306 resultobj
= wxPyMake_wxObject(result
);
16314 static PyObject
* MouseCaptureChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16316 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16317 SWIG_TypeClientData(SWIGTYPE_p_wxMouseCaptureChangedEvent
, obj
);
16319 return Py_BuildValue((char *)"");
16321 static PyObject
*_wrap_new_DisplayChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16322 PyObject
*resultobj
;
16323 wxDisplayChangedEvent
*result
;
16324 char *kwnames
[] = {
16328 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_DisplayChangedEvent",kwnames
)) goto fail
;
16330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16331 result
= (wxDisplayChangedEvent
*)new wxDisplayChangedEvent();
16333 wxPyEndAllowThreads(__tstate
);
16334 if (PyErr_Occurred()) SWIG_fail
;
16336 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxDisplayChangedEvent
, 1);
16343 static PyObject
* DisplayChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16345 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16346 SWIG_TypeClientData(SWIGTYPE_p_wxDisplayChangedEvent
, obj
);
16348 return Py_BuildValue((char *)"");
16350 static PyObject
*_wrap_new_PaletteChangedEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16351 PyObject
*resultobj
;
16352 int arg1
= (int) 0 ;
16353 wxPaletteChangedEvent
*result
;
16354 char *kwnames
[] = {
16355 (char *) "id", NULL
16358 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_PaletteChangedEvent",kwnames
,&arg1
)) goto fail
;
16360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16361 result
= (wxPaletteChangedEvent
*)new wxPaletteChangedEvent(arg1
);
16363 wxPyEndAllowThreads(__tstate
);
16364 if (PyErr_Occurred()) SWIG_fail
;
16366 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPaletteChangedEvent
, 1);
16373 static PyObject
*_wrap_PaletteChangedEvent_SetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16374 PyObject
*resultobj
;
16375 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16376 wxWindow
*arg2
= (wxWindow
*) 0 ;
16377 PyObject
* obj0
= 0 ;
16378 PyObject
* obj1
= 0 ;
16379 char *kwnames
[] = {
16380 (char *) "self",(char *) "win", NULL
16383 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PaletteChangedEvent_SetChangedWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
16384 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16385 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16388 (arg1
)->SetChangedWindow(arg2
);
16390 wxPyEndAllowThreads(__tstate
);
16391 if (PyErr_Occurred()) SWIG_fail
;
16393 Py_INCREF(Py_None
); resultobj
= Py_None
;
16400 static PyObject
*_wrap_PaletteChangedEvent_GetChangedWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
;
16402 wxPaletteChangedEvent
*arg1
= (wxPaletteChangedEvent
*) 0 ;
16404 PyObject
* obj0
= 0 ;
16405 char *kwnames
[] = {
16406 (char *) "self", NULL
16409 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PaletteChangedEvent_GetChangedWindow",kwnames
,&obj0
)) goto fail
;
16410 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPaletteChangedEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16413 result
= (wxWindow
*)(arg1
)->GetChangedWindow();
16415 wxPyEndAllowThreads(__tstate
);
16416 if (PyErr_Occurred()) SWIG_fail
;
16419 resultobj
= wxPyMake_wxObject(result
);
16427 static PyObject
* PaletteChangedEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16429 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16430 SWIG_TypeClientData(SWIGTYPE_p_wxPaletteChangedEvent
, obj
);
16432 return Py_BuildValue((char *)"");
16434 static PyObject
*_wrap_new_QueryNewPaletteEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16435 PyObject
*resultobj
;
16436 int arg1
= (int) 0 ;
16437 wxQueryNewPaletteEvent
*result
;
16438 char *kwnames
[] = {
16439 (char *) "winid", NULL
16442 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_QueryNewPaletteEvent",kwnames
,&arg1
)) goto fail
;
16444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16445 result
= (wxQueryNewPaletteEvent
*)new wxQueryNewPaletteEvent(arg1
);
16447 wxPyEndAllowThreads(__tstate
);
16448 if (PyErr_Occurred()) SWIG_fail
;
16450 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxQueryNewPaletteEvent
, 1);
16457 static PyObject
*_wrap_QueryNewPaletteEvent_SetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16458 PyObject
*resultobj
;
16459 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16461 PyObject
* obj0
= 0 ;
16462 PyObject
* obj1
= 0 ;
16463 char *kwnames
[] = {
16464 (char *) "self",(char *) "realized", NULL
16467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryNewPaletteEvent_SetPaletteRealized",kwnames
,&obj0
,&obj1
)) goto fail
;
16468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16469 arg2
= PyInt_AsLong(obj1
) ? true : false;
16470 if (PyErr_Occurred()) SWIG_fail
;
16472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16473 (arg1
)->SetPaletteRealized(arg2
);
16475 wxPyEndAllowThreads(__tstate
);
16476 if (PyErr_Occurred()) SWIG_fail
;
16478 Py_INCREF(Py_None
); resultobj
= Py_None
;
16485 static PyObject
*_wrap_QueryNewPaletteEvent_GetPaletteRealized(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16486 PyObject
*resultobj
;
16487 wxQueryNewPaletteEvent
*arg1
= (wxQueryNewPaletteEvent
*) 0 ;
16489 PyObject
* obj0
= 0 ;
16490 char *kwnames
[] = {
16491 (char *) "self", NULL
16494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:QueryNewPaletteEvent_GetPaletteRealized",kwnames
,&obj0
)) goto fail
;
16495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxQueryNewPaletteEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16498 result
= (bool)((wxQueryNewPaletteEvent
const *)arg1
)->GetPaletteRealized();
16500 wxPyEndAllowThreads(__tstate
);
16501 if (PyErr_Occurred()) SWIG_fail
;
16503 resultobj
= PyInt_FromLong((long)result
);
16510 static PyObject
* QueryNewPaletteEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16512 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16513 SWIG_TypeClientData(SWIGTYPE_p_wxQueryNewPaletteEvent
, obj
);
16515 return Py_BuildValue((char *)"");
16517 static PyObject
*_wrap_new_NavigationKeyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16518 PyObject
*resultobj
;
16519 wxNavigationKeyEvent
*result
;
16520 char *kwnames
[] = {
16524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_NavigationKeyEvent",kwnames
)) goto fail
;
16526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16527 result
= (wxNavigationKeyEvent
*)new wxNavigationKeyEvent();
16529 wxPyEndAllowThreads(__tstate
);
16530 if (PyErr_Occurred()) SWIG_fail
;
16532 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxNavigationKeyEvent
, 1);
16539 static PyObject
*_wrap_NavigationKeyEvent_GetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16540 PyObject
*resultobj
;
16541 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16543 PyObject
* obj0
= 0 ;
16544 char *kwnames
[] = {
16545 (char *) "self", NULL
16548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetDirection",kwnames
,&obj0
)) goto fail
;
16549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16552 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->GetDirection();
16554 wxPyEndAllowThreads(__tstate
);
16555 if (PyErr_Occurred()) SWIG_fail
;
16557 resultobj
= PyInt_FromLong((long)result
);
16564 static PyObject
*_wrap_NavigationKeyEvent_SetDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16565 PyObject
*resultobj
;
16566 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16568 PyObject
* obj0
= 0 ;
16569 PyObject
* obj1
= 0 ;
16570 char *kwnames
[] = {
16571 (char *) "self",(char *) "bForward", NULL
16574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetDirection",kwnames
,&obj0
,&obj1
)) goto fail
;
16575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16576 arg2
= PyInt_AsLong(obj1
) ? true : false;
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 (arg1
)->SetDirection(arg2
);
16582 wxPyEndAllowThreads(__tstate
);
16583 if (PyErr_Occurred()) SWIG_fail
;
16585 Py_INCREF(Py_None
); resultobj
= Py_None
;
16592 static PyObject
*_wrap_NavigationKeyEvent_IsWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16593 PyObject
*resultobj
;
16594 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16596 PyObject
* obj0
= 0 ;
16597 char *kwnames
[] = {
16598 (char *) "self", NULL
16601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_IsWindowChange",kwnames
,&obj0
)) goto fail
;
16602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 result
= (bool)((wxNavigationKeyEvent
const *)arg1
)->IsWindowChange();
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= PyInt_FromLong((long)result
);
16617 static PyObject
*_wrap_NavigationKeyEvent_SetWindowChange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16618 PyObject
*resultobj
;
16619 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16621 PyObject
* obj0
= 0 ;
16622 PyObject
* obj1
= 0 ;
16623 char *kwnames
[] = {
16624 (char *) "self",(char *) "bIs", NULL
16627 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetWindowChange",kwnames
,&obj0
,&obj1
)) goto fail
;
16628 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16629 arg2
= PyInt_AsLong(obj1
) ? true : false;
16630 if (PyErr_Occurred()) SWIG_fail
;
16632 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16633 (arg1
)->SetWindowChange(arg2
);
16635 wxPyEndAllowThreads(__tstate
);
16636 if (PyErr_Occurred()) SWIG_fail
;
16638 Py_INCREF(Py_None
); resultobj
= Py_None
;
16645 static PyObject
*_wrap_NavigationKeyEvent_GetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16646 PyObject
*resultobj
;
16647 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16649 PyObject
* obj0
= 0 ;
16650 char *kwnames
[] = {
16651 (char *) "self", NULL
16654 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:NavigationKeyEvent_GetCurrentFocus",kwnames
,&obj0
)) goto fail
;
16655 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16658 result
= (wxWindow
*)((wxNavigationKeyEvent
const *)arg1
)->GetCurrentFocus();
16660 wxPyEndAllowThreads(__tstate
);
16661 if (PyErr_Occurred()) SWIG_fail
;
16664 resultobj
= wxPyMake_wxObject(result
);
16672 static PyObject
*_wrap_NavigationKeyEvent_SetCurrentFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16673 PyObject
*resultobj
;
16674 wxNavigationKeyEvent
*arg1
= (wxNavigationKeyEvent
*) 0 ;
16675 wxWindow
*arg2
= (wxWindow
*) 0 ;
16676 PyObject
* obj0
= 0 ;
16677 PyObject
* obj1
= 0 ;
16678 char *kwnames
[] = {
16679 (char *) "self",(char *) "win", NULL
16682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:NavigationKeyEvent_SetCurrentFocus",kwnames
,&obj0
,&obj1
)) goto fail
;
16683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxNavigationKeyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16684 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16687 (arg1
)->SetCurrentFocus(arg2
);
16689 wxPyEndAllowThreads(__tstate
);
16690 if (PyErr_Occurred()) SWIG_fail
;
16692 Py_INCREF(Py_None
); resultobj
= Py_None
;
16699 static PyObject
* NavigationKeyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16701 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16702 SWIG_TypeClientData(SWIGTYPE_p_wxNavigationKeyEvent
, obj
);
16704 return Py_BuildValue((char *)"");
16706 static PyObject
*_wrap_new_WindowCreateEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16707 PyObject
*resultobj
;
16708 wxWindow
*arg1
= (wxWindow
*) NULL
;
16709 wxWindowCreateEvent
*result
;
16710 PyObject
* obj0
= 0 ;
16711 char *kwnames
[] = {
16712 (char *) "win", NULL
16715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowCreateEvent",kwnames
,&obj0
)) goto fail
;
16717 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16721 result
= (wxWindowCreateEvent
*)new wxWindowCreateEvent(arg1
);
16723 wxPyEndAllowThreads(__tstate
);
16724 if (PyErr_Occurred()) SWIG_fail
;
16726 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowCreateEvent
, 1);
16733 static PyObject
*_wrap_WindowCreateEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16734 PyObject
*resultobj
;
16735 wxWindowCreateEvent
*arg1
= (wxWindowCreateEvent
*) 0 ;
16737 PyObject
* obj0
= 0 ;
16738 char *kwnames
[] = {
16739 (char *) "self", NULL
16742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowCreateEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowCreateEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16746 result
= (wxWindow
*)((wxWindowCreateEvent
const *)arg1
)->GetWindow();
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16752 resultobj
= wxPyMake_wxObject(result
);
16760 static PyObject
* WindowCreateEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16762 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16763 SWIG_TypeClientData(SWIGTYPE_p_wxWindowCreateEvent
, obj
);
16765 return Py_BuildValue((char *)"");
16767 static PyObject
*_wrap_new_WindowDestroyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16768 PyObject
*resultobj
;
16769 wxWindow
*arg1
= (wxWindow
*) NULL
;
16770 wxWindowDestroyEvent
*result
;
16771 PyObject
* obj0
= 0 ;
16772 char *kwnames
[] = {
16773 (char *) "win", NULL
16776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_WindowDestroyEvent",kwnames
,&obj0
)) goto fail
;
16778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16782 result
= (wxWindowDestroyEvent
*)new wxWindowDestroyEvent(arg1
);
16784 wxPyEndAllowThreads(__tstate
);
16785 if (PyErr_Occurred()) SWIG_fail
;
16787 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxWindowDestroyEvent
, 1);
16794 static PyObject
*_wrap_WindowDestroyEvent_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16795 PyObject
*resultobj
;
16796 wxWindowDestroyEvent
*arg1
= (wxWindowDestroyEvent
*) 0 ;
16798 PyObject
* obj0
= 0 ;
16799 char *kwnames
[] = {
16800 (char *) "self", NULL
16803 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:WindowDestroyEvent_GetWindow",kwnames
,&obj0
)) goto fail
;
16804 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindowDestroyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16807 result
= (wxWindow
*)((wxWindowDestroyEvent
const *)arg1
)->GetWindow();
16809 wxPyEndAllowThreads(__tstate
);
16810 if (PyErr_Occurred()) SWIG_fail
;
16813 resultobj
= wxPyMake_wxObject(result
);
16821 static PyObject
* WindowDestroyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16823 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16824 SWIG_TypeClientData(SWIGTYPE_p_wxWindowDestroyEvent
, obj
);
16826 return Py_BuildValue((char *)"");
16828 static PyObject
*_wrap_new_ContextMenuEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16829 PyObject
*resultobj
;
16830 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
16831 int arg2
= (int) 0 ;
16832 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
16833 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
16834 wxContextMenuEvent
*result
;
16836 PyObject
* obj2
= 0 ;
16837 char *kwnames
[] = {
16838 (char *) "type",(char *) "winid",(char *) "pt", NULL
16841 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiO:new_ContextMenuEvent",kwnames
,&arg1
,&arg2
,&obj2
)) goto fail
;
16845 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
16849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16850 result
= (wxContextMenuEvent
*)new wxContextMenuEvent(arg1
,arg2
,(wxPoint
const &)*arg3
);
16852 wxPyEndAllowThreads(__tstate
);
16853 if (PyErr_Occurred()) SWIG_fail
;
16855 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxContextMenuEvent
, 1);
16862 static PyObject
*_wrap_ContextMenuEvent_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16863 PyObject
*resultobj
;
16864 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16866 PyObject
* obj0
= 0 ;
16867 char *kwnames
[] = {
16868 (char *) "self", NULL
16871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ContextMenuEvent_GetPosition",kwnames
,&obj0
)) goto fail
;
16872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16876 wxPoint
const &_result_ref
= ((wxContextMenuEvent
const *)arg1
)->GetPosition();
16877 result
= (wxPoint
*) &_result_ref
;
16880 wxPyEndAllowThreads(__tstate
);
16881 if (PyErr_Occurred()) SWIG_fail
;
16883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPoint
, 0);
16890 static PyObject
*_wrap_ContextMenuEvent_SetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16891 PyObject
*resultobj
;
16892 wxContextMenuEvent
*arg1
= (wxContextMenuEvent
*) 0 ;
16893 wxPoint
*arg2
= 0 ;
16895 PyObject
* obj0
= 0 ;
16896 PyObject
* obj1
= 0 ;
16897 char *kwnames
[] = {
16898 (char *) "self",(char *) "pos", NULL
16901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ContextMenuEvent_SetPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
16902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxContextMenuEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16905 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
16908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16909 (arg1
)->SetPosition((wxPoint
const &)*arg2
);
16911 wxPyEndAllowThreads(__tstate
);
16912 if (PyErr_Occurred()) SWIG_fail
;
16914 Py_INCREF(Py_None
); resultobj
= Py_None
;
16921 static PyObject
* ContextMenuEvent_swigregister(PyObject
*self
, PyObject
*args
) {
16923 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
16924 SWIG_TypeClientData(SWIGTYPE_p_wxContextMenuEvent
, obj
);
16926 return Py_BuildValue((char *)"");
16928 static PyObject
*_wrap_new_IdleEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16929 PyObject
*resultobj
;
16930 wxIdleEvent
*result
;
16931 char *kwnames
[] = {
16935 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_IdleEvent",kwnames
)) goto fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 result
= (wxIdleEvent
*)new wxIdleEvent();
16940 wxPyEndAllowThreads(__tstate
);
16941 if (PyErr_Occurred()) SWIG_fail
;
16943 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIdleEvent
, 1);
16950 static PyObject
*_wrap_IdleEvent_RequestMore(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
;
16952 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16953 bool arg2
= (bool) True
;
16954 PyObject
* obj0
= 0 ;
16955 PyObject
* obj1
= 0 ;
16956 char *kwnames
[] = {
16957 (char *) "self",(char *) "needMore", NULL
16960 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:IdleEvent_RequestMore",kwnames
,&obj0
,&obj1
)) goto fail
;
16961 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16963 arg2
= PyInt_AsLong(obj1
) ? true : false;
16964 if (PyErr_Occurred()) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 (arg1
)->RequestMore(arg2
);
16970 wxPyEndAllowThreads(__tstate
);
16971 if (PyErr_Occurred()) SWIG_fail
;
16973 Py_INCREF(Py_None
); resultobj
= Py_None
;
16980 static PyObject
*_wrap_IdleEvent_MoreRequested(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
16981 PyObject
*resultobj
;
16982 wxIdleEvent
*arg1
= (wxIdleEvent
*) 0 ;
16984 PyObject
* obj0
= 0 ;
16985 char *kwnames
[] = {
16986 (char *) "self", NULL
16989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_MoreRequested",kwnames
,&obj0
)) goto fail
;
16990 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
16992 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16993 result
= (bool)((wxIdleEvent
const *)arg1
)->MoreRequested();
16995 wxPyEndAllowThreads(__tstate
);
16996 if (PyErr_Occurred()) SWIG_fail
;
16998 resultobj
= PyInt_FromLong((long)result
);
17005 static PyObject
*_wrap_IdleEvent_SetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17006 PyObject
*resultobj
;
17008 char *kwnames
[] = {
17009 (char *) "mode", NULL
17012 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:IdleEvent_SetMode",kwnames
,&arg1
)) goto fail
;
17014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17015 wxIdleEvent::SetMode((wxIdleMode
)arg1
);
17017 wxPyEndAllowThreads(__tstate
);
17018 if (PyErr_Occurred()) SWIG_fail
;
17020 Py_INCREF(Py_None
); resultobj
= Py_None
;
17027 static PyObject
*_wrap_IdleEvent_GetMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17028 PyObject
*resultobj
;
17030 char *kwnames
[] = {
17034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":IdleEvent_GetMode",kwnames
)) goto fail
;
17036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17037 result
= (int)wxIdleEvent::GetMode();
17039 wxPyEndAllowThreads(__tstate
);
17040 if (PyErr_Occurred()) SWIG_fail
;
17042 resultobj
= PyInt_FromLong((long)result
);
17049 static PyObject
*_wrap_IdleEvent_CanSend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17050 PyObject
*resultobj
;
17051 wxWindow
*arg1
= (wxWindow
*) 0 ;
17053 PyObject
* obj0
= 0 ;
17054 char *kwnames
[] = {
17055 (char *) "win", NULL
17058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IdleEvent_CanSend",kwnames
,&obj0
)) goto fail
;
17059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (bool)wxIdleEvent::CanSend(arg1
);
17064 wxPyEndAllowThreads(__tstate
);
17065 if (PyErr_Occurred()) SWIG_fail
;
17067 resultobj
= PyInt_FromLong((long)result
);
17074 static PyObject
* IdleEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17076 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17077 SWIG_TypeClientData(SWIGTYPE_p_wxIdleEvent
, obj
);
17079 return Py_BuildValue((char *)"");
17081 static PyObject
*_wrap_new_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17082 PyObject
*resultobj
;
17083 int arg1
= (int) 0 ;
17084 wxEventType arg2
= (wxEventType
) wxEVT_NULL
;
17086 char *kwnames
[] = {
17087 (char *) "winid",(char *) "commandType", NULL
17090 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17093 result
= (wxPyEvent
*)new wxPyEvent(arg1
,arg2
);
17095 wxPyEndAllowThreads(__tstate
);
17096 if (PyErr_Occurred()) SWIG_fail
;
17098 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyEvent
, 1);
17105 static PyObject
*_wrap_delete_PyEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
;
17107 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17108 PyObject
* obj0
= 0 ;
17109 char *kwnames
[] = {
17110 (char *) "self", NULL
17113 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyEvent",kwnames
,&obj0
)) goto fail
;
17114 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 Py_INCREF(Py_None
); resultobj
= Py_None
;
17129 static PyObject
*_wrap_PyEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17130 PyObject
*resultobj
;
17131 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17132 PyObject
*arg2
= (PyObject
*) 0 ;
17133 PyObject
* obj0
= 0 ;
17134 PyObject
* obj1
= 0 ;
17135 char *kwnames
[] = {
17136 (char *) "self",(char *) "self", NULL
17139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17144 (arg1
)->SetSelf(arg2
);
17146 wxPyEndAllowThreads(__tstate
);
17147 if (PyErr_Occurred()) SWIG_fail
;
17149 Py_INCREF(Py_None
); resultobj
= Py_None
;
17156 static PyObject
*_wrap_PyEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17157 PyObject
*resultobj
;
17158 wxPyEvent
*arg1
= (wxPyEvent
*) 0 ;
17160 PyObject
* obj0
= 0 ;
17161 char *kwnames
[] = {
17162 (char *) "self", NULL
17165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17169 result
= (PyObject
*)(arg1
)->GetSelf();
17171 wxPyEndAllowThreads(__tstate
);
17172 if (PyErr_Occurred()) SWIG_fail
;
17174 resultobj
= result
;
17181 static PyObject
* PyEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17183 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17184 SWIG_TypeClientData(SWIGTYPE_p_wxPyEvent
, obj
);
17186 return Py_BuildValue((char *)"");
17188 static PyObject
*_wrap_new_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17189 PyObject
*resultobj
;
17190 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
17191 int arg2
= (int) 0 ;
17192 wxPyCommandEvent
*result
;
17193 char *kwnames
[] = {
17194 (char *) "commandType",(char *) "id", NULL
17197 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_PyCommandEvent",kwnames
,&arg1
,&arg2
)) goto fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 result
= (wxPyCommandEvent
*)new wxPyCommandEvent(arg1
,arg2
);
17202 wxPyEndAllowThreads(__tstate
);
17203 if (PyErr_Occurred()) SWIG_fail
;
17205 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyCommandEvent
, 1);
17212 static PyObject
*_wrap_delete_PyCommandEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17213 PyObject
*resultobj
;
17214 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17215 PyObject
* obj0
= 0 ;
17216 char *kwnames
[] = {
17217 (char *) "self", NULL
17220 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyCommandEvent",kwnames
,&obj0
)) goto fail
;
17221 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17226 wxPyEndAllowThreads(__tstate
);
17227 if (PyErr_Occurred()) SWIG_fail
;
17229 Py_INCREF(Py_None
); resultobj
= Py_None
;
17236 static PyObject
*_wrap_PyCommandEvent_SetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17237 PyObject
*resultobj
;
17238 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17239 PyObject
*arg2
= (PyObject
*) 0 ;
17240 PyObject
* obj0
= 0 ;
17241 PyObject
* obj1
= 0 ;
17242 char *kwnames
[] = {
17243 (char *) "self",(char *) "self", NULL
17246 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyCommandEvent_SetSelf",kwnames
,&obj0
,&obj1
)) goto fail
;
17247 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17251 (arg1
)->SetSelf(arg2
);
17253 wxPyEndAllowThreads(__tstate
);
17254 if (PyErr_Occurred()) SWIG_fail
;
17256 Py_INCREF(Py_None
); resultobj
= Py_None
;
17263 static PyObject
*_wrap_PyCommandEvent_GetSelf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17264 PyObject
*resultobj
;
17265 wxPyCommandEvent
*arg1
= (wxPyCommandEvent
*) 0 ;
17267 PyObject
* obj0
= 0 ;
17268 char *kwnames
[] = {
17269 (char *) "self", NULL
17272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyCommandEvent_GetSelf",kwnames
,&obj0
)) goto fail
;
17273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17276 result
= (PyObject
*)(arg1
)->GetSelf();
17278 wxPyEndAllowThreads(__tstate
);
17279 if (PyErr_Occurred()) SWIG_fail
;
17281 resultobj
= result
;
17288 static PyObject
* PyCommandEvent_swigregister(PyObject
*self
, PyObject
*args
) {
17290 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
17291 SWIG_TypeClientData(SWIGTYPE_p_wxPyCommandEvent
, obj
);
17293 return Py_BuildValue((char *)"");
17295 static PyObject
*_wrap_new_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17296 PyObject
*resultobj
;
17298 char *kwnames
[] = {
17302 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyApp",kwnames
)) goto fail
;
17304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17305 result
= (wxPyApp
*)new_wxPyApp();
17307 wxPyEndAllowThreads(__tstate
);
17308 if (PyErr_Occurred()) SWIG_fail
;
17311 resultobj
= wxPyMake_wxObject(result
);
17319 static PyObject
*_wrap_delete_PyApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17320 PyObject
*resultobj
;
17321 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17322 PyObject
* obj0
= 0 ;
17323 char *kwnames
[] = {
17324 (char *) "self", NULL
17327 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_PyApp",kwnames
,&obj0
)) goto fail
;
17328 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17336 Py_INCREF(Py_None
); resultobj
= Py_None
;
17343 static PyObject
*_wrap_PyApp__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17344 PyObject
*resultobj
;
17345 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17346 PyObject
*arg2
= (PyObject
*) 0 ;
17347 PyObject
*arg3
= (PyObject
*) 0 ;
17348 PyObject
* obj0
= 0 ;
17349 PyObject
* obj1
= 0 ;
17350 PyObject
* obj2
= 0 ;
17351 char *kwnames
[] = {
17352 (char *) "self",(char *) "self",(char *) "_class", NULL
17355 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17356 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17361 (arg1
)->_setCallbackInfo(arg2
,arg3
);
17363 wxPyEndAllowThreads(__tstate
);
17364 if (PyErr_Occurred()) SWIG_fail
;
17366 Py_INCREF(Py_None
); resultobj
= Py_None
;
17373 static PyObject
*_wrap_PyApp_GetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17374 PyObject
*resultobj
;
17375 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17377 PyObject
* obj0
= 0 ;
17378 char *kwnames
[] = {
17379 (char *) "self", NULL
17382 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAppName",kwnames
,&obj0
)) goto fail
;
17383 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17386 result
= ((wxPyApp
const *)arg1
)->GetAppName();
17388 wxPyEndAllowThreads(__tstate
);
17389 if (PyErr_Occurred()) SWIG_fail
;
17393 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17395 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17404 static PyObject
*_wrap_PyApp_SetAppName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17405 PyObject
*resultobj
;
17406 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17407 wxString
*arg2
= 0 ;
17408 bool temp2
= False
;
17409 PyObject
* obj0
= 0 ;
17410 PyObject
* obj1
= 0 ;
17411 char *kwnames
[] = {
17412 (char *) "self",(char *) "name", NULL
17415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetAppName",kwnames
,&obj0
,&obj1
)) goto fail
;
17416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17418 arg2
= wxString_in_helper(obj1
);
17419 if (arg2
== NULL
) SWIG_fail
;
17423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17424 (arg1
)->SetAppName((wxString
const &)*arg2
);
17426 wxPyEndAllowThreads(__tstate
);
17427 if (PyErr_Occurred()) SWIG_fail
;
17429 Py_INCREF(Py_None
); resultobj
= Py_None
;
17444 static PyObject
*_wrap_PyApp_GetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17445 PyObject
*resultobj
;
17446 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17448 PyObject
* obj0
= 0 ;
17449 char *kwnames
[] = {
17450 (char *) "self", NULL
17453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetClassName",kwnames
,&obj0
)) goto fail
;
17454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17457 result
= ((wxPyApp
const *)arg1
)->GetClassName();
17459 wxPyEndAllowThreads(__tstate
);
17460 if (PyErr_Occurred()) SWIG_fail
;
17464 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17466 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17475 static PyObject
*_wrap_PyApp_SetClassName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17476 PyObject
*resultobj
;
17477 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17478 wxString
*arg2
= 0 ;
17479 bool temp2
= False
;
17480 PyObject
* obj0
= 0 ;
17481 PyObject
* obj1
= 0 ;
17482 char *kwnames
[] = {
17483 (char *) "self",(char *) "name", NULL
17486 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetClassName",kwnames
,&obj0
,&obj1
)) goto fail
;
17487 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17489 arg2
= wxString_in_helper(obj1
);
17490 if (arg2
== NULL
) SWIG_fail
;
17494 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17495 (arg1
)->SetClassName((wxString
const &)*arg2
);
17497 wxPyEndAllowThreads(__tstate
);
17498 if (PyErr_Occurred()) SWIG_fail
;
17500 Py_INCREF(Py_None
); resultobj
= Py_None
;
17515 static PyObject
*_wrap_PyApp_GetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17516 PyObject
*resultobj
;
17517 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17519 PyObject
* obj0
= 0 ;
17520 char *kwnames
[] = {
17521 (char *) "self", NULL
17524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetVendorName",kwnames
,&obj0
)) goto fail
;
17525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17529 wxString
const &_result_ref
= ((wxPyApp
const *)arg1
)->GetVendorName();
17530 result
= (wxString
*) &_result_ref
;
17533 wxPyEndAllowThreads(__tstate
);
17534 if (PyErr_Occurred()) SWIG_fail
;
17538 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
17540 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
17549 static PyObject
*_wrap_PyApp_SetVendorName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17550 PyObject
*resultobj
;
17551 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17552 wxString
*arg2
= 0 ;
17553 bool temp2
= False
;
17554 PyObject
* obj0
= 0 ;
17555 PyObject
* obj1
= 0 ;
17556 char *kwnames
[] = {
17557 (char *) "self",(char *) "name", NULL
17560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetVendorName",kwnames
,&obj0
,&obj1
)) goto fail
;
17561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17563 arg2
= wxString_in_helper(obj1
);
17564 if (arg2
== NULL
) SWIG_fail
;
17568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17569 (arg1
)->SetVendorName((wxString
const &)*arg2
);
17571 wxPyEndAllowThreads(__tstate
);
17572 if (PyErr_Occurred()) SWIG_fail
;
17574 Py_INCREF(Py_None
); resultobj
= Py_None
;
17589 static PyObject
*_wrap_PyApp_GetTraits(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17590 PyObject
*resultobj
;
17591 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17592 wxAppTraits
*result
;
17593 PyObject
* obj0
= 0 ;
17594 char *kwnames
[] = {
17595 (char *) "self", NULL
17598 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTraits",kwnames
,&obj0
)) goto fail
;
17599 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17602 result
= (wxAppTraits
*)(arg1
)->GetTraits();
17604 wxPyEndAllowThreads(__tstate
);
17605 if (PyErr_Occurred()) SWIG_fail
;
17607 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAppTraits
, 0);
17614 static PyObject
*_wrap_PyApp_ProcessPendingEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17615 PyObject
*resultobj
;
17616 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17617 PyObject
* obj0
= 0 ;
17618 char *kwnames
[] = {
17619 (char *) "self", NULL
17622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessPendingEvents",kwnames
,&obj0
)) goto fail
;
17623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17626 (arg1
)->ProcessPendingEvents();
17628 wxPyEndAllowThreads(__tstate
);
17629 if (PyErr_Occurred()) SWIG_fail
;
17631 Py_INCREF(Py_None
); resultobj
= Py_None
;
17638 static PyObject
*_wrap_PyApp_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17639 PyObject
*resultobj
;
17640 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17641 bool arg2
= (bool) False
;
17643 PyObject
* obj0
= 0 ;
17644 PyObject
* obj1
= 0 ;
17645 char *kwnames
[] = {
17646 (char *) "self",(char *) "onlyIfNeeded", NULL
17649 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PyApp_Yield",kwnames
,&obj0
,&obj1
)) goto fail
;
17650 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17652 arg2
= PyInt_AsLong(obj1
) ? true : false;
17653 if (PyErr_Occurred()) SWIG_fail
;
17656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17657 result
= (bool)(arg1
)->Yield(arg2
);
17659 wxPyEndAllowThreads(__tstate
);
17660 if (PyErr_Occurred()) SWIG_fail
;
17662 resultobj
= PyInt_FromLong((long)result
);
17669 static PyObject
*_wrap_PyApp_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17670 PyObject
*resultobj
;
17671 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17672 PyObject
* obj0
= 0 ;
17673 char *kwnames
[] = {
17674 (char *) "self", NULL
17677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_WakeUpIdle",kwnames
,&obj0
)) goto fail
;
17678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17681 (arg1
)->WakeUpIdle();
17683 wxPyEndAllowThreads(__tstate
);
17684 if (PyErr_Occurred()) SWIG_fail
;
17686 Py_INCREF(Py_None
); resultobj
= Py_None
;
17693 static PyObject
*_wrap_PyApp_MainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17694 PyObject
*resultobj
;
17695 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17697 PyObject
* obj0
= 0 ;
17698 char *kwnames
[] = {
17699 (char *) "self", NULL
17702 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_MainLoop",kwnames
,&obj0
)) goto fail
;
17703 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17706 result
= (int)(arg1
)->MainLoop();
17708 wxPyEndAllowThreads(__tstate
);
17709 if (PyErr_Occurred()) SWIG_fail
;
17711 resultobj
= PyInt_FromLong((long)result
);
17718 static PyObject
*_wrap_PyApp_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17719 PyObject
*resultobj
;
17720 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17721 PyObject
* obj0
= 0 ;
17722 char *kwnames
[] = {
17723 (char *) "self", NULL
17726 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Exit",kwnames
,&obj0
)) goto fail
;
17727 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17732 wxPyEndAllowThreads(__tstate
);
17733 if (PyErr_Occurred()) SWIG_fail
;
17735 Py_INCREF(Py_None
); resultobj
= Py_None
;
17742 static PyObject
*_wrap_PyApp_ExitMainLoop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17743 PyObject
*resultobj
;
17744 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17745 PyObject
* obj0
= 0 ;
17746 char *kwnames
[] = {
17747 (char *) "self", NULL
17750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ExitMainLoop",kwnames
,&obj0
)) goto fail
;
17751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17754 (arg1
)->ExitMainLoop();
17756 wxPyEndAllowThreads(__tstate
);
17757 if (PyErr_Occurred()) SWIG_fail
;
17759 Py_INCREF(Py_None
); resultobj
= Py_None
;
17766 static PyObject
*_wrap_PyApp_Pending(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17767 PyObject
*resultobj
;
17768 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17770 PyObject
* obj0
= 0 ;
17771 char *kwnames
[] = {
17772 (char *) "self", NULL
17775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Pending",kwnames
,&obj0
)) goto fail
;
17776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17779 result
= (bool)(arg1
)->Pending();
17781 wxPyEndAllowThreads(__tstate
);
17782 if (PyErr_Occurred()) SWIG_fail
;
17784 resultobj
= PyInt_FromLong((long)result
);
17791 static PyObject
*_wrap_PyApp_Dispatch(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17792 PyObject
*resultobj
;
17793 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17795 PyObject
* obj0
= 0 ;
17796 char *kwnames
[] = {
17797 (char *) "self", NULL
17800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_Dispatch",kwnames
,&obj0
)) goto fail
;
17801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (bool)(arg1
)->Dispatch();
17806 wxPyEndAllowThreads(__tstate
);
17807 if (PyErr_Occurred()) SWIG_fail
;
17809 resultobj
= PyInt_FromLong((long)result
);
17816 static PyObject
*_wrap_PyApp_ProcessIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17817 PyObject
*resultobj
;
17818 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17820 PyObject
* obj0
= 0 ;
17821 char *kwnames
[] = {
17822 (char *) "self", NULL
17825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_ProcessIdle",kwnames
,&obj0
)) goto fail
;
17826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17829 result
= (bool)(arg1
)->ProcessIdle();
17831 wxPyEndAllowThreads(__tstate
);
17832 if (PyErr_Occurred()) SWIG_fail
;
17834 resultobj
= PyInt_FromLong((long)result
);
17841 static PyObject
*_wrap_PyApp_SendIdleEvents(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17842 PyObject
*resultobj
;
17843 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17844 wxWindow
*arg2
= (wxWindow
*) 0 ;
17845 wxIdleEvent
*arg3
= 0 ;
17847 PyObject
* obj0
= 0 ;
17848 PyObject
* obj1
= 0 ;
17849 PyObject
* obj2
= 0 ;
17850 char *kwnames
[] = {
17851 (char *) "self",(char *) "win",(char *) "event", NULL
17854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyApp_SendIdleEvents",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
17855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17856 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17857 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxIdleEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17858 if (arg3
== NULL
) {
17859 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
17862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17863 result
= (bool)(arg1
)->SendIdleEvents(arg2
,*arg3
);
17865 wxPyEndAllowThreads(__tstate
);
17866 if (PyErr_Occurred()) SWIG_fail
;
17868 resultobj
= PyInt_FromLong((long)result
);
17875 static PyObject
*_wrap_PyApp_IsActive(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17876 PyObject
*resultobj
;
17877 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17879 PyObject
* obj0
= 0 ;
17880 char *kwnames
[] = {
17881 (char *) "self", NULL
17884 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_IsActive",kwnames
,&obj0
)) goto fail
;
17885 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17888 result
= (bool)((wxPyApp
const *)arg1
)->IsActive();
17890 wxPyEndAllowThreads(__tstate
);
17891 if (PyErr_Occurred()) SWIG_fail
;
17893 resultobj
= PyInt_FromLong((long)result
);
17900 static PyObject
*_wrap_PyApp_SetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17901 PyObject
*resultobj
;
17902 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17903 wxWindow
*arg2
= (wxWindow
*) 0 ;
17904 PyObject
* obj0
= 0 ;
17905 PyObject
* obj1
= 0 ;
17906 char *kwnames
[] = {
17907 (char *) "self",(char *) "win", NULL
17910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetTopWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
17911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17915 (arg1
)->SetTopWindow(arg2
);
17917 wxPyEndAllowThreads(__tstate
);
17918 if (PyErr_Occurred()) SWIG_fail
;
17920 Py_INCREF(Py_None
); resultobj
= Py_None
;
17927 static PyObject
*_wrap_PyApp_GetTopWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17928 PyObject
*resultobj
;
17929 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17931 PyObject
* obj0
= 0 ;
17932 char *kwnames
[] = {
17933 (char *) "self", NULL
17936 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetTopWindow",kwnames
,&obj0
)) goto fail
;
17937 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17939 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17940 result
= (wxWindow
*)((wxPyApp
const *)arg1
)->GetTopWindow();
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17946 resultobj
= wxPyMake_wxObject(result
);
17954 static PyObject
*_wrap_PyApp_SetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17955 PyObject
*resultobj
;
17956 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17958 PyObject
* obj0
= 0 ;
17959 PyObject
* obj1
= 0 ;
17960 char *kwnames
[] = {
17961 (char *) "self",(char *) "flag", NULL
17964 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetExitOnFrameDelete",kwnames
,&obj0
,&obj1
)) goto fail
;
17965 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17966 arg2
= PyInt_AsLong(obj1
) ? true : false;
17967 if (PyErr_Occurred()) SWIG_fail
;
17969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17970 (arg1
)->SetExitOnFrameDelete(arg2
);
17972 wxPyEndAllowThreads(__tstate
);
17973 if (PyErr_Occurred()) SWIG_fail
;
17975 Py_INCREF(Py_None
); resultobj
= Py_None
;
17982 static PyObject
*_wrap_PyApp_GetExitOnFrameDelete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
17983 PyObject
*resultobj
;
17984 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
17986 PyObject
* obj0
= 0 ;
17987 char *kwnames
[] = {
17988 (char *) "self", NULL
17991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetExitOnFrameDelete",kwnames
,&obj0
)) goto fail
;
17992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
17994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17995 result
= (bool)((wxPyApp
const *)arg1
)->GetExitOnFrameDelete();
17997 wxPyEndAllowThreads(__tstate
);
17998 if (PyErr_Occurred()) SWIG_fail
;
18000 resultobj
= PyInt_FromLong((long)result
);
18007 static PyObject
*_wrap_PyApp_SetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18008 PyObject
*resultobj
;
18009 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18011 PyObject
* obj0
= 0 ;
18012 PyObject
* obj1
= 0 ;
18013 char *kwnames
[] = {
18014 (char *) "self",(char *) "flag", NULL
18017 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyApp_SetUseBestVisual",kwnames
,&obj0
,&obj1
)) goto fail
;
18018 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18019 arg2
= PyInt_AsLong(obj1
) ? true : false;
18020 if (PyErr_Occurred()) SWIG_fail
;
18022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18023 (arg1
)->SetUseBestVisual(arg2
);
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18028 Py_INCREF(Py_None
); resultobj
= Py_None
;
18035 static PyObject
*_wrap_PyApp_GetUseBestVisual(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
;
18037 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18039 PyObject
* obj0
= 0 ;
18040 char *kwnames
[] = {
18041 (char *) "self", NULL
18044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetUseBestVisual",kwnames
,&obj0
)) goto fail
;
18045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18048 result
= (bool)((wxPyApp
const *)arg1
)->GetUseBestVisual();
18050 wxPyEndAllowThreads(__tstate
);
18051 if (PyErr_Occurred()) SWIG_fail
;
18053 resultobj
= PyInt_FromLong((long)result
);
18060 static PyObject
*_wrap_PyApp_SetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18061 PyObject
*resultobj
;
18062 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18064 PyObject
* obj0
= 0 ;
18065 char *kwnames
[] = {
18066 (char *) "self",(char *) "mode", NULL
18069 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetPrintMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18070 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18073 (arg1
)->SetPrintMode(arg2
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 Py_INCREF(Py_None
); resultobj
= Py_None
;
18085 static PyObject
*_wrap_PyApp_GetPrintMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18086 PyObject
*resultobj
;
18087 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18089 PyObject
* obj0
= 0 ;
18090 char *kwnames
[] = {
18091 (char *) "self", NULL
18094 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetPrintMode",kwnames
,&obj0
)) goto fail
;
18095 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18098 result
= (int)((wxPyApp
const *)arg1
)->GetPrintMode();
18100 wxPyEndAllowThreads(__tstate
);
18101 if (PyErr_Occurred()) SWIG_fail
;
18103 resultobj
= PyInt_FromLong((long)result
);
18110 static PyObject
*_wrap_PyApp_SetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18111 PyObject
*resultobj
;
18112 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18114 PyObject
* obj0
= 0 ;
18115 char *kwnames
[] = {
18116 (char *) "self",(char *) "mode", NULL
18119 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:PyApp_SetAssertMode",kwnames
,&obj0
,&arg2
)) goto fail
;
18120 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18123 (arg1
)->SetAssertMode(arg2
);
18125 wxPyEndAllowThreads(__tstate
);
18126 if (PyErr_Occurred()) SWIG_fail
;
18128 Py_INCREF(Py_None
); resultobj
= Py_None
;
18135 static PyObject
*_wrap_PyApp_GetAssertMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18136 PyObject
*resultobj
;
18137 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18139 PyObject
* obj0
= 0 ;
18140 char *kwnames
[] = {
18141 (char *) "self", NULL
18144 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_GetAssertMode",kwnames
,&obj0
)) goto fail
;
18145 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18148 result
= (int)(arg1
)->GetAssertMode();
18150 wxPyEndAllowThreads(__tstate
);
18151 if (PyErr_Occurred()) SWIG_fail
;
18153 resultobj
= PyInt_FromLong((long)result
);
18160 static PyObject
*_wrap_PyApp_GetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18161 PyObject
*resultobj
;
18163 char *kwnames
[] = {
18167 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacSupportPCMenuShortcuts",kwnames
)) goto fail
;
18169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18170 result
= (bool)wxPyApp::GetMacSupportPCMenuShortcuts();
18172 wxPyEndAllowThreads(__tstate
);
18173 if (PyErr_Occurred()) SWIG_fail
;
18175 resultobj
= PyInt_FromLong((long)result
);
18182 static PyObject
*_wrap_PyApp_GetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18183 PyObject
*resultobj
;
18185 char *kwnames
[] = {
18189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacAboutMenuItemId",kwnames
)) goto fail
;
18191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18192 result
= (long)wxPyApp::GetMacAboutMenuItemId();
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= PyInt_FromLong((long)result
);
18204 static PyObject
*_wrap_PyApp_GetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18205 PyObject
*resultobj
;
18207 char *kwnames
[] = {
18211 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacPreferencesMenuItemId",kwnames
)) goto fail
;
18213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18214 result
= (long)wxPyApp::GetMacPreferencesMenuItemId();
18216 wxPyEndAllowThreads(__tstate
);
18217 if (PyErr_Occurred()) SWIG_fail
;
18219 resultobj
= PyInt_FromLong((long)result
);
18226 static PyObject
*_wrap_PyApp_GetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18227 PyObject
*resultobj
;
18229 char *kwnames
[] = {
18233 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacExitMenuItemId",kwnames
)) goto fail
;
18235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18236 result
= (long)wxPyApp::GetMacExitMenuItemId();
18238 wxPyEndAllowThreads(__tstate
);
18239 if (PyErr_Occurred()) SWIG_fail
;
18241 resultobj
= PyInt_FromLong((long)result
);
18248 static PyObject
*_wrap_PyApp_GetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18249 PyObject
*resultobj
;
18251 char *kwnames
[] = {
18255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetMacHelpMenuTitleName",kwnames
)) goto fail
;
18257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18258 result
= wxPyApp::GetMacHelpMenuTitleName();
18260 wxPyEndAllowThreads(__tstate
);
18261 if (PyErr_Occurred()) SWIG_fail
;
18265 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18267 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18276 static PyObject
*_wrap_PyApp_SetMacSupportPCMenuShortcuts(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18277 PyObject
*resultobj
;
18279 PyObject
* obj0
= 0 ;
18280 char *kwnames
[] = {
18281 (char *) "val", NULL
18284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacSupportPCMenuShortcuts",kwnames
,&obj0
)) goto fail
;
18285 arg1
= PyInt_AsLong(obj0
) ? true : false;
18286 if (PyErr_Occurred()) SWIG_fail
;
18288 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18289 wxPyApp::SetMacSupportPCMenuShortcuts(arg1
);
18291 wxPyEndAllowThreads(__tstate
);
18292 if (PyErr_Occurred()) SWIG_fail
;
18294 Py_INCREF(Py_None
); resultobj
= Py_None
;
18301 static PyObject
*_wrap_PyApp_SetMacAboutMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18302 PyObject
*resultobj
;
18304 char *kwnames
[] = {
18305 (char *) "val", NULL
18308 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacAboutMenuItemId",kwnames
,&arg1
)) goto fail
;
18310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18311 wxPyApp::SetMacAboutMenuItemId(arg1
);
18313 wxPyEndAllowThreads(__tstate
);
18314 if (PyErr_Occurred()) SWIG_fail
;
18316 Py_INCREF(Py_None
); resultobj
= Py_None
;
18323 static PyObject
*_wrap_PyApp_SetMacPreferencesMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18324 PyObject
*resultobj
;
18326 char *kwnames
[] = {
18327 (char *) "val", NULL
18330 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacPreferencesMenuItemId",kwnames
,&arg1
)) goto fail
;
18332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18333 wxPyApp::SetMacPreferencesMenuItemId(arg1
);
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18338 Py_INCREF(Py_None
); resultobj
= Py_None
;
18345 static PyObject
*_wrap_PyApp_SetMacExitMenuItemId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18346 PyObject
*resultobj
;
18348 char *kwnames
[] = {
18349 (char *) "val", NULL
18352 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l:PyApp_SetMacExitMenuItemId",kwnames
,&arg1
)) goto fail
;
18354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18355 wxPyApp::SetMacExitMenuItemId(arg1
);
18357 wxPyEndAllowThreads(__tstate
);
18358 if (PyErr_Occurred()) SWIG_fail
;
18360 Py_INCREF(Py_None
); resultobj
= Py_None
;
18367 static PyObject
*_wrap_PyApp_SetMacHelpMenuTitleName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
;
18369 wxString
*arg1
= 0 ;
18370 bool temp1
= False
;
18371 PyObject
* obj0
= 0 ;
18372 char *kwnames
[] = {
18373 (char *) "val", NULL
18376 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp_SetMacHelpMenuTitleName",kwnames
,&obj0
)) goto fail
;
18378 arg1
= wxString_in_helper(obj0
);
18379 if (arg1
== NULL
) SWIG_fail
;
18383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18384 wxPyApp::SetMacHelpMenuTitleName((wxString
const &)*arg1
);
18386 wxPyEndAllowThreads(__tstate
);
18387 if (PyErr_Occurred()) SWIG_fail
;
18389 Py_INCREF(Py_None
); resultobj
= Py_None
;
18404 static PyObject
*_wrap_PyApp__BootstrapApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18405 PyObject
*resultobj
;
18406 wxPyApp
*arg1
= (wxPyApp
*) 0 ;
18407 PyObject
* obj0
= 0 ;
18408 char *kwnames
[] = {
18409 (char *) "self", NULL
18412 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:PyApp__BootstrapApp",kwnames
,&obj0
)) goto fail
;
18413 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyApp
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18416 (arg1
)->_BootstrapApp();
18418 wxPyEndAllowThreads(__tstate
);
18419 if (PyErr_Occurred()) SWIG_fail
;
18421 Py_INCREF(Py_None
); resultobj
= Py_None
;
18428 static PyObject
*_wrap_PyApp_GetComCtl32Version(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18429 PyObject
*resultobj
;
18431 char *kwnames
[] = {
18435 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":PyApp_GetComCtl32Version",kwnames
)) goto fail
;
18437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18438 result
= (int)wxPyApp::GetComCtl32Version();
18440 wxPyEndAllowThreads(__tstate
);
18441 if (PyErr_Occurred()) SWIG_fail
;
18443 resultobj
= PyInt_FromLong((long)result
);
18450 static PyObject
* PyApp_swigregister(PyObject
*self
, PyObject
*args
) {
18452 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18453 SWIG_TypeClientData(SWIGTYPE_p_wxPyApp
, obj
);
18455 return Py_BuildValue((char *)"");
18457 static PyObject
*_wrap_Exit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18458 PyObject
*resultobj
;
18459 char *kwnames
[] = {
18463 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Exit",kwnames
)) goto fail
;
18465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18468 wxPyEndAllowThreads(__tstate
);
18469 if (PyErr_Occurred()) SWIG_fail
;
18471 Py_INCREF(Py_None
); resultobj
= Py_None
;
18478 static PyObject
*_wrap_Yield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18479 PyObject
*resultobj
;
18481 char *kwnames
[] = {
18485 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Yield",kwnames
)) goto fail
;
18487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18488 result
= (bool)wxYield();
18490 wxPyEndAllowThreads(__tstate
);
18491 if (PyErr_Occurred()) SWIG_fail
;
18493 resultobj
= PyInt_FromLong((long)result
);
18500 static PyObject
*_wrap_YieldIfNeeded(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18501 PyObject
*resultobj
;
18503 char *kwnames
[] = {
18507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":YieldIfNeeded",kwnames
)) goto fail
;
18509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18510 result
= (bool)wxYieldIfNeeded();
18512 wxPyEndAllowThreads(__tstate
);
18513 if (PyErr_Occurred()) SWIG_fail
;
18515 resultobj
= PyInt_FromLong((long)result
);
18522 static PyObject
*_wrap_SafeYield(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18523 PyObject
*resultobj
;
18524 wxWindow
*arg1
= (wxWindow
*) NULL
;
18525 bool arg2
= (bool) False
;
18527 PyObject
* obj0
= 0 ;
18528 PyObject
* obj1
= 0 ;
18529 char *kwnames
[] = {
18530 (char *) "win",(char *) "onlyIfNeeded", NULL
18533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:SafeYield",kwnames
,&obj0
,&obj1
)) goto fail
;
18535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18538 arg2
= PyInt_AsLong(obj1
) ? true : false;
18539 if (PyErr_Occurred()) SWIG_fail
;
18542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18543 result
= (bool)wxSafeYield(arg1
,arg2
);
18545 wxPyEndAllowThreads(__tstate
);
18546 if (PyErr_Occurred()) SWIG_fail
;
18548 resultobj
= PyInt_FromLong((long)result
);
18555 static PyObject
*_wrap_WakeUpIdle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18556 PyObject
*resultobj
;
18557 char *kwnames
[] = {
18561 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":WakeUpIdle",kwnames
)) goto fail
;
18563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 wxPyEndAllowThreads(__tstate
);
18567 if (PyErr_Occurred()) SWIG_fail
;
18569 Py_INCREF(Py_None
); resultobj
= Py_None
;
18576 static PyObject
*_wrap_PostEvent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18577 PyObject
*resultobj
;
18578 wxEvtHandler
*arg1
= (wxEvtHandler
*) 0 ;
18579 wxEvent
*arg2
= 0 ;
18580 PyObject
* obj0
= 0 ;
18581 PyObject
* obj1
= 0 ;
18582 char *kwnames
[] = {
18583 (char *) "dest",(char *) "event", NULL
18586 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PostEvent",kwnames
,&obj0
,&obj1
)) goto fail
;
18587 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18588 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18589 if (arg2
== NULL
) {
18590 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
18593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18594 wxPostEvent(arg1
,*arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 Py_INCREF(Py_None
); resultobj
= Py_None
;
18606 static PyObject
*_wrap_App_CleanUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
;
18608 char *kwnames
[] = {
18612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":App_CleanUp",kwnames
)) goto fail
;
18614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18617 wxPyEndAllowThreads(__tstate
);
18618 if (PyErr_Occurred()) SWIG_fail
;
18620 Py_INCREF(Py_None
); resultobj
= Py_None
;
18627 static PyObject
*_wrap_GetApp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18628 PyObject
*resultobj
;
18630 char *kwnames
[] = {
18634 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":GetApp",kwnames
)) goto fail
;
18636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18637 result
= (wxPyApp
*)wxGetApp();
18639 wxPyEndAllowThreads(__tstate
);
18640 if (PyErr_Occurred()) SWIG_fail
;
18643 resultobj
= wxPyMake_wxObject(result
);
18651 static PyObject
*_wrap_new_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18652 PyObject
*resultobj
;
18653 int arg1
= (int) 0 ;
18654 int arg2
= (int) 0 ;
18655 int arg3
= (int) 0 ;
18656 wxMenuItem
*arg4
= (wxMenuItem
*) NULL
;
18657 wxAcceleratorEntry
*result
;
18658 PyObject
* obj3
= 0 ;
18659 char *kwnames
[] = {
18660 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18663 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiiO:new_AcceleratorEntry",kwnames
,&arg1
,&arg2
,&arg3
,&obj3
)) goto fail
;
18665 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18669 result
= (wxAcceleratorEntry
*)new wxAcceleratorEntry(arg1
,arg2
,arg3
,arg4
);
18671 wxPyEndAllowThreads(__tstate
);
18672 if (PyErr_Occurred()) SWIG_fail
;
18674 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 1);
18681 static PyObject
*_wrap_delete_AcceleratorEntry(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18682 PyObject
*resultobj
;
18683 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18684 PyObject
* obj0
= 0 ;
18685 char *kwnames
[] = {
18686 (char *) "self", NULL
18689 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorEntry",kwnames
,&obj0
)) goto fail
;
18690 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18695 wxPyEndAllowThreads(__tstate
);
18696 if (PyErr_Occurred()) SWIG_fail
;
18698 Py_INCREF(Py_None
); resultobj
= Py_None
;
18705 static PyObject
*_wrap_AcceleratorEntry_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18706 PyObject
*resultobj
;
18707 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18711 wxMenuItem
*arg5
= (wxMenuItem
*) NULL
;
18712 PyObject
* obj0
= 0 ;
18713 PyObject
* obj4
= 0 ;
18714 char *kwnames
[] = {
18715 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
18718 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
18719 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18721 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18725 (arg1
)->Set(arg2
,arg3
,arg4
,arg5
);
18727 wxPyEndAllowThreads(__tstate
);
18728 if (PyErr_Occurred()) SWIG_fail
;
18730 Py_INCREF(Py_None
); resultobj
= Py_None
;
18737 static PyObject
*_wrap_AcceleratorEntry_SetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18738 PyObject
*resultobj
;
18739 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18740 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
18741 PyObject
* obj0
= 0 ;
18742 PyObject
* obj1
= 0 ;
18743 char *kwnames
[] = {
18744 (char *) "self",(char *) "item", NULL
18747 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames
,&obj0
,&obj1
)) goto fail
;
18748 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18749 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18752 (arg1
)->SetMenuItem(arg2
);
18754 wxPyEndAllowThreads(__tstate
);
18755 if (PyErr_Occurred()) SWIG_fail
;
18757 Py_INCREF(Py_None
); resultobj
= Py_None
;
18764 static PyObject
*_wrap_AcceleratorEntry_GetMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18765 PyObject
*resultobj
;
18766 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18767 wxMenuItem
*result
;
18768 PyObject
* obj0
= 0 ;
18769 char *kwnames
[] = {
18770 (char *) "self", NULL
18773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames
,&obj0
)) goto fail
;
18774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18777 result
= (wxMenuItem
*)((wxAcceleratorEntry
const *)arg1
)->GetMenuItem();
18779 wxPyEndAllowThreads(__tstate
);
18780 if (PyErr_Occurred()) SWIG_fail
;
18783 resultobj
= wxPyMake_wxObject(result
);
18791 static PyObject
*_wrap_AcceleratorEntry_GetFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18792 PyObject
*resultobj
;
18793 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18795 PyObject
* obj0
= 0 ;
18796 char *kwnames
[] = {
18797 (char *) "self", NULL
18800 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetFlags",kwnames
,&obj0
)) goto fail
;
18801 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 result
= (int)(arg1
)->GetFlags();
18806 wxPyEndAllowThreads(__tstate
);
18807 if (PyErr_Occurred()) SWIG_fail
;
18809 resultobj
= PyInt_FromLong((long)result
);
18816 static PyObject
*_wrap_AcceleratorEntry_GetKeyCode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18817 PyObject
*resultobj
;
18818 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18820 PyObject
* obj0
= 0 ;
18821 char *kwnames
[] = {
18822 (char *) "self", NULL
18825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames
,&obj0
)) goto fail
;
18826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18829 result
= (int)(arg1
)->GetKeyCode();
18831 wxPyEndAllowThreads(__tstate
);
18832 if (PyErr_Occurred()) SWIG_fail
;
18834 resultobj
= PyInt_FromLong((long)result
);
18841 static PyObject
*_wrap_AcceleratorEntry_GetCommand(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18842 PyObject
*resultobj
;
18843 wxAcceleratorEntry
*arg1
= (wxAcceleratorEntry
*) 0 ;
18845 PyObject
* obj0
= 0 ;
18846 char *kwnames
[] = {
18847 (char *) "self", NULL
18850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorEntry_GetCommand",kwnames
,&obj0
)) goto fail
;
18851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18854 result
= (int)(arg1
)->GetCommand();
18856 wxPyEndAllowThreads(__tstate
);
18857 if (PyErr_Occurred()) SWIG_fail
;
18859 resultobj
= PyInt_FromLong((long)result
);
18866 static PyObject
* AcceleratorEntry_swigregister(PyObject
*self
, PyObject
*args
) {
18868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18869 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry
, obj
);
18871 return Py_BuildValue((char *)"");
18873 static PyObject
*_wrap_new_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18874 PyObject
*resultobj
;
18876 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
18877 wxAcceleratorTable
*result
;
18878 PyObject
* obj0
= 0 ;
18879 char *kwnames
[] = {
18883 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:new_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18885 arg2
= wxAcceleratorEntry_LIST_helper(obj0
);
18886 if (arg2
) arg1
= PyList_Size(obj0
);
18890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18891 result
= (wxAcceleratorTable
*)new wxAcceleratorTable(arg1
,(wxAcceleratorEntry
const *)arg2
);
18893 wxPyEndAllowThreads(__tstate
);
18894 if (PyErr_Occurred()) SWIG_fail
;
18896 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 1);
18909 static PyObject
*_wrap_delete_AcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18910 PyObject
*resultobj
;
18911 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18912 PyObject
* obj0
= 0 ;
18913 char *kwnames
[] = {
18914 (char *) "self", NULL
18917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:delete_AcceleratorTable",kwnames
,&obj0
)) goto fail
;
18918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18923 wxPyEndAllowThreads(__tstate
);
18924 if (PyErr_Occurred()) SWIG_fail
;
18926 Py_INCREF(Py_None
); resultobj
= Py_None
;
18933 static PyObject
*_wrap_AcceleratorTable_Ok(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18934 PyObject
*resultobj
;
18935 wxAcceleratorTable
*arg1
= (wxAcceleratorTable
*) 0 ;
18937 PyObject
* obj0
= 0 ;
18938 char *kwnames
[] = {
18939 (char *) "self", NULL
18942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:AcceleratorTable_Ok",kwnames
,&obj0
)) goto fail
;
18943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
18945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18946 result
= (bool)((wxAcceleratorTable
const *)arg1
)->Ok();
18948 wxPyEndAllowThreads(__tstate
);
18949 if (PyErr_Occurred()) SWIG_fail
;
18951 resultobj
= PyInt_FromLong((long)result
);
18958 static PyObject
* AcceleratorTable_swigregister(PyObject
*self
, PyObject
*args
) {
18960 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
18961 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable
, obj
);
18963 return Py_BuildValue((char *)"");
18965 static int _wrap_NullAcceleratorTable_set(PyObject
*_val
) {
18966 PyErr_SetString(PyExc_TypeError
,"Variable NullAcceleratorTable is read-only.");
18971 static PyObject
*_wrap_NullAcceleratorTable_get() {
18974 pyobj
= SWIG_NewPointerObj((void *) &wxNullAcceleratorTable
, SWIGTYPE_p_wxAcceleratorTable
, 0);
18979 static PyObject
*_wrap_GetAccelFromString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
18980 PyObject
*resultobj
;
18981 wxString
*arg1
= 0 ;
18982 wxAcceleratorEntry
*result
;
18983 bool temp1
= False
;
18984 PyObject
* obj0
= 0 ;
18985 char *kwnames
[] = {
18986 (char *) "label", NULL
18989 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GetAccelFromString",kwnames
,&obj0
)) goto fail
;
18991 arg1
= wxString_in_helper(obj0
);
18992 if (arg1
== NULL
) SWIG_fail
;
18996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18997 result
= (wxAcceleratorEntry
*)wxGetAccelFromString((wxString
const &)*arg1
);
18999 wxPyEndAllowThreads(__tstate
);
19000 if (PyErr_Occurred()) SWIG_fail
;
19002 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
19017 static int _wrap_PanelNameStr_set(PyObject
*_val
) {
19018 PyErr_SetString(PyExc_TypeError
,"Variable PanelNameStr is read-only.");
19023 static PyObject
*_wrap_PanelNameStr_get() {
19028 pyobj
= PyUnicode_FromWideChar((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
19030 pyobj
= PyString_FromStringAndSize((&wxPyPanelNameStr
)->c_str(), (&wxPyPanelNameStr
)->Len());
19037 static PyObject
*_wrap_new_Window(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19038 PyObject
*resultobj
;
19039 wxWindow
*arg1
= (wxWindow
*) 0 ;
19041 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
19042 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
19043 wxSize
const &arg4_defvalue
= wxDefaultSize
;
19044 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
19045 long arg5
= (long) 0 ;
19046 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
19047 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
19051 bool temp6
= False
;
19052 PyObject
* obj0
= 0 ;
19053 PyObject
* obj2
= 0 ;
19054 PyObject
* obj3
= 0 ;
19055 PyObject
* obj5
= 0 ;
19056 char *kwnames
[] = {
19057 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19060 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlO:new_Window",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
19061 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19065 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
19071 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
19076 arg6
= wxString_in_helper(obj5
);
19077 if (arg6
== NULL
) SWIG_fail
;
19082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19083 result
= (wxWindow
*)new wxWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
19085 wxPyEndAllowThreads(__tstate
);
19086 if (PyErr_Occurred()) SWIG_fail
;
19089 resultobj
= wxPyMake_wxObject(result
);
19105 static PyObject
*_wrap_new_PreWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19106 PyObject
*resultobj
;
19108 char *kwnames
[] = {
19112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreWindow",kwnames
)) goto fail
;
19114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19115 result
= (wxWindow
*)new wxWindow();
19117 wxPyEndAllowThreads(__tstate
);
19118 if (PyErr_Occurred()) SWIG_fail
;
19121 resultobj
= wxPyMake_wxObject(result
);
19129 static PyObject
*_wrap_Window_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19130 PyObject
*resultobj
;
19131 wxWindow
*arg1
= (wxWindow
*) 0 ;
19132 wxWindow
*arg2
= (wxWindow
*) 0 ;
19134 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
19135 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
19136 wxSize
const &arg5_defvalue
= wxDefaultSize
;
19137 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
19138 long arg6
= (long) 0 ;
19139 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
19140 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
19144 bool temp7
= False
;
19145 PyObject
* obj0
= 0 ;
19146 PyObject
* obj1
= 0 ;
19147 PyObject
* obj3
= 0 ;
19148 PyObject
* obj4
= 0 ;
19149 PyObject
* obj6
= 0 ;
19150 char *kwnames
[] = {
19151 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlO:Window_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
)) goto fail
;
19155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19156 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19160 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
19166 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
19171 arg7
= wxString_in_helper(obj6
);
19172 if (arg7
== NULL
) SWIG_fail
;
19177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19178 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
19180 wxPyEndAllowThreads(__tstate
);
19181 if (PyErr_Occurred()) SWIG_fail
;
19183 resultobj
= PyInt_FromLong((long)result
);
19198 static PyObject
*_wrap_Window_Close(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19199 PyObject
*resultobj
;
19200 wxWindow
*arg1
= (wxWindow
*) 0 ;
19201 bool arg2
= (bool) False
;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char *kwnames
[] = {
19206 (char *) "self",(char *) "force", NULL
19209 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Close",kwnames
,&obj0
,&obj1
)) goto fail
;
19210 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19212 arg2
= PyInt_AsLong(obj1
) ? true : false;
19213 if (PyErr_Occurred()) SWIG_fail
;
19216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19217 result
= (bool)(arg1
)->Close(arg2
);
19219 wxPyEndAllowThreads(__tstate
);
19220 if (PyErr_Occurred()) SWIG_fail
;
19222 resultobj
= PyInt_FromLong((long)result
);
19229 static PyObject
*_wrap_Window_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19230 PyObject
*resultobj
;
19231 wxWindow
*arg1
= (wxWindow
*) 0 ;
19233 PyObject
* obj0
= 0 ;
19234 char *kwnames
[] = {
19235 (char *) "self", NULL
19238 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Destroy",kwnames
,&obj0
)) goto fail
;
19239 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19242 result
= (bool)(arg1
)->Destroy();
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= PyInt_FromLong((long)result
);
19254 static PyObject
*_wrap_Window_DestroyChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19255 PyObject
*resultobj
;
19256 wxWindow
*arg1
= (wxWindow
*) 0 ;
19258 PyObject
* obj0
= 0 ;
19259 char *kwnames
[] = {
19260 (char *) "self", NULL
19263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_DestroyChildren",kwnames
,&obj0
)) goto fail
;
19264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19267 result
= (bool)(arg1
)->DestroyChildren();
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19272 resultobj
= PyInt_FromLong((long)result
);
19279 static PyObject
*_wrap_Window_IsBeingDeleted(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19280 PyObject
*resultobj
;
19281 wxWindow
*arg1
= (wxWindow
*) 0 ;
19283 PyObject
* obj0
= 0 ;
19284 char *kwnames
[] = {
19285 (char *) "self", NULL
19288 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsBeingDeleted",kwnames
,&obj0
)) goto fail
;
19289 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19292 result
= (bool)((wxWindow
const *)arg1
)->IsBeingDeleted();
19294 wxPyEndAllowThreads(__tstate
);
19295 if (PyErr_Occurred()) SWIG_fail
;
19297 resultobj
= PyInt_FromLong((long)result
);
19304 static PyObject
*_wrap_Window_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19305 PyObject
*resultobj
;
19306 wxWindow
*arg1
= (wxWindow
*) 0 ;
19307 wxString
*arg2
= 0 ;
19308 bool temp2
= False
;
19309 PyObject
* obj0
= 0 ;
19310 PyObject
* obj1
= 0 ;
19311 char *kwnames
[] = {
19312 (char *) "self",(char *) "title", NULL
19315 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
19316 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19318 arg2
= wxString_in_helper(obj1
);
19319 if (arg2
== NULL
) SWIG_fail
;
19323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19324 (arg1
)->SetTitle((wxString
const &)*arg2
);
19326 wxPyEndAllowThreads(__tstate
);
19327 if (PyErr_Occurred()) SWIG_fail
;
19329 Py_INCREF(Py_None
); resultobj
= Py_None
;
19344 static PyObject
*_wrap_Window_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19345 PyObject
*resultobj
;
19346 wxWindow
*arg1
= (wxWindow
*) 0 ;
19348 PyObject
* obj0
= 0 ;
19349 char *kwnames
[] = {
19350 (char *) "self", NULL
19353 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetTitle",kwnames
,&obj0
)) goto fail
;
19354 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19357 result
= ((wxWindow
const *)arg1
)->GetTitle();
19359 wxPyEndAllowThreads(__tstate
);
19360 if (PyErr_Occurred()) SWIG_fail
;
19364 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19366 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19375 static PyObject
*_wrap_Window_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19376 PyObject
*resultobj
;
19377 wxWindow
*arg1
= (wxWindow
*) 0 ;
19378 wxString
*arg2
= 0 ;
19379 bool temp2
= False
;
19380 PyObject
* obj0
= 0 ;
19381 PyObject
* obj1
= 0 ;
19382 char *kwnames
[] = {
19383 (char *) "self",(char *) "label", NULL
19386 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
19387 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19389 arg2
= wxString_in_helper(obj1
);
19390 if (arg2
== NULL
) SWIG_fail
;
19394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 (arg1
)->SetLabel((wxString
const &)*arg2
);
19397 wxPyEndAllowThreads(__tstate
);
19398 if (PyErr_Occurred()) SWIG_fail
;
19400 Py_INCREF(Py_None
); resultobj
= Py_None
;
19415 static PyObject
*_wrap_Window_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19416 PyObject
*resultobj
;
19417 wxWindow
*arg1
= (wxWindow
*) 0 ;
19419 PyObject
* obj0
= 0 ;
19420 char *kwnames
[] = {
19421 (char *) "self", NULL
19424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetLabel",kwnames
,&obj0
)) goto fail
;
19425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19428 result
= ((wxWindow
const *)arg1
)->GetLabel();
19430 wxPyEndAllowThreads(__tstate
);
19431 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19437 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19446 static PyObject
*_wrap_Window_SetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19447 PyObject
*resultobj
;
19448 wxWindow
*arg1
= (wxWindow
*) 0 ;
19449 wxString
*arg2
= 0 ;
19450 bool temp2
= False
;
19451 PyObject
* obj0
= 0 ;
19452 PyObject
* obj1
= 0 ;
19453 char *kwnames
[] = {
19454 (char *) "self",(char *) "name", NULL
19457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetName",kwnames
,&obj0
,&obj1
)) goto fail
;
19458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19460 arg2
= wxString_in_helper(obj1
);
19461 if (arg2
== NULL
) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 (arg1
)->SetName((wxString
const &)*arg2
);
19468 wxPyEndAllowThreads(__tstate
);
19469 if (PyErr_Occurred()) SWIG_fail
;
19471 Py_INCREF(Py_None
); resultobj
= Py_None
;
19486 static PyObject
*_wrap_Window_GetName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19487 PyObject
*resultobj
;
19488 wxWindow
*arg1
= (wxWindow
*) 0 ;
19490 PyObject
* obj0
= 0 ;
19491 char *kwnames
[] = {
19492 (char *) "self", NULL
19495 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetName",kwnames
,&obj0
)) goto fail
;
19496 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19499 result
= ((wxWindow
const *)arg1
)->GetName();
19501 wxPyEndAllowThreads(__tstate
);
19502 if (PyErr_Occurred()) SWIG_fail
;
19506 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
19508 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
19517 static PyObject
*_wrap_Window_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19518 PyObject
*resultobj
;
19519 wxWindow
*arg1
= (wxWindow
*) 0 ;
19521 PyObject
* obj0
= 0 ;
19522 char *kwnames
[] = {
19523 (char *) "self",(char *) "winid", NULL
19526 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
19527 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19530 (arg1
)->SetId(arg2
);
19532 wxPyEndAllowThreads(__tstate
);
19533 if (PyErr_Occurred()) SWIG_fail
;
19535 Py_INCREF(Py_None
); resultobj
= Py_None
;
19542 static PyObject
*_wrap_Window_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19543 PyObject
*resultobj
;
19544 wxWindow
*arg1
= (wxWindow
*) 0 ;
19546 PyObject
* obj0
= 0 ;
19547 char *kwnames
[] = {
19548 (char *) "self", NULL
19551 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetId",kwnames
,&obj0
)) goto fail
;
19552 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19555 result
= (int)((wxWindow
const *)arg1
)->GetId();
19557 wxPyEndAllowThreads(__tstate
);
19558 if (PyErr_Occurred()) SWIG_fail
;
19560 resultobj
= PyInt_FromLong((long)result
);
19567 static PyObject
*_wrap_Window_NewControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19568 PyObject
*resultobj
;
19570 char *kwnames
[] = {
19574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_NewControlId",kwnames
)) goto fail
;
19576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19577 result
= (int)wxWindow::NewControlId();
19579 wxPyEndAllowThreads(__tstate
);
19580 if (PyErr_Occurred()) SWIG_fail
;
19582 resultobj
= PyInt_FromLong((long)result
);
19589 static PyObject
*_wrap_Window_NextControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19590 PyObject
*resultobj
;
19593 char *kwnames
[] = {
19594 (char *) "winid", NULL
19597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_NextControlId",kwnames
,&arg1
)) goto fail
;
19599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19600 result
= (int)wxWindow::NextControlId(arg1
);
19602 wxPyEndAllowThreads(__tstate
);
19603 if (PyErr_Occurred()) SWIG_fail
;
19605 resultobj
= PyInt_FromLong((long)result
);
19612 static PyObject
*_wrap_Window_PrevControlId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19613 PyObject
*resultobj
;
19616 char *kwnames
[] = {
19617 (char *) "winid", NULL
19620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"i:Window_PrevControlId",kwnames
,&arg1
)) goto fail
;
19622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19623 result
= (int)wxWindow::PrevControlId(arg1
);
19625 wxPyEndAllowThreads(__tstate
);
19626 if (PyErr_Occurred()) SWIG_fail
;
19628 resultobj
= PyInt_FromLong((long)result
);
19635 static PyObject
*_wrap_Window_SetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19636 PyObject
*resultobj
;
19637 wxWindow
*arg1
= (wxWindow
*) 0 ;
19640 PyObject
* obj0
= 0 ;
19641 PyObject
* obj1
= 0 ;
19642 char *kwnames
[] = {
19643 (char *) "self",(char *) "size", NULL
19646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19650 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19654 (arg1
)->SetSize((wxSize
const &)*arg2
);
19656 wxPyEndAllowThreads(__tstate
);
19657 if (PyErr_Occurred()) SWIG_fail
;
19659 Py_INCREF(Py_None
); resultobj
= Py_None
;
19666 static PyObject
*_wrap_Window_SetDimensions(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19667 PyObject
*resultobj
;
19668 wxWindow
*arg1
= (wxWindow
*) 0 ;
19673 int arg6
= (int) wxSIZE_AUTO
;
19674 PyObject
* obj0
= 0 ;
19675 char *kwnames
[] = {
19676 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
19679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|i:Window_SetDimensions",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
)) goto fail
;
19680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19683 (arg1
)->SetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
19685 wxPyEndAllowThreads(__tstate
);
19686 if (PyErr_Occurred()) SWIG_fail
;
19688 Py_INCREF(Py_None
); resultobj
= Py_None
;
19695 static PyObject
*_wrap_Window_SetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19696 PyObject
*resultobj
;
19697 wxWindow
*arg1
= (wxWindow
*) 0 ;
19699 int arg3
= (int) wxSIZE_AUTO
;
19701 PyObject
* obj0
= 0 ;
19702 PyObject
* obj1
= 0 ;
19703 char *kwnames
[] = {
19704 (char *) "self",(char *) "rect",(char *) "sizeFlags", NULL
19707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_SetRect",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19711 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 (arg1
)->SetSize((wxRect
const &)*arg2
,arg3
);
19717 wxPyEndAllowThreads(__tstate
);
19718 if (PyErr_Occurred()) SWIG_fail
;
19720 Py_INCREF(Py_None
); resultobj
= Py_None
;
19727 static PyObject
*_wrap_Window_SetSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19728 PyObject
*resultobj
;
19729 wxWindow
*arg1
= (wxWindow
*) 0 ;
19732 PyObject
* obj0
= 0 ;
19733 char *kwnames
[] = {
19734 (char *) "self",(char *) "width",(char *) "height", NULL
19737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19741 (arg1
)->SetSize(arg2
,arg3
);
19743 wxPyEndAllowThreads(__tstate
);
19744 if (PyErr_Occurred()) SWIG_fail
;
19746 Py_INCREF(Py_None
); resultobj
= Py_None
;
19753 static PyObject
*_wrap_Window_Move(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19754 PyObject
*resultobj
;
19755 wxWindow
*arg1
= (wxWindow
*) 0 ;
19756 wxPoint
*arg2
= 0 ;
19757 int arg3
= (int) wxSIZE_USE_EXISTING
;
19759 PyObject
* obj0
= 0 ;
19760 PyObject
* obj1
= 0 ;
19761 char *kwnames
[] = {
19762 (char *) "self",(char *) "pt",(char *) "flags", NULL
19765 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:Window_Move",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
19766 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19769 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
19772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19773 (arg1
)->Move((wxPoint
const &)*arg2
,arg3
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 Py_INCREF(Py_None
); resultobj
= Py_None
;
19785 static PyObject
*_wrap_Window_MoveXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19786 PyObject
*resultobj
;
19787 wxWindow
*arg1
= (wxWindow
*) 0 ;
19790 int arg4
= (int) wxSIZE_USE_EXISTING
;
19791 PyObject
* obj0
= 0 ;
19792 char *kwnames
[] = {
19793 (char *) "self",(char *) "x",(char *) "y",(char *) "flags", NULL
19796 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|i:Window_MoveXY",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
19797 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19800 (arg1
)->Move(arg2
,arg3
,arg4
);
19802 wxPyEndAllowThreads(__tstate
);
19803 if (PyErr_Occurred()) SWIG_fail
;
19805 Py_INCREF(Py_None
); resultobj
= Py_None
;
19812 static PyObject
*_wrap_Window_Raise(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19813 PyObject
*resultobj
;
19814 wxWindow
*arg1
= (wxWindow
*) 0 ;
19815 PyObject
* obj0
= 0 ;
19816 char *kwnames
[] = {
19817 (char *) "self", NULL
19820 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Raise",kwnames
,&obj0
)) goto fail
;
19821 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19826 wxPyEndAllowThreads(__tstate
);
19827 if (PyErr_Occurred()) SWIG_fail
;
19829 Py_INCREF(Py_None
); resultobj
= Py_None
;
19836 static PyObject
*_wrap_Window_Lower(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19837 PyObject
*resultobj
;
19838 wxWindow
*arg1
= (wxWindow
*) 0 ;
19839 PyObject
* obj0
= 0 ;
19840 char *kwnames
[] = {
19841 (char *) "self", NULL
19844 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Lower",kwnames
,&obj0
)) goto fail
;
19845 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19850 wxPyEndAllowThreads(__tstate
);
19851 if (PyErr_Occurred()) SWIG_fail
;
19853 Py_INCREF(Py_None
); resultobj
= Py_None
;
19860 static PyObject
*_wrap_Window_SetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19861 PyObject
*resultobj
;
19862 wxWindow
*arg1
= (wxWindow
*) 0 ;
19865 PyObject
* obj0
= 0 ;
19866 PyObject
* obj1
= 0 ;
19867 char *kwnames
[] = {
19868 (char *) "self",(char *) "size", NULL
19871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientSize",kwnames
,&obj0
,&obj1
)) goto fail
;
19872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19875 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
19878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19879 (arg1
)->SetClientSize((wxSize
const &)*arg2
);
19881 wxPyEndAllowThreads(__tstate
);
19882 if (PyErr_Occurred()) SWIG_fail
;
19884 Py_INCREF(Py_None
); resultobj
= Py_None
;
19891 static PyObject
*_wrap_Window_SetClientSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19892 PyObject
*resultobj
;
19893 wxWindow
*arg1
= (wxWindow
*) 0 ;
19896 PyObject
* obj0
= 0 ;
19897 char *kwnames
[] = {
19898 (char *) "self",(char *) "width",(char *) "height", NULL
19901 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetClientSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
19902 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19905 (arg1
)->SetClientSize(arg2
,arg3
);
19907 wxPyEndAllowThreads(__tstate
);
19908 if (PyErr_Occurred()) SWIG_fail
;
19910 Py_INCREF(Py_None
); resultobj
= Py_None
;
19917 static PyObject
*_wrap_Window_SetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19918 PyObject
*resultobj
;
19919 wxWindow
*arg1
= (wxWindow
*) 0 ;
19922 PyObject
* obj0
= 0 ;
19923 PyObject
* obj1
= 0 ;
19924 char *kwnames
[] = {
19925 (char *) "self",(char *) "rect", NULL
19928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetClientRect",kwnames
,&obj0
,&obj1
)) goto fail
;
19929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19932 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
19935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19936 (arg1
)->SetClientSize((wxRect
const &)*arg2
);
19938 wxPyEndAllowThreads(__tstate
);
19939 if (PyErr_Occurred()) SWIG_fail
;
19941 Py_INCREF(Py_None
); resultobj
= Py_None
;
19948 static PyObject
*_wrap_Window_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19949 PyObject
*resultobj
;
19950 wxWindow
*arg1
= (wxWindow
*) 0 ;
19952 PyObject
* obj0
= 0 ;
19953 char *kwnames
[] = {
19954 (char *) "self", NULL
19957 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPosition",kwnames
,&obj0
)) goto fail
;
19958 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19961 result
= (arg1
)->GetPosition();
19963 wxPyEndAllowThreads(__tstate
);
19964 if (PyErr_Occurred()) SWIG_fail
;
19967 wxPoint
* resultptr
;
19968 resultptr
= new wxPoint((wxPoint
&) result
);
19969 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
19977 static PyObject
*_wrap_Window_GetPositionTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
19978 PyObject
*resultobj
;
19979 wxWindow
*arg1
= (wxWindow
*) 0 ;
19980 int *arg2
= (int *) 0 ;
19981 int *arg3
= (int *) 0 ;
19984 PyObject
* obj0
= 0 ;
19985 char *kwnames
[] = {
19986 (char *) "self", NULL
19991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetPositionTuple",kwnames
,&obj0
)) goto fail
;
19992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
19994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19995 (arg1
)->GetPosition(arg2
,arg3
);
19997 wxPyEndAllowThreads(__tstate
);
19998 if (PyErr_Occurred()) SWIG_fail
;
20000 Py_INCREF(Py_None
); resultobj
= Py_None
;
20002 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20003 resultobj
= t_output_helper(resultobj
,o
);
20006 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20007 resultobj
= t_output_helper(resultobj
,o
);
20015 static PyObject
*_wrap_Window_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20016 PyObject
*resultobj
;
20017 wxWindow
*arg1
= (wxWindow
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 char *kwnames
[] = {
20021 (char *) "self", NULL
20024 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSize",kwnames
,&obj0
)) goto fail
;
20025 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20028 result
= ((wxWindow
const *)arg1
)->GetSize();
20030 wxPyEndAllowThreads(__tstate
);
20031 if (PyErr_Occurred()) SWIG_fail
;
20034 wxSize
* resultptr
;
20035 resultptr
= new wxSize((wxSize
&) result
);
20036 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20044 static PyObject
*_wrap_Window_GetSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20045 PyObject
*resultobj
;
20046 wxWindow
*arg1
= (wxWindow
*) 0 ;
20047 int *arg2
= (int *) 0 ;
20048 int *arg3
= (int *) 0 ;
20051 PyObject
* obj0
= 0 ;
20052 char *kwnames
[] = {
20053 (char *) "self", NULL
20058 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizeTuple",kwnames
,&obj0
)) goto fail
;
20059 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20062 ((wxWindow
const *)arg1
)->GetSize(arg2
,arg3
);
20064 wxPyEndAllowThreads(__tstate
);
20065 if (PyErr_Occurred()) SWIG_fail
;
20067 Py_INCREF(Py_None
); resultobj
= Py_None
;
20069 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20070 resultobj
= t_output_helper(resultobj
,o
);
20073 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20074 resultobj
= t_output_helper(resultobj
,o
);
20082 static PyObject
*_wrap_Window_GetRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20083 PyObject
*resultobj
;
20084 wxWindow
*arg1
= (wxWindow
*) 0 ;
20086 PyObject
* obj0
= 0 ;
20087 char *kwnames
[] = {
20088 (char *) "self", NULL
20091 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetRect",kwnames
,&obj0
)) goto fail
;
20092 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20095 result
= ((wxWindow
const *)arg1
)->GetRect();
20097 wxPyEndAllowThreads(__tstate
);
20098 if (PyErr_Occurred()) SWIG_fail
;
20101 wxRect
* resultptr
;
20102 resultptr
= new wxRect((wxRect
&) result
);
20103 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20111 static PyObject
*_wrap_Window_GetClientSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20112 PyObject
*resultobj
;
20113 wxWindow
*arg1
= (wxWindow
*) 0 ;
20115 PyObject
* obj0
= 0 ;
20116 char *kwnames
[] = {
20117 (char *) "self", NULL
20120 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSize",kwnames
,&obj0
)) goto fail
;
20121 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20124 result
= ((wxWindow
const *)arg1
)->GetClientSize();
20126 wxPyEndAllowThreads(__tstate
);
20127 if (PyErr_Occurred()) SWIG_fail
;
20130 wxSize
* resultptr
;
20131 resultptr
= new wxSize((wxSize
&) result
);
20132 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20140 static PyObject
*_wrap_Window_GetClientSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20141 PyObject
*resultobj
;
20142 wxWindow
*arg1
= (wxWindow
*) 0 ;
20143 int *arg2
= (int *) 0 ;
20144 int *arg3
= (int *) 0 ;
20147 PyObject
* obj0
= 0 ;
20148 char *kwnames
[] = {
20149 (char *) "self", NULL
20154 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientSizeTuple",kwnames
,&obj0
)) goto fail
;
20155 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20158 ((wxWindow
const *)arg1
)->GetClientSize(arg2
,arg3
);
20160 wxPyEndAllowThreads(__tstate
);
20161 if (PyErr_Occurred()) SWIG_fail
;
20163 Py_INCREF(Py_None
); resultobj
= Py_None
;
20165 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20166 resultobj
= t_output_helper(resultobj
,o
);
20169 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20170 resultobj
= t_output_helper(resultobj
,o
);
20178 static PyObject
*_wrap_Window_GetClientAreaOrigin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20179 PyObject
*resultobj
;
20180 wxWindow
*arg1
= (wxWindow
*) 0 ;
20182 PyObject
* obj0
= 0 ;
20183 char *kwnames
[] = {
20184 (char *) "self", NULL
20187 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientAreaOrigin",kwnames
,&obj0
)) goto fail
;
20188 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20191 result
= ((wxWindow
const *)arg1
)->GetClientAreaOrigin();
20193 wxPyEndAllowThreads(__tstate
);
20194 if (PyErr_Occurred()) SWIG_fail
;
20197 wxPoint
* resultptr
;
20198 resultptr
= new wxPoint((wxPoint
&) result
);
20199 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
20207 static PyObject
*_wrap_Window_GetClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20208 PyObject
*resultobj
;
20209 wxWindow
*arg1
= (wxWindow
*) 0 ;
20211 PyObject
* obj0
= 0 ;
20212 char *kwnames
[] = {
20213 (char *) "self", NULL
20216 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetClientRect",kwnames
,&obj0
)) goto fail
;
20217 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20220 result
= ((wxWindow
const *)arg1
)->GetClientRect();
20222 wxPyEndAllowThreads(__tstate
);
20223 if (PyErr_Occurred()) SWIG_fail
;
20226 wxRect
* resultptr
;
20227 resultptr
= new wxRect((wxRect
&) result
);
20228 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
20236 static PyObject
*_wrap_Window_GetBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
;
20238 wxWindow
*arg1
= (wxWindow
*) 0 ;
20240 PyObject
* obj0
= 0 ;
20241 char *kwnames
[] = {
20242 (char *) "self", NULL
20245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSize",kwnames
,&obj0
)) goto fail
;
20246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20249 result
= ((wxWindow
const *)arg1
)->GetBestSize();
20251 wxPyEndAllowThreads(__tstate
);
20252 if (PyErr_Occurred()) SWIG_fail
;
20255 wxSize
* resultptr
;
20256 resultptr
= new wxSize((wxSize
&) result
);
20257 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20265 static PyObject
*_wrap_Window_GetBestSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20266 PyObject
*resultobj
;
20267 wxWindow
*arg1
= (wxWindow
*) 0 ;
20268 int *arg2
= (int *) 0 ;
20269 int *arg3
= (int *) 0 ;
20272 PyObject
* obj0
= 0 ;
20273 char *kwnames
[] = {
20274 (char *) "self", NULL
20279 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestSizeTuple",kwnames
,&obj0
)) goto fail
;
20280 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20283 ((wxWindow
const *)arg1
)->GetBestSize(arg2
,arg3
);
20285 wxPyEndAllowThreads(__tstate
);
20286 if (PyErr_Occurred()) SWIG_fail
;
20288 Py_INCREF(Py_None
); resultobj
= Py_None
;
20290 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20291 resultobj
= t_output_helper(resultobj
,o
);
20294 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20295 resultobj
= t_output_helper(resultobj
,o
);
20303 static PyObject
*_wrap_Window_GetAdjustedBestSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20304 PyObject
*resultobj
;
20305 wxWindow
*arg1
= (wxWindow
*) 0 ;
20307 PyObject
* obj0
= 0 ;
20308 char *kwnames
[] = {
20309 (char *) "self", NULL
20312 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAdjustedBestSize",kwnames
,&obj0
)) goto fail
;
20313 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20316 result
= ((wxWindow
const *)arg1
)->GetAdjustedBestSize();
20318 wxPyEndAllowThreads(__tstate
);
20319 if (PyErr_Occurred()) SWIG_fail
;
20322 wxSize
* resultptr
;
20323 resultptr
= new wxSize((wxSize
&) result
);
20324 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20332 static PyObject
*_wrap_Window_Center(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20333 PyObject
*resultobj
;
20334 wxWindow
*arg1
= (wxWindow
*) 0 ;
20335 int arg2
= (int) wxBOTH
;
20336 PyObject
* obj0
= 0 ;
20337 char *kwnames
[] = {
20338 (char *) "self",(char *) "direction", NULL
20341 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_Center",kwnames
,&obj0
,&arg2
)) goto fail
;
20342 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20345 (arg1
)->Center(arg2
);
20347 wxPyEndAllowThreads(__tstate
);
20348 if (PyErr_Occurred()) SWIG_fail
;
20350 Py_INCREF(Py_None
); resultobj
= Py_None
;
20357 static PyObject
*_wrap_Window_CenterOnScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20358 PyObject
*resultobj
;
20359 wxWindow
*arg1
= (wxWindow
*) 0 ;
20360 int arg2
= (int) wxBOTH
;
20361 PyObject
* obj0
= 0 ;
20362 char *kwnames
[] = {
20363 (char *) "self",(char *) "dir", NULL
20366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnScreen",kwnames
,&obj0
,&arg2
)) goto fail
;
20367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20370 (arg1
)->CenterOnScreen(arg2
);
20372 wxPyEndAllowThreads(__tstate
);
20373 if (PyErr_Occurred()) SWIG_fail
;
20375 Py_INCREF(Py_None
); resultobj
= Py_None
;
20382 static PyObject
*_wrap_Window_CenterOnParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20383 PyObject
*resultobj
;
20384 wxWindow
*arg1
= (wxWindow
*) 0 ;
20385 int arg2
= (int) wxBOTH
;
20386 PyObject
* obj0
= 0 ;
20387 char *kwnames
[] = {
20388 (char *) "self",(char *) "dir", NULL
20391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:Window_CenterOnParent",kwnames
,&obj0
,&arg2
)) goto fail
;
20392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20395 (arg1
)->CenterOnParent(arg2
);
20397 wxPyEndAllowThreads(__tstate
);
20398 if (PyErr_Occurred()) SWIG_fail
;
20400 Py_INCREF(Py_None
); resultobj
= Py_None
;
20407 static PyObject
*_wrap_Window_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20408 PyObject
*resultobj
;
20409 wxWindow
*arg1
= (wxWindow
*) 0 ;
20410 PyObject
* obj0
= 0 ;
20411 char *kwnames
[] = {
20412 (char *) "self", NULL
20415 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Fit",kwnames
,&obj0
)) goto fail
;
20416 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20421 wxPyEndAllowThreads(__tstate
);
20422 if (PyErr_Occurred()) SWIG_fail
;
20424 Py_INCREF(Py_None
); resultobj
= Py_None
;
20431 static PyObject
*_wrap_Window_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20432 PyObject
*resultobj
;
20433 wxWindow
*arg1
= (wxWindow
*) 0 ;
20434 PyObject
* obj0
= 0 ;
20435 char *kwnames
[] = {
20436 (char *) "self", NULL
20439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FitInside",kwnames
,&obj0
)) goto fail
;
20440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20443 (arg1
)->FitInside();
20445 wxPyEndAllowThreads(__tstate
);
20446 if (PyErr_Occurred()) SWIG_fail
;
20448 Py_INCREF(Py_None
); resultobj
= Py_None
;
20455 static PyObject
*_wrap_Window_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20456 PyObject
*resultobj
;
20457 wxWindow
*arg1
= (wxWindow
*) 0 ;
20460 int arg4
= (int) -1 ;
20461 int arg5
= (int) -1 ;
20462 int arg6
= (int) -1 ;
20463 int arg7
= (int) -1 ;
20464 PyObject
* obj0
= 0 ;
20465 char *kwnames
[] = {
20466 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH",(char *) "incW",(char *) "incH", NULL
20469 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|iiii:Window_SetSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&arg6
,&arg7
)) goto fail
;
20470 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20473 (arg1
)->SetSizeHints(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 Py_INCREF(Py_None
); resultobj
= Py_None
;
20485 static PyObject
*_wrap_Window_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20486 PyObject
*resultobj
;
20487 wxWindow
*arg1
= (wxWindow
*) 0 ;
20490 int arg4
= (int) -1 ;
20491 int arg5
= (int) -1 ;
20492 PyObject
* obj0
= 0 ;
20493 char *kwnames
[] = {
20494 (char *) "self",(char *) "minW",(char *) "minH",(char *) "maxW",(char *) "maxH", NULL
20497 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_SetVirtualSizeHints",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
20498 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20501 (arg1
)->SetVirtualSizeHints(arg2
,arg3
,arg4
,arg5
);
20503 wxPyEndAllowThreads(__tstate
);
20504 if (PyErr_Occurred()) SWIG_fail
;
20506 Py_INCREF(Py_None
); resultobj
= Py_None
;
20513 static PyObject
*_wrap_Window_GetMinWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20514 PyObject
*resultobj
;
20515 wxWindow
*arg1
= (wxWindow
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 char *kwnames
[] = {
20519 (char *) "self", NULL
20522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinWidth",kwnames
,&obj0
)) goto fail
;
20523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20526 result
= (int)((wxWindow
const *)arg1
)->GetMinWidth();
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= PyInt_FromLong((long)result
);
20538 static PyObject
*_wrap_Window_GetMinHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
;
20540 wxWindow
*arg1
= (wxWindow
*) 0 ;
20542 PyObject
* obj0
= 0 ;
20543 char *kwnames
[] = {
20544 (char *) "self", NULL
20547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMinHeight",kwnames
,&obj0
)) goto fail
;
20548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20551 result
= (int)((wxWindow
const *)arg1
)->GetMinHeight();
20553 wxPyEndAllowThreads(__tstate
);
20554 if (PyErr_Occurred()) SWIG_fail
;
20556 resultobj
= PyInt_FromLong((long)result
);
20563 static PyObject
*_wrap_Window_GetMaxWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20564 PyObject
*resultobj
;
20565 wxWindow
*arg1
= (wxWindow
*) 0 ;
20567 PyObject
* obj0
= 0 ;
20568 char *kwnames
[] = {
20569 (char *) "self", NULL
20572 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxWidth",kwnames
,&obj0
)) goto fail
;
20573 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 result
= (int)((wxWindow
const *)arg1
)->GetMaxWidth();
20578 wxPyEndAllowThreads(__tstate
);
20579 if (PyErr_Occurred()) SWIG_fail
;
20581 resultobj
= PyInt_FromLong((long)result
);
20588 static PyObject
*_wrap_Window_GetMaxHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20589 PyObject
*resultobj
;
20590 wxWindow
*arg1
= (wxWindow
*) 0 ;
20592 PyObject
* obj0
= 0 ;
20593 char *kwnames
[] = {
20594 (char *) "self", NULL
20597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxHeight",kwnames
,&obj0
)) goto fail
;
20598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20601 result
= (int)((wxWindow
const *)arg1
)->GetMaxHeight();
20603 wxPyEndAllowThreads(__tstate
);
20604 if (PyErr_Occurred()) SWIG_fail
;
20606 resultobj
= PyInt_FromLong((long)result
);
20613 static PyObject
*_wrap_Window_GetMaxSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20614 PyObject
*resultobj
;
20615 wxWindow
*arg1
= (wxWindow
*) 0 ;
20617 PyObject
* obj0
= 0 ;
20618 char *kwnames
[] = {
20619 (char *) "self", NULL
20622 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetMaxSize",kwnames
,&obj0
)) goto fail
;
20623 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20626 result
= ((wxWindow
const *)arg1
)->GetMaxSize();
20628 wxPyEndAllowThreads(__tstate
);
20629 if (PyErr_Occurred()) SWIG_fail
;
20632 wxSize
* resultptr
;
20633 resultptr
= new wxSize((wxSize
&) result
);
20634 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20642 static PyObject
*_wrap_Window_SetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20643 PyObject
*resultobj
;
20644 wxWindow
*arg1
= (wxWindow
*) 0 ;
20647 PyObject
* obj0
= 0 ;
20648 PyObject
* obj1
= 0 ;
20649 char *kwnames
[] = {
20650 (char *) "self",(char *) "size", NULL
20653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetVirtualSize",kwnames
,&obj0
,&obj1
)) goto fail
;
20654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20657 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
20660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20661 (arg1
)->SetVirtualSize((wxSize
const &)*arg2
);
20663 wxPyEndAllowThreads(__tstate
);
20664 if (PyErr_Occurred()) SWIG_fail
;
20666 Py_INCREF(Py_None
); resultobj
= Py_None
;
20673 static PyObject
*_wrap_Window_SetVirtualSizeWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20674 PyObject
*resultobj
;
20675 wxWindow
*arg1
= (wxWindow
*) 0 ;
20678 PyObject
* obj0
= 0 ;
20679 char *kwnames
[] = {
20680 (char *) "self",(char *) "w",(char *) "h", NULL
20683 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_SetVirtualSizeWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
20684 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20687 (arg1
)->SetVirtualSize(arg2
,arg3
);
20689 wxPyEndAllowThreads(__tstate
);
20690 if (PyErr_Occurred()) SWIG_fail
;
20692 Py_INCREF(Py_None
); resultobj
= Py_None
;
20699 static PyObject
*_wrap_Window_GetVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20700 PyObject
*resultobj
;
20701 wxWindow
*arg1
= (wxWindow
*) 0 ;
20703 PyObject
* obj0
= 0 ;
20704 char *kwnames
[] = {
20705 (char *) "self", NULL
20708 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSize",kwnames
,&obj0
)) goto fail
;
20709 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20712 result
= ((wxWindow
const *)arg1
)->GetVirtualSize();
20714 wxPyEndAllowThreads(__tstate
);
20715 if (PyErr_Occurred()) SWIG_fail
;
20718 wxSize
* resultptr
;
20719 resultptr
= new wxSize((wxSize
&) result
);
20720 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20728 static PyObject
*_wrap_Window_GetVirtualSizeTuple(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
;
20730 wxWindow
*arg1
= (wxWindow
*) 0 ;
20731 int *arg2
= (int *) 0 ;
20732 int *arg3
= (int *) 0 ;
20735 PyObject
* obj0
= 0 ;
20736 char *kwnames
[] = {
20737 (char *) "self", NULL
20742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetVirtualSizeTuple",kwnames
,&obj0
)) goto fail
;
20743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20746 ((wxWindow
const *)arg1
)->GetVirtualSize(arg2
,arg3
);
20748 wxPyEndAllowThreads(__tstate
);
20749 if (PyErr_Occurred()) SWIG_fail
;
20751 Py_INCREF(Py_None
); resultobj
= Py_None
;
20753 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
20754 resultobj
= t_output_helper(resultobj
,o
);
20757 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
20758 resultobj
= t_output_helper(resultobj
,o
);
20766 static PyObject
*_wrap_Window_GetBestVirtualSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20767 PyObject
*resultobj
;
20768 wxWindow
*arg1
= (wxWindow
*) 0 ;
20770 PyObject
* obj0
= 0 ;
20771 char *kwnames
[] = {
20772 (char *) "self", NULL
20775 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBestVirtualSize",kwnames
,&obj0
)) goto fail
;
20776 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20778 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20779 result
= ((wxWindow
const *)arg1
)->GetBestVirtualSize();
20781 wxPyEndAllowThreads(__tstate
);
20782 if (PyErr_Occurred()) SWIG_fail
;
20785 wxSize
* resultptr
;
20786 resultptr
= new wxSize((wxSize
&) result
);
20787 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
20795 static PyObject
*_wrap_Window_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20796 PyObject
*resultobj
;
20797 wxWindow
*arg1
= (wxWindow
*) 0 ;
20798 bool arg2
= (bool) True
;
20800 PyObject
* obj0
= 0 ;
20801 PyObject
* obj1
= 0 ;
20802 char *kwnames
[] = {
20803 (char *) "self",(char *) "show", NULL
20806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
20807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20809 arg2
= PyInt_AsLong(obj1
) ? true : false;
20810 if (PyErr_Occurred()) SWIG_fail
;
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 result
= (bool)(arg1
)->Show(arg2
);
20816 wxPyEndAllowThreads(__tstate
);
20817 if (PyErr_Occurred()) SWIG_fail
;
20819 resultobj
= PyInt_FromLong((long)result
);
20826 static PyObject
*_wrap_Window_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20827 PyObject
*resultobj
;
20828 wxWindow
*arg1
= (wxWindow
*) 0 ;
20830 PyObject
* obj0
= 0 ;
20831 char *kwnames
[] = {
20832 (char *) "self", NULL
20835 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Hide",kwnames
,&obj0
)) goto fail
;
20836 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20839 result
= (bool)(arg1
)->Hide();
20841 wxPyEndAllowThreads(__tstate
);
20842 if (PyErr_Occurred()) SWIG_fail
;
20844 resultobj
= PyInt_FromLong((long)result
);
20851 static PyObject
*_wrap_Window_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20852 PyObject
*resultobj
;
20853 wxWindow
*arg1
= (wxWindow
*) 0 ;
20854 bool arg2
= (bool) True
;
20856 PyObject
* obj0
= 0 ;
20857 PyObject
* obj1
= 0 ;
20858 char *kwnames
[] = {
20859 (char *) "self",(char *) "enable", NULL
20862 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
20863 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20865 arg2
= PyInt_AsLong(obj1
) ? true : false;
20866 if (PyErr_Occurred()) SWIG_fail
;
20869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20870 result
= (bool)(arg1
)->Enable(arg2
);
20872 wxPyEndAllowThreads(__tstate
);
20873 if (PyErr_Occurred()) SWIG_fail
;
20875 resultobj
= PyInt_FromLong((long)result
);
20882 static PyObject
*_wrap_Window_Disable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20883 PyObject
*resultobj
;
20884 wxWindow
*arg1
= (wxWindow
*) 0 ;
20886 PyObject
* obj0
= 0 ;
20887 char *kwnames
[] = {
20888 (char *) "self", NULL
20891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Disable",kwnames
,&obj0
)) goto fail
;
20892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20895 result
= (bool)(arg1
)->Disable();
20897 wxPyEndAllowThreads(__tstate
);
20898 if (PyErr_Occurred()) SWIG_fail
;
20900 resultobj
= PyInt_FromLong((long)result
);
20907 static PyObject
*_wrap_Window_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20908 PyObject
*resultobj
;
20909 wxWindow
*arg1
= (wxWindow
*) 0 ;
20911 PyObject
* obj0
= 0 ;
20912 char *kwnames
[] = {
20913 (char *) "self", NULL
20916 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsShown",kwnames
,&obj0
)) goto fail
;
20917 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20920 result
= (bool)((wxWindow
const *)arg1
)->IsShown();
20922 wxPyEndAllowThreads(__tstate
);
20923 if (PyErr_Occurred()) SWIG_fail
;
20925 resultobj
= PyInt_FromLong((long)result
);
20932 static PyObject
*_wrap_Window_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20933 PyObject
*resultobj
;
20934 wxWindow
*arg1
= (wxWindow
*) 0 ;
20936 PyObject
* obj0
= 0 ;
20937 char *kwnames
[] = {
20938 (char *) "self", NULL
20941 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsEnabled",kwnames
,&obj0
)) goto fail
;
20942 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20945 result
= (bool)((wxWindow
const *)arg1
)->IsEnabled();
20947 wxPyEndAllowThreads(__tstate
);
20948 if (PyErr_Occurred()) SWIG_fail
;
20950 resultobj
= PyInt_FromLong((long)result
);
20957 static PyObject
*_wrap_Window_SetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20958 PyObject
*resultobj
;
20959 wxWindow
*arg1
= (wxWindow
*) 0 ;
20961 PyObject
* obj0
= 0 ;
20962 char *kwnames
[] = {
20963 (char *) "self",(char *) "style", NULL
20966 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyleFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
20967 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20970 (arg1
)->SetWindowStyleFlag(arg2
);
20972 wxPyEndAllowThreads(__tstate
);
20973 if (PyErr_Occurred()) SWIG_fail
;
20975 Py_INCREF(Py_None
); resultobj
= Py_None
;
20982 static PyObject
*_wrap_Window_GetWindowStyleFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
20983 PyObject
*resultobj
;
20984 wxWindow
*arg1
= (wxWindow
*) 0 ;
20986 PyObject
* obj0
= 0 ;
20987 char *kwnames
[] = {
20988 (char *) "self", NULL
20991 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyleFlag",kwnames
,&obj0
)) goto fail
;
20992 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
20994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20995 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyleFlag();
20997 wxPyEndAllowThreads(__tstate
);
20998 if (PyErr_Occurred()) SWIG_fail
;
21000 resultobj
= PyInt_FromLong((long)result
);
21007 static PyObject
*_wrap_Window_SetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21008 PyObject
*resultobj
;
21009 wxWindow
*arg1
= (wxWindow
*) 0 ;
21011 PyObject
* obj0
= 0 ;
21012 char *kwnames
[] = {
21013 (char *) "self",(char *) "style", NULL
21016 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetWindowStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
21017 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21019 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21020 (arg1
)->SetWindowStyle(arg2
);
21022 wxPyEndAllowThreads(__tstate
);
21023 if (PyErr_Occurred()) SWIG_fail
;
21025 Py_INCREF(Py_None
); resultobj
= Py_None
;
21032 static PyObject
*_wrap_Window_GetWindowStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21033 PyObject
*resultobj
;
21034 wxWindow
*arg1
= (wxWindow
*) 0 ;
21036 PyObject
* obj0
= 0 ;
21037 char *kwnames
[] = {
21038 (char *) "self", NULL
21041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetWindowStyle",kwnames
,&obj0
)) goto fail
;
21042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21045 result
= (long)((wxWindow
const *)arg1
)->GetWindowStyle();
21047 wxPyEndAllowThreads(__tstate
);
21048 if (PyErr_Occurred()) SWIG_fail
;
21050 resultobj
= PyInt_FromLong((long)result
);
21057 static PyObject
*_wrap_Window_HasFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21058 PyObject
*resultobj
;
21059 wxWindow
*arg1
= (wxWindow
*) 0 ;
21062 PyObject
* obj0
= 0 ;
21063 char *kwnames
[] = {
21064 (char *) "self",(char *) "flag", NULL
21067 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
21068 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21071 result
= (bool)((wxWindow
const *)arg1
)->HasFlag(arg2
);
21073 wxPyEndAllowThreads(__tstate
);
21074 if (PyErr_Occurred()) SWIG_fail
;
21076 resultobj
= PyInt_FromLong((long)result
);
21083 static PyObject
*_wrap_Window_IsRetained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21084 PyObject
*resultobj
;
21085 wxWindow
*arg1
= (wxWindow
*) 0 ;
21087 PyObject
* obj0
= 0 ;
21088 char *kwnames
[] = {
21089 (char *) "self", NULL
21092 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsRetained",kwnames
,&obj0
)) goto fail
;
21093 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21096 result
= (bool)((wxWindow
const *)arg1
)->IsRetained();
21098 wxPyEndAllowThreads(__tstate
);
21099 if (PyErr_Occurred()) SWIG_fail
;
21101 resultobj
= PyInt_FromLong((long)result
);
21108 static PyObject
*_wrap_Window_SetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21109 PyObject
*resultobj
;
21110 wxWindow
*arg1
= (wxWindow
*) 0 ;
21112 PyObject
* obj0
= 0 ;
21113 char *kwnames
[] = {
21114 (char *) "self",(char *) "exStyle", NULL
21117 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_SetExtraStyle",kwnames
,&obj0
,&arg2
)) goto fail
;
21118 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21121 (arg1
)->SetExtraStyle(arg2
);
21123 wxPyEndAllowThreads(__tstate
);
21124 if (PyErr_Occurred()) SWIG_fail
;
21126 Py_INCREF(Py_None
); resultobj
= Py_None
;
21133 static PyObject
*_wrap_Window_GetExtraStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21134 PyObject
*resultobj
;
21135 wxWindow
*arg1
= (wxWindow
*) 0 ;
21137 PyObject
* obj0
= 0 ;
21138 char *kwnames
[] = {
21139 (char *) "self", NULL
21142 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetExtraStyle",kwnames
,&obj0
)) goto fail
;
21143 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 result
= (long)((wxWindow
const *)arg1
)->GetExtraStyle();
21148 wxPyEndAllowThreads(__tstate
);
21149 if (PyErr_Occurred()) SWIG_fail
;
21151 resultobj
= PyInt_FromLong((long)result
);
21158 static PyObject
*_wrap_Window_MakeModal(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21159 PyObject
*resultobj
;
21160 wxWindow
*arg1
= (wxWindow
*) 0 ;
21161 bool arg2
= (bool) True
;
21162 PyObject
* obj0
= 0 ;
21163 PyObject
* obj1
= 0 ;
21164 char *kwnames
[] = {
21165 (char *) "self",(char *) "modal", NULL
21168 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_MakeModal",kwnames
,&obj0
,&obj1
)) goto fail
;
21169 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21171 arg2
= PyInt_AsLong(obj1
) ? true : false;
21172 if (PyErr_Occurred()) SWIG_fail
;
21175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21176 (arg1
)->MakeModal(arg2
);
21178 wxPyEndAllowThreads(__tstate
);
21179 if (PyErr_Occurred()) SWIG_fail
;
21181 Py_INCREF(Py_None
); resultobj
= Py_None
;
21188 static PyObject
*_wrap_Window_SetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21189 PyObject
*resultobj
;
21190 wxWindow
*arg1
= (wxWindow
*) 0 ;
21192 PyObject
* obj0
= 0 ;
21193 PyObject
* obj1
= 0 ;
21194 char *kwnames
[] = {
21195 (char *) "self",(char *) "enableTheme", NULL
21198 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetThemeEnabled",kwnames
,&obj0
,&obj1
)) goto fail
;
21199 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21200 arg2
= PyInt_AsLong(obj1
) ? true : false;
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21204 (arg1
)->SetThemeEnabled(arg2
);
21206 wxPyEndAllowThreads(__tstate
);
21207 if (PyErr_Occurred()) SWIG_fail
;
21209 Py_INCREF(Py_None
); resultobj
= Py_None
;
21216 static PyObject
*_wrap_Window_GetThemeEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21217 PyObject
*resultobj
;
21218 wxWindow
*arg1
= (wxWindow
*) 0 ;
21220 PyObject
* obj0
= 0 ;
21221 char *kwnames
[] = {
21222 (char *) "self", NULL
21225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetThemeEnabled",kwnames
,&obj0
)) goto fail
;
21226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21229 result
= (bool)((wxWindow
const *)arg1
)->GetThemeEnabled();
21231 wxPyEndAllowThreads(__tstate
);
21232 if (PyErr_Occurred()) SWIG_fail
;
21234 resultobj
= PyInt_FromLong((long)result
);
21241 static PyObject
*_wrap_Window_ShouldInheritColours(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21242 PyObject
*resultobj
;
21243 wxWindow
*arg1
= (wxWindow
*) 0 ;
21245 PyObject
* obj0
= 0 ;
21246 char *kwnames
[] = {
21247 (char *) "self", NULL
21250 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ShouldInheritColours",kwnames
,&obj0
)) goto fail
;
21251 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21254 result
= (bool)((wxWindow
const *)arg1
)->ShouldInheritColours();
21256 wxPyEndAllowThreads(__tstate
);
21257 if (PyErr_Occurred()) SWIG_fail
;
21259 resultobj
= PyInt_FromLong((long)result
);
21266 static PyObject
*_wrap_Window_SetFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21267 PyObject
*resultobj
;
21268 wxWindow
*arg1
= (wxWindow
*) 0 ;
21269 PyObject
* obj0
= 0 ;
21270 char *kwnames
[] = {
21271 (char *) "self", NULL
21274 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocus",kwnames
,&obj0
)) goto fail
;
21275 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21278 (arg1
)->SetFocus();
21280 wxPyEndAllowThreads(__tstate
);
21281 if (PyErr_Occurred()) SWIG_fail
;
21283 Py_INCREF(Py_None
); resultobj
= Py_None
;
21290 static PyObject
*_wrap_Window_SetFocusFromKbd(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21291 PyObject
*resultobj
;
21292 wxWindow
*arg1
= (wxWindow
*) 0 ;
21293 PyObject
* obj0
= 0 ;
21294 char *kwnames
[] = {
21295 (char *) "self", NULL
21298 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_SetFocusFromKbd",kwnames
,&obj0
)) goto fail
;
21299 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21302 (arg1
)->SetFocusFromKbd();
21304 wxPyEndAllowThreads(__tstate
);
21305 if (PyErr_Occurred()) SWIG_fail
;
21307 Py_INCREF(Py_None
); resultobj
= Py_None
;
21314 static PyObject
*_wrap_Window_FindFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21315 PyObject
*resultobj
;
21317 char *kwnames
[] = {
21321 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_FindFocus",kwnames
)) goto fail
;
21323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21324 result
= (wxWindow
*)wxWindow::FindFocus();
21326 wxPyEndAllowThreads(__tstate
);
21327 if (PyErr_Occurred()) SWIG_fail
;
21330 resultobj
= wxPyMake_wxObject(result
);
21338 static PyObject
*_wrap_Window_AcceptsFocus(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21339 PyObject
*resultobj
;
21340 wxWindow
*arg1
= (wxWindow
*) 0 ;
21342 PyObject
* obj0
= 0 ;
21343 char *kwnames
[] = {
21344 (char *) "self", NULL
21347 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocus",kwnames
,&obj0
)) goto fail
;
21348 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21351 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocus();
21353 wxPyEndAllowThreads(__tstate
);
21354 if (PyErr_Occurred()) SWIG_fail
;
21356 resultobj
= PyInt_FromLong((long)result
);
21363 static PyObject
*_wrap_Window_AcceptsFocusFromKeyboard(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21364 PyObject
*resultobj
;
21365 wxWindow
*arg1
= (wxWindow
*) 0 ;
21367 PyObject
* obj0
= 0 ;
21368 char *kwnames
[] = {
21369 (char *) "self", NULL
21372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_AcceptsFocusFromKeyboard",kwnames
,&obj0
)) goto fail
;
21373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21376 result
= (bool)((wxWindow
const *)arg1
)->AcceptsFocusFromKeyboard();
21378 wxPyEndAllowThreads(__tstate
);
21379 if (PyErr_Occurred()) SWIG_fail
;
21381 resultobj
= PyInt_FromLong((long)result
);
21388 static PyObject
*_wrap_Window_GetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21389 PyObject
*resultobj
;
21390 wxWindow
*arg1
= (wxWindow
*) 0 ;
21392 PyObject
* obj0
= 0 ;
21393 char *kwnames
[] = {
21394 (char *) "self", NULL
21397 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDefaultItem",kwnames
,&obj0
)) goto fail
;
21398 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21400 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21401 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetDefaultItem();
21403 wxPyEndAllowThreads(__tstate
);
21404 if (PyErr_Occurred()) SWIG_fail
;
21407 resultobj
= wxPyMake_wxObject(result
);
21415 static PyObject
*_wrap_Window_SetDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21416 PyObject
*resultobj
;
21417 wxWindow
*arg1
= (wxWindow
*) 0 ;
21418 wxWindow
*arg2
= (wxWindow
*) 0 ;
21420 PyObject
* obj0
= 0 ;
21421 PyObject
* obj1
= 0 ;
21422 char *kwnames
[] = {
21423 (char *) "self",(char *) "child", NULL
21426 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21427 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21428 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21431 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
21433 wxPyEndAllowThreads(__tstate
);
21434 if (PyErr_Occurred()) SWIG_fail
;
21437 resultobj
= wxPyMake_wxObject(result
);
21445 static PyObject
*_wrap_Window_SetTmpDefaultItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21446 PyObject
*resultobj
;
21447 wxWindow
*arg1
= (wxWindow
*) 0 ;
21448 wxWindow
*arg2
= (wxWindow
*) 0 ;
21449 PyObject
* obj0
= 0 ;
21450 PyObject
* obj1
= 0 ;
21451 char *kwnames
[] = {
21452 (char *) "self",(char *) "win", NULL
21455 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) goto fail
;
21456 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21457 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21460 (arg1
)->SetTmpDefaultItem(arg2
);
21462 wxPyEndAllowThreads(__tstate
);
21463 if (PyErr_Occurred()) SWIG_fail
;
21465 Py_INCREF(Py_None
); resultobj
= Py_None
;
21472 static PyObject
*_wrap_Window_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21473 PyObject
*resultobj
;
21474 wxWindow
*arg1
= (wxWindow
*) 0 ;
21476 PyObject
* obj0
= 0 ;
21477 char *kwnames
[] = {
21478 (char *) "self", NULL
21481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetChildren",kwnames
,&obj0
)) goto fail
;
21482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21485 result
= (PyObject
*)wxWindow_GetChildren(arg1
);
21487 wxPyEndAllowThreads(__tstate
);
21488 if (PyErr_Occurred()) SWIG_fail
;
21490 resultobj
= result
;
21497 static PyObject
*_wrap_Window_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21498 PyObject
*resultobj
;
21499 wxWindow
*arg1
= (wxWindow
*) 0 ;
21501 PyObject
* obj0
= 0 ;
21502 char *kwnames
[] = {
21503 (char *) "self", NULL
21506 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetParent",kwnames
,&obj0
)) goto fail
;
21507 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21510 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetParent();
21512 wxPyEndAllowThreads(__tstate
);
21513 if (PyErr_Occurred()) SWIG_fail
;
21516 resultobj
= wxPyMake_wxObject(result
);
21524 static PyObject
*_wrap_Window_GetGrandParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21525 PyObject
*resultobj
;
21526 wxWindow
*arg1
= (wxWindow
*) 0 ;
21528 PyObject
* obj0
= 0 ;
21529 char *kwnames
[] = {
21530 (char *) "self", NULL
21533 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetGrandParent",kwnames
,&obj0
)) goto fail
;
21534 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21537 result
= (wxWindow
*)((wxWindow
const *)arg1
)->GetGrandParent();
21539 wxPyEndAllowThreads(__tstate
);
21540 if (PyErr_Occurred()) SWIG_fail
;
21543 resultobj
= wxPyMake_wxObject(result
);
21551 static PyObject
*_wrap_Window_IsTopLevel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21552 PyObject
*resultobj
;
21553 wxWindow
*arg1
= (wxWindow
*) 0 ;
21555 PyObject
* obj0
= 0 ;
21556 char *kwnames
[] = {
21557 (char *) "self", NULL
21560 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_IsTopLevel",kwnames
,&obj0
)) goto fail
;
21561 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21564 result
= (bool)((wxWindow
const *)arg1
)->IsTopLevel();
21566 wxPyEndAllowThreads(__tstate
);
21567 if (PyErr_Occurred()) SWIG_fail
;
21569 resultobj
= PyInt_FromLong((long)result
);
21576 static PyObject
*_wrap_Window_Reparent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21577 PyObject
*resultobj
;
21578 wxWindow
*arg1
= (wxWindow
*) 0 ;
21579 wxWindow
*arg2
= (wxWindow
*) 0 ;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 char *kwnames
[] = {
21584 (char *) "self",(char *) "newParent", NULL
21587 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_Reparent",kwnames
,&obj0
,&obj1
)) goto fail
;
21588 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21589 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21592 result
= (bool)(arg1
)->Reparent(arg2
);
21594 wxPyEndAllowThreads(__tstate
);
21595 if (PyErr_Occurred()) SWIG_fail
;
21597 resultobj
= PyInt_FromLong((long)result
);
21604 static PyObject
*_wrap_Window_AddChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21605 PyObject
*resultobj
;
21606 wxWindow
*arg1
= (wxWindow
*) 0 ;
21607 wxWindow
*arg2
= (wxWindow
*) 0 ;
21608 PyObject
* obj0
= 0 ;
21609 PyObject
* obj1
= 0 ;
21610 char *kwnames
[] = {
21611 (char *) "self",(char *) "child", NULL
21614 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_AddChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21615 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21616 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21619 (arg1
)->AddChild(arg2
);
21621 wxPyEndAllowThreads(__tstate
);
21622 if (PyErr_Occurred()) SWIG_fail
;
21624 Py_INCREF(Py_None
); resultobj
= Py_None
;
21631 static PyObject
*_wrap_Window_RemoveChild(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21632 PyObject
*resultobj
;
21633 wxWindow
*arg1
= (wxWindow
*) 0 ;
21634 wxWindow
*arg2
= (wxWindow
*) 0 ;
21635 PyObject
* obj0
= 0 ;
21636 PyObject
* obj1
= 0 ;
21637 char *kwnames
[] = {
21638 (char *) "self",(char *) "child", NULL
21641 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveChild",kwnames
,&obj0
,&obj1
)) goto fail
;
21642 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21643 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21646 (arg1
)->RemoveChild(arg2
);
21648 wxPyEndAllowThreads(__tstate
);
21649 if (PyErr_Occurred()) SWIG_fail
;
21651 Py_INCREF(Py_None
); resultobj
= Py_None
;
21658 static PyObject
*_wrap_Window_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21659 PyObject
*resultobj
;
21660 wxWindow
*arg1
= (wxWindow
*) 0 ;
21663 PyObject
* obj0
= 0 ;
21664 char *kwnames
[] = {
21665 (char *) "self",(char *) "winid", NULL
21668 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_FindWindowById",kwnames
,&obj0
,&arg2
)) goto fail
;
21669 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21672 result
= (wxWindow
*)(arg1
)->FindWindow(arg2
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21678 resultobj
= wxPyMake_wxObject(result
);
21686 static PyObject
*_wrap_Window_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
;
21688 wxWindow
*arg1
= (wxWindow
*) 0 ;
21689 wxString
*arg2
= 0 ;
21691 bool temp2
= False
;
21692 PyObject
* obj0
= 0 ;
21693 PyObject
* obj1
= 0 ;
21694 char *kwnames
[] = {
21695 (char *) "self",(char *) "name", NULL
21698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
21699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21701 arg2
= wxString_in_helper(obj1
);
21702 if (arg2
== NULL
) SWIG_fail
;
21706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21707 result
= (wxWindow
*)(arg1
)->FindWindow((wxString
const &)*arg2
);
21709 wxPyEndAllowThreads(__tstate
);
21710 if (PyErr_Occurred()) SWIG_fail
;
21713 resultobj
= wxPyMake_wxObject(result
);
21729 static PyObject
*_wrap_Window_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21730 PyObject
*resultobj
;
21731 wxWindow
*arg1
= (wxWindow
*) 0 ;
21732 wxEvtHandler
*result
;
21733 PyObject
* obj0
= 0 ;
21734 char *kwnames
[] = {
21735 (char *) "self", NULL
21738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetEventHandler",kwnames
,&obj0
)) goto fail
;
21739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21742 result
= (wxEvtHandler
*)((wxWindow
const *)arg1
)->GetEventHandler();
21744 wxPyEndAllowThreads(__tstate
);
21745 if (PyErr_Occurred()) SWIG_fail
;
21748 resultobj
= wxPyMake_wxObject(result
);
21756 static PyObject
*_wrap_Window_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21757 PyObject
*resultobj
;
21758 wxWindow
*arg1
= (wxWindow
*) 0 ;
21759 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21760 PyObject
* obj0
= 0 ;
21761 PyObject
* obj1
= 0 ;
21762 char *kwnames
[] = {
21763 (char *) "self",(char *) "handler", NULL
21766 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21767 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21768 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21771 (arg1
)->SetEventHandler(arg2
);
21773 wxPyEndAllowThreads(__tstate
);
21774 if (PyErr_Occurred()) SWIG_fail
;
21776 Py_INCREF(Py_None
); resultobj
= Py_None
;
21783 static PyObject
*_wrap_Window_PushEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21784 PyObject
*resultobj
;
21785 wxWindow
*arg1
= (wxWindow
*) 0 ;
21786 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21787 PyObject
* obj0
= 0 ;
21788 PyObject
* obj1
= 0 ;
21789 char *kwnames
[] = {
21790 (char *) "self",(char *) "handler", NULL
21793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PushEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21795 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21798 (arg1
)->PushEventHandler(arg2
);
21800 wxPyEndAllowThreads(__tstate
);
21801 if (PyErr_Occurred()) SWIG_fail
;
21803 Py_INCREF(Py_None
); resultobj
= Py_None
;
21810 static PyObject
*_wrap_Window_PopEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21811 PyObject
*resultobj
;
21812 wxWindow
*arg1
= (wxWindow
*) 0 ;
21813 bool arg2
= (bool) False
;
21814 wxEvtHandler
*result
;
21815 PyObject
* obj0
= 0 ;
21816 PyObject
* obj1
= 0 ;
21817 char *kwnames
[] = {
21818 (char *) "self",(char *) "deleteHandler", NULL
21821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Window_PopEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21824 arg2
= PyInt_AsLong(obj1
) ? true : false;
21825 if (PyErr_Occurred()) SWIG_fail
;
21828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21829 result
= (wxEvtHandler
*)(arg1
)->PopEventHandler(arg2
);
21831 wxPyEndAllowThreads(__tstate
);
21832 if (PyErr_Occurred()) SWIG_fail
;
21835 resultobj
= wxPyMake_wxObject(result
);
21843 static PyObject
*_wrap_Window_RemoveEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
;
21845 wxWindow
*arg1
= (wxWindow
*) 0 ;
21846 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
21848 PyObject
* obj0
= 0 ;
21849 PyObject
* obj1
= 0 ;
21850 char *kwnames
[] = {
21851 (char *) "self",(char *) "handler", NULL
21854 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RemoveEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
21855 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21856 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21859 result
= (bool)(arg1
)->RemoveEventHandler(arg2
);
21861 wxPyEndAllowThreads(__tstate
);
21862 if (PyErr_Occurred()) SWIG_fail
;
21864 resultobj
= PyInt_FromLong((long)result
);
21871 static PyObject
*_wrap_Window_SetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21872 PyObject
*resultobj
;
21873 wxWindow
*arg1
= (wxWindow
*) 0 ;
21874 wxValidator
*arg2
= 0 ;
21875 PyObject
* obj0
= 0 ;
21876 PyObject
* obj1
= 0 ;
21877 char *kwnames
[] = {
21878 (char *) "self",(char *) "validator", NULL
21881 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetValidator",kwnames
,&obj0
,&obj1
)) goto fail
;
21882 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21883 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21884 if (arg2
== NULL
) {
21885 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 (arg1
)->SetValidator((wxValidator
const &)*arg2
);
21891 wxPyEndAllowThreads(__tstate
);
21892 if (PyErr_Occurred()) SWIG_fail
;
21894 Py_INCREF(Py_None
); resultobj
= Py_None
;
21901 static PyObject
*_wrap_Window_GetValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21902 PyObject
*resultobj
;
21903 wxWindow
*arg1
= (wxWindow
*) 0 ;
21904 wxValidator
*result
;
21905 PyObject
* obj0
= 0 ;
21906 char *kwnames
[] = {
21907 (char *) "self", NULL
21910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetValidator",kwnames
,&obj0
)) goto fail
;
21911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21914 result
= (wxValidator
*)(arg1
)->GetValidator();
21916 wxPyEndAllowThreads(__tstate
);
21917 if (PyErr_Occurred()) SWIG_fail
;
21920 resultobj
= wxPyMake_wxObject(result
);
21928 static PyObject
*_wrap_Window_SetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21929 PyObject
*resultobj
;
21930 wxWindow
*arg1
= (wxWindow
*) 0 ;
21931 wxAcceleratorTable
*arg2
= 0 ;
21932 PyObject
* obj0
= 0 ;
21933 PyObject
* obj1
= 0 ;
21934 char *kwnames
[] = {
21935 (char *) "self",(char *) "accel", NULL
21938 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAcceleratorTable",kwnames
,&obj0
,&obj1
)) goto fail
;
21939 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21940 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorTable
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21941 if (arg2
== NULL
) {
21942 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
21945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21946 (arg1
)->SetAcceleratorTable((wxAcceleratorTable
const &)*arg2
);
21948 wxPyEndAllowThreads(__tstate
);
21949 if (PyErr_Occurred()) SWIG_fail
;
21951 Py_INCREF(Py_None
); resultobj
= Py_None
;
21958 static PyObject
*_wrap_Window_GetAcceleratorTable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21959 PyObject
*resultobj
;
21960 wxWindow
*arg1
= (wxWindow
*) 0 ;
21961 wxAcceleratorTable
*result
;
21962 PyObject
* obj0
= 0 ;
21963 char *kwnames
[] = {
21964 (char *) "self", NULL
21967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAcceleratorTable",kwnames
,&obj0
)) goto fail
;
21968 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21971 result
= (wxAcceleratorTable
*)(arg1
)->GetAcceleratorTable();
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorTable
, 0);
21983 static PyObject
*_wrap_Window_RegisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
21984 PyObject
*resultobj
;
21985 wxWindow
*arg1
= (wxWindow
*) 0 ;
21990 PyObject
* obj0
= 0 ;
21991 char *kwnames
[] = {
21992 (char *) "self",(char *) "hotkeyId",(char *) "modifiers",(char *) "keycode", NULL
21995 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiii:Window_RegisterHotKey",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
)) goto fail
;
21996 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
21998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21999 result
= (bool)wxWindow_RegisterHotKey(arg1
,arg2
,arg3
,arg4
);
22001 wxPyEndAllowThreads(__tstate
);
22002 if (PyErr_Occurred()) SWIG_fail
;
22004 resultobj
= PyInt_FromLong((long)result
);
22011 static PyObject
*_wrap_Window_UnregisterHotKey(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22012 PyObject
*resultobj
;
22013 wxWindow
*arg1
= (wxWindow
*) 0 ;
22016 PyObject
* obj0
= 0 ;
22017 char *kwnames
[] = {
22018 (char *) "self",(char *) "hotkeyId", NULL
22021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_UnregisterHotKey",kwnames
,&obj0
,&arg2
)) goto fail
;
22022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22025 result
= (bool)wxWindow_UnregisterHotKey(arg1
,arg2
);
22027 wxPyEndAllowThreads(__tstate
);
22028 if (PyErr_Occurred()) SWIG_fail
;
22030 resultobj
= PyInt_FromLong((long)result
);
22037 static PyObject
*_wrap_Window_ConvertDialogPointToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22038 PyObject
*resultobj
;
22039 wxWindow
*arg1
= (wxWindow
*) 0 ;
22040 wxPoint
*arg2
= 0 ;
22043 PyObject
* obj0
= 0 ;
22044 PyObject
* obj1
= 0 ;
22045 char *kwnames
[] = {
22046 (char *) "self",(char *) "pt", NULL
22049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogPointToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
22050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22053 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22057 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
22059 wxPyEndAllowThreads(__tstate
);
22060 if (PyErr_Occurred()) SWIG_fail
;
22063 wxPoint
* resultptr
;
22064 resultptr
= new wxPoint((wxPoint
&) result
);
22065 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22073 static PyObject
*_wrap_Window_ConvertDialogSizeToPixels(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22074 PyObject
*resultobj
;
22075 wxWindow
*arg1
= (wxWindow
*) 0 ;
22079 PyObject
* obj0
= 0 ;
22080 PyObject
* obj1
= 0 ;
22081 char *kwnames
[] = {
22082 (char *) "self",(char *) "sz", NULL
22085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertDialogSizeToPixels",kwnames
,&obj0
,&obj1
)) goto fail
;
22086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22089 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22093 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22099 wxSize
* resultptr
;
22100 resultptr
= new wxSize((wxSize
&) result
);
22101 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22109 static PyObject
*_wrap_Window_DLG_PNT(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22110 PyObject
*resultobj
;
22111 wxWindow
*arg1
= (wxWindow
*) 0 ;
22112 wxPoint
*arg2
= 0 ;
22115 PyObject
* obj0
= 0 ;
22116 PyObject
* obj1
= 0 ;
22117 char *kwnames
[] = {
22118 (char *) "self",(char *) "pt", NULL
22121 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_PNT",kwnames
,&obj0
,&obj1
)) goto fail
;
22122 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22125 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 result
= (arg1
)->ConvertDialogToPixels((wxPoint
const &)*arg2
);
22131 wxPyEndAllowThreads(__tstate
);
22132 if (PyErr_Occurred()) SWIG_fail
;
22135 wxPoint
* resultptr
;
22136 resultptr
= new wxPoint((wxPoint
&) result
);
22137 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22145 static PyObject
*_wrap_Window_DLG_SZE(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22146 PyObject
*resultobj
;
22147 wxWindow
*arg1
= (wxWindow
*) 0 ;
22151 PyObject
* obj0
= 0 ;
22152 PyObject
* obj1
= 0 ;
22153 char *kwnames
[] = {
22154 (char *) "self",(char *) "sz", NULL
22157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DLG_SZE",kwnames
,&obj0
,&obj1
)) goto fail
;
22158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 result
= (arg1
)->ConvertDialogToPixels((wxSize
const &)*arg2
);
22167 wxPyEndAllowThreads(__tstate
);
22168 if (PyErr_Occurred()) SWIG_fail
;
22171 wxSize
* resultptr
;
22172 resultptr
= new wxSize((wxSize
&) result
);
22173 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22181 static PyObject
*_wrap_Window_ConvertPixelPointToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22182 PyObject
*resultobj
;
22183 wxWindow
*arg1
= (wxWindow
*) 0 ;
22184 wxPoint
*arg2
= 0 ;
22187 PyObject
* obj0
= 0 ;
22188 PyObject
* obj1
= 0 ;
22189 char *kwnames
[] = {
22190 (char *) "self",(char *) "pt", NULL
22193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelPointToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22197 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22201 result
= (arg1
)->ConvertPixelsToDialog((wxPoint
const &)*arg2
);
22203 wxPyEndAllowThreads(__tstate
);
22204 if (PyErr_Occurred()) SWIG_fail
;
22207 wxPoint
* resultptr
;
22208 resultptr
= new wxPoint((wxPoint
&) result
);
22209 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
22217 static PyObject
*_wrap_Window_ConvertPixelSizeToDialog(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
;
22219 wxWindow
*arg1
= (wxWindow
*) 0 ;
22223 PyObject
* obj0
= 0 ;
22224 PyObject
* obj1
= 0 ;
22225 char *kwnames
[] = {
22226 (char *) "self",(char *) "sz", NULL
22229 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ConvertPixelSizeToDialog",kwnames
,&obj0
,&obj1
)) goto fail
;
22230 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22233 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22237 result
= (arg1
)->ConvertPixelsToDialog((wxSize
const &)*arg2
);
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22243 wxSize
* resultptr
;
22244 resultptr
= new wxSize((wxSize
&) result
);
22245 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
22253 static PyObject
*_wrap_Window_WarpPointer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22254 PyObject
*resultobj
;
22255 wxWindow
*arg1
= (wxWindow
*) 0 ;
22258 PyObject
* obj0
= 0 ;
22259 char *kwnames
[] = {
22260 (char *) "self",(char *) "x",(char *) "y", NULL
22263 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_WarpPointer",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
22264 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22267 (arg1
)->WarpPointer(arg2
,arg3
);
22269 wxPyEndAllowThreads(__tstate
);
22270 if (PyErr_Occurred()) SWIG_fail
;
22272 Py_INCREF(Py_None
); resultobj
= Py_None
;
22279 static PyObject
*_wrap_Window_CaptureMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22280 PyObject
*resultobj
;
22281 wxWindow
*arg1
= (wxWindow
*) 0 ;
22282 PyObject
* obj0
= 0 ;
22283 char *kwnames
[] = {
22284 (char *) "self", NULL
22287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_CaptureMouse",kwnames
,&obj0
)) goto fail
;
22288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22291 (arg1
)->CaptureMouse();
22293 wxPyEndAllowThreads(__tstate
);
22294 if (PyErr_Occurred()) SWIG_fail
;
22296 Py_INCREF(Py_None
); resultobj
= Py_None
;
22303 static PyObject
*_wrap_Window_ReleaseMouse(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22304 PyObject
*resultobj
;
22305 wxWindow
*arg1
= (wxWindow
*) 0 ;
22306 PyObject
* obj0
= 0 ;
22307 char *kwnames
[] = {
22308 (char *) "self", NULL
22311 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ReleaseMouse",kwnames
,&obj0
)) goto fail
;
22312 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22315 (arg1
)->ReleaseMouse();
22317 wxPyEndAllowThreads(__tstate
);
22318 if (PyErr_Occurred()) SWIG_fail
;
22320 Py_INCREF(Py_None
); resultobj
= Py_None
;
22327 static PyObject
*_wrap_Window_GetCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22328 PyObject
*resultobj
;
22330 char *kwnames
[] = {
22334 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Window_GetCapture",kwnames
)) goto fail
;
22336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22337 result
= (wxWindow
*)wxWindow::GetCapture();
22339 wxPyEndAllowThreads(__tstate
);
22340 if (PyErr_Occurred()) SWIG_fail
;
22343 resultobj
= wxPyMake_wxObject(result
);
22351 static PyObject
*_wrap_Window_HasCapture(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22352 PyObject
*resultobj
;
22353 wxWindow
*arg1
= (wxWindow
*) 0 ;
22355 PyObject
* obj0
= 0 ;
22356 char *kwnames
[] = {
22357 (char *) "self", NULL
22360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_HasCapture",kwnames
,&obj0
)) goto fail
;
22361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22364 result
= (bool)((wxWindow
const *)arg1
)->HasCapture();
22366 wxPyEndAllowThreads(__tstate
);
22367 if (PyErr_Occurred()) SWIG_fail
;
22369 resultobj
= PyInt_FromLong((long)result
);
22376 static PyObject
*_wrap_Window_Refresh(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22377 PyObject
*resultobj
;
22378 wxWindow
*arg1
= (wxWindow
*) 0 ;
22379 bool arg2
= (bool) True
;
22380 wxRect
*arg3
= (wxRect
*) NULL
;
22381 PyObject
* obj0
= 0 ;
22382 PyObject
* obj1
= 0 ;
22383 PyObject
* obj2
= 0 ;
22384 char *kwnames
[] = {
22385 (char *) "self",(char *) "eraseBackground",(char *) "rect", NULL
22388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OO:Window_Refresh",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
22389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22391 arg2
= PyInt_AsLong(obj1
) ? true : false;
22392 if (PyErr_Occurred()) SWIG_fail
;
22395 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22399 (arg1
)->Refresh(arg2
,(wxRect
const *)arg3
);
22401 wxPyEndAllowThreads(__tstate
);
22402 if (PyErr_Occurred()) SWIG_fail
;
22404 Py_INCREF(Py_None
); resultobj
= Py_None
;
22411 static PyObject
*_wrap_Window_RefreshRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22412 PyObject
*resultobj
;
22413 wxWindow
*arg1
= (wxWindow
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 char *kwnames
[] = {
22419 (char *) "self",(char *) "rect", NULL
22422 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_RefreshRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22423 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22426 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22430 (arg1
)->RefreshRect((wxRect
const &)*arg2
);
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 Py_INCREF(Py_None
); resultobj
= Py_None
;
22442 static PyObject
*_wrap_Window_Update(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22443 PyObject
*resultobj
;
22444 wxWindow
*arg1
= (wxWindow
*) 0 ;
22445 PyObject
* obj0
= 0 ;
22446 char *kwnames
[] = {
22447 (char *) "self", NULL
22450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Update",kwnames
,&obj0
)) goto fail
;
22451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22456 wxPyEndAllowThreads(__tstate
);
22457 if (PyErr_Occurred()) SWIG_fail
;
22459 Py_INCREF(Py_None
); resultobj
= Py_None
;
22466 static PyObject
*_wrap_Window_ClearBackground(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22467 PyObject
*resultobj
;
22468 wxWindow
*arg1
= (wxWindow
*) 0 ;
22469 PyObject
* obj0
= 0 ;
22470 char *kwnames
[] = {
22471 (char *) "self", NULL
22474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_ClearBackground",kwnames
,&obj0
)) goto fail
;
22475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22478 (arg1
)->ClearBackground();
22480 wxPyEndAllowThreads(__tstate
);
22481 if (PyErr_Occurred()) SWIG_fail
;
22483 Py_INCREF(Py_None
); resultobj
= Py_None
;
22490 static PyObject
*_wrap_Window_Freeze(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22491 PyObject
*resultobj
;
22492 wxWindow
*arg1
= (wxWindow
*) 0 ;
22493 PyObject
* obj0
= 0 ;
22494 char *kwnames
[] = {
22495 (char *) "self", NULL
22498 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Freeze",kwnames
,&obj0
)) goto fail
;
22499 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22504 wxPyEndAllowThreads(__tstate
);
22505 if (PyErr_Occurred()) SWIG_fail
;
22507 Py_INCREF(Py_None
); resultobj
= Py_None
;
22514 static PyObject
*_wrap_Window_Thaw(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22515 PyObject
*resultobj
;
22516 wxWindow
*arg1
= (wxWindow
*) 0 ;
22517 PyObject
* obj0
= 0 ;
22518 char *kwnames
[] = {
22519 (char *) "self", NULL
22522 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Thaw",kwnames
,&obj0
)) goto fail
;
22523 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22528 wxPyEndAllowThreads(__tstate
);
22529 if (PyErr_Occurred()) SWIG_fail
;
22531 Py_INCREF(Py_None
); resultobj
= Py_None
;
22538 static PyObject
*_wrap_Window_PrepareDC(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22539 PyObject
*resultobj
;
22540 wxWindow
*arg1
= (wxWindow
*) 0 ;
22542 PyObject
* obj0
= 0 ;
22543 PyObject
* obj1
= 0 ;
22544 char *kwnames
[] = {
22545 (char *) "self",(char *) "dc", NULL
22548 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_PrepareDC",kwnames
,&obj0
,&obj1
)) goto fail
;
22549 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22550 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxDC
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22551 if (arg2
== NULL
) {
22552 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22556 (arg1
)->PrepareDC(*arg2
);
22558 wxPyEndAllowThreads(__tstate
);
22559 if (PyErr_Occurred()) SWIG_fail
;
22561 Py_INCREF(Py_None
); resultobj
= Py_None
;
22568 static PyObject
*_wrap_Window_GetUpdateRegion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22569 PyObject
*resultobj
;
22570 wxWindow
*arg1
= (wxWindow
*) 0 ;
22572 PyObject
* obj0
= 0 ;
22573 char *kwnames
[] = {
22574 (char *) "self", NULL
22577 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateRegion",kwnames
,&obj0
)) goto fail
;
22578 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22582 wxRegion
&_result_ref
= (arg1
)->GetUpdateRegion();
22583 result
= (wxRegion
*) &_result_ref
;
22586 wxPyEndAllowThreads(__tstate
);
22587 if (PyErr_Occurred()) SWIG_fail
;
22589 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxRegion
, 0);
22596 static PyObject
*_wrap_Window_GetUpdateClientRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22597 PyObject
*resultobj
;
22598 wxWindow
*arg1
= (wxWindow
*) 0 ;
22600 PyObject
* obj0
= 0 ;
22601 char *kwnames
[] = {
22602 (char *) "self", NULL
22605 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetUpdateClientRect",kwnames
,&obj0
)) goto fail
;
22606 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22609 result
= ((wxWindow
const *)arg1
)->GetUpdateClientRect();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22615 wxRect
* resultptr
;
22616 resultptr
= new wxRect((wxRect
&) result
);
22617 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxRect
, 1);
22625 static PyObject
*_wrap_Window_IsExposed(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
;
22627 wxWindow
*arg1
= (wxWindow
*) 0 ;
22630 int arg4
= (int) 1 ;
22631 int arg5
= (int) 1 ;
22633 PyObject
* obj0
= 0 ;
22634 char *kwnames
[] = {
22635 (char *) "self",(char *) "x",(char *) "y",(char *) "w",(char *) "h", NULL
22638 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|ii:Window_IsExposed",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
22639 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22642 result
= (bool)((wxWindow
const *)arg1
)->IsExposed(arg2
,arg3
,arg4
,arg5
);
22644 wxPyEndAllowThreads(__tstate
);
22645 if (PyErr_Occurred()) SWIG_fail
;
22647 resultobj
= PyInt_FromLong((long)result
);
22654 static PyObject
*_wrap_Window_IsExposedPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22655 PyObject
*resultobj
;
22656 wxWindow
*arg1
= (wxWindow
*) 0 ;
22657 wxPoint
*arg2
= 0 ;
22660 PyObject
* obj0
= 0 ;
22661 PyObject
* obj1
= 0 ;
22662 char *kwnames
[] = {
22663 (char *) "self",(char *) "pt", NULL
22666 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_IsExposedPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
22667 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22670 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
22673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22674 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxPoint
const &)*arg2
);
22676 wxPyEndAllowThreads(__tstate
);
22677 if (PyErr_Occurred()) SWIG_fail
;
22679 resultobj
= PyInt_FromLong((long)result
);
22686 static PyObject
*_wrap_Window_isExposedRect(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22687 PyObject
*resultobj
;
22688 wxWindow
*arg1
= (wxWindow
*) 0 ;
22692 PyObject
* obj0
= 0 ;
22693 PyObject
* obj1
= 0 ;
22694 char *kwnames
[] = {
22695 (char *) "self",(char *) "rect", NULL
22698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_isExposedRect",kwnames
,&obj0
,&obj1
)) goto fail
;
22699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22702 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 result
= (bool)((wxWindow
const *)arg1
)->IsExposed((wxRect
const &)*arg2
);
22708 wxPyEndAllowThreads(__tstate
);
22709 if (PyErr_Occurred()) SWIG_fail
;
22711 resultobj
= PyInt_FromLong((long)result
);
22718 static PyObject
*_wrap_Window_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22719 PyObject
*resultobj
;
22720 wxWindow
*arg1
= (wxWindow
*) 0 ;
22721 wxColour
*arg2
= 0 ;
22724 PyObject
* obj0
= 0 ;
22725 PyObject
* obj1
= 0 ;
22726 char *kwnames
[] = {
22727 (char *) "self",(char *) "colour", NULL
22730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22734 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22738 result
= (bool)(arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
22740 wxPyEndAllowThreads(__tstate
);
22741 if (PyErr_Occurred()) SWIG_fail
;
22743 resultobj
= PyInt_FromLong((long)result
);
22750 static PyObject
*_wrap_Window_SetForegroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22751 PyObject
*resultobj
;
22752 wxWindow
*arg1
= (wxWindow
*) 0 ;
22753 wxColour
*arg2
= 0 ;
22756 PyObject
* obj0
= 0 ;
22757 PyObject
* obj1
= 0 ;
22758 char *kwnames
[] = {
22759 (char *) "self",(char *) "colour", NULL
22762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetForegroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
22763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22766 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
22769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22770 result
= (bool)(arg1
)->SetForegroundColour((wxColour
const &)*arg2
);
22772 wxPyEndAllowThreads(__tstate
);
22773 if (PyErr_Occurred()) SWIG_fail
;
22775 resultobj
= PyInt_FromLong((long)result
);
22782 static PyObject
*_wrap_Window_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22783 PyObject
*resultobj
;
22784 wxWindow
*arg1
= (wxWindow
*) 0 ;
22786 PyObject
* obj0
= 0 ;
22787 char *kwnames
[] = {
22788 (char *) "self", NULL
22791 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
22792 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22795 result
= ((wxWindow
const *)arg1
)->GetBackgroundColour();
22797 wxPyEndAllowThreads(__tstate
);
22798 if (PyErr_Occurred()) SWIG_fail
;
22801 wxColour
* resultptr
;
22802 resultptr
= new wxColour((wxColour
&) result
);
22803 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22811 static PyObject
*_wrap_Window_GetForegroundColour(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_GetForegroundColour",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();
22824 result
= ((wxWindow
const *)arg1
)->GetForegroundColour();
22826 wxPyEndAllowThreads(__tstate
);
22827 if (PyErr_Occurred()) SWIG_fail
;
22830 wxColour
* resultptr
;
22831 resultptr
= new wxColour((wxColour
&) result
);
22832 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
22840 static PyObject
*_wrap_Window_SetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22841 PyObject
*resultobj
;
22842 wxWindow
*arg1
= (wxWindow
*) 0 ;
22843 wxCursor
*arg2
= 0 ;
22845 PyObject
* obj0
= 0 ;
22846 PyObject
* obj1
= 0 ;
22847 char *kwnames
[] = {
22848 (char *) "self",(char *) "cursor", NULL
22851 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCursor",kwnames
,&obj0
,&obj1
)) goto fail
;
22852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22853 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCursor
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22854 if (arg2
== NULL
) {
22855 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22859 result
= (bool)(arg1
)->SetCursor((wxCursor
const &)*arg2
);
22861 wxPyEndAllowThreads(__tstate
);
22862 if (PyErr_Occurred()) SWIG_fail
;
22864 resultobj
= PyInt_FromLong((long)result
);
22871 static PyObject
*_wrap_Window_GetCursor(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22872 PyObject
*resultobj
;
22873 wxWindow
*arg1
= (wxWindow
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 char *kwnames
[] = {
22877 (char *) "self", NULL
22880 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCursor",kwnames
,&obj0
)) goto fail
;
22881 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22885 wxCursor
&_result_ref
= (arg1
)->GetCursor();
22886 result
= (wxCursor
*) &_result_ref
;
22889 wxPyEndAllowThreads(__tstate
);
22890 if (PyErr_Occurred()) SWIG_fail
;
22892 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCursor
, 0);
22899 static PyObject
*_wrap_Window_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22900 PyObject
*resultobj
;
22901 wxWindow
*arg1
= (wxWindow
*) 0 ;
22904 PyObject
* obj0
= 0 ;
22905 PyObject
* obj1
= 0 ;
22906 char *kwnames
[] = {
22907 (char *) "self",(char *) "font", NULL
22910 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
22911 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22912 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22913 if (arg2
== NULL
) {
22914 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
22917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22918 result
= (bool)(arg1
)->SetFont((wxFont
const &)*arg2
);
22920 wxPyEndAllowThreads(__tstate
);
22921 if (PyErr_Occurred()) SWIG_fail
;
22923 resultobj
= PyInt_FromLong((long)result
);
22930 static PyObject
*_wrap_Window_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22931 PyObject
*resultobj
;
22932 wxWindow
*arg1
= (wxWindow
*) 0 ;
22934 PyObject
* obj0
= 0 ;
22935 char *kwnames
[] = {
22936 (char *) "self", NULL
22939 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetFont",kwnames
,&obj0
)) goto fail
;
22940 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22944 wxFont
&_result_ref
= (arg1
)->GetFont();
22945 result
= (wxFont
*) &_result_ref
;
22948 wxPyEndAllowThreads(__tstate
);
22949 if (PyErr_Occurred()) SWIG_fail
;
22951 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFont
, 0);
22958 static PyObject
*_wrap_Window_SetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22959 PyObject
*resultobj
;
22960 wxWindow
*arg1
= (wxWindow
*) 0 ;
22961 wxCaret
*arg2
= (wxCaret
*) 0 ;
22962 PyObject
* obj0
= 0 ;
22963 PyObject
* obj1
= 0 ;
22964 char *kwnames
[] = {
22965 (char *) "self",(char *) "caret", NULL
22968 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetCaret",kwnames
,&obj0
,&obj1
)) goto fail
;
22969 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22970 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCaret
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22972 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22973 (arg1
)->SetCaret(arg2
);
22975 wxPyEndAllowThreads(__tstate
);
22976 if (PyErr_Occurred()) SWIG_fail
;
22978 Py_INCREF(Py_None
); resultobj
= Py_None
;
22985 static PyObject
*_wrap_Window_GetCaret(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
22986 PyObject
*resultobj
;
22987 wxWindow
*arg1
= (wxWindow
*) 0 ;
22989 PyObject
* obj0
= 0 ;
22990 char *kwnames
[] = {
22991 (char *) "self", NULL
22994 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCaret",kwnames
,&obj0
)) goto fail
;
22995 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
22997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22998 result
= (wxCaret
*)((wxWindow
const *)arg1
)->GetCaret();
23000 wxPyEndAllowThreads(__tstate
);
23001 if (PyErr_Occurred()) SWIG_fail
;
23003 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxCaret
, 0);
23010 static PyObject
*_wrap_Window_GetCharHeight(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23011 PyObject
*resultobj
;
23012 wxWindow
*arg1
= (wxWindow
*) 0 ;
23014 PyObject
* obj0
= 0 ;
23015 char *kwnames
[] = {
23016 (char *) "self", NULL
23019 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharHeight",kwnames
,&obj0
)) goto fail
;
23020 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23023 result
= (int)((wxWindow
const *)arg1
)->GetCharHeight();
23025 wxPyEndAllowThreads(__tstate
);
23026 if (PyErr_Occurred()) SWIG_fail
;
23028 resultobj
= PyInt_FromLong((long)result
);
23035 static PyObject
*_wrap_Window_GetCharWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23036 PyObject
*resultobj
;
23037 wxWindow
*arg1
= (wxWindow
*) 0 ;
23039 PyObject
* obj0
= 0 ;
23040 char *kwnames
[] = {
23041 (char *) "self", NULL
23044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetCharWidth",kwnames
,&obj0
)) goto fail
;
23045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23048 result
= (int)((wxWindow
const *)arg1
)->GetCharWidth();
23050 wxPyEndAllowThreads(__tstate
);
23051 if (PyErr_Occurred()) SWIG_fail
;
23053 resultobj
= PyInt_FromLong((long)result
);
23060 static PyObject
*_wrap_Window_GetTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23061 PyObject
*resultobj
;
23062 wxWindow
*arg1
= (wxWindow
*) 0 ;
23063 wxString
*arg2
= 0 ;
23064 int *arg3
= (int *) 0 ;
23065 int *arg4
= (int *) 0 ;
23066 bool temp2
= False
;
23069 PyObject
* obj0
= 0 ;
23070 PyObject
* obj1
= 0 ;
23071 char *kwnames
[] = {
23072 (char *) "self",(char *) "string", NULL
23077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_GetTextExtent",kwnames
,&obj0
,&obj1
)) goto fail
;
23078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23080 arg2
= wxString_in_helper(obj1
);
23081 if (arg2
== NULL
) SWIG_fail
;
23085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23086 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
);
23088 wxPyEndAllowThreads(__tstate
);
23089 if (PyErr_Occurred()) SWIG_fail
;
23091 Py_INCREF(Py_None
); resultobj
= Py_None
;
23093 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23094 resultobj
= t_output_helper(resultobj
,o
);
23097 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23098 resultobj
= t_output_helper(resultobj
,o
);
23114 static PyObject
*_wrap_Window_GetFullTextExtent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23115 PyObject
*resultobj
;
23116 wxWindow
*arg1
= (wxWindow
*) 0 ;
23117 wxString
*arg2
= 0 ;
23118 int *arg3
= (int *) 0 ;
23119 int *arg4
= (int *) 0 ;
23120 int *arg5
= (int *) 0 ;
23121 int *arg6
= (int *) 0 ;
23122 wxFont
*arg7
= (wxFont
*) NULL
;
23123 bool temp2
= False
;
23128 PyObject
* obj0
= 0 ;
23129 PyObject
* obj1
= 0 ;
23130 PyObject
* obj2
= 0 ;
23131 char *kwnames
[] = {
23132 (char *) "self",(char *) "string",(char *) "font", NULL
23139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_GetFullTextExtent",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23142 arg2
= wxString_in_helper(obj1
);
23143 if (arg2
== NULL
) SWIG_fail
;
23147 if ((SWIG_ConvertPtr(obj2
,(void **) &arg7
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23151 (arg1
)->GetTextExtent((wxString
const &)*arg2
,arg3
,arg4
,arg5
,arg6
,(wxFont
const *)arg7
);
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 Py_INCREF(Py_None
); resultobj
= Py_None
;
23158 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23159 resultobj
= t_output_helper(resultobj
,o
);
23162 PyObject
*o
= PyInt_FromLong((long) (*arg4
));
23163 resultobj
= t_output_helper(resultobj
,o
);
23166 PyObject
*o
= PyInt_FromLong((long) (*arg5
));
23167 resultobj
= t_output_helper(resultobj
,o
);
23170 PyObject
*o
= PyInt_FromLong((long) (*arg6
));
23171 resultobj
= t_output_helper(resultobj
,o
);
23187 static PyObject
*_wrap_Window_ClientToScreenXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23188 PyObject
*resultobj
;
23189 wxWindow
*arg1
= (wxWindow
*) 0 ;
23190 int *arg2
= (int *) 0 ;
23191 int *arg3
= (int *) 0 ;
23194 PyObject
* obj0
= 0 ;
23195 PyObject
* obj1
= 0 ;
23196 PyObject
* obj2
= 0 ;
23197 char *kwnames
[] = {
23198 (char *) "self",(char *) "x",(char *) "y", NULL
23201 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ClientToScreenXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23202 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23204 temp2
= PyInt_AsLong(obj1
);
23205 if (PyErr_Occurred()) SWIG_fail
;
23209 temp3
= PyInt_AsLong(obj2
);
23210 if (PyErr_Occurred()) SWIG_fail
;
23214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23215 ((wxWindow
const *)arg1
)->ClientToScreen(arg2
,arg3
);
23217 wxPyEndAllowThreads(__tstate
);
23218 if (PyErr_Occurred()) SWIG_fail
;
23220 Py_INCREF(Py_None
); resultobj
= Py_None
;
23222 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23223 resultobj
= t_output_helper(resultobj
,o
);
23226 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23227 resultobj
= t_output_helper(resultobj
,o
);
23235 static PyObject
*_wrap_Window_ScreenToClientXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23236 PyObject
*resultobj
;
23237 wxWindow
*arg1
= (wxWindow
*) 0 ;
23238 int *arg2
= (int *) 0 ;
23239 int *arg3
= (int *) 0 ;
23242 PyObject
* obj0
= 0 ;
23243 PyObject
* obj1
= 0 ;
23244 PyObject
* obj2
= 0 ;
23245 char *kwnames
[] = {
23246 (char *) "self",(char *) "x",(char *) "y", NULL
23249 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_ScreenToClientXY",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23250 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23252 temp2
= PyInt_AsLong(obj1
);
23253 if (PyErr_Occurred()) SWIG_fail
;
23257 temp3
= PyInt_AsLong(obj2
);
23258 if (PyErr_Occurred()) SWIG_fail
;
23262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23263 ((wxWindow
const *)arg1
)->ScreenToClient(arg2
,arg3
);
23265 wxPyEndAllowThreads(__tstate
);
23266 if (PyErr_Occurred()) SWIG_fail
;
23268 Py_INCREF(Py_None
); resultobj
= Py_None
;
23270 PyObject
*o
= PyInt_FromLong((long) (*arg2
));
23271 resultobj
= t_output_helper(resultobj
,o
);
23274 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
23275 resultobj
= t_output_helper(resultobj
,o
);
23283 static PyObject
*_wrap_Window_ClientToScreen(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23284 PyObject
*resultobj
;
23285 wxWindow
*arg1
= (wxWindow
*) 0 ;
23286 wxPoint
*arg2
= 0 ;
23289 PyObject
* obj0
= 0 ;
23290 PyObject
* obj1
= 0 ;
23291 char *kwnames
[] = {
23292 (char *) "self",(char *) "pt", NULL
23295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ClientToScreen",kwnames
,&obj0
,&obj1
)) goto fail
;
23296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23299 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23303 result
= ((wxWindow
const *)arg1
)->ClientToScreen((wxPoint
const &)*arg2
);
23305 wxPyEndAllowThreads(__tstate
);
23306 if (PyErr_Occurred()) SWIG_fail
;
23309 wxPoint
* resultptr
;
23310 resultptr
= new wxPoint((wxPoint
&) result
);
23311 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23319 static PyObject
*_wrap_Window_ScreenToClient(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23320 PyObject
*resultobj
;
23321 wxWindow
*arg1
= (wxWindow
*) 0 ;
23322 wxPoint
*arg2
= 0 ;
23325 PyObject
* obj0
= 0 ;
23326 PyObject
* obj1
= 0 ;
23327 char *kwnames
[] = {
23328 (char *) "self",(char *) "pt", NULL
23331 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_ScreenToClient",kwnames
,&obj0
,&obj1
)) goto fail
;
23332 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23335 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23339 result
= ((wxWindow
const *)arg1
)->ScreenToClient((wxPoint
const &)*arg2
);
23341 wxPyEndAllowThreads(__tstate
);
23342 if (PyErr_Occurred()) SWIG_fail
;
23345 wxPoint
* resultptr
;
23346 resultptr
= new wxPoint((wxPoint
&) result
);
23347 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
23355 static PyObject
*_wrap_Window_HitTestXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23356 PyObject
*resultobj
;
23357 wxWindow
*arg1
= (wxWindow
*) 0 ;
23361 PyObject
* obj0
= 0 ;
23362 char *kwnames
[] = {
23363 (char *) "self",(char *) "x",(char *) "y", NULL
23366 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:Window_HitTestXY",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
23367 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23370 result
= (int)((wxWindow
const *)arg1
)->HitTest(arg2
,arg3
);
23372 wxPyEndAllowThreads(__tstate
);
23373 if (PyErr_Occurred()) SWIG_fail
;
23375 resultobj
= PyInt_FromLong((long)result
);
23382 static PyObject
*_wrap_Window_HitTest(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23383 PyObject
*resultobj
;
23384 wxWindow
*arg1
= (wxWindow
*) 0 ;
23385 wxPoint
*arg2
= 0 ;
23388 PyObject
* obj0
= 0 ;
23389 PyObject
* obj1
= 0 ;
23390 char *kwnames
[] = {
23391 (char *) "self",(char *) "pt", NULL
23394 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_HitTest",kwnames
,&obj0
,&obj1
)) goto fail
;
23395 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23398 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
23401 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23402 result
= (int)((wxWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
23404 wxPyEndAllowThreads(__tstate
);
23405 if (PyErr_Occurred()) SWIG_fail
;
23407 resultobj
= PyInt_FromLong((long)result
);
23414 static PyObject
*_wrap_Window_GetBorderFlags(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23415 PyObject
*resultobj
;
23416 wxWindow
*arg1
= (wxWindow
*) 0 ;
23419 PyObject
* obj0
= 0 ;
23420 char *kwnames
[] = {
23421 (char *) "self",(char *) "flags", NULL
23424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Ol:Window_GetBorderFlags",kwnames
,&obj0
,&arg2
)) goto fail
;
23425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23428 result
= (int)((wxWindow
const *)arg1
)->GetBorder(arg2
);
23430 wxPyEndAllowThreads(__tstate
);
23431 if (PyErr_Occurred()) SWIG_fail
;
23433 resultobj
= PyInt_FromLong((long)result
);
23440 static PyObject
*_wrap_Window_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23441 PyObject
*resultobj
;
23442 wxWindow
*arg1
= (wxWindow
*) 0 ;
23444 PyObject
* obj0
= 0 ;
23445 char *kwnames
[] = {
23446 (char *) "self", NULL
23449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetBorder",kwnames
,&obj0
)) goto fail
;
23450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23453 result
= (int)((wxWindow
const *)arg1
)->GetBorder();
23455 wxPyEndAllowThreads(__tstate
);
23456 if (PyErr_Occurred()) SWIG_fail
;
23458 resultobj
= PyInt_FromLong((long)result
);
23465 static PyObject
*_wrap_Window_UpdateWindowUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23466 PyObject
*resultobj
;
23467 wxWindow
*arg1
= (wxWindow
*) 0 ;
23468 long arg2
= (long) wxUPDATE_UI_NONE
;
23469 PyObject
* obj0
= 0 ;
23470 char *kwnames
[] = {
23471 (char *) "self",(char *) "flags", NULL
23474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|l:Window_UpdateWindowUI",kwnames
,&obj0
,&arg2
)) goto fail
;
23475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 (arg1
)->UpdateWindowUI(arg2
);
23480 wxPyEndAllowThreads(__tstate
);
23481 if (PyErr_Occurred()) SWIG_fail
;
23483 Py_INCREF(Py_None
); resultobj
= Py_None
;
23490 static PyObject
*_wrap_Window_PopupMenuXY(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23491 PyObject
*resultobj
;
23492 wxWindow
*arg1
= (wxWindow
*) 0 ;
23493 wxMenu
*arg2
= (wxMenu
*) 0 ;
23497 PyObject
* obj0
= 0 ;
23498 PyObject
* obj1
= 0 ;
23499 char *kwnames
[] = {
23500 (char *) "self",(char *) "menu",(char *) "x",(char *) "y", NULL
23503 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:Window_PopupMenuXY",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
23504 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23505 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= (bool)(arg1
)->PopupMenu(arg2
,arg3
,arg4
);
23510 wxPyEndAllowThreads(__tstate
);
23511 if (PyErr_Occurred()) SWIG_fail
;
23513 resultobj
= PyInt_FromLong((long)result
);
23520 static PyObject
*_wrap_Window_PopupMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23521 PyObject
*resultobj
;
23522 wxWindow
*arg1
= (wxWindow
*) 0 ;
23523 wxMenu
*arg2
= (wxMenu
*) 0 ;
23524 wxPoint
*arg3
= 0 ;
23527 PyObject
* obj0
= 0 ;
23528 PyObject
* obj1
= 0 ;
23529 PyObject
* obj2
= 0 ;
23530 char *kwnames
[] = {
23531 (char *) "self",(char *) "menu",(char *) "pos", NULL
23534 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Window_PopupMenu",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
23535 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23536 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23539 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
23542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23543 result
= (bool)(arg1
)->PopupMenu(arg2
,(wxPoint
const &)*arg3
);
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= PyInt_FromLong((long)result
);
23555 static PyObject
*_wrap_Window_GetHandle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23556 PyObject
*resultobj
;
23557 wxWindow
*arg1
= (wxWindow
*) 0 ;
23559 PyObject
* obj0
= 0 ;
23560 char *kwnames
[] = {
23561 (char *) "self", NULL
23564 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHandle",kwnames
,&obj0
)) goto fail
;
23565 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23568 result
= (long)wxWindow_GetHandle(arg1
);
23570 wxPyEndAllowThreads(__tstate
);
23571 if (PyErr_Occurred()) SWIG_fail
;
23573 resultobj
= PyInt_FromLong((long)result
);
23580 static PyObject
*_wrap_Window_OnPaint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23581 PyObject
*resultobj
;
23582 wxWindow
*arg1
= (wxWindow
*) 0 ;
23583 wxPaintEvent
*arg2
= 0 ;
23584 PyObject
* obj0
= 0 ;
23585 PyObject
* obj1
= 0 ;
23586 char *kwnames
[] = {
23587 (char *) "self",(char *) "event", NULL
23590 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_OnPaint",kwnames
,&obj0
,&obj1
)) goto fail
;
23591 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23592 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPaintEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23593 if (arg2
== NULL
) {
23594 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
23597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23598 (arg1
)->OnPaint(*arg2
);
23600 wxPyEndAllowThreads(__tstate
);
23601 if (PyErr_Occurred()) SWIG_fail
;
23603 Py_INCREF(Py_None
); resultobj
= Py_None
;
23610 static PyObject
*_wrap_Window_HasScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23611 PyObject
*resultobj
;
23612 wxWindow
*arg1
= (wxWindow
*) 0 ;
23615 PyObject
* obj0
= 0 ;
23616 char *kwnames
[] = {
23617 (char *) "self",(char *) "orient", NULL
23620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_HasScrollbar",kwnames
,&obj0
,&arg2
)) goto fail
;
23621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23624 result
= (bool)((wxWindow
const *)arg1
)->HasScrollbar(arg2
);
23626 wxPyEndAllowThreads(__tstate
);
23627 if (PyErr_Occurred()) SWIG_fail
;
23629 resultobj
= PyInt_FromLong((long)result
);
23636 static PyObject
*_wrap_Window_SetScrollbar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23637 PyObject
*resultobj
;
23638 wxWindow
*arg1
= (wxWindow
*) 0 ;
23643 bool arg6
= (bool) True
;
23644 PyObject
* obj0
= 0 ;
23645 PyObject
* obj5
= 0 ;
23646 char *kwnames
[] = {
23647 (char *) "self",(char *) "orient",(char *) "pos",(char *) "thumbvisible",(char *) "range",(char *) "refresh", NULL
23650 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii|O:Window_SetScrollbar",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
23651 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23653 arg6
= PyInt_AsLong(obj5
) ? true : false;
23654 if (PyErr_Occurred()) SWIG_fail
;
23657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23658 (arg1
)->SetScrollbar(arg2
,arg3
,arg4
,arg5
,arg6
);
23660 wxPyEndAllowThreads(__tstate
);
23661 if (PyErr_Occurred()) SWIG_fail
;
23663 Py_INCREF(Py_None
); resultobj
= Py_None
;
23670 static PyObject
*_wrap_Window_SetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23671 PyObject
*resultobj
;
23672 wxWindow
*arg1
= (wxWindow
*) 0 ;
23675 bool arg4
= (bool) True
;
23676 PyObject
* obj0
= 0 ;
23677 PyObject
* obj3
= 0 ;
23678 char *kwnames
[] = {
23679 (char *) "self",(char *) "orient",(char *) "pos",(char *) "refresh", NULL
23682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_SetScrollPos",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23685 arg4
= PyInt_AsLong(obj3
) ? true : false;
23686 if (PyErr_Occurred()) SWIG_fail
;
23689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23690 (arg1
)->SetScrollPos(arg2
,arg3
,arg4
);
23692 wxPyEndAllowThreads(__tstate
);
23693 if (PyErr_Occurred()) SWIG_fail
;
23695 Py_INCREF(Py_None
); resultobj
= Py_None
;
23702 static PyObject
*_wrap_Window_GetScrollPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23703 PyObject
*resultobj
;
23704 wxWindow
*arg1
= (wxWindow
*) 0 ;
23707 PyObject
* obj0
= 0 ;
23708 char *kwnames
[] = {
23709 (char *) "self",(char *) "orient", NULL
23712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollPos",kwnames
,&obj0
,&arg2
)) goto fail
;
23713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23716 result
= (int)((wxWindow
const *)arg1
)->GetScrollPos(arg2
);
23718 wxPyEndAllowThreads(__tstate
);
23719 if (PyErr_Occurred()) SWIG_fail
;
23721 resultobj
= PyInt_FromLong((long)result
);
23728 static PyObject
*_wrap_Window_GetScrollThumb(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23729 PyObject
*resultobj
;
23730 wxWindow
*arg1
= (wxWindow
*) 0 ;
23733 PyObject
* obj0
= 0 ;
23734 char *kwnames
[] = {
23735 (char *) "self",(char *) "orient", NULL
23738 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollThumb",kwnames
,&obj0
,&arg2
)) goto fail
;
23739 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23742 result
= (int)((wxWindow
const *)arg1
)->GetScrollThumb(arg2
);
23744 wxPyEndAllowThreads(__tstate
);
23745 if (PyErr_Occurred()) SWIG_fail
;
23747 resultobj
= PyInt_FromLong((long)result
);
23754 static PyObject
*_wrap_Window_GetScrollRange(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23755 PyObject
*resultobj
;
23756 wxWindow
*arg1
= (wxWindow
*) 0 ;
23759 PyObject
* obj0
= 0 ;
23760 char *kwnames
[] = {
23761 (char *) "self",(char *) "orient", NULL
23764 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_GetScrollRange",kwnames
,&obj0
,&arg2
)) goto fail
;
23765 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23768 result
= (int)((wxWindow
const *)arg1
)->GetScrollRange(arg2
);
23770 wxPyEndAllowThreads(__tstate
);
23771 if (PyErr_Occurred()) SWIG_fail
;
23773 resultobj
= PyInt_FromLong((long)result
);
23780 static PyObject
*_wrap_Window_ScrollWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23781 PyObject
*resultobj
;
23782 wxWindow
*arg1
= (wxWindow
*) 0 ;
23785 wxRect
*arg4
= (wxRect
*) NULL
;
23786 PyObject
* obj0
= 0 ;
23787 PyObject
* obj3
= 0 ;
23788 char *kwnames
[] = {
23789 (char *) "self",(char *) "dx",(char *) "dy",(char *) "rect", NULL
23792 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii|O:Window_ScrollWindow",kwnames
,&obj0
,&arg2
,&arg3
,&obj3
)) goto fail
;
23793 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23795 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxRect
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23799 (arg1
)->ScrollWindow(arg2
,arg3
,(wxRect
const *)arg4
);
23801 wxPyEndAllowThreads(__tstate
);
23802 if (PyErr_Occurred()) SWIG_fail
;
23804 Py_INCREF(Py_None
); resultobj
= Py_None
;
23811 static PyObject
*_wrap_Window_ScrollLines(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23812 PyObject
*resultobj
;
23813 wxWindow
*arg1
= (wxWindow
*) 0 ;
23816 PyObject
* obj0
= 0 ;
23817 char *kwnames
[] = {
23818 (char *) "self",(char *) "lines", NULL
23821 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollLines",kwnames
,&obj0
,&arg2
)) goto fail
;
23822 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23825 result
= (bool)(arg1
)->ScrollLines(arg2
);
23827 wxPyEndAllowThreads(__tstate
);
23828 if (PyErr_Occurred()) SWIG_fail
;
23830 resultobj
= PyInt_FromLong((long)result
);
23837 static PyObject
*_wrap_Window_ScrollPages(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23838 PyObject
*resultobj
;
23839 wxWindow
*arg1
= (wxWindow
*) 0 ;
23842 PyObject
* obj0
= 0 ;
23843 char *kwnames
[] = {
23844 (char *) "self",(char *) "pages", NULL
23847 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Window_ScrollPages",kwnames
,&obj0
,&arg2
)) goto fail
;
23848 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23851 result
= (bool)(arg1
)->ScrollPages(arg2
);
23853 wxPyEndAllowThreads(__tstate
);
23854 if (PyErr_Occurred()) SWIG_fail
;
23856 resultobj
= PyInt_FromLong((long)result
);
23863 static PyObject
*_wrap_Window_LineUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23864 PyObject
*resultobj
;
23865 wxWindow
*arg1
= (wxWindow
*) 0 ;
23867 PyObject
* obj0
= 0 ;
23868 char *kwnames
[] = {
23869 (char *) "self", NULL
23872 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineUp",kwnames
,&obj0
)) goto fail
;
23873 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23875 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23876 result
= (bool)(arg1
)->LineUp();
23878 wxPyEndAllowThreads(__tstate
);
23879 if (PyErr_Occurred()) SWIG_fail
;
23881 resultobj
= PyInt_FromLong((long)result
);
23888 static PyObject
*_wrap_Window_LineDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23889 PyObject
*resultobj
;
23890 wxWindow
*arg1
= (wxWindow
*) 0 ;
23892 PyObject
* obj0
= 0 ;
23893 char *kwnames
[] = {
23894 (char *) "self", NULL
23897 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_LineDown",kwnames
,&obj0
)) goto fail
;
23898 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23901 result
= (bool)(arg1
)->LineDown();
23903 wxPyEndAllowThreads(__tstate
);
23904 if (PyErr_Occurred()) SWIG_fail
;
23906 resultobj
= PyInt_FromLong((long)result
);
23913 static PyObject
*_wrap_Window_PageUp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23914 PyObject
*resultobj
;
23915 wxWindow
*arg1
= (wxWindow
*) 0 ;
23917 PyObject
* obj0
= 0 ;
23918 char *kwnames
[] = {
23919 (char *) "self", NULL
23922 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageUp",kwnames
,&obj0
)) goto fail
;
23923 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23926 result
= (bool)(arg1
)->PageUp();
23928 wxPyEndAllowThreads(__tstate
);
23929 if (PyErr_Occurred()) SWIG_fail
;
23931 resultobj
= PyInt_FromLong((long)result
);
23938 static PyObject
*_wrap_Window_PageDown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23939 PyObject
*resultobj
;
23940 wxWindow
*arg1
= (wxWindow
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 char *kwnames
[] = {
23944 (char *) "self", NULL
23947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_PageDown",kwnames
,&obj0
)) goto fail
;
23948 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 result
= (bool)(arg1
)->PageDown();
23953 wxPyEndAllowThreads(__tstate
);
23954 if (PyErr_Occurred()) SWIG_fail
;
23956 resultobj
= PyInt_FromLong((long)result
);
23963 static PyObject
*_wrap_Window_SetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
23964 PyObject
*resultobj
;
23965 wxWindow
*arg1
= (wxWindow
*) 0 ;
23966 wxString
*arg2
= 0 ;
23967 bool temp2
= False
;
23968 PyObject
* obj0
= 0 ;
23969 PyObject
* obj1
= 0 ;
23970 char *kwnames
[] = {
23971 (char *) "self",(char *) "text", NULL
23974 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpText",kwnames
,&obj0
,&obj1
)) goto fail
;
23975 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
23977 arg2
= wxString_in_helper(obj1
);
23978 if (arg2
== NULL
) SWIG_fail
;
23982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23983 (arg1
)->SetHelpText((wxString
const &)*arg2
);
23985 wxPyEndAllowThreads(__tstate
);
23986 if (PyErr_Occurred()) SWIG_fail
;
23988 Py_INCREF(Py_None
); resultobj
= Py_None
;
24003 static PyObject
*_wrap_Window_SetHelpTextForId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24004 PyObject
*resultobj
;
24005 wxWindow
*arg1
= (wxWindow
*) 0 ;
24006 wxString
*arg2
= 0 ;
24007 bool temp2
= False
;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char *kwnames
[] = {
24011 (char *) "self",(char *) "text", NULL
24014 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetHelpTextForId",kwnames
,&obj0
,&obj1
)) goto fail
;
24015 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24017 arg2
= wxString_in_helper(obj1
);
24018 if (arg2
== NULL
) SWIG_fail
;
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->SetHelpTextForId((wxString
const &)*arg2
);
24025 wxPyEndAllowThreads(__tstate
);
24026 if (PyErr_Occurred()) SWIG_fail
;
24028 Py_INCREF(Py_None
); resultobj
= Py_None
;
24043 static PyObject
*_wrap_Window_GetHelpText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24044 PyObject
*resultobj
;
24045 wxWindow
*arg1
= (wxWindow
*) 0 ;
24047 PyObject
* obj0
= 0 ;
24048 char *kwnames
[] = {
24049 (char *) "self", NULL
24052 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetHelpText",kwnames
,&obj0
)) goto fail
;
24053 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24056 result
= ((wxWindow
const *)arg1
)->GetHelpText();
24058 wxPyEndAllowThreads(__tstate
);
24059 if (PyErr_Occurred()) SWIG_fail
;
24063 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24065 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24074 static PyObject
*_wrap_Window_SetToolTipString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24075 PyObject
*resultobj
;
24076 wxWindow
*arg1
= (wxWindow
*) 0 ;
24077 wxString
*arg2
= 0 ;
24078 bool temp2
= False
;
24079 PyObject
* obj0
= 0 ;
24080 PyObject
* obj1
= 0 ;
24081 char *kwnames
[] = {
24082 (char *) "self",(char *) "tip", NULL
24085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTipString",kwnames
,&obj0
,&obj1
)) goto fail
;
24086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24088 arg2
= wxString_in_helper(obj1
);
24089 if (arg2
== NULL
) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 (arg1
)->SetToolTip((wxString
const &)*arg2
);
24096 wxPyEndAllowThreads(__tstate
);
24097 if (PyErr_Occurred()) SWIG_fail
;
24099 Py_INCREF(Py_None
); resultobj
= Py_None
;
24114 static PyObject
*_wrap_Window_SetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24115 PyObject
*resultobj
;
24116 wxWindow
*arg1
= (wxWindow
*) 0 ;
24117 wxToolTip
*arg2
= (wxToolTip
*) 0 ;
24118 PyObject
* obj0
= 0 ;
24119 PyObject
* obj1
= 0 ;
24120 char *kwnames
[] = {
24121 (char *) "self",(char *) "tip", NULL
24124 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetToolTip",kwnames
,&obj0
,&obj1
)) goto fail
;
24125 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24126 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxToolTip
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24129 (arg1
)->SetToolTip(arg2
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 Py_INCREF(Py_None
); resultobj
= Py_None
;
24141 static PyObject
*_wrap_Window_GetToolTip(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
;
24143 wxWindow
*arg1
= (wxWindow
*) 0 ;
24145 PyObject
* obj0
= 0 ;
24146 char *kwnames
[] = {
24147 (char *) "self", NULL
24150 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetToolTip",kwnames
,&obj0
)) goto fail
;
24151 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24154 result
= (wxToolTip
*)((wxWindow
const *)arg1
)->GetToolTip();
24156 wxPyEndAllowThreads(__tstate
);
24157 if (PyErr_Occurred()) SWIG_fail
;
24160 resultobj
= wxPyMake_wxObject(result
);
24168 static PyObject
*_wrap_Window_SetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24169 PyObject
*resultobj
;
24170 wxWindow
*arg1
= (wxWindow
*) 0 ;
24171 wxPyDropTarget
*arg2
= (wxPyDropTarget
*) 0 ;
24172 PyObject
* obj0
= 0 ;
24173 PyObject
* obj1
= 0 ;
24174 char *kwnames
[] = {
24175 (char *) "self",(char *) "dropTarget", NULL
24178 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetDropTarget",kwnames
,&obj0
,&obj1
)) goto fail
;
24179 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24180 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxPyDropTarget
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24183 (arg1
)->SetDropTarget(arg2
);
24185 wxPyEndAllowThreads(__tstate
);
24186 if (PyErr_Occurred()) SWIG_fail
;
24188 Py_INCREF(Py_None
); resultobj
= Py_None
;
24195 static PyObject
*_wrap_Window_GetDropTarget(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24196 PyObject
*resultobj
;
24197 wxWindow
*arg1
= (wxWindow
*) 0 ;
24198 wxPyDropTarget
*result
;
24199 PyObject
* obj0
= 0 ;
24200 char *kwnames
[] = {
24201 (char *) "self", NULL
24204 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetDropTarget",kwnames
,&obj0
)) goto fail
;
24205 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24208 result
= (wxPyDropTarget
*)((wxWindow
const *)arg1
)->GetDropTarget();
24210 wxPyEndAllowThreads(__tstate
);
24211 if (PyErr_Occurred()) SWIG_fail
;
24213 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyDropTarget
, 0);
24220 static PyObject
*_wrap_Window_DragAcceptFiles(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24221 PyObject
*resultobj
;
24222 wxWindow
*arg1
= (wxWindow
*) 0 ;
24224 PyObject
* obj0
= 0 ;
24225 PyObject
* obj1
= 0 ;
24226 char *kwnames
[] = {
24227 (char *) "self",(char *) "accept", NULL
24230 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_DragAcceptFiles",kwnames
,&obj0
,&obj1
)) goto fail
;
24231 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24232 arg2
= PyInt_AsLong(obj1
) ? true : false;
24233 if (PyErr_Occurred()) SWIG_fail
;
24235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24236 (arg1
)->DragAcceptFiles(arg2
);
24238 wxPyEndAllowThreads(__tstate
);
24239 if (PyErr_Occurred()) SWIG_fail
;
24241 Py_INCREF(Py_None
); resultobj
= Py_None
;
24248 static PyObject
*_wrap_Window_SetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24249 PyObject
*resultobj
;
24250 wxWindow
*arg1
= (wxWindow
*) 0 ;
24251 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
24252 PyObject
* obj0
= 0 ;
24253 PyObject
* obj1
= 0 ;
24254 char *kwnames
[] = {
24255 (char *) "self",(char *) "constraints", NULL
24258 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
24259 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24260 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24263 (arg1
)->SetConstraints(arg2
);
24265 wxPyEndAllowThreads(__tstate
);
24266 if (PyErr_Occurred()) SWIG_fail
;
24268 Py_INCREF(Py_None
); resultobj
= Py_None
;
24275 static PyObject
*_wrap_Window_GetConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24276 PyObject
*resultobj
;
24277 wxWindow
*arg1
= (wxWindow
*) 0 ;
24278 wxLayoutConstraints
*result
;
24279 PyObject
* obj0
= 0 ;
24280 char *kwnames
[] = {
24281 (char *) "self", NULL
24284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetConstraints",kwnames
,&obj0
)) goto fail
;
24285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24288 result
= (wxLayoutConstraints
*)((wxWindow
const *)arg1
)->GetConstraints();
24290 wxPyEndAllowThreads(__tstate
);
24291 if (PyErr_Occurred()) SWIG_fail
;
24293 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 0);
24300 static PyObject
*_wrap_Window_SetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24301 PyObject
*resultobj
;
24302 wxWindow
*arg1
= (wxWindow
*) 0 ;
24304 PyObject
* obj0
= 0 ;
24305 PyObject
* obj1
= 0 ;
24306 char *kwnames
[] = {
24307 (char *) "self",(char *) "autoLayout", NULL
24310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetAutoLayout",kwnames
,&obj0
,&obj1
)) goto fail
;
24311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24312 arg2
= PyInt_AsLong(obj1
) ? true : false;
24313 if (PyErr_Occurred()) SWIG_fail
;
24315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24316 (arg1
)->SetAutoLayout(arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 Py_INCREF(Py_None
); resultobj
= Py_None
;
24328 static PyObject
*_wrap_Window_GetAutoLayout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
;
24330 wxWindow
*arg1
= (wxWindow
*) 0 ;
24332 PyObject
* obj0
= 0 ;
24333 char *kwnames
[] = {
24334 (char *) "self", NULL
24337 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetAutoLayout",kwnames
,&obj0
)) goto fail
;
24338 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24341 result
= (bool)((wxWindow
const *)arg1
)->GetAutoLayout();
24343 wxPyEndAllowThreads(__tstate
);
24344 if (PyErr_Occurred()) SWIG_fail
;
24346 resultobj
= PyInt_FromLong((long)result
);
24353 static PyObject
*_wrap_Window_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24354 PyObject
*resultobj
;
24355 wxWindow
*arg1
= (wxWindow
*) 0 ;
24357 PyObject
* obj0
= 0 ;
24358 char *kwnames
[] = {
24359 (char *) "self", NULL
24362 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_Layout",kwnames
,&obj0
)) goto fail
;
24363 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24366 result
= (bool)(arg1
)->Layout();
24368 wxPyEndAllowThreads(__tstate
);
24369 if (PyErr_Occurred()) SWIG_fail
;
24371 resultobj
= PyInt_FromLong((long)result
);
24378 static PyObject
*_wrap_Window_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24379 PyObject
*resultobj
;
24380 wxWindow
*arg1
= (wxWindow
*) 0 ;
24381 wxSizer
*arg2
= (wxSizer
*) 0 ;
24382 bool arg3
= (bool) True
;
24383 PyObject
* obj0
= 0 ;
24384 PyObject
* obj1
= 0 ;
24385 PyObject
* obj2
= 0 ;
24386 char *kwnames
[] = {
24387 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24390 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizer",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24391 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24392 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24394 arg3
= PyInt_AsLong(obj2
) ? true : false;
24395 if (PyErr_Occurred()) SWIG_fail
;
24398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24399 (arg1
)->SetSizer(arg2
,arg3
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 Py_INCREF(Py_None
); resultobj
= Py_None
;
24411 static PyObject
*_wrap_Window_SetSizerAndFit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
;
24413 wxWindow
*arg1
= (wxWindow
*) 0 ;
24414 wxSizer
*arg2
= (wxSizer
*) 0 ;
24415 bool arg3
= (bool) True
;
24416 PyObject
* obj0
= 0 ;
24417 PyObject
* obj1
= 0 ;
24418 PyObject
* obj2
= 0 ;
24419 char *kwnames
[] = {
24420 (char *) "self",(char *) "sizer",(char *) "deleteOld", NULL
24423 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Window_SetSizerAndFit",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
24424 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24425 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24427 arg3
= PyInt_AsLong(obj2
) ? true : false;
24428 if (PyErr_Occurred()) SWIG_fail
;
24431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24432 (arg1
)->SetSizerAndFit(arg2
,arg3
);
24434 wxPyEndAllowThreads(__tstate
);
24435 if (PyErr_Occurred()) SWIG_fail
;
24437 Py_INCREF(Py_None
); resultobj
= Py_None
;
24444 static PyObject
*_wrap_Window_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24445 PyObject
*resultobj
;
24446 wxWindow
*arg1
= (wxWindow
*) 0 ;
24448 PyObject
* obj0
= 0 ;
24449 char *kwnames
[] = {
24450 (char *) "self", NULL
24453 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetSizer",kwnames
,&obj0
)) goto fail
;
24454 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24457 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetSizer();
24459 wxPyEndAllowThreads(__tstate
);
24460 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= wxPyMake_wxSizer(result
);
24471 static PyObject
*_wrap_Window_SetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24472 PyObject
*resultobj
;
24473 wxWindow
*arg1
= (wxWindow
*) 0 ;
24474 wxSizer
*arg2
= (wxSizer
*) 0 ;
24475 PyObject
* obj0
= 0 ;
24476 PyObject
* obj1
= 0 ;
24477 char *kwnames
[] = {
24478 (char *) "self",(char *) "sizer", NULL
24481 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Window_SetContainingSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
24482 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24483 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24486 (arg1
)->SetContainingSizer(arg2
);
24488 wxPyEndAllowThreads(__tstate
);
24489 if (PyErr_Occurred()) SWIG_fail
;
24491 Py_INCREF(Py_None
); resultobj
= Py_None
;
24498 static PyObject
*_wrap_Window_GetContainingSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24499 PyObject
*resultobj
;
24500 wxWindow
*arg1
= (wxWindow
*) 0 ;
24502 PyObject
* obj0
= 0 ;
24503 char *kwnames
[] = {
24504 (char *) "self", NULL
24507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_GetContainingSizer",kwnames
,&obj0
)) goto fail
;
24508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24511 result
= (wxSizer
*)((wxWindow
const *)arg1
)->GetContainingSizer();
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24517 resultobj
= wxPyMake_wxSizer(result
);
24525 static PyObject
* Window_swigregister(PyObject
*self
, PyObject
*args
) {
24527 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24528 SWIG_TypeClientData(SWIGTYPE_p_wxWindow
, obj
);
24530 return Py_BuildValue((char *)"");
24532 static PyObject
*_wrap_FindWindowById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24533 PyObject
*resultobj
;
24535 wxWindow
*arg2
= (wxWindow
*) NULL
;
24537 PyObject
* obj1
= 0 ;
24538 char *kwnames
[] = {
24539 (char *) "id",(char *) "parent", NULL
24542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"l|O:FindWindowById",kwnames
,&arg1
,&obj1
)) goto fail
;
24544 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 result
= (wxWindow
*)wxFindWindowById(arg1
,(wxWindow
const *)arg2
);
24550 wxPyEndAllowThreads(__tstate
);
24551 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= wxPyMake_wxObject(result
);
24562 static PyObject
*_wrap_FindWindowByName(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24563 PyObject
*resultobj
;
24564 wxString
*arg1
= 0 ;
24565 wxWindow
*arg2
= (wxWindow
*) NULL
;
24567 bool temp1
= False
;
24568 PyObject
* obj0
= 0 ;
24569 PyObject
* obj1
= 0 ;
24570 char *kwnames
[] = {
24571 (char *) "name",(char *) "parent", NULL
24574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByName",kwnames
,&obj0
,&obj1
)) goto fail
;
24576 arg1
= wxString_in_helper(obj0
);
24577 if (arg1
== NULL
) SWIG_fail
;
24581 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (wxWindow
*)wxFindWindowByName((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24587 wxPyEndAllowThreads(__tstate
);
24588 if (PyErr_Occurred()) SWIG_fail
;
24591 resultobj
= wxPyMake_wxObject(result
);
24607 static PyObject
*_wrap_FindWindowByLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24608 PyObject
*resultobj
;
24609 wxString
*arg1
= 0 ;
24610 wxWindow
*arg2
= (wxWindow
*) NULL
;
24612 bool temp1
= False
;
24613 PyObject
* obj0
= 0 ;
24614 PyObject
* obj1
= 0 ;
24615 char *kwnames
[] = {
24616 (char *) "label",(char *) "parent", NULL
24619 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:FindWindowByLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
24621 arg1
= wxString_in_helper(obj0
);
24622 if (arg1
== NULL
) SWIG_fail
;
24626 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24630 result
= (wxWindow
*)wxFindWindowByLabel((wxString
const &)*arg1
,(wxWindow
const *)arg2
);
24632 wxPyEndAllowThreads(__tstate
);
24633 if (PyErr_Occurred()) SWIG_fail
;
24636 resultobj
= wxPyMake_wxObject(result
);
24652 static PyObject
*_wrap_Window_FromHWND(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24653 PyObject
*resultobj
;
24654 unsigned long arg1
;
24656 PyObject
* obj0
= 0 ;
24657 char *kwnames
[] = {
24658 (char *) "hWnd", NULL
24661 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Window_FromHWND",kwnames
,&obj0
)) goto fail
;
24662 arg1
= (unsigned long) PyInt_AsLong(obj0
);
24663 if (PyErr_Occurred()) SWIG_fail
;
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (wxWindow
*)wxWindow_FromHWND(arg1
);
24668 wxPyEndAllowThreads(__tstate
);
24669 if (PyErr_Occurred()) SWIG_fail
;
24672 resultobj
= wxPyMake_wxObject(result
);
24680 static PyObject
*_wrap_new_Validator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24681 PyObject
*resultobj
;
24682 wxValidator
*result
;
24683 char *kwnames
[] = {
24687 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_Validator",kwnames
)) goto fail
;
24689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24690 result
= (wxValidator
*)new wxValidator();
24692 wxPyEndAllowThreads(__tstate
);
24693 if (PyErr_Occurred()) SWIG_fail
;
24696 resultobj
= wxPyMake_wxObject(result
);
24704 static PyObject
*_wrap_Validator_Clone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24705 PyObject
*resultobj
;
24706 wxValidator
*arg1
= (wxValidator
*) 0 ;
24707 wxValidator
*result
;
24708 PyObject
* obj0
= 0 ;
24709 char *kwnames
[] = {
24710 (char *) "self", NULL
24713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_Clone",kwnames
,&obj0
)) goto fail
;
24714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24717 result
= (wxValidator
*)(arg1
)->Clone();
24719 wxPyEndAllowThreads(__tstate
);
24720 if (PyErr_Occurred()) SWIG_fail
;
24723 resultobj
= wxPyMake_wxObject(result
);
24731 static PyObject
*_wrap_Validator_Validate(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24732 PyObject
*resultobj
;
24733 wxValidator
*arg1
= (wxValidator
*) 0 ;
24734 wxWindow
*arg2
= (wxWindow
*) 0 ;
24736 PyObject
* obj0
= 0 ;
24737 PyObject
* obj1
= 0 ;
24738 char *kwnames
[] = {
24739 (char *) "self",(char *) "parent", NULL
24742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_Validate",kwnames
,&obj0
,&obj1
)) goto fail
;
24743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24744 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24747 result
= (bool)(arg1
)->Validate(arg2
);
24749 wxPyEndAllowThreads(__tstate
);
24750 if (PyErr_Occurred()) SWIG_fail
;
24752 resultobj
= PyInt_FromLong((long)result
);
24759 static PyObject
*_wrap_Validator_TransferToWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24760 PyObject
*resultobj
;
24761 wxValidator
*arg1
= (wxValidator
*) 0 ;
24763 PyObject
* obj0
= 0 ;
24764 char *kwnames
[] = {
24765 (char *) "self", NULL
24768 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferToWindow",kwnames
,&obj0
)) goto fail
;
24769 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 result
= (bool)(arg1
)->TransferToWindow();
24774 wxPyEndAllowThreads(__tstate
);
24775 if (PyErr_Occurred()) SWIG_fail
;
24777 resultobj
= PyInt_FromLong((long)result
);
24784 static PyObject
*_wrap_Validator_TransferFromWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24785 PyObject
*resultobj
;
24786 wxValidator
*arg1
= (wxValidator
*) 0 ;
24788 PyObject
* obj0
= 0 ;
24789 char *kwnames
[] = {
24790 (char *) "self", NULL
24793 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_TransferFromWindow",kwnames
,&obj0
)) goto fail
;
24794 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24797 result
= (bool)(arg1
)->TransferFromWindow();
24799 wxPyEndAllowThreads(__tstate
);
24800 if (PyErr_Occurred()) SWIG_fail
;
24802 resultobj
= PyInt_FromLong((long)result
);
24809 static PyObject
*_wrap_Validator_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24810 PyObject
*resultobj
;
24811 wxValidator
*arg1
= (wxValidator
*) 0 ;
24813 PyObject
* obj0
= 0 ;
24814 char *kwnames
[] = {
24815 (char *) "self", NULL
24818 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Validator_GetWindow",kwnames
,&obj0
)) goto fail
;
24819 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24822 result
= (wxWindow
*)(arg1
)->GetWindow();
24824 wxPyEndAllowThreads(__tstate
);
24825 if (PyErr_Occurred()) SWIG_fail
;
24828 resultobj
= wxPyMake_wxObject(result
);
24836 static PyObject
*_wrap_Validator_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24837 PyObject
*resultobj
;
24838 wxValidator
*arg1
= (wxValidator
*) 0 ;
24839 wxWindow
*arg2
= (wxWindow
*) 0 ;
24840 PyObject
* obj0
= 0 ;
24841 PyObject
* obj1
= 0 ;
24842 char *kwnames
[] = {
24843 (char *) "self",(char *) "window", NULL
24846 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Validator_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
24847 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24848 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24851 (arg1
)->SetWindow(arg2
);
24853 wxPyEndAllowThreads(__tstate
);
24854 if (PyErr_Occurred()) SWIG_fail
;
24856 Py_INCREF(Py_None
); resultobj
= Py_None
;
24863 static PyObject
*_wrap_Validator_IsSilent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24864 PyObject
*resultobj
;
24866 char *kwnames
[] = {
24870 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":Validator_IsSilent",kwnames
)) goto fail
;
24872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24873 result
= (bool)wxValidator::IsSilent();
24875 wxPyEndAllowThreads(__tstate
);
24876 if (PyErr_Occurred()) SWIG_fail
;
24878 resultobj
= PyInt_FromLong((long)result
);
24885 static PyObject
*_wrap_Validator_SetBellOnError(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24886 PyObject
*resultobj
;
24887 int arg1
= (int) True
;
24888 char *kwnames
[] = {
24889 (char *) "doIt", NULL
24892 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:Validator_SetBellOnError",kwnames
,&arg1
)) goto fail
;
24894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24895 wxValidator::SetBellOnError(arg1
);
24897 wxPyEndAllowThreads(__tstate
);
24898 if (PyErr_Occurred()) SWIG_fail
;
24900 Py_INCREF(Py_None
); resultobj
= Py_None
;
24907 static PyObject
* Validator_swigregister(PyObject
*self
, PyObject
*args
) {
24909 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24910 SWIG_TypeClientData(SWIGTYPE_p_wxValidator
, obj
);
24912 return Py_BuildValue((char *)"");
24914 static PyObject
*_wrap_new_PyValidator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24915 PyObject
*resultobj
;
24916 wxPyValidator
*result
;
24917 char *kwnames
[] = {
24921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PyValidator",kwnames
)) goto fail
;
24923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24924 result
= (wxPyValidator
*)new wxPyValidator();
24926 wxPyEndAllowThreads(__tstate
);
24927 if (PyErr_Occurred()) SWIG_fail
;
24929 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPyValidator
, 1);
24936 static PyObject
*_wrap_PyValidator__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24937 PyObject
*resultobj
;
24938 wxPyValidator
*arg1
= (wxPyValidator
*) 0 ;
24939 PyObject
*arg2
= (PyObject
*) 0 ;
24940 PyObject
*arg3
= (PyObject
*) 0 ;
24941 int arg4
= (int) True
;
24942 PyObject
* obj0
= 0 ;
24943 PyObject
* obj1
= 0 ;
24944 PyObject
* obj2
= 0 ;
24945 char *kwnames
[] = {
24946 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
24949 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|i:PyValidator__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
)) goto fail
;
24950 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPyValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
24954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
24957 wxPyEndAllowThreads(__tstate
);
24958 if (PyErr_Occurred()) SWIG_fail
;
24960 Py_INCREF(Py_None
); resultobj
= Py_None
;
24967 static PyObject
* PyValidator_swigregister(PyObject
*self
, PyObject
*args
) {
24969 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
24970 SWIG_TypeClientData(SWIGTYPE_p_wxPyValidator
, obj
);
24972 return Py_BuildValue((char *)"");
24974 static int _wrap_DefaultValidator_set(PyObject
*_val
) {
24975 PyErr_SetString(PyExc_TypeError
,"Variable DefaultValidator is read-only.");
24980 static PyObject
*_wrap_DefaultValidator_get() {
24983 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultValidator
, SWIGTYPE_p_wxValidator
, 0);
24988 static PyObject
*_wrap_new_Menu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
24989 PyObject
*resultobj
;
24990 wxString
const &arg1_defvalue
= wxPyEmptyString
;
24991 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
24992 long arg2
= (long) 0 ;
24994 bool temp1
= False
;
24995 PyObject
* obj0
= 0 ;
24996 char *kwnames
[] = {
24997 (char *) "title",(char *) "style", NULL
25000 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|Ol:new_Menu",kwnames
,&obj0
,&arg2
)) goto fail
;
25003 arg1
= wxString_in_helper(obj0
);
25004 if (arg1
== NULL
) SWIG_fail
;
25009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25010 result
= (wxMenu
*)new wxMenu((wxString
const &)*arg1
,arg2
);
25012 wxPyEndAllowThreads(__tstate
);
25013 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= wxPyMake_wxObject(result
);
25032 static PyObject
*_wrap_Menu_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25033 PyObject
*resultobj
;
25034 wxMenu
*arg1
= (wxMenu
*) 0 ;
25036 wxString
*arg3
= 0 ;
25037 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25038 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25039 int arg5
= (int) wxITEM_NORMAL
;
25040 bool temp3
= False
;
25041 bool temp4
= False
;
25042 PyObject
* obj0
= 0 ;
25043 PyObject
* obj2
= 0 ;
25044 PyObject
* obj3
= 0 ;
25045 char *kwnames
[] = {
25046 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Append",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25052 arg3
= wxString_in_helper(obj2
);
25053 if (arg3
== NULL
) SWIG_fail
;
25058 arg4
= wxString_in_helper(obj3
);
25059 if (arg4
== NULL
) SWIG_fail
;
25064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25065 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25067 wxPyEndAllowThreads(__tstate
);
25068 if (PyErr_Occurred()) SWIG_fail
;
25070 Py_INCREF(Py_None
); resultobj
= Py_None
;
25093 static PyObject
*_wrap_Menu_AppendSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25094 PyObject
*resultobj
;
25095 wxMenu
*arg1
= (wxMenu
*) 0 ;
25096 PyObject
* obj0
= 0 ;
25097 char *kwnames
[] = {
25098 (char *) "self", NULL
25101 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_AppendSeparator",kwnames
,&obj0
)) goto fail
;
25102 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25104 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25105 (arg1
)->AppendSeparator();
25107 wxPyEndAllowThreads(__tstate
);
25108 if (PyErr_Occurred()) SWIG_fail
;
25110 Py_INCREF(Py_None
); resultobj
= Py_None
;
25117 static PyObject
*_wrap_Menu_AppendCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25118 PyObject
*resultobj
;
25119 wxMenu
*arg1
= (wxMenu
*) 0 ;
25121 wxString
*arg3
= 0 ;
25122 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25123 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25124 bool temp3
= False
;
25125 bool temp4
= False
;
25126 PyObject
* obj0
= 0 ;
25127 PyObject
* obj2
= 0 ;
25128 PyObject
* obj3
= 0 ;
25129 char *kwnames
[] = {
25130 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25133 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25134 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25136 arg3
= wxString_in_helper(obj2
);
25137 if (arg3
== NULL
) SWIG_fail
;
25142 arg4
= wxString_in_helper(obj3
);
25143 if (arg4
== NULL
) SWIG_fail
;
25148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25149 (arg1
)->AppendCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25151 wxPyEndAllowThreads(__tstate
);
25152 if (PyErr_Occurred()) SWIG_fail
;
25154 Py_INCREF(Py_None
); resultobj
= Py_None
;
25177 static PyObject
*_wrap_Menu_AppendRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25178 PyObject
*resultobj
;
25179 wxMenu
*arg1
= (wxMenu
*) 0 ;
25181 wxString
*arg3
= 0 ;
25182 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25183 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25184 bool temp3
= False
;
25185 bool temp4
= False
;
25186 PyObject
* obj0
= 0 ;
25187 PyObject
* obj2
= 0 ;
25188 PyObject
* obj3
= 0 ;
25189 char *kwnames
[] = {
25190 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_AppendRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25196 arg3
= wxString_in_helper(obj2
);
25197 if (arg3
== NULL
) SWIG_fail
;
25202 arg4
= wxString_in_helper(obj3
);
25203 if (arg4
== NULL
) SWIG_fail
;
25208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25209 (arg1
)->AppendRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25211 wxPyEndAllowThreads(__tstate
);
25212 if (PyErr_Occurred()) SWIG_fail
;
25214 Py_INCREF(Py_None
); resultobj
= Py_None
;
25237 static PyObject
*_wrap_Menu_AppendMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25238 PyObject
*resultobj
;
25239 wxMenu
*arg1
= (wxMenu
*) 0 ;
25241 wxString
*arg3
= 0 ;
25242 wxMenu
*arg4
= (wxMenu
*) 0 ;
25243 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25244 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25245 bool temp3
= False
;
25246 bool temp5
= False
;
25247 PyObject
* obj0
= 0 ;
25248 PyObject
* obj2
= 0 ;
25249 PyObject
* obj3
= 0 ;
25250 PyObject
* obj4
= 0 ;
25251 char *kwnames
[] = {
25252 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25255 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_AppendMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25256 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25258 arg3
= wxString_in_helper(obj2
);
25259 if (arg3
== NULL
) SWIG_fail
;
25262 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25265 arg5
= wxString_in_helper(obj4
);
25266 if (arg5
== NULL
) SWIG_fail
;
25271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25272 (arg1
)->Append(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25274 wxPyEndAllowThreads(__tstate
);
25275 if (PyErr_Occurred()) SWIG_fail
;
25277 Py_INCREF(Py_None
); resultobj
= Py_None
;
25300 static PyObject
*_wrap_Menu_AppendItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25301 PyObject
*resultobj
;
25302 wxMenu
*arg1
= (wxMenu
*) 0 ;
25303 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25304 PyObject
* obj0
= 0 ;
25305 PyObject
* obj1
= 0 ;
25306 char *kwnames
[] = {
25307 (char *) "self",(char *) "item", NULL
25310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_AppendItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25315 (arg1
)->Append(arg2
);
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25320 Py_INCREF(Py_None
); resultobj
= Py_None
;
25327 static PyObject
*_wrap_Menu_Break(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25328 PyObject
*resultobj
;
25329 wxMenu
*arg1
= (wxMenu
*) 0 ;
25330 PyObject
* obj0
= 0 ;
25331 char *kwnames
[] = {
25332 (char *) "self", NULL
25335 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Break",kwnames
,&obj0
)) goto fail
;
25336 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25341 wxPyEndAllowThreads(__tstate
);
25342 if (PyErr_Occurred()) SWIG_fail
;
25344 Py_INCREF(Py_None
); resultobj
= Py_None
;
25351 static PyObject
*_wrap_Menu_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25352 PyObject
*resultobj
;
25353 wxMenu
*arg1
= (wxMenu
*) 0 ;
25355 wxMenuItem
*arg3
= (wxMenuItem
*) 0 ;
25357 PyObject
* obj0
= 0 ;
25358 PyObject
* obj1
= 0 ;
25359 PyObject
* obj2
= 0 ;
25360 char *kwnames
[] = {
25361 (char *) "self",(char *) "pos",(char *) "item", NULL
25364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Menu_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
25365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25366 arg2
= (size_t) PyInt_AsLong(obj1
);
25367 if (PyErr_Occurred()) SWIG_fail
;
25368 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25371 result
= (bool)(arg1
)->Insert(arg2
,arg3
);
25373 wxPyEndAllowThreads(__tstate
);
25374 if (PyErr_Occurred()) SWIG_fail
;
25376 resultobj
= PyInt_FromLong((long)result
);
25383 static PyObject
*_wrap_Menu_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25384 PyObject
*resultobj
;
25385 wxMenu
*arg1
= (wxMenu
*) 0 ;
25388 wxString
*arg4
= 0 ;
25389 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25390 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25391 int arg6
= (int) wxITEM_NORMAL
;
25392 bool temp4
= False
;
25393 bool temp5
= False
;
25394 PyObject
* obj0
= 0 ;
25395 PyObject
* obj1
= 0 ;
25396 PyObject
* obj3
= 0 ;
25397 PyObject
* obj4
= 0 ;
25398 char *kwnames
[] = {
25399 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|Oi:Menu_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
)) goto fail
;
25403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25404 arg2
= (size_t) PyInt_AsLong(obj1
);
25405 if (PyErr_Occurred()) SWIG_fail
;
25407 arg4
= wxString_in_helper(obj3
);
25408 if (arg4
== NULL
) SWIG_fail
;
25413 arg5
= wxString_in_helper(obj4
);
25414 if (arg5
== NULL
) SWIG_fail
;
25419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25420 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,(wxItemKind
)arg6
);
25422 wxPyEndAllowThreads(__tstate
);
25423 if (PyErr_Occurred()) SWIG_fail
;
25425 Py_INCREF(Py_None
); resultobj
= Py_None
;
25448 static PyObject
*_wrap_Menu_InsertSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25449 PyObject
*resultobj
;
25450 wxMenu
*arg1
= (wxMenu
*) 0 ;
25452 PyObject
* obj0
= 0 ;
25453 PyObject
* obj1
= 0 ;
25454 char *kwnames
[] = {
25455 (char *) "self",(char *) "pos", NULL
25458 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_InsertSeparator",kwnames
,&obj0
,&obj1
)) goto fail
;
25459 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25460 arg2
= (size_t) PyInt_AsLong(obj1
);
25461 if (PyErr_Occurred()) SWIG_fail
;
25463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25464 (arg1
)->InsertSeparator(arg2
);
25466 wxPyEndAllowThreads(__tstate
);
25467 if (PyErr_Occurred()) SWIG_fail
;
25469 Py_INCREF(Py_None
); resultobj
= Py_None
;
25476 static PyObject
*_wrap_Menu_InsertCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25477 PyObject
*resultobj
;
25478 wxMenu
*arg1
= (wxMenu
*) 0 ;
25481 wxString
*arg4
= 0 ;
25482 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25483 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25484 bool temp4
= False
;
25485 bool temp5
= False
;
25486 PyObject
* obj0
= 0 ;
25487 PyObject
* obj1
= 0 ;
25488 PyObject
* obj3
= 0 ;
25489 PyObject
* obj4
= 0 ;
25490 char *kwnames
[] = {
25491 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25494 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertCheckItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25495 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25496 arg2
= (size_t) PyInt_AsLong(obj1
);
25497 if (PyErr_Occurred()) SWIG_fail
;
25499 arg4
= wxString_in_helper(obj3
);
25500 if (arg4
== NULL
) SWIG_fail
;
25505 arg5
= wxString_in_helper(obj4
);
25506 if (arg5
== NULL
) SWIG_fail
;
25511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25512 (arg1
)->InsertCheckItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25514 wxPyEndAllowThreads(__tstate
);
25515 if (PyErr_Occurred()) SWIG_fail
;
25517 Py_INCREF(Py_None
); resultobj
= Py_None
;
25540 static PyObject
*_wrap_Menu_InsertRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25541 PyObject
*resultobj
;
25542 wxMenu
*arg1
= (wxMenu
*) 0 ;
25545 wxString
*arg4
= 0 ;
25546 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25547 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25548 bool temp4
= False
;
25549 bool temp5
= False
;
25550 PyObject
* obj0
= 0 ;
25551 PyObject
* obj1
= 0 ;
25552 PyObject
* obj3
= 0 ;
25553 PyObject
* obj4
= 0 ;
25554 char *kwnames
[] = {
25555 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "help", NULL
25558 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiO|O:Menu_InsertRadioItem",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
)) goto fail
;
25559 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25560 arg2
= (size_t) PyInt_AsLong(obj1
);
25561 if (PyErr_Occurred()) SWIG_fail
;
25563 arg4
= wxString_in_helper(obj3
);
25564 if (arg4
== NULL
) SWIG_fail
;
25569 arg5
= wxString_in_helper(obj4
);
25570 if (arg5
== NULL
) SWIG_fail
;
25575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25576 (arg1
)->InsertRadioItem(arg2
,arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 Py_INCREF(Py_None
); resultobj
= Py_None
;
25604 static PyObject
*_wrap_Menu_InsertMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25605 PyObject
*resultobj
;
25606 wxMenu
*arg1
= (wxMenu
*) 0 ;
25609 wxString
*arg4
= 0 ;
25610 wxMenu
*arg5
= (wxMenu
*) 0 ;
25611 wxString
const &arg6_defvalue
= wxPyEmptyString
;
25612 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
25613 bool temp4
= False
;
25614 bool temp6
= False
;
25615 PyObject
* obj0
= 0 ;
25616 PyObject
* obj1
= 0 ;
25617 PyObject
* obj3
= 0 ;
25618 PyObject
* obj4
= 0 ;
25619 PyObject
* obj5
= 0 ;
25620 char *kwnames
[] = {
25621 (char *) "self",(char *) "pos",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOiOO|O:Menu_InsertMenu",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&obj5
)) goto fail
;
25625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25626 arg2
= (size_t) PyInt_AsLong(obj1
);
25627 if (PyErr_Occurred()) SWIG_fail
;
25629 arg4
= wxString_in_helper(obj3
);
25630 if (arg4
== NULL
) SWIG_fail
;
25633 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25636 arg6
= wxString_in_helper(obj5
);
25637 if (arg6
== NULL
) SWIG_fail
;
25642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25643 (arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
25645 wxPyEndAllowThreads(__tstate
);
25646 if (PyErr_Occurred()) SWIG_fail
;
25648 Py_INCREF(Py_None
); resultobj
= Py_None
;
25671 static PyObject
*_wrap_Menu_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25672 PyObject
*resultobj
;
25673 wxMenu
*arg1
= (wxMenu
*) 0 ;
25674 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25675 PyObject
* obj0
= 0 ;
25676 PyObject
* obj1
= 0 ;
25677 char *kwnames
[] = {
25678 (char *) "self",(char *) "item", NULL
25681 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
25682 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25683 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25686 (arg1
)->Prepend(arg2
);
25688 wxPyEndAllowThreads(__tstate
);
25689 if (PyErr_Occurred()) SWIG_fail
;
25691 Py_INCREF(Py_None
); resultobj
= Py_None
;
25698 static PyObject
*_wrap_Menu_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25699 PyObject
*resultobj
;
25700 wxMenu
*arg1
= (wxMenu
*) 0 ;
25702 wxString
*arg3
= 0 ;
25703 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25704 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25705 int arg5
= (int) wxITEM_NORMAL
;
25706 bool temp3
= False
;
25707 bool temp4
= False
;
25708 PyObject
* obj0
= 0 ;
25709 PyObject
* obj2
= 0 ;
25710 PyObject
* obj3
= 0 ;
25711 char *kwnames
[] = {
25712 (char *) "self",(char *) "id",(char *) "text",(char *) "help",(char *) "kind", NULL
25715 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|Oi:Menu_Prepend",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
)) goto fail
;
25716 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25718 arg3
= wxString_in_helper(obj2
);
25719 if (arg3
== NULL
) SWIG_fail
;
25724 arg4
= wxString_in_helper(obj3
);
25725 if (arg4
== NULL
) SWIG_fail
;
25730 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25731 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
);
25733 wxPyEndAllowThreads(__tstate
);
25734 if (PyErr_Occurred()) SWIG_fail
;
25736 Py_INCREF(Py_None
); resultobj
= Py_None
;
25759 static PyObject
*_wrap_Menu_PrependSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25760 PyObject
*resultobj
;
25761 wxMenu
*arg1
= (wxMenu
*) 0 ;
25762 PyObject
* obj0
= 0 ;
25763 char *kwnames
[] = {
25764 (char *) "self", NULL
25767 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_PrependSeparator",kwnames
,&obj0
)) goto fail
;
25768 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25771 (arg1
)->PrependSeparator();
25773 wxPyEndAllowThreads(__tstate
);
25774 if (PyErr_Occurred()) SWIG_fail
;
25776 Py_INCREF(Py_None
); resultobj
= Py_None
;
25783 static PyObject
*_wrap_Menu_PrependCheckItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25784 PyObject
*resultobj
;
25785 wxMenu
*arg1
= (wxMenu
*) 0 ;
25787 wxString
*arg3
= 0 ;
25788 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25789 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25790 bool temp3
= False
;
25791 bool temp4
= False
;
25792 PyObject
* obj0
= 0 ;
25793 PyObject
* obj2
= 0 ;
25794 PyObject
* obj3
= 0 ;
25795 char *kwnames
[] = {
25796 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25799 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependCheckItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25800 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25802 arg3
= wxString_in_helper(obj2
);
25803 if (arg3
== NULL
) SWIG_fail
;
25808 arg4
= wxString_in_helper(obj3
);
25809 if (arg4
== NULL
) SWIG_fail
;
25814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25815 (arg1
)->PrependCheckItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25817 wxPyEndAllowThreads(__tstate
);
25818 if (PyErr_Occurred()) SWIG_fail
;
25820 Py_INCREF(Py_None
); resultobj
= Py_None
;
25843 static PyObject
*_wrap_Menu_PrependRadioItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25844 PyObject
*resultobj
;
25845 wxMenu
*arg1
= (wxMenu
*) 0 ;
25847 wxString
*arg3
= 0 ;
25848 wxString
const &arg4_defvalue
= wxPyEmptyString
;
25849 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
25850 bool temp3
= False
;
25851 bool temp4
= False
;
25852 PyObject
* obj0
= 0 ;
25853 PyObject
* obj2
= 0 ;
25854 PyObject
* obj3
= 0 ;
25855 char *kwnames
[] = {
25856 (char *) "self",(char *) "id",(char *) "text",(char *) "help", NULL
25859 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|O:Menu_PrependRadioItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
25860 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25862 arg3
= wxString_in_helper(obj2
);
25863 if (arg3
== NULL
) SWIG_fail
;
25868 arg4
= wxString_in_helper(obj3
);
25869 if (arg4
== NULL
) SWIG_fail
;
25874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25875 (arg1
)->PrependRadioItem(arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
);
25877 wxPyEndAllowThreads(__tstate
);
25878 if (PyErr_Occurred()) SWIG_fail
;
25880 Py_INCREF(Py_None
); resultobj
= Py_None
;
25903 static PyObject
*_wrap_Menu_PrependMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25904 PyObject
*resultobj
;
25905 wxMenu
*arg1
= (wxMenu
*) 0 ;
25907 wxString
*arg3
= 0 ;
25908 wxMenu
*arg4
= (wxMenu
*) 0 ;
25909 wxString
const &arg5_defvalue
= wxPyEmptyString
;
25910 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
25911 bool temp3
= False
;
25912 bool temp5
= False
;
25913 PyObject
* obj0
= 0 ;
25914 PyObject
* obj2
= 0 ;
25915 PyObject
* obj3
= 0 ;
25916 PyObject
* obj4
= 0 ;
25917 char *kwnames
[] = {
25918 (char *) "self",(char *) "id",(char *) "text",(char *) "submenu",(char *) "help", NULL
25921 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO|O:Menu_PrependMenu",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&obj4
)) goto fail
;
25922 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25924 arg3
= wxString_in_helper(obj2
);
25925 if (arg3
== NULL
) SWIG_fail
;
25928 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25931 arg5
= wxString_in_helper(obj4
);
25932 if (arg5
== NULL
) SWIG_fail
;
25937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25938 (arg1
)->Prepend(arg2
,(wxString
const &)*arg3
,arg4
,(wxString
const &)*arg5
);
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 Py_INCREF(Py_None
); resultobj
= Py_None
;
25966 static PyObject
*_wrap_Menu_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25967 PyObject
*resultobj
;
25968 wxMenu
*arg1
= (wxMenu
*) 0 ;
25970 wxMenuItem
*result
;
25971 PyObject
* obj0
= 0 ;
25972 char *kwnames
[] = {
25973 (char *) "self",(char *) "id", NULL
25976 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Remove",kwnames
,&obj0
,&arg2
)) goto fail
;
25977 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
25979 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25980 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
25982 wxPyEndAllowThreads(__tstate
);
25983 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= wxPyMake_wxObject(result
);
25994 static PyObject
*_wrap_Menu_RemoveItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
25995 PyObject
*resultobj
;
25996 wxMenu
*arg1
= (wxMenu
*) 0 ;
25997 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
25998 wxMenuItem
*result
;
25999 PyObject
* obj0
= 0 ;
26000 PyObject
* obj1
= 0 ;
26001 char *kwnames
[] = {
26002 (char *) "self",(char *) "item", NULL
26005 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_RemoveItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26006 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26007 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (wxMenuItem
*)(arg1
)->Remove(arg2
);
26012 wxPyEndAllowThreads(__tstate
);
26013 if (PyErr_Occurred()) SWIG_fail
;
26016 resultobj
= wxPyMake_wxObject(result
);
26024 static PyObject
*_wrap_Menu_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26025 PyObject
*resultobj
;
26026 wxMenu
*arg1
= (wxMenu
*) 0 ;
26029 PyObject
* obj0
= 0 ;
26030 char *kwnames
[] = {
26031 (char *) "self",(char *) "id", NULL
26034 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
26035 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (bool)(arg1
)->Delete(arg2
);
26040 wxPyEndAllowThreads(__tstate
);
26041 if (PyErr_Occurred()) SWIG_fail
;
26043 resultobj
= PyInt_FromLong((long)result
);
26050 static PyObject
*_wrap_Menu_DeleteItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26051 PyObject
*resultobj
;
26052 wxMenu
*arg1
= (wxMenu
*) 0 ;
26053 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
26055 PyObject
* obj0
= 0 ;
26056 PyObject
* obj1
= 0 ;
26057 char *kwnames
[] = {
26058 (char *) "self",(char *) "item", NULL
26061 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DeleteItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26062 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26063 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (bool)(arg1
)->Delete(arg2
);
26068 wxPyEndAllowThreads(__tstate
);
26069 if (PyErr_Occurred()) SWIG_fail
;
26071 resultobj
= PyInt_FromLong((long)result
);
26078 static PyObject
*_wrap_Menu_Destroy(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26079 PyObject
*resultobj
;
26080 wxMenu
*arg1
= (wxMenu
*) 0 ;
26081 PyObject
* obj0
= 0 ;
26082 char *kwnames
[] = {
26083 (char *) "self", NULL
26086 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Destroy",kwnames
,&obj0
)) goto fail
;
26087 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26090 wxMenu_Destroy(arg1
);
26092 wxPyEndAllowThreads(__tstate
);
26093 if (PyErr_Occurred()) SWIG_fail
;
26095 Py_INCREF(Py_None
); resultobj
= Py_None
;
26102 static PyObject
*_wrap_Menu_DestroyId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26103 PyObject
*resultobj
;
26104 wxMenu
*arg1
= (wxMenu
*) 0 ;
26107 PyObject
* obj0
= 0 ;
26108 char *kwnames
[] = {
26109 (char *) "self",(char *) "id", NULL
26112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_DestroyId",kwnames
,&obj0
,&arg2
)) goto fail
;
26113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26116 result
= (bool)(arg1
)->Destroy(arg2
);
26118 wxPyEndAllowThreads(__tstate
);
26119 if (PyErr_Occurred()) SWIG_fail
;
26121 resultobj
= PyInt_FromLong((long)result
);
26128 static PyObject
*_wrap_Menu_DestroyItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26129 PyObject
*resultobj
;
26130 wxMenu
*arg1
= (wxMenu
*) 0 ;
26131 wxMenuItem
*arg2
= (wxMenuItem
*) 0 ;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 char *kwnames
[] = {
26136 (char *) "self",(char *) "item", NULL
26139 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_DestroyItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26140 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26141 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26144 result
= (bool)(arg1
)->Destroy(arg2
);
26146 wxPyEndAllowThreads(__tstate
);
26147 if (PyErr_Occurred()) SWIG_fail
;
26149 resultobj
= PyInt_FromLong((long)result
);
26156 static PyObject
*_wrap_Menu_GetMenuItemCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26157 PyObject
*resultobj
;
26158 wxMenu
*arg1
= (wxMenu
*) 0 ;
26160 PyObject
* obj0
= 0 ;
26161 char *kwnames
[] = {
26162 (char *) "self", NULL
26165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItemCount",kwnames
,&obj0
)) goto fail
;
26166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26169 result
= (size_t)((wxMenu
const *)arg1
)->GetMenuItemCount();
26171 wxPyEndAllowThreads(__tstate
);
26172 if (PyErr_Occurred()) SWIG_fail
;
26174 resultobj
= PyInt_FromLong((long)result
);
26181 static PyObject
*_wrap_Menu_GetMenuItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26182 PyObject
*resultobj
;
26183 wxMenu
*arg1
= (wxMenu
*) 0 ;
26185 PyObject
* obj0
= 0 ;
26186 char *kwnames
[] = {
26187 (char *) "self", NULL
26190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuItems",kwnames
,&obj0
)) goto fail
;
26191 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26194 result
= (PyObject
*)wxMenu_GetMenuItems(arg1
);
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= result
;
26206 static PyObject
*_wrap_Menu_FindItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26207 PyObject
*resultobj
;
26208 wxMenu
*arg1
= (wxMenu
*) 0 ;
26209 wxString
*arg2
= 0 ;
26211 bool temp2
= False
;
26212 PyObject
* obj0
= 0 ;
26213 PyObject
* obj1
= 0 ;
26214 char *kwnames
[] = {
26215 (char *) "self",(char *) "item", NULL
26218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItem",kwnames
,&obj0
,&obj1
)) goto fail
;
26219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26221 arg2
= wxString_in_helper(obj1
);
26222 if (arg2
== NULL
) SWIG_fail
;
26226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26227 result
= (int)((wxMenu
const *)arg1
)->FindItem((wxString
const &)*arg2
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= PyInt_FromLong((long)result
);
26247 static PyObject
*_wrap_Menu_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26248 PyObject
*resultobj
;
26249 wxMenu
*arg1
= (wxMenu
*) 0 ;
26251 wxMenuItem
*result
;
26252 PyObject
* obj0
= 0 ;
26253 char *kwnames
[] = {
26254 (char *) "self",(char *) "id", NULL
26257 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
26258 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26261 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItem(arg2
);
26263 wxPyEndAllowThreads(__tstate
);
26264 if (PyErr_Occurred()) SWIG_fail
;
26267 resultobj
= wxPyMake_wxObject(result
);
26275 static PyObject
*_wrap_Menu_FindItemByPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26276 PyObject
*resultobj
;
26277 wxMenu
*arg1
= (wxMenu
*) 0 ;
26279 wxMenuItem
*result
;
26280 PyObject
* obj0
= 0 ;
26281 PyObject
* obj1
= 0 ;
26282 char *kwnames
[] = {
26283 (char *) "self",(char *) "position", NULL
26286 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_FindItemByPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
26287 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26288 arg2
= (size_t) PyInt_AsLong(obj1
);
26289 if (PyErr_Occurred()) SWIG_fail
;
26291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26292 result
= (wxMenuItem
*)((wxMenu
const *)arg1
)->FindItemByPosition(arg2
);
26294 wxPyEndAllowThreads(__tstate
);
26295 if (PyErr_Occurred()) SWIG_fail
;
26298 resultobj
= wxPyMake_wxObject(result
);
26306 static PyObject
*_wrap_Menu_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26307 PyObject
*resultobj
;
26308 wxMenu
*arg1
= (wxMenu
*) 0 ;
26311 PyObject
* obj0
= 0 ;
26312 PyObject
* obj2
= 0 ;
26313 char *kwnames
[] = {
26314 (char *) "self",(char *) "id",(char *) "enable", NULL
26317 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26318 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26319 arg3
= PyInt_AsLong(obj2
) ? true : false;
26320 if (PyErr_Occurred()) SWIG_fail
;
26322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26323 (arg1
)->Enable(arg2
,arg3
);
26325 wxPyEndAllowThreads(__tstate
);
26326 if (PyErr_Occurred()) SWIG_fail
;
26328 Py_INCREF(Py_None
); resultobj
= Py_None
;
26335 static PyObject
*_wrap_Menu_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26336 PyObject
*resultobj
;
26337 wxMenu
*arg1
= (wxMenu
*) 0 ;
26340 PyObject
* obj0
= 0 ;
26341 char *kwnames
[] = {
26342 (char *) "self",(char *) "id", NULL
26345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
26346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26349 result
= (bool)((wxMenu
const *)arg1
)->IsEnabled(arg2
);
26351 wxPyEndAllowThreads(__tstate
);
26352 if (PyErr_Occurred()) SWIG_fail
;
26354 resultobj
= PyInt_FromLong((long)result
);
26361 static PyObject
*_wrap_Menu_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26362 PyObject
*resultobj
;
26363 wxMenu
*arg1
= (wxMenu
*) 0 ;
26366 PyObject
* obj0
= 0 ;
26367 PyObject
* obj2
= 0 ;
26368 char *kwnames
[] = {
26369 (char *) "self",(char *) "id",(char *) "check", NULL
26372 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26373 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26374 arg3
= PyInt_AsLong(obj2
) ? true : false;
26375 if (PyErr_Occurred()) SWIG_fail
;
26377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26378 (arg1
)->Check(arg2
,arg3
);
26380 wxPyEndAllowThreads(__tstate
);
26381 if (PyErr_Occurred()) SWIG_fail
;
26383 Py_INCREF(Py_None
); resultobj
= Py_None
;
26390 static PyObject
*_wrap_Menu_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26391 PyObject
*resultobj
;
26392 wxMenu
*arg1
= (wxMenu
*) 0 ;
26395 PyObject
* obj0
= 0 ;
26396 char *kwnames
[] = {
26397 (char *) "self",(char *) "id", NULL
26400 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
26401 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 result
= (bool)((wxMenu
const *)arg1
)->IsChecked(arg2
);
26406 wxPyEndAllowThreads(__tstate
);
26407 if (PyErr_Occurred()) SWIG_fail
;
26409 resultobj
= PyInt_FromLong((long)result
);
26416 static PyObject
*_wrap_Menu_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26417 PyObject
*resultobj
;
26418 wxMenu
*arg1
= (wxMenu
*) 0 ;
26420 wxString
*arg3
= 0 ;
26421 bool temp3
= False
;
26422 PyObject
* obj0
= 0 ;
26423 PyObject
* obj2
= 0 ;
26424 char *kwnames
[] = {
26425 (char *) "self",(char *) "id",(char *) "label", NULL
26428 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26429 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26431 arg3
= wxString_in_helper(obj2
);
26432 if (arg3
== NULL
) SWIG_fail
;
26436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26437 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
26439 wxPyEndAllowThreads(__tstate
);
26440 if (PyErr_Occurred()) SWIG_fail
;
26442 Py_INCREF(Py_None
); resultobj
= Py_None
;
26457 static PyObject
*_wrap_Menu_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26458 PyObject
*resultobj
;
26459 wxMenu
*arg1
= (wxMenu
*) 0 ;
26462 PyObject
* obj0
= 0 ;
26463 char *kwnames
[] = {
26464 (char *) "self",(char *) "id", NULL
26467 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
26468 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26471 result
= ((wxMenu
const *)arg1
)->GetLabel(arg2
);
26473 wxPyEndAllowThreads(__tstate
);
26474 if (PyErr_Occurred()) SWIG_fail
;
26478 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26480 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26489 static PyObject
*_wrap_Menu_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26490 PyObject
*resultobj
;
26491 wxMenu
*arg1
= (wxMenu
*) 0 ;
26493 wxString
*arg3
= 0 ;
26494 bool temp3
= False
;
26495 PyObject
* obj0
= 0 ;
26496 PyObject
* obj2
= 0 ;
26497 char *kwnames
[] = {
26498 (char *) "self",(char *) "id",(char *) "helpString", NULL
26501 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:Menu_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
26502 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26504 arg3
= wxString_in_helper(obj2
);
26505 if (arg3
== NULL
) SWIG_fail
;
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
26512 wxPyEndAllowThreads(__tstate
);
26513 if (PyErr_Occurred()) SWIG_fail
;
26515 Py_INCREF(Py_None
); resultobj
= Py_None
;
26530 static PyObject
*_wrap_Menu_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26531 PyObject
*resultobj
;
26532 wxMenu
*arg1
= (wxMenu
*) 0 ;
26535 PyObject
* obj0
= 0 ;
26536 char *kwnames
[] = {
26537 (char *) "self",(char *) "id", NULL
26540 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:Menu_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
26541 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26544 result
= ((wxMenu
const *)arg1
)->GetHelpString(arg2
);
26546 wxPyEndAllowThreads(__tstate
);
26547 if (PyErr_Occurred()) SWIG_fail
;
26551 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26553 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26562 static PyObject
*_wrap_Menu_SetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26563 PyObject
*resultobj
;
26564 wxMenu
*arg1
= (wxMenu
*) 0 ;
26565 wxString
*arg2
= 0 ;
26566 bool temp2
= False
;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 char *kwnames
[] = {
26570 (char *) "self",(char *) "title", NULL
26573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetTitle",kwnames
,&obj0
,&obj1
)) goto fail
;
26574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26576 arg2
= wxString_in_helper(obj1
);
26577 if (arg2
== NULL
) SWIG_fail
;
26581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26582 (arg1
)->SetTitle((wxString
const &)*arg2
);
26584 wxPyEndAllowThreads(__tstate
);
26585 if (PyErr_Occurred()) SWIG_fail
;
26587 Py_INCREF(Py_None
); resultobj
= Py_None
;
26602 static PyObject
*_wrap_Menu_GetTitle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26603 PyObject
*resultobj
;
26604 wxMenu
*arg1
= (wxMenu
*) 0 ;
26606 PyObject
* obj0
= 0 ;
26607 char *kwnames
[] = {
26608 (char *) "self", NULL
26611 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetTitle",kwnames
,&obj0
)) goto fail
;
26612 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26615 result
= ((wxMenu
const *)arg1
)->GetTitle();
26617 wxPyEndAllowThreads(__tstate
);
26618 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
26624 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
26633 static PyObject
*_wrap_Menu_SetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26634 PyObject
*resultobj
;
26635 wxMenu
*arg1
= (wxMenu
*) 0 ;
26636 wxEvtHandler
*arg2
= (wxEvtHandler
*) 0 ;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26639 char *kwnames
[] = {
26640 (char *) "self",(char *) "handler", NULL
26643 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetEventHandler",kwnames
,&obj0
,&obj1
)) goto fail
;
26644 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26645 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26648 (arg1
)->SetEventHandler(arg2
);
26650 wxPyEndAllowThreads(__tstate
);
26651 if (PyErr_Occurred()) SWIG_fail
;
26653 Py_INCREF(Py_None
); resultobj
= Py_None
;
26660 static PyObject
*_wrap_Menu_GetEventHandler(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26661 PyObject
*resultobj
;
26662 wxMenu
*arg1
= (wxMenu
*) 0 ;
26663 wxEvtHandler
*result
;
26664 PyObject
* obj0
= 0 ;
26665 char *kwnames
[] = {
26666 (char *) "self", NULL
26669 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetEventHandler",kwnames
,&obj0
)) goto fail
;
26670 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26673 result
= (wxEvtHandler
*)((wxMenu
const *)arg1
)->GetEventHandler();
26675 wxPyEndAllowThreads(__tstate
);
26676 if (PyErr_Occurred()) SWIG_fail
;
26679 resultobj
= wxPyMake_wxObject(result
);
26687 static PyObject
*_wrap_Menu_SetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26688 PyObject
*resultobj
;
26689 wxMenu
*arg1
= (wxMenu
*) 0 ;
26690 wxWindow
*arg2
= (wxWindow
*) 0 ;
26691 PyObject
* obj0
= 0 ;
26692 PyObject
* obj1
= 0 ;
26693 char *kwnames
[] = {
26694 (char *) "self",(char *) "win", NULL
26697 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetInvokingWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
26698 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26699 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26702 (arg1
)->SetInvokingWindow(arg2
);
26704 wxPyEndAllowThreads(__tstate
);
26705 if (PyErr_Occurred()) SWIG_fail
;
26707 Py_INCREF(Py_None
); resultobj
= Py_None
;
26714 static PyObject
*_wrap_Menu_GetInvokingWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26715 PyObject
*resultobj
;
26716 wxMenu
*arg1
= (wxMenu
*) 0 ;
26718 PyObject
* obj0
= 0 ;
26719 char *kwnames
[] = {
26720 (char *) "self", NULL
26723 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetInvokingWindow",kwnames
,&obj0
)) goto fail
;
26724 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26727 result
= (wxWindow
*)((wxMenu
const *)arg1
)->GetInvokingWindow();
26729 wxPyEndAllowThreads(__tstate
);
26730 if (PyErr_Occurred()) SWIG_fail
;
26733 resultobj
= wxPyMake_wxObject(result
);
26741 static PyObject
*_wrap_Menu_GetStyle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26742 PyObject
*resultobj
;
26743 wxMenu
*arg1
= (wxMenu
*) 0 ;
26745 PyObject
* obj0
= 0 ;
26746 char *kwnames
[] = {
26747 (char *) "self", NULL
26750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetStyle",kwnames
,&obj0
)) goto fail
;
26751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26754 result
= (long)((wxMenu
const *)arg1
)->GetStyle();
26756 wxPyEndAllowThreads(__tstate
);
26757 if (PyErr_Occurred()) SWIG_fail
;
26759 resultobj
= PyInt_FromLong((long)result
);
26766 static PyObject
*_wrap_Menu_UpdateUI(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26767 PyObject
*resultobj
;
26768 wxMenu
*arg1
= (wxMenu
*) 0 ;
26769 wxEvtHandler
*arg2
= (wxEvtHandler
*) NULL
;
26770 PyObject
* obj0
= 0 ;
26771 PyObject
* obj1
= 0 ;
26772 char *kwnames
[] = {
26773 (char *) "self",(char *) "source", NULL
26776 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Menu_UpdateUI",kwnames
,&obj0
,&obj1
)) goto fail
;
26777 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26779 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxEvtHandler
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26783 (arg1
)->UpdateUI(arg2
);
26785 wxPyEndAllowThreads(__tstate
);
26786 if (PyErr_Occurred()) SWIG_fail
;
26788 Py_INCREF(Py_None
); resultobj
= Py_None
;
26795 static PyObject
*_wrap_Menu_GetMenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26796 PyObject
*resultobj
;
26797 wxMenu
*arg1
= (wxMenu
*) 0 ;
26799 PyObject
* obj0
= 0 ;
26800 char *kwnames
[] = {
26801 (char *) "self", NULL
26804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetMenuBar",kwnames
,&obj0
)) goto fail
;
26805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 result
= (wxMenuBar
*)((wxMenu
const *)arg1
)->GetMenuBar();
26810 wxPyEndAllowThreads(__tstate
);
26811 if (PyErr_Occurred()) SWIG_fail
;
26814 resultobj
= wxPyMake_wxObject(result
);
26822 static PyObject
*_wrap_Menu_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26823 PyObject
*resultobj
;
26824 wxMenu
*arg1
= (wxMenu
*) 0 ;
26825 wxMenuBarBase
*arg2
= (wxMenuBarBase
*) 0 ;
26826 PyObject
* obj0
= 0 ;
26827 PyObject
* obj1
= 0 ;
26828 char *kwnames
[] = {
26829 (char *) "self",(char *) "menubar", NULL
26832 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
26833 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26834 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenuBarBase
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26837 (arg1
)->Attach(arg2
);
26839 wxPyEndAllowThreads(__tstate
);
26840 if (PyErr_Occurred()) SWIG_fail
;
26842 Py_INCREF(Py_None
); resultobj
= Py_None
;
26849 static PyObject
*_wrap_Menu_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26850 PyObject
*resultobj
;
26851 wxMenu
*arg1
= (wxMenu
*) 0 ;
26852 PyObject
* obj0
= 0 ;
26853 char *kwnames
[] = {
26854 (char *) "self", NULL
26857 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_Detach",kwnames
,&obj0
)) goto fail
;
26858 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26863 wxPyEndAllowThreads(__tstate
);
26864 if (PyErr_Occurred()) SWIG_fail
;
26866 Py_INCREF(Py_None
); resultobj
= Py_None
;
26873 static PyObject
*_wrap_Menu_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26874 PyObject
*resultobj
;
26875 wxMenu
*arg1
= (wxMenu
*) 0 ;
26877 PyObject
* obj0
= 0 ;
26878 char *kwnames
[] = {
26879 (char *) "self", NULL
26882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_IsAttached",kwnames
,&obj0
)) goto fail
;
26883 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 result
= (bool)((wxMenu
const *)arg1
)->IsAttached();
26888 wxPyEndAllowThreads(__tstate
);
26889 if (PyErr_Occurred()) SWIG_fail
;
26891 resultobj
= PyInt_FromLong((long)result
);
26898 static PyObject
*_wrap_Menu_SetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26899 PyObject
*resultobj
;
26900 wxMenu
*arg1
= (wxMenu
*) 0 ;
26901 wxMenu
*arg2
= (wxMenu
*) 0 ;
26902 PyObject
* obj0
= 0 ;
26903 PyObject
* obj1
= 0 ;
26904 char *kwnames
[] = {
26905 (char *) "self",(char *) "parent", NULL
26908 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Menu_SetParent",kwnames
,&obj0
,&obj1
)) goto fail
;
26909 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26910 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26913 (arg1
)->SetParent(arg2
);
26915 wxPyEndAllowThreads(__tstate
);
26916 if (PyErr_Occurred()) SWIG_fail
;
26918 Py_INCREF(Py_None
); resultobj
= Py_None
;
26925 static PyObject
*_wrap_Menu_GetParent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26926 PyObject
*resultobj
;
26927 wxMenu
*arg1
= (wxMenu
*) 0 ;
26929 PyObject
* obj0
= 0 ;
26930 char *kwnames
[] = {
26931 (char *) "self", NULL
26934 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Menu_GetParent",kwnames
,&obj0
)) goto fail
;
26935 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
26937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26938 result
= (wxMenu
*)((wxMenu
const *)arg1
)->GetParent();
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26944 resultobj
= wxPyMake_wxObject(result
);
26952 static PyObject
* Menu_swigregister(PyObject
*self
, PyObject
*args
) {
26954 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
26955 SWIG_TypeClientData(SWIGTYPE_p_wxMenu
, obj
);
26957 return Py_BuildValue((char *)"");
26959 static PyObject
*_wrap_new_MenuBar(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26960 PyObject
*resultobj
;
26961 long arg1
= (long) 0 ;
26963 char *kwnames
[] = {
26964 (char *) "style", NULL
26967 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|l:new_MenuBar",kwnames
,&arg1
)) goto fail
;
26969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26970 result
= (wxMenuBar
*)new wxMenuBar(arg1
);
26972 wxPyEndAllowThreads(__tstate
);
26973 if (PyErr_Occurred()) SWIG_fail
;
26976 resultobj
= wxPyMake_wxObject(result
);
26984 static PyObject
*_wrap_MenuBar_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
26985 PyObject
*resultobj
;
26986 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
26987 wxMenu
*arg2
= (wxMenu
*) 0 ;
26988 wxString
*arg3
= 0 ;
26990 bool temp3
= False
;
26991 PyObject
* obj0
= 0 ;
26992 PyObject
* obj1
= 0 ;
26993 PyObject
* obj2
= 0 ;
26994 char *kwnames
[] = {
26995 (char *) "self",(char *) "menu",(char *) "title", NULL
26998 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
26999 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27000 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27002 arg3
= wxString_in_helper(obj2
);
27003 if (arg3
== NULL
) SWIG_fail
;
27007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27008 result
= (bool)(arg1
)->Append(arg2
,(wxString
const &)*arg3
);
27010 wxPyEndAllowThreads(__tstate
);
27011 if (PyErr_Occurred()) SWIG_fail
;
27013 resultobj
= PyInt_FromLong((long)result
);
27028 static PyObject
*_wrap_MenuBar_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27029 PyObject
*resultobj
;
27030 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27032 wxMenu
*arg3
= (wxMenu
*) 0 ;
27033 wxString
*arg4
= 0 ;
27035 bool temp4
= False
;
27036 PyObject
* obj0
= 0 ;
27037 PyObject
* obj1
= 0 ;
27038 PyObject
* obj2
= 0 ;
27039 PyObject
* obj3
= 0 ;
27040 char *kwnames
[] = {
27041 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27044 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Insert",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27045 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27046 arg2
= (size_t) PyInt_AsLong(obj1
);
27047 if (PyErr_Occurred()) SWIG_fail
;
27048 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27050 arg4
= wxString_in_helper(obj3
);
27051 if (arg4
== NULL
) SWIG_fail
;
27055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27056 result
= (bool)(arg1
)->Insert(arg2
,arg3
,(wxString
const &)*arg4
);
27058 wxPyEndAllowThreads(__tstate
);
27059 if (PyErr_Occurred()) SWIG_fail
;
27061 resultobj
= PyInt_FromLong((long)result
);
27076 static PyObject
*_wrap_MenuBar_GetMenuCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27077 PyObject
*resultobj
;
27078 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27080 PyObject
* obj0
= 0 ;
27081 char *kwnames
[] = {
27082 (char *) "self", NULL
27085 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetMenuCount",kwnames
,&obj0
)) goto fail
;
27086 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27089 result
= (size_t)((wxMenuBar
const *)arg1
)->GetMenuCount();
27091 wxPyEndAllowThreads(__tstate
);
27092 if (PyErr_Occurred()) SWIG_fail
;
27094 resultobj
= PyInt_FromLong((long)result
);
27101 static PyObject
*_wrap_MenuBar_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27102 PyObject
*resultobj
;
27103 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27106 PyObject
* obj0
= 0 ;
27107 PyObject
* obj1
= 0 ;
27108 char *kwnames
[] = {
27109 (char *) "self",(char *) "pos", NULL
27112 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27113 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27114 arg2
= (size_t) PyInt_AsLong(obj1
);
27115 if (PyErr_Occurred()) SWIG_fail
;
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27118 result
= (wxMenu
*)((wxMenuBar
const *)arg1
)->GetMenu(arg2
);
27120 wxPyEndAllowThreads(__tstate
);
27121 if (PyErr_Occurred()) SWIG_fail
;
27124 resultobj
= wxPyMake_wxObject(result
);
27132 static PyObject
*_wrap_MenuBar_Replace(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27133 PyObject
*resultobj
;
27134 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27136 wxMenu
*arg3
= (wxMenu
*) 0 ;
27137 wxString
*arg4
= 0 ;
27139 bool temp4
= False
;
27140 PyObject
* obj0
= 0 ;
27141 PyObject
* obj1
= 0 ;
27142 PyObject
* obj2
= 0 ;
27143 PyObject
* obj3
= 0 ;
27144 char *kwnames
[] = {
27145 (char *) "self",(char *) "pos",(char *) "menu",(char *) "title", NULL
27148 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:MenuBar_Replace",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
27149 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27150 arg2
= (size_t) PyInt_AsLong(obj1
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27152 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27154 arg4
= wxString_in_helper(obj3
);
27155 if (arg4
== NULL
) SWIG_fail
;
27159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27160 result
= (wxMenu
*)(arg1
)->Replace(arg2
,arg3
,(wxString
const &)*arg4
);
27162 wxPyEndAllowThreads(__tstate
);
27163 if (PyErr_Occurred()) SWIG_fail
;
27166 resultobj
= wxPyMake_wxObject(result
);
27182 static PyObject
*_wrap_MenuBar_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27183 PyObject
*resultobj
;
27184 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27187 PyObject
* obj0
= 0 ;
27188 PyObject
* obj1
= 0 ;
27189 char *kwnames
[] = {
27190 (char *) "self",(char *) "pos", NULL
27193 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
27194 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27195 arg2
= (size_t) PyInt_AsLong(obj1
);
27196 if (PyErr_Occurred()) SWIG_fail
;
27198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27199 result
= (wxMenu
*)(arg1
)->Remove(arg2
);
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= wxPyMake_wxObject(result
);
27213 static PyObject
*_wrap_MenuBar_EnableTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27214 PyObject
*resultobj
;
27215 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27218 PyObject
* obj0
= 0 ;
27219 PyObject
* obj1
= 0 ;
27220 PyObject
* obj2
= 0 ;
27221 char *kwnames
[] = {
27222 (char *) "self",(char *) "pos",(char *) "enable", NULL
27225 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_EnableTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27226 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27227 arg2
= (size_t) PyInt_AsLong(obj1
);
27228 if (PyErr_Occurred()) SWIG_fail
;
27229 arg3
= PyInt_AsLong(obj2
) ? true : false;
27230 if (PyErr_Occurred()) SWIG_fail
;
27232 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27233 (arg1
)->EnableTop(arg2
,arg3
);
27235 wxPyEndAllowThreads(__tstate
);
27236 if (PyErr_Occurred()) SWIG_fail
;
27238 Py_INCREF(Py_None
); resultobj
= Py_None
;
27245 static PyObject
*_wrap_MenuBar_IsEnabledTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27246 PyObject
*resultobj
;
27247 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27250 PyObject
* obj0
= 0 ;
27251 PyObject
* obj1
= 0 ;
27252 char *kwnames
[] = {
27253 (char *) "self",(char *) "pos", NULL
27256 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_IsEnabledTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27257 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27258 arg2
= (size_t) PyInt_AsLong(obj1
);
27259 if (PyErr_Occurred()) SWIG_fail
;
27261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27262 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabledTop(arg2
);
27264 wxPyEndAllowThreads(__tstate
);
27265 if (PyErr_Occurred()) SWIG_fail
;
27267 resultobj
= PyInt_FromLong((long)result
);
27274 static PyObject
*_wrap_MenuBar_SetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27275 PyObject
*resultobj
;
27276 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27278 wxString
*arg3
= 0 ;
27279 bool temp3
= False
;
27280 PyObject
* obj0
= 0 ;
27281 PyObject
* obj1
= 0 ;
27282 PyObject
* obj2
= 0 ;
27283 char *kwnames
[] = {
27284 (char *) "self",(char *) "pos",(char *) "label", NULL
27287 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_SetLabelTop",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27288 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27289 arg2
= (size_t) PyInt_AsLong(obj1
);
27290 if (PyErr_Occurred()) SWIG_fail
;
27292 arg3
= wxString_in_helper(obj2
);
27293 if (arg3
== NULL
) SWIG_fail
;
27297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27298 (arg1
)->SetLabelTop(arg2
,(wxString
const &)*arg3
);
27300 wxPyEndAllowThreads(__tstate
);
27301 if (PyErr_Occurred()) SWIG_fail
;
27303 Py_INCREF(Py_None
); resultobj
= Py_None
;
27318 static PyObject
*_wrap_MenuBar_GetLabelTop(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27319 PyObject
*resultobj
;
27320 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27323 PyObject
* obj0
= 0 ;
27324 PyObject
* obj1
= 0 ;
27325 char *kwnames
[] = {
27326 (char *) "self",(char *) "pos", NULL
27329 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_GetLabelTop",kwnames
,&obj0
,&obj1
)) goto fail
;
27330 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27331 arg2
= (size_t) PyInt_AsLong(obj1
);
27332 if (PyErr_Occurred()) SWIG_fail
;
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 result
= ((wxMenuBar
const *)arg1
)->GetLabelTop(arg2
);
27337 wxPyEndAllowThreads(__tstate
);
27338 if (PyErr_Occurred()) SWIG_fail
;
27342 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27344 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27353 static PyObject
*_wrap_MenuBar_FindMenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27354 PyObject
*resultobj
;
27355 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27356 wxString
*arg2
= 0 ;
27357 wxString
*arg3
= 0 ;
27359 bool temp2
= False
;
27360 bool temp3
= False
;
27361 PyObject
* obj0
= 0 ;
27362 PyObject
* obj1
= 0 ;
27363 PyObject
* obj2
= 0 ;
27364 char *kwnames
[] = {
27365 (char *) "self",(char *) "menu",(char *) "item", NULL
27368 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:MenuBar_FindMenuItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
27369 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27371 arg2
= wxString_in_helper(obj1
);
27372 if (arg2
== NULL
) SWIG_fail
;
27376 arg3
= wxString_in_helper(obj2
);
27377 if (arg3
== NULL
) SWIG_fail
;
27381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27382 result
= (int)((wxMenuBar
const *)arg1
)->FindMenuItem((wxString
const &)*arg2
,(wxString
const &)*arg3
);
27384 wxPyEndAllowThreads(__tstate
);
27385 if (PyErr_Occurred()) SWIG_fail
;
27387 resultobj
= PyInt_FromLong((long)result
);
27410 static PyObject
*_wrap_MenuBar_FindItemById(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
;
27412 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27414 wxMenuItem
*result
;
27415 PyObject
* obj0
= 0 ;
27416 char *kwnames
[] = {
27417 (char *) "self",(char *) "id", NULL
27420 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_FindItemById",kwnames
,&obj0
,&arg2
)) goto fail
;
27421 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27424 result
= (wxMenuItem
*)((wxMenuBar
const *)arg1
)->FindItem(arg2
);
27426 wxPyEndAllowThreads(__tstate
);
27427 if (PyErr_Occurred()) SWIG_fail
;
27430 resultobj
= wxPyMake_wxObject(result
);
27438 static PyObject
*_wrap_MenuBar_FindMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27439 PyObject
*resultobj
;
27440 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27441 wxString
*arg2
= 0 ;
27443 bool temp2
= False
;
27444 PyObject
* obj0
= 0 ;
27445 PyObject
* obj1
= 0 ;
27446 char *kwnames
[] = {
27447 (char *) "self",(char *) "title", NULL
27450 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_FindMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27451 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27453 arg2
= wxString_in_helper(obj1
);
27454 if (arg2
== NULL
) SWIG_fail
;
27458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27459 result
= (int)((wxMenuBar
const *)arg1
)->FindMenu((wxString
const &)*arg2
);
27461 wxPyEndAllowThreads(__tstate
);
27462 if (PyErr_Occurred()) SWIG_fail
;
27464 resultobj
= PyInt_FromLong((long)result
);
27479 static PyObject
*_wrap_MenuBar_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27480 PyObject
*resultobj
;
27481 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27484 PyObject
* obj0
= 0 ;
27485 PyObject
* obj2
= 0 ;
27486 char *kwnames
[] = {
27487 (char *) "self",(char *) "id",(char *) "enable", NULL
27490 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Enable",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27491 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27492 arg3
= PyInt_AsLong(obj2
) ? true : false;
27493 if (PyErr_Occurred()) SWIG_fail
;
27495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27496 (arg1
)->Enable(arg2
,arg3
);
27498 wxPyEndAllowThreads(__tstate
);
27499 if (PyErr_Occurred()) SWIG_fail
;
27501 Py_INCREF(Py_None
); resultobj
= Py_None
;
27508 static PyObject
*_wrap_MenuBar_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27509 PyObject
*resultobj
;
27510 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27513 PyObject
* obj0
= 0 ;
27514 PyObject
* obj2
= 0 ;
27515 char *kwnames
[] = {
27516 (char *) "self",(char *) "id",(char *) "check", NULL
27519 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_Check",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27520 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27521 arg3
= PyInt_AsLong(obj2
) ? true : false;
27522 if (PyErr_Occurred()) SWIG_fail
;
27524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27525 (arg1
)->Check(arg2
,arg3
);
27527 wxPyEndAllowThreads(__tstate
);
27528 if (PyErr_Occurred()) SWIG_fail
;
27530 Py_INCREF(Py_None
); resultobj
= Py_None
;
27537 static PyObject
*_wrap_MenuBar_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27538 PyObject
*resultobj
;
27539 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27542 PyObject
* obj0
= 0 ;
27543 char *kwnames
[] = {
27544 (char *) "self",(char *) "id", NULL
27547 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsChecked",kwnames
,&obj0
,&arg2
)) goto fail
;
27548 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27551 result
= (bool)((wxMenuBar
const *)arg1
)->IsChecked(arg2
);
27553 wxPyEndAllowThreads(__tstate
);
27554 if (PyErr_Occurred()) SWIG_fail
;
27556 resultobj
= PyInt_FromLong((long)result
);
27563 static PyObject
*_wrap_MenuBar_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27564 PyObject
*resultobj
;
27565 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27568 PyObject
* obj0
= 0 ;
27569 char *kwnames
[] = {
27570 (char *) "self",(char *) "id", NULL
27573 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_IsEnabled",kwnames
,&obj0
,&arg2
)) goto fail
;
27574 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27577 result
= (bool)((wxMenuBar
const *)arg1
)->IsEnabled(arg2
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= PyInt_FromLong((long)result
);
27589 static PyObject
*_wrap_MenuBar_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27590 PyObject
*resultobj
;
27591 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27593 wxString
*arg3
= 0 ;
27594 bool temp3
= False
;
27595 PyObject
* obj0
= 0 ;
27596 PyObject
* obj2
= 0 ;
27597 char *kwnames
[] = {
27598 (char *) "self",(char *) "id",(char *) "label", NULL
27601 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetLabel",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27602 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27604 arg3
= wxString_in_helper(obj2
);
27605 if (arg3
== NULL
) SWIG_fail
;
27609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27610 (arg1
)->SetLabel(arg2
,(wxString
const &)*arg3
);
27612 wxPyEndAllowThreads(__tstate
);
27613 if (PyErr_Occurred()) SWIG_fail
;
27615 Py_INCREF(Py_None
); resultobj
= Py_None
;
27630 static PyObject
*_wrap_MenuBar_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27631 PyObject
*resultobj
;
27632 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27635 PyObject
* obj0
= 0 ;
27636 char *kwnames
[] = {
27637 (char *) "self",(char *) "id", NULL
27640 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetLabel",kwnames
,&obj0
,&arg2
)) goto fail
;
27641 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27644 result
= ((wxMenuBar
const *)arg1
)->GetLabel(arg2
);
27646 wxPyEndAllowThreads(__tstate
);
27647 if (PyErr_Occurred()) SWIG_fail
;
27651 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27653 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27662 static PyObject
*_wrap_MenuBar_SetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27663 PyObject
*resultobj
;
27664 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27666 wxString
*arg3
= 0 ;
27667 bool temp3
= False
;
27668 PyObject
* obj0
= 0 ;
27669 PyObject
* obj2
= 0 ;
27670 char *kwnames
[] = {
27671 (char *) "self",(char *) "id",(char *) "helpString", NULL
27674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:MenuBar_SetHelpString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
27675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27677 arg3
= wxString_in_helper(obj2
);
27678 if (arg3
== NULL
) SWIG_fail
;
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 (arg1
)->SetHelpString(arg2
,(wxString
const &)*arg3
);
27685 wxPyEndAllowThreads(__tstate
);
27686 if (PyErr_Occurred()) SWIG_fail
;
27688 Py_INCREF(Py_None
); resultobj
= Py_None
;
27703 static PyObject
*_wrap_MenuBar_GetHelpString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27704 PyObject
*resultobj
;
27705 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27708 PyObject
* obj0
= 0 ;
27709 char *kwnames
[] = {
27710 (char *) "self",(char *) "id", NULL
27713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuBar_GetHelpString",kwnames
,&obj0
,&arg2
)) goto fail
;
27714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27717 result
= ((wxMenuBar
const *)arg1
)->GetHelpString(arg2
);
27719 wxPyEndAllowThreads(__tstate
);
27720 if (PyErr_Occurred()) SWIG_fail
;
27724 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27726 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27735 static PyObject
*_wrap_MenuBar_GetFrame(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27736 PyObject
*resultobj
;
27737 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27739 PyObject
* obj0
= 0 ;
27740 char *kwnames
[] = {
27741 (char *) "self", NULL
27744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_GetFrame",kwnames
,&obj0
)) goto fail
;
27745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27748 result
= (wxFrame
*)((wxMenuBar
const *)arg1
)->GetFrame();
27750 wxPyEndAllowThreads(__tstate
);
27751 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= wxPyMake_wxObject(result
);
27762 static PyObject
*_wrap_MenuBar_IsAttached(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27763 PyObject
*resultobj
;
27764 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 char *kwnames
[] = {
27768 (char *) "self", NULL
27771 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_IsAttached",kwnames
,&obj0
)) goto fail
;
27772 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27775 result
= (bool)((wxMenuBar
const *)arg1
)->IsAttached();
27777 wxPyEndAllowThreads(__tstate
);
27778 if (PyErr_Occurred()) SWIG_fail
;
27780 resultobj
= PyInt_FromLong((long)result
);
27787 static PyObject
*_wrap_MenuBar_Attach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27788 PyObject
*resultobj
;
27789 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27790 wxFrame
*arg2
= (wxFrame
*) 0 ;
27791 PyObject
* obj0
= 0 ;
27792 PyObject
* obj1
= 0 ;
27793 char *kwnames
[] = {
27794 (char *) "self",(char *) "frame", NULL
27797 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuBar_Attach",kwnames
,&obj0
,&obj1
)) goto fail
;
27798 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27799 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFrame
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 (arg1
)->Attach(arg2
);
27804 wxPyEndAllowThreads(__tstate
);
27805 if (PyErr_Occurred()) SWIG_fail
;
27807 Py_INCREF(Py_None
); resultobj
= Py_None
;
27814 static PyObject
*_wrap_MenuBar_Detach(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27815 PyObject
*resultobj
;
27816 wxMenuBar
*arg1
= (wxMenuBar
*) 0 ;
27817 PyObject
* obj0
= 0 ;
27818 char *kwnames
[] = {
27819 (char *) "self", NULL
27822 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuBar_Detach",kwnames
,&obj0
)) goto fail
;
27823 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuBar
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27828 wxPyEndAllowThreads(__tstate
);
27829 if (PyErr_Occurred()) SWIG_fail
;
27831 Py_INCREF(Py_None
); resultobj
= Py_None
;
27838 static PyObject
* MenuBar_swigregister(PyObject
*self
, PyObject
*args
) {
27840 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
27841 SWIG_TypeClientData(SWIGTYPE_p_wxMenuBar
, obj
);
27843 return Py_BuildValue((char *)"");
27845 static PyObject
*_wrap_new_MenuItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27846 PyObject
*resultobj
;
27847 wxMenu
*arg1
= (wxMenu
*) NULL
;
27848 int arg2
= (int) wxID_SEPARATOR
;
27849 wxString
const &arg3_defvalue
= wxPyEmptyString
;
27850 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
27851 wxString
const &arg4_defvalue
= wxPyEmptyString
;
27852 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
27853 int arg5
= (int) wxITEM_NORMAL
;
27854 wxMenu
*arg6
= (wxMenu
*) NULL
;
27855 wxMenuItem
*result
;
27856 bool temp3
= False
;
27857 bool temp4
= False
;
27858 PyObject
* obj0
= 0 ;
27859 PyObject
* obj2
= 0 ;
27860 PyObject
* obj3
= 0 ;
27861 PyObject
* obj5
= 0 ;
27862 char *kwnames
[] = {
27863 (char *) "parentMenu",(char *) "id",(char *) "text",(char *) "help",(char *) "kind",(char *) "subMenu", NULL
27866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OiOOiO:new_MenuItem",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
)) goto fail
;
27868 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27872 arg3
= wxString_in_helper(obj2
);
27873 if (arg3
== NULL
) SWIG_fail
;
27879 arg4
= wxString_in_helper(obj3
);
27880 if (arg4
== NULL
) SWIG_fail
;
27885 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27889 result
= (wxMenuItem
*)new wxMenuItem(arg1
,arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxItemKind
)arg5
,arg6
);
27891 wxPyEndAllowThreads(__tstate
);
27892 if (PyErr_Occurred()) SWIG_fail
;
27895 resultobj
= wxPyMake_wxObject(result
);
27919 static PyObject
*_wrap_MenuItem_GetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27920 PyObject
*resultobj
;
27921 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27923 PyObject
* obj0
= 0 ;
27924 char *kwnames
[] = {
27925 (char *) "self", NULL
27928 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMenu",kwnames
,&obj0
)) goto fail
;
27929 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27932 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetMenu();
27934 wxPyEndAllowThreads(__tstate
);
27935 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= wxPyMake_wxObject(result
);
27946 static PyObject
*_wrap_MenuItem_SetMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27947 PyObject
*resultobj
;
27948 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27949 wxMenu
*arg2
= (wxMenu
*) 0 ;
27950 PyObject
* obj0
= 0 ;
27951 PyObject
* obj1
= 0 ;
27952 char *kwnames
[] = {
27953 (char *) "self",(char *) "menu", NULL
27956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
27957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27958 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 (arg1
)->SetMenu(arg2
);
27963 wxPyEndAllowThreads(__tstate
);
27964 if (PyErr_Occurred()) SWIG_fail
;
27966 Py_INCREF(Py_None
); resultobj
= Py_None
;
27973 static PyObject
*_wrap_MenuItem_SetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27974 PyObject
*resultobj
;
27975 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
27977 PyObject
* obj0
= 0 ;
27978 char *kwnames
[] = {
27979 (char *) "self",(char *) "id", NULL
27982 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetId",kwnames
,&obj0
,&arg2
)) goto fail
;
27983 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
27985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27986 (arg1
)->SetId(arg2
);
27988 wxPyEndAllowThreads(__tstate
);
27989 if (PyErr_Occurred()) SWIG_fail
;
27991 Py_INCREF(Py_None
); resultobj
= Py_None
;
27998 static PyObject
*_wrap_MenuItem_GetId(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
27999 PyObject
*resultobj
;
28000 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28002 PyObject
* obj0
= 0 ;
28003 char *kwnames
[] = {
28004 (char *) "self", NULL
28007 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetId",kwnames
,&obj0
)) goto fail
;
28008 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28011 result
= (int)((wxMenuItem
const *)arg1
)->GetId();
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= PyInt_FromLong((long)result
);
28023 static PyObject
*_wrap_MenuItem_IsSeparator(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28024 PyObject
*resultobj
;
28025 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28027 PyObject
* obj0
= 0 ;
28028 char *kwnames
[] = {
28029 (char *) "self", NULL
28032 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSeparator",kwnames
,&obj0
)) goto fail
;
28033 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28036 result
= (bool)((wxMenuItem
const *)arg1
)->IsSeparator();
28038 wxPyEndAllowThreads(__tstate
);
28039 if (PyErr_Occurred()) SWIG_fail
;
28041 resultobj
= PyInt_FromLong((long)result
);
28048 static PyObject
*_wrap_MenuItem_SetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28049 PyObject
*resultobj
;
28050 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28051 wxString
*arg2
= 0 ;
28052 bool temp2
= False
;
28053 PyObject
* obj0
= 0 ;
28054 PyObject
* obj1
= 0 ;
28055 char *kwnames
[] = {
28056 (char *) "self",(char *) "str", NULL
28059 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetText",kwnames
,&obj0
,&obj1
)) goto fail
;
28060 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28062 arg2
= wxString_in_helper(obj1
);
28063 if (arg2
== NULL
) SWIG_fail
;
28067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28068 (arg1
)->SetText((wxString
const &)*arg2
);
28070 wxPyEndAllowThreads(__tstate
);
28071 if (PyErr_Occurred()) SWIG_fail
;
28073 Py_INCREF(Py_None
); resultobj
= Py_None
;
28088 static PyObject
*_wrap_MenuItem_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28089 PyObject
*resultobj
;
28090 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28092 PyObject
* obj0
= 0 ;
28093 char *kwnames
[] = {
28094 (char *) "self", NULL
28097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabel",kwnames
,&obj0
)) goto fail
;
28098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28101 result
= ((wxMenuItem
const *)arg1
)->GetLabel();
28103 wxPyEndAllowThreads(__tstate
);
28104 if (PyErr_Occurred()) SWIG_fail
;
28108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28119 static PyObject
*_wrap_MenuItem_GetText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28120 PyObject
*resultobj
;
28121 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28123 PyObject
* obj0
= 0 ;
28124 char *kwnames
[] = {
28125 (char *) "self", NULL
28128 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetText",kwnames
,&obj0
)) goto fail
;
28129 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28133 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetText();
28134 result
= (wxString
*) &_result_ref
;
28137 wxPyEndAllowThreads(__tstate
);
28138 if (PyErr_Occurred()) SWIG_fail
;
28142 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28144 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28153 static PyObject
*_wrap_MenuItem_GetLabelFromText(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28154 PyObject
*resultobj
;
28155 wxString
*arg1
= 0 ;
28157 bool temp1
= False
;
28158 PyObject
* obj0
= 0 ;
28159 char *kwnames
[] = {
28160 (char *) "text", NULL
28163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetLabelFromText",kwnames
,&obj0
)) goto fail
;
28165 arg1
= wxString_in_helper(obj0
);
28166 if (arg1
== NULL
) SWIG_fail
;
28170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28171 result
= wxMenuItem::GetLabelFromText((wxString
const &)*arg1
);
28173 wxPyEndAllowThreads(__tstate
);
28174 if (PyErr_Occurred()) SWIG_fail
;
28178 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28180 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28197 static PyObject
*_wrap_MenuItem_GetKind(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28198 PyObject
*resultobj
;
28199 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28201 PyObject
* obj0
= 0 ;
28202 char *kwnames
[] = {
28203 (char *) "self", NULL
28206 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetKind",kwnames
,&obj0
)) goto fail
;
28207 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28210 result
= (int)((wxMenuItem
const *)arg1
)->GetKind();
28212 wxPyEndAllowThreads(__tstate
);
28213 if (PyErr_Occurred()) SWIG_fail
;
28215 resultobj
= PyInt_FromLong((long)result
);
28222 static PyObject
*_wrap_MenuItem_SetCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28223 PyObject
*resultobj
;
28224 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28226 PyObject
* obj0
= 0 ;
28227 PyObject
* obj1
= 0 ;
28228 char *kwnames
[] = {
28229 (char *) "self",(char *) "checkable", NULL
28232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetCheckable",kwnames
,&obj0
,&obj1
)) goto fail
;
28233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28234 arg2
= PyInt_AsLong(obj1
) ? true : false;
28235 if (PyErr_Occurred()) SWIG_fail
;
28237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28238 (arg1
)->SetCheckable(arg2
);
28240 wxPyEndAllowThreads(__tstate
);
28241 if (PyErr_Occurred()) SWIG_fail
;
28243 Py_INCREF(Py_None
); resultobj
= Py_None
;
28250 static PyObject
*_wrap_MenuItem_IsCheckable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28251 PyObject
*resultobj
;
28252 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28254 PyObject
* obj0
= 0 ;
28255 char *kwnames
[] = {
28256 (char *) "self", NULL
28259 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsCheckable",kwnames
,&obj0
)) goto fail
;
28260 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28263 result
= (bool)((wxMenuItem
const *)arg1
)->IsCheckable();
28265 wxPyEndAllowThreads(__tstate
);
28266 if (PyErr_Occurred()) SWIG_fail
;
28268 resultobj
= PyInt_FromLong((long)result
);
28275 static PyObject
*_wrap_MenuItem_IsSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28276 PyObject
*resultobj
;
28277 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28279 PyObject
* obj0
= 0 ;
28280 char *kwnames
[] = {
28281 (char *) "self", NULL
28284 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsSubMenu",kwnames
,&obj0
)) goto fail
;
28285 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28288 result
= (bool)((wxMenuItem
const *)arg1
)->IsSubMenu();
28290 wxPyEndAllowThreads(__tstate
);
28291 if (PyErr_Occurred()) SWIG_fail
;
28293 resultobj
= PyInt_FromLong((long)result
);
28300 static PyObject
*_wrap_MenuItem_SetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28301 PyObject
*resultobj
;
28302 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28303 wxMenu
*arg2
= (wxMenu
*) 0 ;
28304 PyObject
* obj0
= 0 ;
28305 PyObject
* obj1
= 0 ;
28306 char *kwnames
[] = {
28307 (char *) "self",(char *) "menu", NULL
28310 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetSubMenu",kwnames
,&obj0
,&obj1
)) goto fail
;
28311 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28312 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxMenu
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28315 (arg1
)->SetSubMenu(arg2
);
28317 wxPyEndAllowThreads(__tstate
);
28318 if (PyErr_Occurred()) SWIG_fail
;
28320 Py_INCREF(Py_None
); resultobj
= Py_None
;
28327 static PyObject
*_wrap_MenuItem_GetSubMenu(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28328 PyObject
*resultobj
;
28329 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28331 PyObject
* obj0
= 0 ;
28332 char *kwnames
[] = {
28333 (char *) "self", NULL
28336 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetSubMenu",kwnames
,&obj0
)) goto fail
;
28337 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28340 result
= (wxMenu
*)((wxMenuItem
const *)arg1
)->GetSubMenu();
28342 wxPyEndAllowThreads(__tstate
);
28343 if (PyErr_Occurred()) SWIG_fail
;
28346 resultobj
= wxPyMake_wxObject(result
);
28354 static PyObject
*_wrap_MenuItem_Enable(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28355 PyObject
*resultobj
;
28356 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28357 bool arg2
= (bool) True
;
28358 PyObject
* obj0
= 0 ;
28359 PyObject
* obj1
= 0 ;
28360 char *kwnames
[] = {
28361 (char *) "self",(char *) "enable", NULL
28364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Enable",kwnames
,&obj0
,&obj1
)) goto fail
;
28365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28367 arg2
= PyInt_AsLong(obj1
) ? true : false;
28368 if (PyErr_Occurred()) SWIG_fail
;
28371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28372 (arg1
)->Enable(arg2
);
28374 wxPyEndAllowThreads(__tstate
);
28375 if (PyErr_Occurred()) SWIG_fail
;
28377 Py_INCREF(Py_None
); resultobj
= Py_None
;
28384 static PyObject
*_wrap_MenuItem_IsEnabled(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28385 PyObject
*resultobj
;
28386 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28388 PyObject
* obj0
= 0 ;
28389 char *kwnames
[] = {
28390 (char *) "self", NULL
28393 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsEnabled",kwnames
,&obj0
)) goto fail
;
28394 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28397 result
= (bool)((wxMenuItem
const *)arg1
)->IsEnabled();
28399 wxPyEndAllowThreads(__tstate
);
28400 if (PyErr_Occurred()) SWIG_fail
;
28402 resultobj
= PyInt_FromLong((long)result
);
28409 static PyObject
*_wrap_MenuItem_Check(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28410 PyObject
*resultobj
;
28411 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28412 bool arg2
= (bool) True
;
28413 PyObject
* obj0
= 0 ;
28414 PyObject
* obj1
= 0 ;
28415 char *kwnames
[] = {
28416 (char *) "self",(char *) "check", NULL
28419 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_Check",kwnames
,&obj0
,&obj1
)) goto fail
;
28420 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28422 arg2
= PyInt_AsLong(obj1
) ? true : false;
28423 if (PyErr_Occurred()) SWIG_fail
;
28426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28427 (arg1
)->Check(arg2
);
28429 wxPyEndAllowThreads(__tstate
);
28430 if (PyErr_Occurred()) SWIG_fail
;
28432 Py_INCREF(Py_None
); resultobj
= Py_None
;
28439 static PyObject
*_wrap_MenuItem_IsChecked(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28440 PyObject
*resultobj
;
28441 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28443 PyObject
* obj0
= 0 ;
28444 char *kwnames
[] = {
28445 (char *) "self", NULL
28448 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsChecked",kwnames
,&obj0
)) goto fail
;
28449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28452 result
= (bool)((wxMenuItem
const *)arg1
)->IsChecked();
28454 wxPyEndAllowThreads(__tstate
);
28455 if (PyErr_Occurred()) SWIG_fail
;
28457 resultobj
= PyInt_FromLong((long)result
);
28464 static PyObject
*_wrap_MenuItem_Toggle(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28465 PyObject
*resultobj
;
28466 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28467 PyObject
* obj0
= 0 ;
28468 char *kwnames
[] = {
28469 (char *) "self", NULL
28472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_Toggle",kwnames
,&obj0
)) goto fail
;
28473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28478 wxPyEndAllowThreads(__tstate
);
28479 if (PyErr_Occurred()) SWIG_fail
;
28481 Py_INCREF(Py_None
); resultobj
= Py_None
;
28488 static PyObject
*_wrap_MenuItem_SetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28489 PyObject
*resultobj
;
28490 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28491 wxString
*arg2
= 0 ;
28492 bool temp2
= False
;
28493 PyObject
* obj0
= 0 ;
28494 PyObject
* obj1
= 0 ;
28495 char *kwnames
[] = {
28496 (char *) "self",(char *) "str", NULL
28499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetHelp",kwnames
,&obj0
,&obj1
)) goto fail
;
28500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28502 arg2
= wxString_in_helper(obj1
);
28503 if (arg2
== NULL
) SWIG_fail
;
28507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28508 (arg1
)->SetHelp((wxString
const &)*arg2
);
28510 wxPyEndAllowThreads(__tstate
);
28511 if (PyErr_Occurred()) SWIG_fail
;
28513 Py_INCREF(Py_None
); resultobj
= Py_None
;
28528 static PyObject
*_wrap_MenuItem_GetHelp(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
;
28530 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28532 PyObject
* obj0
= 0 ;
28533 char *kwnames
[] = {
28534 (char *) "self", NULL
28537 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetHelp",kwnames
,&obj0
)) goto fail
;
28538 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28542 wxString
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetHelp();
28543 result
= (wxString
*) &_result_ref
;
28546 wxPyEndAllowThreads(__tstate
);
28547 if (PyErr_Occurred()) SWIG_fail
;
28551 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
28553 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
28562 static PyObject
*_wrap_MenuItem_GetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28563 PyObject
*resultobj
;
28564 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28565 wxAcceleratorEntry
*result
;
28566 PyObject
* obj0
= 0 ;
28567 char *kwnames
[] = {
28568 (char *) "self", NULL
28571 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetAccel",kwnames
,&obj0
)) goto fail
;
28572 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28575 result
= (wxAcceleratorEntry
*)((wxMenuItem
const *)arg1
)->GetAccel();
28577 wxPyEndAllowThreads(__tstate
);
28578 if (PyErr_Occurred()) SWIG_fail
;
28580 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxAcceleratorEntry
, 0);
28587 static PyObject
*_wrap_MenuItem_SetAccel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28588 PyObject
*resultobj
;
28589 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28590 wxAcceleratorEntry
*arg2
= (wxAcceleratorEntry
*) 0 ;
28591 PyObject
* obj0
= 0 ;
28592 PyObject
* obj1
= 0 ;
28593 char *kwnames
[] = {
28594 (char *) "self",(char *) "accel", NULL
28597 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetAccel",kwnames
,&obj0
,&obj1
)) goto fail
;
28598 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28599 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxAcceleratorEntry
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28602 (arg1
)->SetAccel(arg2
);
28604 wxPyEndAllowThreads(__tstate
);
28605 if (PyErr_Occurred()) SWIG_fail
;
28607 Py_INCREF(Py_None
); resultobj
= Py_None
;
28614 static PyObject
*_wrap_MenuItem_SetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28615 PyObject
*resultobj
;
28616 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28618 PyObject
* obj0
= 0 ;
28619 PyObject
* obj1
= 0 ;
28620 char *kwnames
[] = {
28621 (char *) "self",(char *) "font", NULL
28624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetFont",kwnames
,&obj0
,&obj1
)) goto fail
;
28625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28626 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxFont
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28627 if (arg2
== NULL
) {
28628 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28632 (arg1
)->SetFont((wxFont
const &)*arg2
);
28634 wxPyEndAllowThreads(__tstate
);
28635 if (PyErr_Occurred()) SWIG_fail
;
28637 Py_INCREF(Py_None
); resultobj
= Py_None
;
28644 static PyObject
*_wrap_MenuItem_GetFont(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28645 PyObject
*resultobj
;
28646 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28648 PyObject
* obj0
= 0 ;
28649 char *kwnames
[] = {
28650 (char *) "self", NULL
28653 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetFont",kwnames
,&obj0
)) goto fail
;
28654 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28657 result
= (arg1
)->GetFont();
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28663 wxFont
* resultptr
;
28664 resultptr
= new wxFont((wxFont
&) result
);
28665 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxFont
, 1);
28673 static PyObject
*_wrap_MenuItem_SetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28674 PyObject
*resultobj
;
28675 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28676 wxColour
*arg2
= 0 ;
28678 PyObject
* obj0
= 0 ;
28679 PyObject
* obj1
= 0 ;
28680 char *kwnames
[] = {
28681 (char *) "self",(char *) "colText", NULL
28684 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetTextColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28685 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28688 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28692 (arg1
)->SetTextColour((wxColour
const &)*arg2
);
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 Py_INCREF(Py_None
); resultobj
= Py_None
;
28704 static PyObject
*_wrap_MenuItem_GetTextColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28705 PyObject
*resultobj
;
28706 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28708 PyObject
* obj0
= 0 ;
28709 char *kwnames
[] = {
28710 (char *) "self", NULL
28713 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetTextColour",kwnames
,&obj0
)) goto fail
;
28714 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28717 result
= (arg1
)->GetTextColour();
28719 wxPyEndAllowThreads(__tstate
);
28720 if (PyErr_Occurred()) SWIG_fail
;
28723 wxColour
* resultptr
;
28724 resultptr
= new wxColour((wxColour
&) result
);
28725 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
28733 static PyObject
*_wrap_MenuItem_SetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28734 PyObject
*resultobj
;
28735 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28736 wxColour
*arg2
= 0 ;
28738 PyObject
* obj0
= 0 ;
28739 PyObject
* obj1
= 0 ;
28740 char *kwnames
[] = {
28741 (char *) "self",(char *) "colBack", NULL
28744 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBackgroundColour",kwnames
,&obj0
,&obj1
)) goto fail
;
28745 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28748 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 (arg1
)->SetBackgroundColour((wxColour
const &)*arg2
);
28754 wxPyEndAllowThreads(__tstate
);
28755 if (PyErr_Occurred()) SWIG_fail
;
28757 Py_INCREF(Py_None
); resultobj
= Py_None
;
28764 static PyObject
*_wrap_MenuItem_GetBackgroundColour(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28765 PyObject
*resultobj
;
28766 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28768 PyObject
* obj0
= 0 ;
28769 char *kwnames
[] = {
28770 (char *) "self", NULL
28773 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBackgroundColour",kwnames
,&obj0
)) goto fail
;
28774 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28777 result
= (arg1
)->GetBackgroundColour();
28779 wxPyEndAllowThreads(__tstate
);
28780 if (PyErr_Occurred()) SWIG_fail
;
28783 wxColour
* resultptr
;
28784 resultptr
= new wxColour((wxColour
&) result
);
28785 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxColour
, 1);
28793 static PyObject
*_wrap_MenuItem_SetBitmaps(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28794 PyObject
*resultobj
;
28795 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28796 wxBitmap
*arg2
= 0 ;
28797 wxBitmap
const &arg3_defvalue
= wxNullBitmap
;
28798 wxBitmap
*arg3
= (wxBitmap
*) &arg3_defvalue
;
28799 PyObject
* obj0
= 0 ;
28800 PyObject
* obj1
= 0 ;
28801 PyObject
* obj2
= 0 ;
28802 char *kwnames
[] = {
28803 (char *) "self",(char *) "bmpChecked",(char *) "bmpUnchecked", NULL
28806 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MenuItem_SetBitmaps",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
28807 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28808 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28809 if (arg2
== NULL
) {
28810 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28813 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28814 if (arg3
== NULL
) {
28815 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28820 (arg1
)->SetBitmaps((wxBitmap
const &)*arg2
,(wxBitmap
const &)*arg3
);
28822 wxPyEndAllowThreads(__tstate
);
28823 if (PyErr_Occurred()) SWIG_fail
;
28825 Py_INCREF(Py_None
); resultobj
= Py_None
;
28832 static PyObject
*_wrap_MenuItem_SetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28833 PyObject
*resultobj
;
28834 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28835 wxBitmap
*arg2
= 0 ;
28836 PyObject
* obj0
= 0 ;
28837 PyObject
* obj1
= 0 ;
28838 char *kwnames
[] = {
28839 (char *) "self",(char *) "bmpDisabled", NULL
28842 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetDisabledBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
28843 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28844 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28845 if (arg2
== NULL
) {
28846 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
28849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28850 (arg1
)->SetDisabledBitmap((wxBitmap
const &)*arg2
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 Py_INCREF(Py_None
); resultobj
= Py_None
;
28862 static PyObject
*_wrap_MenuItem_GetDisabledBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28863 PyObject
*resultobj
;
28864 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28866 PyObject
* obj0
= 0 ;
28867 char *kwnames
[] = {
28868 (char *) "self", NULL
28871 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetDisabledBitmap",kwnames
,&obj0
)) goto fail
;
28872 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28876 wxBitmap
const &_result_ref
= ((wxMenuItem
const *)arg1
)->GetDisabledBitmap();
28877 result
= (wxBitmap
*) &_result_ref
;
28880 wxPyEndAllowThreads(__tstate
);
28881 if (PyErr_Occurred()) SWIG_fail
;
28883 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
28890 static PyObject
*_wrap_MenuItem_SetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28891 PyObject
*resultobj
;
28892 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28894 PyObject
* obj0
= 0 ;
28895 char *kwnames
[] = {
28896 (char *) "self",(char *) "nWidth", NULL
28899 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:MenuItem_SetMarginWidth",kwnames
,&obj0
,&arg2
)) goto fail
;
28900 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28903 (arg1
)->SetMarginWidth(arg2
);
28905 wxPyEndAllowThreads(__tstate
);
28906 if (PyErr_Occurred()) SWIG_fail
;
28908 Py_INCREF(Py_None
); resultobj
= Py_None
;
28915 static PyObject
*_wrap_MenuItem_GetMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28916 PyObject
*resultobj
;
28917 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28919 PyObject
* obj0
= 0 ;
28920 char *kwnames
[] = {
28921 (char *) "self", NULL
28924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetMarginWidth",kwnames
,&obj0
)) goto fail
;
28925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 result
= (int)(arg1
)->GetMarginWidth();
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= PyInt_FromLong((long)result
);
28940 static PyObject
*_wrap_MenuItem_GetDefaultMarginWidth(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28941 PyObject
*resultobj
;
28943 char *kwnames
[] = {
28947 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":MenuItem_GetDefaultMarginWidth",kwnames
)) goto fail
;
28949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28950 result
= (int)wxMenuItem::GetDefaultMarginWidth();
28952 wxPyEndAllowThreads(__tstate
);
28953 if (PyErr_Occurred()) SWIG_fail
;
28955 resultobj
= PyInt_FromLong((long)result
);
28962 static PyObject
*_wrap_MenuItem_IsOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28963 PyObject
*resultobj
;
28964 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28966 PyObject
* obj0
= 0 ;
28967 char *kwnames
[] = {
28968 (char *) "self", NULL
28971 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_IsOwnerDrawn",kwnames
,&obj0
)) goto fail
;
28972 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
28974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28975 result
= (bool)(arg1
)->IsOwnerDrawn();
28977 wxPyEndAllowThreads(__tstate
);
28978 if (PyErr_Occurred()) SWIG_fail
;
28980 resultobj
= PyInt_FromLong((long)result
);
28987 static PyObject
*_wrap_MenuItem_SetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
28988 PyObject
*resultobj
;
28989 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
28990 bool arg2
= (bool) True
;
28991 PyObject
* obj0
= 0 ;
28992 PyObject
* obj1
= 0 ;
28993 char *kwnames
[] = {
28994 (char *) "self",(char *) "ownerDrawn", NULL
28997 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MenuItem_SetOwnerDrawn",kwnames
,&obj0
,&obj1
)) goto fail
;
28998 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29000 arg2
= PyInt_AsLong(obj1
) ? true : false;
29001 if (PyErr_Occurred()) SWIG_fail
;
29004 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29005 (arg1
)->SetOwnerDrawn(arg2
);
29007 wxPyEndAllowThreads(__tstate
);
29008 if (PyErr_Occurred()) SWIG_fail
;
29010 Py_INCREF(Py_None
); resultobj
= Py_None
;
29017 static PyObject
*_wrap_MenuItem_ResetOwnerDrawn(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29018 PyObject
*resultobj
;
29019 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
29020 PyObject
* obj0
= 0 ;
29021 char *kwnames
[] = {
29022 (char *) "self", NULL
29025 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_ResetOwnerDrawn",kwnames
,&obj0
)) goto fail
;
29026 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 (arg1
)->ResetOwnerDrawn();
29031 wxPyEndAllowThreads(__tstate
);
29032 if (PyErr_Occurred()) SWIG_fail
;
29034 Py_INCREF(Py_None
); resultobj
= Py_None
;
29041 static PyObject
*_wrap_MenuItem_SetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29042 PyObject
*resultobj
;
29043 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
29044 wxBitmap
*arg2
= 0 ;
29045 PyObject
* obj0
= 0 ;
29046 PyObject
* obj1
= 0 ;
29047 char *kwnames
[] = {
29048 (char *) "self",(char *) "bitmap", NULL
29051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MenuItem_SetBitmap",kwnames
,&obj0
,&obj1
)) goto fail
;
29052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxBitmap
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29054 if (arg2
== NULL
) {
29055 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29059 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
29061 wxPyEndAllowThreads(__tstate
);
29062 if (PyErr_Occurred()) SWIG_fail
;
29064 Py_INCREF(Py_None
); resultobj
= Py_None
;
29071 static PyObject
*_wrap_MenuItem_GetBitmap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29072 PyObject
*resultobj
;
29073 wxMenuItem
*arg1
= (wxMenuItem
*) 0 ;
29075 PyObject
* obj0
= 0 ;
29076 char *kwnames
[] = {
29077 (char *) "self", NULL
29080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:MenuItem_GetBitmap",kwnames
,&obj0
)) goto fail
;
29081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxMenuItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29085 wxBitmap
const &_result_ref
= (arg1
)->GetBitmap();
29086 result
= (wxBitmap
*) &_result_ref
;
29089 wxPyEndAllowThreads(__tstate
);
29090 if (PyErr_Occurred()) SWIG_fail
;
29092 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBitmap
, 0);
29099 static PyObject
* MenuItem_swigregister(PyObject
*self
, PyObject
*args
) {
29101 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29102 SWIG_TypeClientData(SWIGTYPE_p_wxMenuItem
, obj
);
29104 return Py_BuildValue((char *)"");
29106 static PyObject
*_wrap_new_Control(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29107 PyObject
*resultobj
;
29108 wxWindow
*arg1
= (wxWindow
*) 0 ;
29110 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29111 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29112 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29113 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29114 long arg5
= (long) 0 ;
29115 wxValidator
const &arg6_defvalue
= wxDefaultValidator
;
29116 wxValidator
*arg6
= (wxValidator
*) &arg6_defvalue
;
29117 wxString
const &arg7_defvalue
= wxPyControlNameStr
;
29118 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29122 bool temp7
= False
;
29123 PyObject
* obj0
= 0 ;
29124 PyObject
* obj2
= 0 ;
29125 PyObject
* obj3
= 0 ;
29126 PyObject
* obj5
= 0 ;
29127 PyObject
* obj6
= 0 ;
29128 char *kwnames
[] = {
29129 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi|OOlOO:new_Control",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
,&arg5
,&obj5
,&obj6
)) goto fail
;
29133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29143 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29147 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29148 if (arg6
== NULL
) {
29149 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29154 arg7
= wxString_in_helper(obj6
);
29155 if (arg7
== NULL
) SWIG_fail
;
29160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29161 result
= (wxControl
*)new wxControl(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxValidator
const &)*arg6
,(wxString
const &)*arg7
);
29163 wxPyEndAllowThreads(__tstate
);
29164 if (PyErr_Occurred()) SWIG_fail
;
29167 resultobj
= wxPyMake_wxObject(result
);
29183 static PyObject
*_wrap_new_PreControl(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29184 PyObject
*resultobj
;
29186 char *kwnames
[] = {
29190 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PreControl",kwnames
)) goto fail
;
29192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29193 result
= (wxControl
*)new wxControl();
29195 wxPyEndAllowThreads(__tstate
);
29196 if (PyErr_Occurred()) SWIG_fail
;
29199 resultobj
= wxPyMake_wxObject(result
);
29207 static PyObject
*_wrap_Control_Create(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29208 PyObject
*resultobj
;
29209 wxControl
*arg1
= (wxControl
*) 0 ;
29210 wxWindow
*arg2
= (wxWindow
*) 0 ;
29212 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29213 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29214 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29215 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29216 long arg6
= (long) 0 ;
29217 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
29218 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
29219 wxString
const &arg8_defvalue
= wxPyControlNameStr
;
29220 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
29224 bool temp8
= False
;
29225 PyObject
* obj0
= 0 ;
29226 PyObject
* obj1
= 0 ;
29227 PyObject
* obj3
= 0 ;
29228 PyObject
* obj4
= 0 ;
29229 PyObject
* obj6
= 0 ;
29230 PyObject
* obj7
= 0 ;
29231 char *kwnames
[] = {
29232 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "validator",(char *) "name", NULL
29235 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|OOlOO:Control_Create",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
,&obj4
,&arg6
,&obj6
,&obj7
)) goto fail
;
29236 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29237 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29241 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29247 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29251 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxValidator
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29252 if (arg7
== NULL
) {
29253 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29258 arg8
= wxString_in_helper(obj7
);
29259 if (arg8
== NULL
) SWIG_fail
;
29264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29265 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
29267 wxPyEndAllowThreads(__tstate
);
29268 if (PyErr_Occurred()) SWIG_fail
;
29270 resultobj
= PyInt_FromLong((long)result
);
29285 static PyObject
*_wrap_Control_Command(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29286 PyObject
*resultobj
;
29287 wxControl
*arg1
= (wxControl
*) 0 ;
29288 wxCommandEvent
*arg2
= 0 ;
29289 PyObject
* obj0
= 0 ;
29290 PyObject
* obj1
= 0 ;
29291 char *kwnames
[] = {
29292 (char *) "self",(char *) "event", NULL
29295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_Command",kwnames
,&obj0
,&obj1
)) goto fail
;
29296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29297 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxCommandEvent
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29298 if (arg2
== NULL
) {
29299 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
29302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29303 (arg1
)->Command(*arg2
);
29305 wxPyEndAllowThreads(__tstate
);
29306 if (PyErr_Occurred()) SWIG_fail
;
29308 Py_INCREF(Py_None
); resultobj
= Py_None
;
29315 static PyObject
*_wrap_Control_GetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29316 PyObject
*resultobj
;
29317 wxControl
*arg1
= (wxControl
*) 0 ;
29319 PyObject
* obj0
= 0 ;
29320 char *kwnames
[] = {
29321 (char *) "self", NULL
29324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Control_GetLabel",kwnames
,&obj0
)) goto fail
;
29325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29328 result
= (arg1
)->GetLabel();
29330 wxPyEndAllowThreads(__tstate
);
29331 if (PyErr_Occurred()) SWIG_fail
;
29335 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29337 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29346 static PyObject
*_wrap_Control_SetLabel(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29347 PyObject
*resultobj
;
29348 wxControl
*arg1
= (wxControl
*) 0 ;
29349 wxString
*arg2
= 0 ;
29350 bool temp2
= False
;
29351 PyObject
* obj0
= 0 ;
29352 PyObject
* obj1
= 0 ;
29353 char *kwnames
[] = {
29354 (char *) "self",(char *) "label", NULL
29357 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Control_SetLabel",kwnames
,&obj0
,&obj1
)) goto fail
;
29358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxControl
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29360 arg2
= wxString_in_helper(obj1
);
29361 if (arg2
== NULL
) SWIG_fail
;
29365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29366 (arg1
)->SetLabel((wxString
const &)*arg2
);
29368 wxPyEndAllowThreads(__tstate
);
29369 if (PyErr_Occurred()) SWIG_fail
;
29371 Py_INCREF(Py_None
); resultobj
= Py_None
;
29386 static PyObject
* Control_swigregister(PyObject
*self
, PyObject
*args
) {
29388 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29389 SWIG_TypeClientData(SWIGTYPE_p_wxControl
, obj
);
29391 return Py_BuildValue((char *)"");
29393 static PyObject
*_wrap_ItemContainer_Append(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29394 PyObject
*resultobj
;
29395 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29396 wxString
*arg2
= 0 ;
29397 PyObject
*arg3
= (PyObject
*) NULL
;
29399 bool temp2
= False
;
29400 PyObject
* obj0
= 0 ;
29401 PyObject
* obj1
= 0 ;
29402 PyObject
* obj2
= 0 ;
29403 char *kwnames
[] = {
29404 (char *) "self",(char *) "item",(char *) "clientData", NULL
29407 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ItemContainer_Append",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
29408 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29410 arg2
= wxString_in_helper(obj1
);
29411 if (arg2
== NULL
) SWIG_fail
;
29418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29419 result
= (int)wxItemContainer_Append(arg1
,(wxString
const &)*arg2
,arg3
);
29421 wxPyEndAllowThreads(__tstate
);
29422 if (PyErr_Occurred()) SWIG_fail
;
29424 resultobj
= PyInt_FromLong((long)result
);
29439 static PyObject
*_wrap_ItemContainer_AppendItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29440 PyObject
*resultobj
;
29441 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29442 wxArrayString
*arg2
= 0 ;
29443 PyObject
* obj0
= 0 ;
29444 PyObject
* obj1
= 0 ;
29445 char *kwnames
[] = {
29446 (char *) "self",(char *) "strings", NULL
29449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_AppendItems",kwnames
,&obj0
,&obj1
)) goto fail
;
29450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29452 if (! PySequence_Check(obj1
)) {
29453 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
29456 arg2
= new wxArrayString
;
29457 int i
, len
=PySequence_Length(obj1
);
29458 for (i
=0; i
<len
; i
++) {
29459 PyObject
* item
= PySequence_GetItem(obj1
, i
);
29461 PyObject
* str
= PyObject_Unicode(item
);
29463 PyObject
* str
= PyObject_Str(item
);
29465 arg2
->Add(Py2wxString(str
));
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29472 (arg1
)->Append((wxArrayString
const &)*arg2
);
29474 wxPyEndAllowThreads(__tstate
);
29475 if (PyErr_Occurred()) SWIG_fail
;
29477 Py_INCREF(Py_None
); resultobj
= Py_None
;
29479 if (arg2
) delete arg2
;
29484 if (arg2
) delete arg2
;
29490 static PyObject
*_wrap_ItemContainer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29491 PyObject
*resultobj
;
29492 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29493 wxString
*arg2
= 0 ;
29495 PyObject
*arg4
= (PyObject
*) NULL
;
29497 bool temp2
= False
;
29498 PyObject
* obj0
= 0 ;
29499 PyObject
* obj1
= 0 ;
29500 PyObject
* obj3
= 0 ;
29501 char *kwnames
[] = {
29502 (char *) "self",(char *) "item",(char *) "pos",(char *) "clientData", NULL
29505 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|O:ItemContainer_Insert",kwnames
,&obj0
,&obj1
,&arg3
,&obj3
)) goto fail
;
29506 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29508 arg2
= wxString_in_helper(obj1
);
29509 if (arg2
== NULL
) SWIG_fail
;
29516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29517 result
= (int)wxItemContainer_Insert(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= PyInt_FromLong((long)result
);
29537 static PyObject
*_wrap_ItemContainer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29538 PyObject
*resultobj
;
29539 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29540 PyObject
* obj0
= 0 ;
29541 char *kwnames
[] = {
29542 (char *) "self", NULL
29545 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_Clear",kwnames
,&obj0
)) goto fail
;
29546 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29551 wxPyEndAllowThreads(__tstate
);
29552 if (PyErr_Occurred()) SWIG_fail
;
29554 Py_INCREF(Py_None
); resultobj
= Py_None
;
29561 static PyObject
*_wrap_ItemContainer_Delete(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29562 PyObject
*resultobj
;
29563 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29565 PyObject
* obj0
= 0 ;
29566 char *kwnames
[] = {
29567 (char *) "self",(char *) "n", NULL
29570 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Delete",kwnames
,&obj0
,&arg2
)) goto fail
;
29571 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 (arg1
)->Delete(arg2
);
29576 wxPyEndAllowThreads(__tstate
);
29577 if (PyErr_Occurred()) SWIG_fail
;
29579 Py_INCREF(Py_None
); resultobj
= Py_None
;
29586 static PyObject
*_wrap_ItemContainer_GetCount(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29587 PyObject
*resultobj
;
29588 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29590 PyObject
* obj0
= 0 ;
29591 char *kwnames
[] = {
29592 (char *) "self", NULL
29595 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetCount",kwnames
,&obj0
)) goto fail
;
29596 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29599 result
= (int)((wxItemContainer
const *)arg1
)->GetCount();
29601 wxPyEndAllowThreads(__tstate
);
29602 if (PyErr_Occurred()) SWIG_fail
;
29604 resultobj
= PyInt_FromLong((long)result
);
29611 static PyObject
*_wrap_ItemContainer_IsEmpty(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29612 PyObject
*resultobj
;
29613 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29615 PyObject
* obj0
= 0 ;
29616 char *kwnames
[] = {
29617 (char *) "self", NULL
29620 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_IsEmpty",kwnames
,&obj0
)) goto fail
;
29621 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29624 result
= (bool)((wxItemContainer
const *)arg1
)->IsEmpty();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29629 resultobj
= PyInt_FromLong((long)result
);
29636 static PyObject
*_wrap_ItemContainer_GetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29637 PyObject
*resultobj
;
29638 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29641 PyObject
* obj0
= 0 ;
29642 char *kwnames
[] = {
29643 (char *) "self",(char *) "n", NULL
29646 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetString",kwnames
,&obj0
,&arg2
)) goto fail
;
29647 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29650 result
= ((wxItemContainer
const *)arg1
)->GetString(arg2
);
29652 wxPyEndAllowThreads(__tstate
);
29653 if (PyErr_Occurred()) SWIG_fail
;
29657 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29659 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29668 static PyObject
*_wrap_ItemContainer_GetStrings(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29669 PyObject
*resultobj
;
29670 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29671 wxArrayString result
;
29672 PyObject
* obj0
= 0 ;
29673 char *kwnames
[] = {
29674 (char *) "self", NULL
29677 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStrings",kwnames
,&obj0
)) goto fail
;
29678 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29681 result
= ((wxItemContainer
const *)arg1
)->GetStrings();
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29687 resultobj
= wxArrayString2PyList_helper(result
);
29695 static PyObject
*_wrap_ItemContainer_SetString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29696 PyObject
*resultobj
;
29697 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29699 wxString
*arg3
= 0 ;
29700 bool temp3
= False
;
29701 PyObject
* obj0
= 0 ;
29702 PyObject
* obj2
= 0 ;
29703 char *kwnames
[] = {
29704 (char *) "self",(char *) "n",(char *) "s", NULL
29707 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetString",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29708 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29710 arg3
= wxString_in_helper(obj2
);
29711 if (arg3
== NULL
) SWIG_fail
;
29715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29716 (arg1
)->SetString(arg2
,(wxString
const &)*arg3
);
29718 wxPyEndAllowThreads(__tstate
);
29719 if (PyErr_Occurred()) SWIG_fail
;
29721 Py_INCREF(Py_None
); resultobj
= Py_None
;
29736 static PyObject
*_wrap_ItemContainer_FindString(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29737 PyObject
*resultobj
;
29738 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29739 wxString
*arg2
= 0 ;
29741 bool temp2
= False
;
29742 PyObject
* obj0
= 0 ;
29743 PyObject
* obj1
= 0 ;
29744 char *kwnames
[] = {
29745 (char *) "self",(char *) "s", NULL
29748 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ItemContainer_FindString",kwnames
,&obj0
,&obj1
)) goto fail
;
29749 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29751 arg2
= wxString_in_helper(obj1
);
29752 if (arg2
== NULL
) SWIG_fail
;
29756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29757 result
= (int)((wxItemContainer
const *)arg1
)->FindString((wxString
const &)*arg2
);
29759 wxPyEndAllowThreads(__tstate
);
29760 if (PyErr_Occurred()) SWIG_fail
;
29762 resultobj
= PyInt_FromLong((long)result
);
29777 static PyObject
*_wrap_ItemContainer_Select(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29778 PyObject
*resultobj
;
29779 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29781 PyObject
* obj0
= 0 ;
29782 char *kwnames
[] = {
29783 (char *) "self",(char *) "n", NULL
29786 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_Select",kwnames
,&obj0
,&arg2
)) goto fail
;
29787 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29790 (arg1
)->Select(arg2
);
29792 wxPyEndAllowThreads(__tstate
);
29793 if (PyErr_Occurred()) SWIG_fail
;
29795 Py_INCREF(Py_None
); resultobj
= Py_None
;
29802 static PyObject
*_wrap_ItemContainer_GetSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29803 PyObject
*resultobj
;
29804 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29806 PyObject
* obj0
= 0 ;
29807 char *kwnames
[] = {
29808 (char *) "self", NULL
29811 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetSelection",kwnames
,&obj0
)) goto fail
;
29812 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29815 result
= (int)((wxItemContainer
const *)arg1
)->GetSelection();
29817 wxPyEndAllowThreads(__tstate
);
29818 if (PyErr_Occurred()) SWIG_fail
;
29820 resultobj
= PyInt_FromLong((long)result
);
29827 static PyObject
*_wrap_ItemContainer_GetStringSelection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29828 PyObject
*resultobj
;
29829 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29831 PyObject
* obj0
= 0 ;
29832 char *kwnames
[] = {
29833 (char *) "self", NULL
29836 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:ItemContainer_GetStringSelection",kwnames
,&obj0
)) goto fail
;
29837 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29840 result
= ((wxItemContainer
const *)arg1
)->GetStringSelection();
29842 wxPyEndAllowThreads(__tstate
);
29843 if (PyErr_Occurred()) SWIG_fail
;
29847 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
29849 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
29858 static PyObject
*_wrap_ItemContainer_GetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29859 PyObject
*resultobj
;
29860 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29863 PyObject
* obj0
= 0 ;
29864 char *kwnames
[] = {
29865 (char *) "self",(char *) "n", NULL
29868 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:ItemContainer_GetClientData",kwnames
,&obj0
,&arg2
)) goto fail
;
29869 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29872 result
= (PyObject
*)wxItemContainer_GetClientData(arg1
,arg2
);
29874 wxPyEndAllowThreads(__tstate
);
29875 if (PyErr_Occurred()) SWIG_fail
;
29877 resultobj
= result
;
29884 static PyObject
*_wrap_ItemContainer_SetClientData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29885 PyObject
*resultobj
;
29886 wxItemContainer
*arg1
= (wxItemContainer
*) 0 ;
29888 PyObject
*arg3
= (PyObject
*) 0 ;
29889 PyObject
* obj0
= 0 ;
29890 PyObject
* obj2
= 0 ;
29891 char *kwnames
[] = {
29892 (char *) "self",(char *) "n",(char *) "clientData", NULL
29895 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO:ItemContainer_SetClientData",kwnames
,&obj0
,&arg2
,&obj2
)) goto fail
;
29896 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxItemContainer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29900 wxItemContainer_SetClientData(arg1
,arg2
,arg3
);
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 Py_INCREF(Py_None
); resultobj
= Py_None
;
29912 static PyObject
* ItemContainer_swigregister(PyObject
*self
, PyObject
*args
) {
29914 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29915 SWIG_TypeClientData(SWIGTYPE_p_wxItemContainer
, obj
);
29917 return Py_BuildValue((char *)"");
29919 static PyObject
* ControlWithItems_swigregister(PyObject
*self
, PyObject
*args
) {
29921 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
29922 SWIG_TypeClientData(SWIGTYPE_p_wxControlWithItems
, obj
);
29924 return Py_BuildValue((char *)"");
29926 static PyObject
*_wrap_new_SizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29927 PyObject
*resultobj
;
29928 wxSizerItem
*result
;
29929 char *kwnames
[] = {
29933 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_SizerItem",kwnames
)) goto fail
;
29935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29936 result
= (wxSizerItem
*)new wxSizerItem();
29938 wxPyEndAllowThreads(__tstate
);
29939 if (PyErr_Occurred()) SWIG_fail
;
29941 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29948 static PyObject
*_wrap_new_SizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29949 PyObject
*resultobj
;
29955 wxObject
*arg6
= (wxObject
*) 0 ;
29956 wxSizerItem
*result
;
29957 PyObject
* obj5
= 0 ;
29958 char *kwnames
[] = {
29959 (char *) "width",(char *) "height",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29962 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiiiiO:new_SizerItemSpacer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
29963 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29966 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
29968 wxPyEndAllowThreads(__tstate
);
29969 if (PyErr_Occurred()) SWIG_fail
;
29971 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
29978 static PyObject
*_wrap_new_SizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
29979 PyObject
*resultobj
;
29980 wxWindow
*arg1
= (wxWindow
*) 0 ;
29984 wxObject
*arg5
= (wxObject
*) 0 ;
29985 wxSizerItem
*result
;
29986 PyObject
* obj0
= 0 ;
29987 PyObject
* obj4
= 0 ;
29988 char *kwnames
[] = {
29989 (char *) "window",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
29992 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemWindow",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
29993 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29994 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
29996 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29997 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
29999 wxPyEndAllowThreads(__tstate
);
30000 if (PyErr_Occurred()) SWIG_fail
;
30002 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
30009 static PyObject
*_wrap_new_SizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30010 PyObject
*resultobj
;
30011 wxSizer
*arg1
= (wxSizer
*) 0 ;
30015 wxObject
*arg5
= (wxObject
*) 0 ;
30016 wxSizerItem
*result
;
30017 PyObject
* obj0
= 0 ;
30018 PyObject
* obj4
= 0 ;
30019 char *kwnames
[] = {
30020 (char *) "sizer",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30023 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiiiO:new_SizerItemSizer",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&obj4
)) goto fail
;
30024 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30025 if ((SWIG_ConvertPtr(obj4
,(void **) &arg5
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 result
= (wxSizerItem
*)new wxSizerItem(arg1
,arg2
,arg3
,arg4
,arg5
);
30030 wxPyEndAllowThreads(__tstate
);
30031 if (PyErr_Occurred()) SWIG_fail
;
30033 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSizerItem
, 1);
30040 static PyObject
*_wrap_SizerItem_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30041 PyObject
*resultobj
;
30042 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30043 PyObject
* obj0
= 0 ;
30044 char *kwnames
[] = {
30045 (char *) "self", NULL
30048 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DeleteWindows",kwnames
,&obj0
)) goto fail
;
30049 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30052 (arg1
)->DeleteWindows();
30054 wxPyEndAllowThreads(__tstate
);
30055 if (PyErr_Occurred()) SWIG_fail
;
30057 Py_INCREF(Py_None
); resultobj
= Py_None
;
30064 static PyObject
*_wrap_SizerItem_DetachSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30065 PyObject
*resultobj
;
30066 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30067 PyObject
* obj0
= 0 ;
30068 char *kwnames
[] = {
30069 (char *) "self", NULL
30072 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_DetachSizer",kwnames
,&obj0
)) goto fail
;
30073 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30076 (arg1
)->DetachSizer();
30078 wxPyEndAllowThreads(__tstate
);
30079 if (PyErr_Occurred()) SWIG_fail
;
30081 Py_INCREF(Py_None
); resultobj
= Py_None
;
30088 static PyObject
*_wrap_SizerItem_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30089 PyObject
*resultobj
;
30090 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30092 PyObject
* obj0
= 0 ;
30093 char *kwnames
[] = {
30094 (char *) "self", NULL
30097 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSize",kwnames
,&obj0
)) goto fail
;
30098 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30101 result
= (arg1
)->GetSize();
30103 wxPyEndAllowThreads(__tstate
);
30104 if (PyErr_Occurred()) SWIG_fail
;
30107 wxSize
* resultptr
;
30108 resultptr
= new wxSize((wxSize
&) result
);
30109 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30117 static PyObject
*_wrap_SizerItem_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30118 PyObject
*resultobj
;
30119 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30121 PyObject
* obj0
= 0 ;
30122 char *kwnames
[] = {
30123 (char *) "self", NULL
30126 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_CalcMin",kwnames
,&obj0
)) goto fail
;
30127 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30130 result
= (arg1
)->CalcMin();
30132 wxPyEndAllowThreads(__tstate
);
30133 if (PyErr_Occurred()) SWIG_fail
;
30136 wxSize
* resultptr
;
30137 resultptr
= new wxSize((wxSize
&) result
);
30138 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30146 static PyObject
*_wrap_SizerItem_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30147 PyObject
*resultobj
;
30148 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30153 PyObject
* obj0
= 0 ;
30154 PyObject
* obj1
= 0 ;
30155 PyObject
* obj2
= 0 ;
30156 char *kwnames
[] = {
30157 (char *) "self",(char *) "pos",(char *) "size", NULL
30160 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SizerItem_SetDimension",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
30161 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30162 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxPoint
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30164 if ((SWIG_ConvertPtr(obj2
,(void **) &argp3
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30168 (arg1
)->SetDimension(arg2
,arg3
);
30170 wxPyEndAllowThreads(__tstate
);
30171 if (PyErr_Occurred()) SWIG_fail
;
30173 Py_INCREF(Py_None
); resultobj
= Py_None
;
30180 static PyObject
*_wrap_SizerItem_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30181 PyObject
*resultobj
;
30182 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30184 PyObject
* obj0
= 0 ;
30185 char *kwnames
[] = {
30186 (char *) "self", NULL
30189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetMinSize",kwnames
,&obj0
)) goto fail
;
30190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30193 result
= (arg1
)->GetMinSize();
30195 wxPyEndAllowThreads(__tstate
);
30196 if (PyErr_Occurred()) SWIG_fail
;
30199 wxSize
* resultptr
;
30200 resultptr
= new wxSize((wxSize
&) result
);
30201 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
30209 static PyObject
*_wrap_SizerItem_SetInitSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30210 PyObject
*resultobj
;
30211 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30214 PyObject
* obj0
= 0 ;
30215 char *kwnames
[] = {
30216 (char *) "self",(char *) "x",(char *) "y", NULL
30219 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetInitSize",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
30220 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30223 (arg1
)->SetInitSize(arg2
,arg3
);
30225 wxPyEndAllowThreads(__tstate
);
30226 if (PyErr_Occurred()) SWIG_fail
;
30228 Py_INCREF(Py_None
); resultobj
= Py_None
;
30235 static PyObject
*_wrap_SizerItem_SetRatioWH(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30236 PyObject
*resultobj
;
30237 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30240 PyObject
* obj0
= 0 ;
30241 char *kwnames
[] = {
30242 (char *) "self",(char *) "width",(char *) "height", NULL
30245 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oii:SizerItem_SetRatioWH",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
30246 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 (arg1
)->SetRatio(arg2
,arg3
);
30251 wxPyEndAllowThreads(__tstate
);
30252 if (PyErr_Occurred()) SWIG_fail
;
30254 Py_INCREF(Py_None
); resultobj
= Py_None
;
30261 static PyObject
*_wrap_SizerItem_SetRatioSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30262 PyObject
*resultobj
;
30263 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30266 PyObject
* obj0
= 0 ;
30267 PyObject
* obj1
= 0 ;
30268 char *kwnames
[] = {
30269 (char *) "self",(char *) "size", NULL
30272 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetRatioSize",kwnames
,&obj0
,&obj1
)) goto fail
;
30273 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30274 if ((SWIG_ConvertPtr(obj1
,(void **) &argp2
, SWIGTYPE_p_wxSize
,SWIG_POINTER_EXCEPTION
) == -1)) SWIG_fail
;
30277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30278 (arg1
)->SetRatio(arg2
);
30280 wxPyEndAllowThreads(__tstate
);
30281 if (PyErr_Occurred()) SWIG_fail
;
30283 Py_INCREF(Py_None
); resultobj
= Py_None
;
30290 static PyObject
*_wrap_SizerItem_SetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30291 PyObject
*resultobj
;
30292 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30294 PyObject
* obj0
= 0 ;
30295 char *kwnames
[] = {
30296 (char *) "self",(char *) "ratio", NULL
30299 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Of:SizerItem_SetRatio",kwnames
,&obj0
,&arg2
)) goto fail
;
30300 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30303 (arg1
)->SetRatio(arg2
);
30305 wxPyEndAllowThreads(__tstate
);
30306 if (PyErr_Occurred()) SWIG_fail
;
30308 Py_INCREF(Py_None
); resultobj
= Py_None
;
30315 static PyObject
*_wrap_SizerItem_GetRatio(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30316 PyObject
*resultobj
;
30317 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30319 PyObject
* obj0
= 0 ;
30320 char *kwnames
[] = {
30321 (char *) "self", NULL
30324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetRatio",kwnames
,&obj0
)) goto fail
;
30325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30328 result
= (float)(arg1
)->GetRatio();
30330 wxPyEndAllowThreads(__tstate
);
30331 if (PyErr_Occurred()) SWIG_fail
;
30333 resultobj
= PyFloat_FromDouble(result
);
30340 static PyObject
*_wrap_SizerItem_IsWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30341 PyObject
*resultobj
;
30342 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30344 PyObject
* obj0
= 0 ;
30345 char *kwnames
[] = {
30346 (char *) "self", NULL
30349 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsWindow",kwnames
,&obj0
)) goto fail
;
30350 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30353 result
= (bool)(arg1
)->IsWindow();
30355 wxPyEndAllowThreads(__tstate
);
30356 if (PyErr_Occurred()) SWIG_fail
;
30358 resultobj
= PyInt_FromLong((long)result
);
30365 static PyObject
*_wrap_SizerItem_IsSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30366 PyObject
*resultobj
;
30367 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30369 PyObject
* obj0
= 0 ;
30370 char *kwnames
[] = {
30371 (char *) "self", NULL
30374 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSizer",kwnames
,&obj0
)) goto fail
;
30375 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30378 result
= (bool)(arg1
)->IsSizer();
30380 wxPyEndAllowThreads(__tstate
);
30381 if (PyErr_Occurred()) SWIG_fail
;
30383 resultobj
= PyInt_FromLong((long)result
);
30390 static PyObject
*_wrap_SizerItem_IsSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30391 PyObject
*resultobj
;
30392 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30394 PyObject
* obj0
= 0 ;
30395 char *kwnames
[] = {
30396 (char *) "self", NULL
30399 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsSpacer",kwnames
,&obj0
)) goto fail
;
30400 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= (bool)(arg1
)->IsSpacer();
30405 wxPyEndAllowThreads(__tstate
);
30406 if (PyErr_Occurred()) SWIG_fail
;
30408 resultobj
= PyInt_FromLong((long)result
);
30415 static PyObject
*_wrap_SizerItem_SetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30416 PyObject
*resultobj
;
30417 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30419 PyObject
* obj0
= 0 ;
30420 char *kwnames
[] = {
30421 (char *) "self",(char *) "proportion", NULL
30424 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetProportion",kwnames
,&obj0
,&arg2
)) goto fail
;
30425 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30428 (arg1
)->SetProportion(arg2
);
30430 wxPyEndAllowThreads(__tstate
);
30431 if (PyErr_Occurred()) SWIG_fail
;
30433 Py_INCREF(Py_None
); resultobj
= Py_None
;
30440 static PyObject
*_wrap_SizerItem_GetProportion(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30441 PyObject
*resultobj
;
30442 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30444 PyObject
* obj0
= 0 ;
30445 char *kwnames
[] = {
30446 (char *) "self", NULL
30449 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetProportion",kwnames
,&obj0
)) goto fail
;
30450 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30453 result
= (int)(arg1
)->GetProportion();
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30458 resultobj
= PyInt_FromLong((long)result
);
30465 static PyObject
*_wrap_SizerItem_SetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30466 PyObject
*resultobj
;
30467 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30469 PyObject
* obj0
= 0 ;
30470 char *kwnames
[] = {
30471 (char *) "self",(char *) "flag", NULL
30474 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetFlag",kwnames
,&obj0
,&arg2
)) goto fail
;
30475 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30478 (arg1
)->SetFlag(arg2
);
30480 wxPyEndAllowThreads(__tstate
);
30481 if (PyErr_Occurred()) SWIG_fail
;
30483 Py_INCREF(Py_None
); resultobj
= Py_None
;
30490 static PyObject
*_wrap_SizerItem_GetFlag(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30491 PyObject
*resultobj
;
30492 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30494 PyObject
* obj0
= 0 ;
30495 char *kwnames
[] = {
30496 (char *) "self", NULL
30499 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetFlag",kwnames
,&obj0
)) goto fail
;
30500 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30503 result
= (int)(arg1
)->GetFlag();
30505 wxPyEndAllowThreads(__tstate
);
30506 if (PyErr_Occurred()) SWIG_fail
;
30508 resultobj
= PyInt_FromLong((long)result
);
30515 static PyObject
*_wrap_SizerItem_SetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30516 PyObject
*resultobj
;
30517 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30519 PyObject
* obj0
= 0 ;
30520 char *kwnames
[] = {
30521 (char *) "self",(char *) "border", NULL
30524 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:SizerItem_SetBorder",kwnames
,&obj0
,&arg2
)) goto fail
;
30525 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30527 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30528 (arg1
)->SetBorder(arg2
);
30530 wxPyEndAllowThreads(__tstate
);
30531 if (PyErr_Occurred()) SWIG_fail
;
30533 Py_INCREF(Py_None
); resultobj
= Py_None
;
30540 static PyObject
*_wrap_SizerItem_GetBorder(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30541 PyObject
*resultobj
;
30542 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30544 PyObject
* obj0
= 0 ;
30545 char *kwnames
[] = {
30546 (char *) "self", NULL
30549 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetBorder",kwnames
,&obj0
)) goto fail
;
30550 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30553 result
= (int)(arg1
)->GetBorder();
30555 wxPyEndAllowThreads(__tstate
);
30556 if (PyErr_Occurred()) SWIG_fail
;
30558 resultobj
= PyInt_FromLong((long)result
);
30565 static PyObject
*_wrap_SizerItem_GetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30566 PyObject
*resultobj
;
30567 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 char *kwnames
[] = {
30571 (char *) "self", NULL
30574 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetWindow",kwnames
,&obj0
)) goto fail
;
30575 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30578 result
= (wxWindow
*)(arg1
)->GetWindow();
30580 wxPyEndAllowThreads(__tstate
);
30581 if (PyErr_Occurred()) SWIG_fail
;
30584 resultobj
= wxPyMake_wxObject(result
);
30592 static PyObject
*_wrap_SizerItem_SetWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30593 PyObject
*resultobj
;
30594 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30595 wxWindow
*arg2
= (wxWindow
*) 0 ;
30596 PyObject
* obj0
= 0 ;
30597 PyObject
* obj1
= 0 ;
30598 char *kwnames
[] = {
30599 (char *) "self",(char *) "window", NULL
30602 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetWindow",kwnames
,&obj0
,&obj1
)) goto fail
;
30603 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30604 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30606 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30607 (arg1
)->SetWindow(arg2
);
30609 wxPyEndAllowThreads(__tstate
);
30610 if (PyErr_Occurred()) SWIG_fail
;
30612 Py_INCREF(Py_None
); resultobj
= Py_None
;
30619 static PyObject
*_wrap_SizerItem_GetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30620 PyObject
*resultobj
;
30621 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30623 PyObject
* obj0
= 0 ;
30624 char *kwnames
[] = {
30625 (char *) "self", NULL
30628 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSizer",kwnames
,&obj0
)) goto fail
;
30629 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30632 result
= (wxSizer
*)(arg1
)->GetSizer();
30634 wxPyEndAllowThreads(__tstate
);
30635 if (PyErr_Occurred()) SWIG_fail
;
30638 resultobj
= wxPyMake_wxSizer(result
);
30646 static PyObject
*_wrap_SizerItem_SetSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30647 PyObject
*resultobj
;
30648 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30649 wxSizer
*arg2
= (wxSizer
*) 0 ;
30650 PyObject
* obj0
= 0 ;
30651 PyObject
* obj1
= 0 ;
30652 char *kwnames
[] = {
30653 (char *) "self",(char *) "sizer", NULL
30656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
30657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30658 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30661 (arg1
)->SetSizer(arg2
);
30663 wxPyEndAllowThreads(__tstate
);
30664 if (PyErr_Occurred()) SWIG_fail
;
30666 Py_INCREF(Py_None
); resultobj
= Py_None
;
30673 static PyObject
*_wrap_SizerItem_GetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30674 PyObject
*resultobj
;
30675 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30677 PyObject
* obj0
= 0 ;
30678 char *kwnames
[] = {
30679 (char *) "self", NULL
30682 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetSpacer",kwnames
,&obj0
)) goto fail
;
30683 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30687 wxSize
const &_result_ref
= (arg1
)->GetSpacer();
30688 result
= (wxSize
*) &_result_ref
;
30691 wxPyEndAllowThreads(__tstate
);
30692 if (PyErr_Occurred()) SWIG_fail
;
30694 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxSize
, 0);
30701 static PyObject
*_wrap_SizerItem_SetSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30702 PyObject
*resultobj
;
30703 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30706 PyObject
* obj0
= 0 ;
30707 PyObject
* obj1
= 0 ;
30708 char *kwnames
[] = {
30709 (char *) "self",(char *) "size", NULL
30712 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_SetSpacer",kwnames
,&obj0
,&obj1
)) goto fail
;
30713 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30716 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
30719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30720 (arg1
)->SetSpacer((wxSize
const &)*arg2
);
30722 wxPyEndAllowThreads(__tstate
);
30723 if (PyErr_Occurred()) SWIG_fail
;
30725 Py_INCREF(Py_None
); resultobj
= Py_None
;
30732 static PyObject
*_wrap_SizerItem_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30733 PyObject
*resultobj
;
30734 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30736 PyObject
* obj0
= 0 ;
30737 PyObject
* obj1
= 0 ;
30738 char *kwnames
[] = {
30739 (char *) "self",(char *) "show", NULL
30742 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SizerItem_Show",kwnames
,&obj0
,&obj1
)) goto fail
;
30743 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30744 arg2
= PyInt_AsLong(obj1
) ? true : false;
30745 if (PyErr_Occurred()) SWIG_fail
;
30747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30748 (arg1
)->Show(arg2
);
30750 wxPyEndAllowThreads(__tstate
);
30751 if (PyErr_Occurred()) SWIG_fail
;
30753 Py_INCREF(Py_None
); resultobj
= Py_None
;
30760 static PyObject
*_wrap_SizerItem_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30761 PyObject
*resultobj
;
30762 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30764 PyObject
* obj0
= 0 ;
30765 char *kwnames
[] = {
30766 (char *) "self", NULL
30769 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_IsShown",kwnames
,&obj0
)) goto fail
;
30770 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30773 result
= (bool)(arg1
)->IsShown();
30775 wxPyEndAllowThreads(__tstate
);
30776 if (PyErr_Occurred()) SWIG_fail
;
30778 resultobj
= PyInt_FromLong((long)result
);
30785 static PyObject
*_wrap_SizerItem_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30786 PyObject
*resultobj
;
30787 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30789 PyObject
* obj0
= 0 ;
30790 char *kwnames
[] = {
30791 (char *) "self", NULL
30794 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetPosition",kwnames
,&obj0
)) goto fail
;
30795 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30798 result
= (arg1
)->GetPosition();
30800 wxPyEndAllowThreads(__tstate
);
30801 if (PyErr_Occurred()) SWIG_fail
;
30804 wxPoint
* resultptr
;
30805 resultptr
= new wxPoint((wxPoint
&) result
);
30806 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
30814 static PyObject
*_wrap_SizerItem_GetUserData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30815 PyObject
*resultobj
;
30816 wxSizerItem
*arg1
= (wxSizerItem
*) 0 ;
30818 PyObject
* obj0
= 0 ;
30819 char *kwnames
[] = {
30820 (char *) "self", NULL
30823 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:SizerItem_GetUserData",kwnames
,&obj0
)) goto fail
;
30824 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30827 result
= (PyObject
*)wxSizerItem_GetUserData(arg1
);
30829 wxPyEndAllowThreads(__tstate
);
30830 if (PyErr_Occurred()) SWIG_fail
;
30832 resultobj
= result
;
30839 static PyObject
* SizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
30841 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
30842 SWIG_TypeClientData(SWIGTYPE_p_wxSizerItem
, obj
);
30844 return Py_BuildValue((char *)"");
30846 static PyObject
*_wrap_Sizer__setOORInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30847 PyObject
*resultobj
;
30848 wxSizer
*arg1
= (wxSizer
*) 0 ;
30849 PyObject
*arg2
= (PyObject
*) 0 ;
30850 PyObject
* obj0
= 0 ;
30851 PyObject
* obj1
= 0 ;
30852 char *kwnames
[] = {
30853 (char *) "self",(char *) "_self", NULL
30856 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer__setOORInfo",kwnames
,&obj0
,&obj1
)) goto fail
;
30857 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30861 wxSizer__setOORInfo(arg1
,arg2
);
30863 wxPyEndAllowThreads(__tstate
);
30864 if (PyErr_Occurred()) SWIG_fail
;
30866 Py_INCREF(Py_None
); resultobj
= Py_None
;
30873 static PyObject
*_wrap_Sizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30874 PyObject
*resultobj
;
30875 wxSizer
*arg1
= (wxSizer
*) 0 ;
30876 PyObject
*arg2
= (PyObject
*) 0 ;
30877 int arg3
= (int) 0 ;
30878 int arg4
= (int) 0 ;
30879 int arg5
= (int) 0 ;
30880 PyObject
*arg6
= (PyObject
*) NULL
;
30881 PyObject
* obj0
= 0 ;
30882 PyObject
* obj1
= 0 ;
30883 PyObject
* obj5
= 0 ;
30884 char *kwnames
[] = {
30885 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30888 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Add",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30889 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30896 wxSizer_Add(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30898 wxPyEndAllowThreads(__tstate
);
30899 if (PyErr_Occurred()) SWIG_fail
;
30901 Py_INCREF(Py_None
); resultobj
= Py_None
;
30908 static PyObject
*_wrap_Sizer_Insert(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30909 PyObject
*resultobj
;
30910 wxSizer
*arg1
= (wxSizer
*) 0 ;
30912 PyObject
*arg3
= (PyObject
*) 0 ;
30913 int arg4
= (int) 0 ;
30914 int arg5
= (int) 0 ;
30915 int arg6
= (int) 0 ;
30916 PyObject
*arg7
= (PyObject
*) NULL
;
30917 PyObject
* obj0
= 0 ;
30918 PyObject
* obj2
= 0 ;
30919 PyObject
* obj6
= 0 ;
30920 char *kwnames
[] = {
30921 (char *) "self",(char *) "before",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30924 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiO|iiiO:Sizer_Insert",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
,&obj6
)) goto fail
;
30925 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30932 wxSizer_Insert(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
,arg7
);
30934 wxPyEndAllowThreads(__tstate
);
30935 if (PyErr_Occurred()) SWIG_fail
;
30937 Py_INCREF(Py_None
); resultobj
= Py_None
;
30944 static PyObject
*_wrap_Sizer_Prepend(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30945 PyObject
*resultobj
;
30946 wxSizer
*arg1
= (wxSizer
*) 0 ;
30947 PyObject
*arg2
= (PyObject
*) 0 ;
30948 int arg3
= (int) 0 ;
30949 int arg4
= (int) 0 ;
30950 int arg5
= (int) 0 ;
30951 PyObject
*arg6
= (PyObject
*) NULL
;
30952 PyObject
* obj0
= 0 ;
30953 PyObject
* obj1
= 0 ;
30954 PyObject
* obj5
= 0 ;
30955 char *kwnames
[] = {
30956 (char *) "self",(char *) "item",(char *) "proportion",(char *) "flag",(char *) "border",(char *) "userData", NULL
30959 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|iiiO:Sizer_Prepend",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
,&arg5
,&obj5
)) goto fail
;
30960 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30967 wxSizer_Prepend(arg1
,arg2
,arg3
,arg4
,arg5
,arg6
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 Py_INCREF(Py_None
); resultobj
= Py_None
;
30979 static PyObject
*_wrap_Sizer_Remove(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
30980 PyObject
*resultobj
;
30981 wxSizer
*arg1
= (wxSizer
*) 0 ;
30982 PyObject
*arg2
= (PyObject
*) 0 ;
30984 PyObject
* obj0
= 0 ;
30985 PyObject
* obj1
= 0 ;
30986 char *kwnames
[] = {
30987 (char *) "self",(char *) "item", NULL
30990 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Remove",kwnames
,&obj0
,&obj1
)) goto fail
;
30991 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
30994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30995 result
= (bool)wxSizer_Remove(arg1
,arg2
);
30997 wxPyEndAllowThreads(__tstate
);
30998 if (PyErr_Occurred()) SWIG_fail
;
31000 resultobj
= PyInt_FromLong((long)result
);
31007 static PyObject
*_wrap_Sizer__SetItemMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31008 PyObject
*resultobj
;
31009 wxSizer
*arg1
= (wxSizer
*) 0 ;
31010 PyObject
*arg2
= (PyObject
*) 0 ;
31013 PyObject
* obj0
= 0 ;
31014 PyObject
* obj1
= 0 ;
31015 PyObject
* obj2
= 0 ;
31016 char *kwnames
[] = {
31017 (char *) "self",(char *) "item",(char *) "size", NULL
31020 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer__SetItemMinSize",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31021 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31025 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
31028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31029 wxSizer__SetItemMinSize(arg1
,arg2
,(wxSize
const &)*arg3
);
31031 wxPyEndAllowThreads(__tstate
);
31032 if (PyErr_Occurred()) SWIG_fail
;
31034 Py_INCREF(Py_None
); resultobj
= Py_None
;
31041 static PyObject
*_wrap_Sizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31042 PyObject
*resultobj
;
31043 wxSizer
*arg1
= (wxSizer
*) 0 ;
31044 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
31045 PyObject
* obj0
= 0 ;
31046 PyObject
* obj1
= 0 ;
31047 char *kwnames
[] = {
31048 (char *) "self",(char *) "item", NULL
31051 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31052 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31053 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31058 wxPyEndAllowThreads(__tstate
);
31059 if (PyErr_Occurred()) SWIG_fail
;
31061 Py_INCREF(Py_None
); resultobj
= Py_None
;
31068 static PyObject
*_wrap_Sizer_InsertItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31069 PyObject
*resultobj
;
31070 wxSizer
*arg1
= (wxSizer
*) 0 ;
31072 wxSizerItem
*arg3
= (wxSizerItem
*) 0 ;
31073 PyObject
* obj0
= 0 ;
31074 PyObject
* obj1
= 0 ;
31075 PyObject
* obj2
= 0 ;
31076 char *kwnames
[] = {
31077 (char *) "self",(char *) "index",(char *) "item", NULL
31080 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Sizer_InsertItem",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31081 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31082 arg2
= (size_t) PyInt_AsLong(obj1
);
31083 if (PyErr_Occurred()) SWIG_fail
;
31084 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31087 (arg1
)->Insert(arg2
,arg3
);
31089 wxPyEndAllowThreads(__tstate
);
31090 if (PyErr_Occurred()) SWIG_fail
;
31092 Py_INCREF(Py_None
); resultobj
= Py_None
;
31099 static PyObject
*_wrap_Sizer_PrependItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31100 PyObject
*resultobj
;
31101 wxSizer
*arg1
= (wxSizer
*) 0 ;
31102 wxSizerItem
*arg2
= (wxSizerItem
*) 0 ;
31103 PyObject
* obj0
= 0 ;
31104 PyObject
* obj1
= 0 ;
31105 char *kwnames
[] = {
31106 (char *) "self",(char *) "item", NULL
31109 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_PrependItem",kwnames
,&obj0
,&obj1
)) goto fail
;
31110 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31111 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31114 (arg1
)->Prepend(arg2
);
31116 wxPyEndAllowThreads(__tstate
);
31117 if (PyErr_Occurred()) SWIG_fail
;
31119 Py_INCREF(Py_None
); resultobj
= Py_None
;
31126 static PyObject
*_wrap_Sizer_SetDimension(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31127 PyObject
*resultobj
;
31128 wxSizer
*arg1
= (wxSizer
*) 0 ;
31133 PyObject
* obj0
= 0 ;
31134 char *kwnames
[] = {
31135 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
31138 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oiiii:Sizer_SetDimension",kwnames
,&obj0
,&arg2
,&arg3
,&arg4
,&arg5
)) goto fail
;
31139 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31142 (arg1
)->SetDimension(arg2
,arg3
,arg4
,arg5
);
31144 wxPyEndAllowThreads(__tstate
);
31145 if (PyErr_Occurred()) SWIG_fail
;
31147 Py_INCREF(Py_None
); resultobj
= Py_None
;
31154 static PyObject
*_wrap_Sizer_SetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31155 PyObject
*resultobj
;
31156 wxSizer
*arg1
= (wxSizer
*) 0 ;
31159 PyObject
* obj0
= 0 ;
31160 PyObject
* obj1
= 0 ;
31161 char *kwnames
[] = {
31162 (char *) "self",(char *) "size", NULL
31165 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetMinSize",kwnames
,&obj0
,&obj1
)) goto fail
;
31166 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31169 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
31172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31173 (arg1
)->SetMinSize((wxSize
const &)*arg2
);
31175 wxPyEndAllowThreads(__tstate
);
31176 if (PyErr_Occurred()) SWIG_fail
;
31178 Py_INCREF(Py_None
); resultobj
= Py_None
;
31185 static PyObject
*_wrap_Sizer_GetSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31186 PyObject
*resultobj
;
31187 wxSizer
*arg1
= (wxSizer
*) 0 ;
31189 PyObject
* obj0
= 0 ;
31190 char *kwnames
[] = {
31191 (char *) "self", NULL
31194 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetSize",kwnames
,&obj0
)) goto fail
;
31195 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31198 result
= (arg1
)->GetSize();
31200 wxPyEndAllowThreads(__tstate
);
31201 if (PyErr_Occurred()) SWIG_fail
;
31204 wxSize
* resultptr
;
31205 resultptr
= new wxSize((wxSize
&) result
);
31206 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31214 static PyObject
*_wrap_Sizer_GetPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31215 PyObject
*resultobj
;
31216 wxSizer
*arg1
= (wxSizer
*) 0 ;
31218 PyObject
* obj0
= 0 ;
31219 char *kwnames
[] = {
31220 (char *) "self", NULL
31223 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetPosition",kwnames
,&obj0
)) goto fail
;
31224 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31227 result
= (arg1
)->GetPosition();
31229 wxPyEndAllowThreads(__tstate
);
31230 if (PyErr_Occurred()) SWIG_fail
;
31233 wxPoint
* resultptr
;
31234 resultptr
= new wxPoint((wxPoint
&) result
);
31235 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxPoint
, 1);
31243 static PyObject
*_wrap_Sizer_GetMinSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31244 PyObject
*resultobj
;
31245 wxSizer
*arg1
= (wxSizer
*) 0 ;
31247 PyObject
* obj0
= 0 ;
31248 char *kwnames
[] = {
31249 (char *) "self", NULL
31252 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetMinSize",kwnames
,&obj0
)) goto fail
;
31253 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31256 result
= (arg1
)->GetMinSize();
31258 wxPyEndAllowThreads(__tstate
);
31259 if (PyErr_Occurred()) SWIG_fail
;
31262 wxSize
* resultptr
;
31263 resultptr
= new wxSize((wxSize
&) result
);
31264 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31272 static PyObject
*_wrap_Sizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31273 PyObject
*resultobj
;
31274 wxSizer
*arg1
= (wxSizer
*) 0 ;
31275 PyObject
* obj0
= 0 ;
31276 char *kwnames
[] = {
31277 (char *) "self", NULL
31280 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31281 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31284 (arg1
)->RecalcSizes();
31286 wxPyEndAllowThreads(__tstate
);
31287 if (PyErr_Occurred()) SWIG_fail
;
31289 Py_INCREF(Py_None
); resultobj
= Py_None
;
31296 static PyObject
*_wrap_Sizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31297 PyObject
*resultobj
;
31298 wxSizer
*arg1
= (wxSizer
*) 0 ;
31300 PyObject
* obj0
= 0 ;
31301 char *kwnames
[] = {
31302 (char *) "self", NULL
31305 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31306 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31309 result
= (arg1
)->CalcMin();
31311 wxPyEndAllowThreads(__tstate
);
31312 if (PyErr_Occurred()) SWIG_fail
;
31315 wxSize
* resultptr
;
31316 resultptr
= new wxSize((wxSize
&) result
);
31317 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31325 static PyObject
*_wrap_Sizer_Layout(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31326 PyObject
*resultobj
;
31327 wxSizer
*arg1
= (wxSizer
*) 0 ;
31328 PyObject
* obj0
= 0 ;
31329 char *kwnames
[] = {
31330 (char *) "self", NULL
31333 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_Layout",kwnames
,&obj0
)) goto fail
;
31334 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31339 wxPyEndAllowThreads(__tstate
);
31340 if (PyErr_Occurred()) SWIG_fail
;
31342 Py_INCREF(Py_None
); resultobj
= Py_None
;
31349 static PyObject
*_wrap_Sizer_Fit(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31350 PyObject
*resultobj
;
31351 wxSizer
*arg1
= (wxSizer
*) 0 ;
31352 wxWindow
*arg2
= (wxWindow
*) 0 ;
31354 PyObject
* obj0
= 0 ;
31355 PyObject
* obj1
= 0 ;
31356 char *kwnames
[] = {
31357 (char *) "self",(char *) "window", NULL
31360 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Fit",kwnames
,&obj0
,&obj1
)) goto fail
;
31361 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31362 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31365 result
= (arg1
)->Fit(arg2
);
31367 wxPyEndAllowThreads(__tstate
);
31368 if (PyErr_Occurred()) SWIG_fail
;
31371 wxSize
* resultptr
;
31372 resultptr
= new wxSize((wxSize
&) result
);
31373 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31381 static PyObject
*_wrap_Sizer_FitInside(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31382 PyObject
*resultobj
;
31383 wxSizer
*arg1
= (wxSizer
*) 0 ;
31384 wxWindow
*arg2
= (wxWindow
*) 0 ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 char *kwnames
[] = {
31388 (char *) "self",(char *) "window", NULL
31391 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_FitInside",kwnames
,&obj0
,&obj1
)) goto fail
;
31392 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31393 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31396 (arg1
)->FitInside(arg2
);
31398 wxPyEndAllowThreads(__tstate
);
31399 if (PyErr_Occurred()) SWIG_fail
;
31401 Py_INCREF(Py_None
); resultobj
= Py_None
;
31408 static PyObject
*_wrap_Sizer_SetSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31409 PyObject
*resultobj
;
31410 wxSizer
*arg1
= (wxSizer
*) 0 ;
31411 wxWindow
*arg2
= (wxWindow
*) 0 ;
31412 PyObject
* obj0
= 0 ;
31413 PyObject
* obj1
= 0 ;
31414 char *kwnames
[] = {
31415 (char *) "self",(char *) "window", NULL
31418 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
31419 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31420 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31423 (arg1
)->SetSizeHints(arg2
);
31425 wxPyEndAllowThreads(__tstate
);
31426 if (PyErr_Occurred()) SWIG_fail
;
31428 Py_INCREF(Py_None
); resultobj
= Py_None
;
31435 static PyObject
*_wrap_Sizer_SetVirtualSizeHints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31436 PyObject
*resultobj
;
31437 wxSizer
*arg1
= (wxSizer
*) 0 ;
31438 wxWindow
*arg2
= (wxWindow
*) 0 ;
31439 PyObject
* obj0
= 0 ;
31440 PyObject
* obj1
= 0 ;
31441 char *kwnames
[] = {
31442 (char *) "self",(char *) "window", NULL
31445 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_SetVirtualSizeHints",kwnames
,&obj0
,&obj1
)) goto fail
;
31446 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31447 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31450 (arg1
)->SetVirtualSizeHints(arg2
);
31452 wxPyEndAllowThreads(__tstate
);
31453 if (PyErr_Occurred()) SWIG_fail
;
31455 Py_INCREF(Py_None
); resultobj
= Py_None
;
31462 static PyObject
*_wrap_Sizer_Clear(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31463 PyObject
*resultobj
;
31464 wxSizer
*arg1
= (wxSizer
*) 0 ;
31465 bool arg2
= (bool) False
;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 char *kwnames
[] = {
31469 (char *) "self",(char *) "delete_windows", NULL
31472 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Sizer_Clear",kwnames
,&obj0
,&obj1
)) goto fail
;
31473 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31475 arg2
= PyInt_AsLong(obj1
) ? true : false;
31476 if (PyErr_Occurred()) SWIG_fail
;
31479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31480 (arg1
)->Clear(arg2
);
31482 wxPyEndAllowThreads(__tstate
);
31483 if (PyErr_Occurred()) SWIG_fail
;
31485 Py_INCREF(Py_None
); resultobj
= Py_None
;
31492 static PyObject
*_wrap_Sizer_DeleteWindows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31493 PyObject
*resultobj
;
31494 wxSizer
*arg1
= (wxSizer
*) 0 ;
31495 PyObject
* obj0
= 0 ;
31496 char *kwnames
[] = {
31497 (char *) "self", NULL
31500 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_DeleteWindows",kwnames
,&obj0
)) goto fail
;
31501 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31504 (arg1
)->DeleteWindows();
31506 wxPyEndAllowThreads(__tstate
);
31507 if (PyErr_Occurred()) SWIG_fail
;
31509 Py_INCREF(Py_None
); resultobj
= Py_None
;
31516 static PyObject
*_wrap_Sizer_GetChildren(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31517 PyObject
*resultobj
;
31518 wxSizer
*arg1
= (wxSizer
*) 0 ;
31520 PyObject
* obj0
= 0 ;
31521 char *kwnames
[] = {
31522 (char *) "self", NULL
31525 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:Sizer_GetChildren",kwnames
,&obj0
)) goto fail
;
31526 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31529 result
= (PyObject
*)wxSizer_GetChildren(arg1
);
31531 wxPyEndAllowThreads(__tstate
);
31532 if (PyErr_Occurred()) SWIG_fail
;
31534 resultobj
= result
;
31541 static PyObject
*_wrap_Sizer_Show(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31542 PyObject
*resultobj
;
31543 wxSizer
*arg1
= (wxSizer
*) 0 ;
31544 PyObject
*arg2
= (PyObject
*) 0 ;
31545 bool arg3
= (bool) True
;
31546 PyObject
* obj0
= 0 ;
31547 PyObject
* obj1
= 0 ;
31548 PyObject
* obj2
= 0 ;
31549 char *kwnames
[] = {
31550 (char *) "self",(char *) "item",(char *) "show", NULL
31553 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Sizer_Show",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31557 arg3
= PyInt_AsLong(obj2
) ? true : false;
31558 if (PyErr_Occurred()) SWIG_fail
;
31561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31562 wxSizer_Show(arg1
,arg2
,arg3
);
31564 wxPyEndAllowThreads(__tstate
);
31565 if (PyErr_Occurred()) SWIG_fail
;
31567 Py_INCREF(Py_None
); resultobj
= Py_None
;
31574 static PyObject
*_wrap_Sizer_Hide(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31575 PyObject
*resultobj
;
31576 wxSizer
*arg1
= (wxSizer
*) 0 ;
31577 PyObject
*arg2
= (PyObject
*) 0 ;
31578 PyObject
* obj0
= 0 ;
31579 PyObject
* obj1
= 0 ;
31580 char *kwnames
[] = {
31581 (char *) "self",(char *) "item", NULL
31584 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_Hide",kwnames
,&obj0
,&obj1
)) goto fail
;
31585 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31589 wxSizer_Hide(arg1
,arg2
);
31591 wxPyEndAllowThreads(__tstate
);
31592 if (PyErr_Occurred()) SWIG_fail
;
31594 Py_INCREF(Py_None
); resultobj
= Py_None
;
31601 static PyObject
*_wrap_Sizer_IsShown(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31602 PyObject
*resultobj
;
31603 wxSizer
*arg1
= (wxSizer
*) 0 ;
31604 PyObject
*arg2
= (PyObject
*) 0 ;
31606 PyObject
* obj0
= 0 ;
31607 PyObject
* obj1
= 0 ;
31608 char *kwnames
[] = {
31609 (char *) "self",(char *) "item", NULL
31612 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_IsShown",kwnames
,&obj0
,&obj1
)) goto fail
;
31613 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31617 result
= (bool)wxSizer_IsShown(arg1
,arg2
);
31619 wxPyEndAllowThreads(__tstate
);
31620 if (PyErr_Occurred()) SWIG_fail
;
31622 resultobj
= PyInt_FromLong((long)result
);
31629 static PyObject
*_wrap_Sizer_ShowItems(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31630 PyObject
*resultobj
;
31631 wxSizer
*arg1
= (wxSizer
*) 0 ;
31633 PyObject
* obj0
= 0 ;
31634 PyObject
* obj1
= 0 ;
31635 char *kwnames
[] = {
31636 (char *) "self",(char *) "show", NULL
31639 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Sizer_ShowItems",kwnames
,&obj0
,&obj1
)) goto fail
;
31640 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31641 arg2
= PyInt_AsLong(obj1
) ? true : false;
31642 if (PyErr_Occurred()) SWIG_fail
;
31644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31645 (arg1
)->ShowItems(arg2
);
31647 wxPyEndAllowThreads(__tstate
);
31648 if (PyErr_Occurred()) SWIG_fail
;
31650 Py_INCREF(Py_None
); resultobj
= Py_None
;
31657 static PyObject
* Sizer_swigregister(PyObject
*self
, PyObject
*args
) {
31659 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31660 SWIG_TypeClientData(SWIGTYPE_p_wxSizer
, obj
);
31662 return Py_BuildValue((char *)"");
31664 static PyObject
*_wrap_new_PySizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31665 PyObject
*resultobj
;
31667 char *kwnames
[] = {
31671 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_PySizer",kwnames
)) goto fail
;
31673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31674 result
= (wxPySizer
*)new wxPySizer();
31676 wxPyEndAllowThreads(__tstate
);
31677 if (PyErr_Occurred()) SWIG_fail
;
31679 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxPySizer
, 1);
31686 static PyObject
*_wrap_PySizer__setCallbackInfo(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31687 PyObject
*resultobj
;
31688 wxPySizer
*arg1
= (wxPySizer
*) 0 ;
31689 PyObject
*arg2
= (PyObject
*) 0 ;
31690 PyObject
*arg3
= (PyObject
*) 0 ;
31691 PyObject
* obj0
= 0 ;
31692 PyObject
* obj1
= 0 ;
31693 PyObject
* obj2
= 0 ;
31694 char *kwnames
[] = {
31695 (char *) "self",(char *) "self",(char *) "_class", NULL
31698 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PySizer__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
31699 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxPySizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31704 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31706 wxPyEndAllowThreads(__tstate
);
31707 if (PyErr_Occurred()) SWIG_fail
;
31709 Py_INCREF(Py_None
); resultobj
= Py_None
;
31716 static PyObject
* PySizer_swigregister(PyObject
*self
, PyObject
*args
) {
31718 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31719 SWIG_TypeClientData(SWIGTYPE_p_wxPySizer
, obj
);
31721 return Py_BuildValue((char *)"");
31723 static PyObject
*_wrap_new_BoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31724 PyObject
*resultobj
;
31725 int arg1
= (int) wxHORIZONTAL
;
31726 wxBoxSizer
*result
;
31727 char *kwnames
[] = {
31728 (char *) "orient", NULL
31731 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|i:new_BoxSizer",kwnames
,&arg1
)) goto fail
;
31733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31734 result
= (wxBoxSizer
*)new wxBoxSizer(arg1
);
31736 wxPyEndAllowThreads(__tstate
);
31737 if (PyErr_Occurred()) SWIG_fail
;
31739 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxBoxSizer
, 1);
31746 static PyObject
*_wrap_BoxSizer_GetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31747 PyObject
*resultobj
;
31748 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31750 PyObject
* obj0
= 0 ;
31751 char *kwnames
[] = {
31752 (char *) "self", NULL
31755 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_GetOrientation",kwnames
,&obj0
)) goto fail
;
31756 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31758 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31759 result
= (int)(arg1
)->GetOrientation();
31761 wxPyEndAllowThreads(__tstate
);
31762 if (PyErr_Occurred()) SWIG_fail
;
31764 resultobj
= PyInt_FromLong((long)result
);
31771 static PyObject
*_wrap_BoxSizer_SetOrientation(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31772 PyObject
*resultobj
;
31773 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31775 PyObject
* obj0
= 0 ;
31776 char *kwnames
[] = {
31777 (char *) "self",(char *) "orient", NULL
31780 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:BoxSizer_SetOrientation",kwnames
,&obj0
,&arg2
)) goto fail
;
31781 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31784 (arg1
)->SetOrientation(arg2
);
31786 wxPyEndAllowThreads(__tstate
);
31787 if (PyErr_Occurred()) SWIG_fail
;
31789 Py_INCREF(Py_None
); resultobj
= Py_None
;
31796 static PyObject
*_wrap_BoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31797 PyObject
*resultobj
;
31798 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31799 PyObject
* obj0
= 0 ;
31800 char *kwnames
[] = {
31801 (char *) "self", NULL
31804 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31805 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31808 (arg1
)->RecalcSizes();
31810 wxPyEndAllowThreads(__tstate
);
31811 if (PyErr_Occurred()) SWIG_fail
;
31813 Py_INCREF(Py_None
); resultobj
= Py_None
;
31820 static PyObject
*_wrap_BoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31821 PyObject
*resultobj
;
31822 wxBoxSizer
*arg1
= (wxBoxSizer
*) 0 ;
31824 PyObject
* obj0
= 0 ;
31825 char *kwnames
[] = {
31826 (char *) "self", NULL
31829 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:BoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31830 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31833 result
= (arg1
)->CalcMin();
31835 wxPyEndAllowThreads(__tstate
);
31836 if (PyErr_Occurred()) SWIG_fail
;
31839 wxSize
* resultptr
;
31840 resultptr
= new wxSize((wxSize
&) result
);
31841 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31849 static PyObject
* BoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31851 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31852 SWIG_TypeClientData(SWIGTYPE_p_wxBoxSizer
, obj
);
31854 return Py_BuildValue((char *)"");
31856 static PyObject
*_wrap_new_StaticBoxSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31857 PyObject
*resultobj
;
31858 wxStaticBox
*arg1
= (wxStaticBox
*) 0 ;
31859 int arg2
= (int) wxHORIZONTAL
;
31860 wxStaticBoxSizer
*result
;
31861 PyObject
* obj0
= 0 ;
31862 char *kwnames
[] = {
31863 (char *) "box",(char *) "orient", NULL
31866 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|i:new_StaticBoxSizer",kwnames
,&obj0
,&arg2
)) goto fail
;
31867 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBox
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31870 result
= (wxStaticBoxSizer
*)new wxStaticBoxSizer(arg1
,arg2
);
31872 wxPyEndAllowThreads(__tstate
);
31873 if (PyErr_Occurred()) SWIG_fail
;
31875 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxStaticBoxSizer
, 1);
31882 static PyObject
*_wrap_StaticBoxSizer_GetStaticBox(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31883 PyObject
*resultobj
;
31884 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31885 wxStaticBox
*result
;
31886 PyObject
* obj0
= 0 ;
31887 char *kwnames
[] = {
31888 (char *) "self", NULL
31891 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_GetStaticBox",kwnames
,&obj0
)) goto fail
;
31892 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31894 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31895 result
= (wxStaticBox
*)(arg1
)->GetStaticBox();
31897 wxPyEndAllowThreads(__tstate
);
31898 if (PyErr_Occurred()) SWIG_fail
;
31901 resultobj
= wxPyMake_wxObject(result
);
31909 static PyObject
*_wrap_StaticBoxSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31910 PyObject
*resultobj
;
31911 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31912 PyObject
* obj0
= 0 ;
31913 char *kwnames
[] = {
31914 (char *) "self", NULL
31917 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
31918 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31921 (arg1
)->RecalcSizes();
31923 wxPyEndAllowThreads(__tstate
);
31924 if (PyErr_Occurred()) SWIG_fail
;
31926 Py_INCREF(Py_None
); resultobj
= Py_None
;
31933 static PyObject
*_wrap_StaticBoxSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31934 PyObject
*resultobj
;
31935 wxStaticBoxSizer
*arg1
= (wxStaticBoxSizer
*) 0 ;
31937 PyObject
* obj0
= 0 ;
31938 char *kwnames
[] = {
31939 (char *) "self", NULL
31942 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:StaticBoxSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
31943 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxStaticBoxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
31945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31946 result
= (arg1
)->CalcMin();
31948 wxPyEndAllowThreads(__tstate
);
31949 if (PyErr_Occurred()) SWIG_fail
;
31952 wxSize
* resultptr
;
31953 resultptr
= new wxSize((wxSize
&) result
);
31954 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
31962 static PyObject
* StaticBoxSizer_swigregister(PyObject
*self
, PyObject
*args
) {
31964 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
31965 SWIG_TypeClientData(SWIGTYPE_p_wxStaticBoxSizer
, obj
);
31967 return Py_BuildValue((char *)"");
31969 static PyObject
*_wrap_new_GridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31970 PyObject
*resultobj
;
31971 int arg1
= (int) 1 ;
31972 int arg2
= (int) 0 ;
31973 int arg3
= (int) 0 ;
31974 int arg4
= (int) 0 ;
31975 wxGridSizer
*result
;
31976 char *kwnames
[] = {
31977 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
31980 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_GridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
31982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31983 result
= (wxGridSizer
*)new wxGridSizer(arg1
,arg2
,arg3
,arg4
);
31985 wxPyEndAllowThreads(__tstate
);
31986 if (PyErr_Occurred()) SWIG_fail
;
31988 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridSizer
, 1);
31995 static PyObject
*_wrap_GridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
31996 PyObject
*resultobj
;
31997 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
31998 PyObject
* obj0
= 0 ;
31999 char *kwnames
[] = {
32000 (char *) "self", NULL
32003 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
32004 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32007 (arg1
)->RecalcSizes();
32009 wxPyEndAllowThreads(__tstate
);
32010 if (PyErr_Occurred()) SWIG_fail
;
32012 Py_INCREF(Py_None
); resultobj
= Py_None
;
32019 static PyObject
*_wrap_GridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32020 PyObject
*resultobj
;
32021 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32023 PyObject
* obj0
= 0 ;
32024 char *kwnames
[] = {
32025 (char *) "self", NULL
32028 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
32029 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32032 result
= (arg1
)->CalcMin();
32034 wxPyEndAllowThreads(__tstate
);
32035 if (PyErr_Occurred()) SWIG_fail
;
32038 wxSize
* resultptr
;
32039 resultptr
= new wxSize((wxSize
&) result
);
32040 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32048 static PyObject
*_wrap_GridSizer_SetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32049 PyObject
*resultobj
;
32050 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32052 PyObject
* obj0
= 0 ;
32053 char *kwnames
[] = {
32054 (char *) "self",(char *) "cols", NULL
32057 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetCols",kwnames
,&obj0
,&arg2
)) goto fail
;
32058 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32061 (arg1
)->SetCols(arg2
);
32063 wxPyEndAllowThreads(__tstate
);
32064 if (PyErr_Occurred()) SWIG_fail
;
32066 Py_INCREF(Py_None
); resultobj
= Py_None
;
32073 static PyObject
*_wrap_GridSizer_SetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32074 PyObject
*resultobj
;
32075 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32077 PyObject
* obj0
= 0 ;
32078 char *kwnames
[] = {
32079 (char *) "self",(char *) "rows", NULL
32082 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetRows",kwnames
,&obj0
,&arg2
)) goto fail
;
32083 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32086 (arg1
)->SetRows(arg2
);
32088 wxPyEndAllowThreads(__tstate
);
32089 if (PyErr_Occurred()) SWIG_fail
;
32091 Py_INCREF(Py_None
); resultobj
= Py_None
;
32098 static PyObject
*_wrap_GridSizer_SetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32099 PyObject
*resultobj
;
32100 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32102 PyObject
* obj0
= 0 ;
32103 char *kwnames
[] = {
32104 (char *) "self",(char *) "gap", NULL
32107 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetVGap",kwnames
,&obj0
,&arg2
)) goto fail
;
32108 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32111 (arg1
)->SetVGap(arg2
);
32113 wxPyEndAllowThreads(__tstate
);
32114 if (PyErr_Occurred()) SWIG_fail
;
32116 Py_INCREF(Py_None
); resultobj
= Py_None
;
32123 static PyObject
*_wrap_GridSizer_SetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32124 PyObject
*resultobj
;
32125 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32127 PyObject
* obj0
= 0 ;
32128 char *kwnames
[] = {
32129 (char *) "self",(char *) "gap", NULL
32132 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GridSizer_SetHGap",kwnames
,&obj0
,&arg2
)) goto fail
;
32133 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32136 (arg1
)->SetHGap(arg2
);
32138 wxPyEndAllowThreads(__tstate
);
32139 if (PyErr_Occurred()) SWIG_fail
;
32141 Py_INCREF(Py_None
); resultobj
= Py_None
;
32148 static PyObject
*_wrap_GridSizer_GetCols(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32149 PyObject
*resultobj
;
32150 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32152 PyObject
* obj0
= 0 ;
32153 char *kwnames
[] = {
32154 (char *) "self", NULL
32157 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetCols",kwnames
,&obj0
)) goto fail
;
32158 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32160 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32161 result
= (int)(arg1
)->GetCols();
32163 wxPyEndAllowThreads(__tstate
);
32164 if (PyErr_Occurred()) SWIG_fail
;
32166 resultobj
= PyInt_FromLong((long)result
);
32173 static PyObject
*_wrap_GridSizer_GetRows(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32174 PyObject
*resultobj
;
32175 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32177 PyObject
* obj0
= 0 ;
32178 char *kwnames
[] = {
32179 (char *) "self", NULL
32182 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetRows",kwnames
,&obj0
)) goto fail
;
32183 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32186 result
= (int)(arg1
)->GetRows();
32188 wxPyEndAllowThreads(__tstate
);
32189 if (PyErr_Occurred()) SWIG_fail
;
32191 resultobj
= PyInt_FromLong((long)result
);
32198 static PyObject
*_wrap_GridSizer_GetVGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32199 PyObject
*resultobj
;
32200 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32202 PyObject
* obj0
= 0 ;
32203 char *kwnames
[] = {
32204 (char *) "self", NULL
32207 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetVGap",kwnames
,&obj0
)) goto fail
;
32208 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32211 result
= (int)(arg1
)->GetVGap();
32213 wxPyEndAllowThreads(__tstate
);
32214 if (PyErr_Occurred()) SWIG_fail
;
32216 resultobj
= PyInt_FromLong((long)result
);
32223 static PyObject
*_wrap_GridSizer_GetHGap(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32224 PyObject
*resultobj
;
32225 wxGridSizer
*arg1
= (wxGridSizer
*) 0 ;
32227 PyObject
* obj0
= 0 ;
32228 char *kwnames
[] = {
32229 (char *) "self", NULL
32232 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridSizer_GetHGap",kwnames
,&obj0
)) goto fail
;
32233 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32236 result
= (int)(arg1
)->GetHGap();
32238 wxPyEndAllowThreads(__tstate
);
32239 if (PyErr_Occurred()) SWIG_fail
;
32241 resultobj
= PyInt_FromLong((long)result
);
32248 static PyObject
* GridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32250 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32251 SWIG_TypeClientData(SWIGTYPE_p_wxGridSizer
, obj
);
32253 return Py_BuildValue((char *)"");
32255 static PyObject
*_wrap_new_FlexGridSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32256 PyObject
*resultobj
;
32257 int arg1
= (int) 1 ;
32258 int arg2
= (int) 0 ;
32259 int arg3
= (int) 0 ;
32260 int arg4
= (int) 0 ;
32261 wxFlexGridSizer
*result
;
32262 char *kwnames
[] = {
32263 (char *) "rows",(char *) "cols",(char *) "vgap",(char *) "hgap", NULL
32266 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|iiii:new_FlexGridSizer",kwnames
,&arg1
,&arg2
,&arg3
,&arg4
)) goto fail
;
32268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32269 result
= (wxFlexGridSizer
*)new wxFlexGridSizer(arg1
,arg2
,arg3
,arg4
);
32271 wxPyEndAllowThreads(__tstate
);
32272 if (PyErr_Occurred()) SWIG_fail
;
32274 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxFlexGridSizer
, 1);
32281 static PyObject
*_wrap_FlexGridSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32282 PyObject
*resultobj
;
32283 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32284 PyObject
* obj0
= 0 ;
32285 char *kwnames
[] = {
32286 (char *) "self", NULL
32289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
32290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32293 (arg1
)->RecalcSizes();
32295 wxPyEndAllowThreads(__tstate
);
32296 if (PyErr_Occurred()) SWIG_fail
;
32298 Py_INCREF(Py_None
); resultobj
= Py_None
;
32305 static PyObject
*_wrap_FlexGridSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32306 PyObject
*resultobj
;
32307 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32309 PyObject
* obj0
= 0 ;
32310 char *kwnames
[] = {
32311 (char *) "self", NULL
32314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
32315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32318 result
= (arg1
)->CalcMin();
32320 wxPyEndAllowThreads(__tstate
);
32321 if (PyErr_Occurred()) SWIG_fail
;
32324 wxSize
* resultptr
;
32325 resultptr
= new wxSize((wxSize
&) result
);
32326 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
32334 static PyObject
*_wrap_FlexGridSizer_AddGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32335 PyObject
*resultobj
;
32336 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32338 int arg3
= (int) 0 ;
32339 PyObject
* obj0
= 0 ;
32340 PyObject
* obj1
= 0 ;
32341 char *kwnames
[] = {
32342 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32345 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableRow",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
32346 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32347 arg2
= (size_t) PyInt_AsLong(obj1
);
32348 if (PyErr_Occurred()) SWIG_fail
;
32350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32351 (arg1
)->AddGrowableRow(arg2
,arg3
);
32353 wxPyEndAllowThreads(__tstate
);
32354 if (PyErr_Occurred()) SWIG_fail
;
32356 Py_INCREF(Py_None
); resultobj
= Py_None
;
32363 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32364 PyObject
*resultobj
;
32365 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32367 PyObject
* obj0
= 0 ;
32368 PyObject
* obj1
= 0 ;
32369 char *kwnames
[] = {
32370 (char *) "self",(char *) "idx", NULL
32373 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableRow",kwnames
,&obj0
,&obj1
)) goto fail
;
32374 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32375 arg2
= (size_t) PyInt_AsLong(obj1
);
32376 if (PyErr_Occurred()) SWIG_fail
;
32378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32379 (arg1
)->RemoveGrowableRow(arg2
);
32381 wxPyEndAllowThreads(__tstate
);
32382 if (PyErr_Occurred()) SWIG_fail
;
32384 Py_INCREF(Py_None
); resultobj
= Py_None
;
32391 static PyObject
*_wrap_FlexGridSizer_AddGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32392 PyObject
*resultobj
;
32393 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32395 int arg3
= (int) 0 ;
32396 PyObject
* obj0
= 0 ;
32397 PyObject
* obj1
= 0 ;
32398 char *kwnames
[] = {
32399 (char *) "self",(char *) "idx",(char *) "proportion", NULL
32402 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:FlexGridSizer_AddGrowableCol",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
32403 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32404 arg2
= (size_t) PyInt_AsLong(obj1
);
32405 if (PyErr_Occurred()) SWIG_fail
;
32407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32408 (arg1
)->AddGrowableCol(arg2
,arg3
);
32410 wxPyEndAllowThreads(__tstate
);
32411 if (PyErr_Occurred()) SWIG_fail
;
32413 Py_INCREF(Py_None
); resultobj
= Py_None
;
32420 static PyObject
*_wrap_FlexGridSizer_RemoveGrowableCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32421 PyObject
*resultobj
;
32422 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32424 PyObject
* obj0
= 0 ;
32425 PyObject
* obj1
= 0 ;
32426 char *kwnames
[] = {
32427 (char *) "self",(char *) "idx", NULL
32430 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FlexGridSizer_RemoveGrowableCol",kwnames
,&obj0
,&obj1
)) goto fail
;
32431 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32432 arg2
= (size_t) PyInt_AsLong(obj1
);
32433 if (PyErr_Occurred()) SWIG_fail
;
32435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32436 (arg1
)->RemoveGrowableCol(arg2
);
32438 wxPyEndAllowThreads(__tstate
);
32439 if (PyErr_Occurred()) SWIG_fail
;
32441 Py_INCREF(Py_None
); resultobj
= Py_None
;
32448 static PyObject
*_wrap_FlexGridSizer_SetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32449 PyObject
*resultobj
;
32450 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32452 PyObject
* obj0
= 0 ;
32453 char *kwnames
[] = {
32454 (char *) "self",(char *) "direction", NULL
32457 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetFlexibleDirection",kwnames
,&obj0
,&arg2
)) goto fail
;
32458 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32461 (arg1
)->SetFlexibleDirection(arg2
);
32463 wxPyEndAllowThreads(__tstate
);
32464 if (PyErr_Occurred()) SWIG_fail
;
32466 Py_INCREF(Py_None
); resultobj
= Py_None
;
32473 static PyObject
*_wrap_FlexGridSizer_GetFlexibleDirection(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32474 PyObject
*resultobj
;
32475 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32477 PyObject
* obj0
= 0 ;
32478 char *kwnames
[] = {
32479 (char *) "self", NULL
32482 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetFlexibleDirection",kwnames
,&obj0
)) goto fail
;
32483 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32486 result
= (int)(arg1
)->GetFlexibleDirection();
32488 wxPyEndAllowThreads(__tstate
);
32489 if (PyErr_Occurred()) SWIG_fail
;
32491 resultobj
= PyInt_FromLong((long)result
);
32498 static PyObject
*_wrap_FlexGridSizer_SetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32499 PyObject
*resultobj
;
32500 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32502 PyObject
* obj0
= 0 ;
32503 char *kwnames
[] = {
32504 (char *) "self",(char *) "mode", NULL
32507 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:FlexGridSizer_SetNonFlexibleGrowMode",kwnames
,&obj0
,&arg2
)) goto fail
;
32508 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32511 (arg1
)->SetNonFlexibleGrowMode((wxFlexSizerGrowMode
)arg2
);
32513 wxPyEndAllowThreads(__tstate
);
32514 if (PyErr_Occurred()) SWIG_fail
;
32516 Py_INCREF(Py_None
); resultobj
= Py_None
;
32523 static PyObject
*_wrap_FlexGridSizer_GetNonFlexibleGrowMode(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32524 PyObject
*resultobj
;
32525 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32527 PyObject
* obj0
= 0 ;
32528 char *kwnames
[] = {
32529 (char *) "self", NULL
32532 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetNonFlexibleGrowMode",kwnames
,&obj0
)) goto fail
;
32533 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32536 result
= (int)(arg1
)->GetNonFlexibleGrowMode();
32538 wxPyEndAllowThreads(__tstate
);
32539 if (PyErr_Occurred()) SWIG_fail
;
32541 resultobj
= PyInt_FromLong((long)result
);
32548 static PyObject
*_wrap_FlexGridSizer_GetRowHeights(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32549 PyObject
*resultobj
;
32550 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32551 wxArrayInt
*result
;
32552 PyObject
* obj0
= 0 ;
32553 char *kwnames
[] = {
32554 (char *) "self", NULL
32557 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetRowHeights",kwnames
,&obj0
)) goto fail
;
32558 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32562 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetRowHeights();
32563 result
= (wxArrayInt
*) &_result_ref
;
32566 wxPyEndAllowThreads(__tstate
);
32567 if (PyErr_Occurred()) SWIG_fail
;
32570 resultobj
= PyList_New(0);
32572 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32573 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32574 PyList_Append(resultobj
, val
);
32584 static PyObject
*_wrap_FlexGridSizer_GetColWidths(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32585 PyObject
*resultobj
;
32586 wxFlexGridSizer
*arg1
= (wxFlexGridSizer
*) 0 ;
32587 wxArrayInt
*result
;
32588 PyObject
* obj0
= 0 ;
32589 char *kwnames
[] = {
32590 (char *) "self", NULL
32593 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:FlexGridSizer_GetColWidths",kwnames
,&obj0
)) goto fail
;
32594 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxFlexGridSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32598 wxArrayInt
const &_result_ref
= ((wxFlexGridSizer
const *)arg1
)->GetColWidths();
32599 result
= (wxArrayInt
*) &_result_ref
;
32602 wxPyEndAllowThreads(__tstate
);
32603 if (PyErr_Occurred()) SWIG_fail
;
32606 resultobj
= PyList_New(0);
32608 for (idx
= 0; idx
< result
->GetCount(); idx
+= 1) {
32609 PyObject
* val
= PyInt_FromLong( result
->Item(idx
) );
32610 PyList_Append(resultobj
, val
);
32620 static PyObject
* FlexGridSizer_swigregister(PyObject
*self
, PyObject
*args
) {
32622 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32623 SWIG_TypeClientData(SWIGTYPE_p_wxFlexGridSizer
, obj
);
32625 return Py_BuildValue((char *)"");
32627 static PyObject
*_wrap_new_GBPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32628 PyObject
*resultobj
;
32629 int arg1
= (int) 0 ;
32630 int arg2
= (int) 0 ;
32631 wxGBPosition
*result
;
32632 char *kwnames
[] = {
32633 (char *) "row",(char *) "col", NULL
32636 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBPosition",kwnames
,&arg1
,&arg2
)) goto fail
;
32638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32639 result
= (wxGBPosition
*)new wxGBPosition(arg1
,arg2
);
32641 wxPyEndAllowThreads(__tstate
);
32642 if (PyErr_Occurred()) SWIG_fail
;
32644 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBPosition
, 1);
32651 static PyObject
*_wrap_GBPosition_GetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32652 PyObject
*resultobj
;
32653 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32655 PyObject
* obj0
= 0 ;
32656 char *kwnames
[] = {
32657 (char *) "self", NULL
32660 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetRow",kwnames
,&obj0
)) goto fail
;
32661 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32664 result
= (int)((wxGBPosition
const *)arg1
)->GetRow();
32666 wxPyEndAllowThreads(__tstate
);
32667 if (PyErr_Occurred()) SWIG_fail
;
32669 resultobj
= PyInt_FromLong((long)result
);
32676 static PyObject
*_wrap_GBPosition_GetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32677 PyObject
*resultobj
;
32678 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32680 PyObject
* obj0
= 0 ;
32681 char *kwnames
[] = {
32682 (char *) "self", NULL
32685 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_GetCol",kwnames
,&obj0
)) goto fail
;
32686 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32689 result
= (int)((wxGBPosition
const *)arg1
)->GetCol();
32691 wxPyEndAllowThreads(__tstate
);
32692 if (PyErr_Occurred()) SWIG_fail
;
32694 resultobj
= PyInt_FromLong((long)result
);
32701 static PyObject
*_wrap_GBPosition_SetRow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32702 PyObject
*resultobj
;
32703 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32705 PyObject
* obj0
= 0 ;
32706 char *kwnames
[] = {
32707 (char *) "self",(char *) "row", NULL
32710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetRow",kwnames
,&obj0
,&arg2
)) goto fail
;
32711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32714 (arg1
)->SetRow(arg2
);
32716 wxPyEndAllowThreads(__tstate
);
32717 if (PyErr_Occurred()) SWIG_fail
;
32719 Py_INCREF(Py_None
); resultobj
= Py_None
;
32726 static PyObject
*_wrap_GBPosition_SetCol(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32727 PyObject
*resultobj
;
32728 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32730 PyObject
* obj0
= 0 ;
32731 char *kwnames
[] = {
32732 (char *) "self",(char *) "col", NULL
32735 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBPosition_SetCol",kwnames
,&obj0
,&arg2
)) goto fail
;
32736 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32739 (arg1
)->SetCol(arg2
);
32741 wxPyEndAllowThreads(__tstate
);
32742 if (PyErr_Occurred()) SWIG_fail
;
32744 Py_INCREF(Py_None
); resultobj
= Py_None
;
32751 static PyObject
*_wrap_GBPosition___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32752 PyObject
*resultobj
;
32753 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32754 wxGBPosition
*arg2
= 0 ;
32756 wxGBPosition temp2
;
32757 PyObject
* obj0
= 0 ;
32758 PyObject
* obj1
= 0 ;
32759 char *kwnames
[] = {
32760 (char *) "self",(char *) "p", NULL
32763 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
32764 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32767 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32771 result
= (bool)((wxGBPosition
const *)arg1
)->operator ==((wxGBPosition
const &)*arg2
);
32773 wxPyEndAllowThreads(__tstate
);
32774 if (PyErr_Occurred()) SWIG_fail
;
32776 resultobj
= PyInt_FromLong((long)result
);
32783 static PyObject
*_wrap_GBPosition___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32784 PyObject
*resultobj
;
32785 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32786 wxGBPosition
*arg2
= 0 ;
32788 wxGBPosition temp2
;
32789 PyObject
* obj0
= 0 ;
32790 PyObject
* obj1
= 0 ;
32791 char *kwnames
[] = {
32792 (char *) "self",(char *) "p", NULL
32795 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBPosition___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
32796 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32799 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
32802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32803 result
= (bool)((wxGBPosition
const *)arg1
)->operator !=((wxGBPosition
const &)*arg2
);
32805 wxPyEndAllowThreads(__tstate
);
32806 if (PyErr_Occurred()) SWIG_fail
;
32808 resultobj
= PyInt_FromLong((long)result
);
32815 static PyObject
*_wrap_GBPosition_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32816 PyObject
*resultobj
;
32817 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32818 int arg2
= (int) 0 ;
32819 int arg3
= (int) 0 ;
32820 PyObject
* obj0
= 0 ;
32821 char *kwnames
[] = {
32822 (char *) "self",(char *) "row",(char *) "col", NULL
32825 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBPosition_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
32826 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32828 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32829 wxGBPosition_Set(arg1
,arg2
,arg3
);
32831 wxPyEndAllowThreads(__tstate
);
32832 if (PyErr_Occurred()) SWIG_fail
;
32834 Py_INCREF(Py_None
); resultobj
= Py_None
;
32841 static PyObject
*_wrap_GBPosition_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32842 PyObject
*resultobj
;
32843 wxGBPosition
*arg1
= (wxGBPosition
*) 0 ;
32845 PyObject
* obj0
= 0 ;
32846 char *kwnames
[] = {
32847 (char *) "self", NULL
32850 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBPosition_Get",kwnames
,&obj0
)) goto fail
;
32851 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBPosition
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32853 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32854 result
= (PyObject
*)wxGBPosition_Get(arg1
);
32856 wxPyEndAllowThreads(__tstate
);
32857 if (PyErr_Occurred()) SWIG_fail
;
32859 resultobj
= result
;
32866 static PyObject
* GBPosition_swigregister(PyObject
*self
, PyObject
*args
) {
32868 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
32869 SWIG_TypeClientData(SWIGTYPE_p_wxGBPosition
, obj
);
32871 return Py_BuildValue((char *)"");
32873 static PyObject
*_wrap_new_GBSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32874 PyObject
*resultobj
;
32875 int arg1
= (int) 1 ;
32876 int arg2
= (int) 1 ;
32878 char *kwnames
[] = {
32879 (char *) "rowspan",(char *) "colspan", NULL
32882 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GBSpan",kwnames
,&arg1
,&arg2
)) goto fail
;
32884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32885 result
= (wxGBSpan
*)new wxGBSpan(arg1
,arg2
);
32887 wxPyEndAllowThreads(__tstate
);
32888 if (PyErr_Occurred()) SWIG_fail
;
32890 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSpan
, 1);
32897 static PyObject
*_wrap_GBSpan_GetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32898 PyObject
*resultobj
;
32899 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32901 PyObject
* obj0
= 0 ;
32902 char *kwnames
[] = {
32903 (char *) "self", NULL
32906 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetRowspan",kwnames
,&obj0
)) goto fail
;
32907 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32910 result
= (int)((wxGBSpan
const *)arg1
)->GetRowspan();
32912 wxPyEndAllowThreads(__tstate
);
32913 if (PyErr_Occurred()) SWIG_fail
;
32915 resultobj
= PyInt_FromLong((long)result
);
32922 static PyObject
*_wrap_GBSpan_GetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32923 PyObject
*resultobj
;
32924 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32926 PyObject
* obj0
= 0 ;
32927 char *kwnames
[] = {
32928 (char *) "self", NULL
32931 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_GetColspan",kwnames
,&obj0
)) goto fail
;
32932 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32935 result
= (int)((wxGBSpan
const *)arg1
)->GetColspan();
32937 wxPyEndAllowThreads(__tstate
);
32938 if (PyErr_Occurred()) SWIG_fail
;
32940 resultobj
= PyInt_FromLong((long)result
);
32947 static PyObject
*_wrap_GBSpan_SetRowspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32948 PyObject
*resultobj
;
32949 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32951 PyObject
* obj0
= 0 ;
32952 char *kwnames
[] = {
32953 (char *) "self",(char *) "rowspan", NULL
32956 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetRowspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32957 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32960 (arg1
)->SetRowspan(arg2
);
32962 wxPyEndAllowThreads(__tstate
);
32963 if (PyErr_Occurred()) SWIG_fail
;
32965 Py_INCREF(Py_None
); resultobj
= Py_None
;
32972 static PyObject
*_wrap_GBSpan_SetColspan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32973 PyObject
*resultobj
;
32974 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
32976 PyObject
* obj0
= 0 ;
32977 char *kwnames
[] = {
32978 (char *) "self",(char *) "colspan", NULL
32981 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:GBSpan_SetColspan",kwnames
,&obj0
,&arg2
)) goto fail
;
32982 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
32984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
32985 (arg1
)->SetColspan(arg2
);
32987 wxPyEndAllowThreads(__tstate
);
32988 if (PyErr_Occurred()) SWIG_fail
;
32990 Py_INCREF(Py_None
); resultobj
= Py_None
;
32997 static PyObject
*_wrap_GBSpan___eq__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
32998 PyObject
*resultobj
;
32999 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33000 wxGBSpan
*arg2
= 0 ;
33003 PyObject
* obj0
= 0 ;
33004 PyObject
* obj1
= 0 ;
33005 char *kwnames
[] = {
33006 (char *) "self",(char *) "o", NULL
33009 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___eq__",kwnames
,&obj0
,&obj1
)) goto fail
;
33010 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33013 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
33016 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33017 result
= (bool)((wxGBSpan
const *)arg1
)->operator ==((wxGBSpan
const &)*arg2
);
33019 wxPyEndAllowThreads(__tstate
);
33020 if (PyErr_Occurred()) SWIG_fail
;
33022 resultobj
= PyInt_FromLong((long)result
);
33029 static PyObject
*_wrap_GBSpan___ne__(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33030 PyObject
*resultobj
;
33031 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33032 wxGBSpan
*arg2
= 0 ;
33035 PyObject
* obj0
= 0 ;
33036 PyObject
* obj1
= 0 ;
33037 char *kwnames
[] = {
33038 (char *) "self",(char *) "o", NULL
33041 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSpan___ne__",kwnames
,&obj0
,&obj1
)) goto fail
;
33042 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33045 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
33048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33049 result
= (bool)((wxGBSpan
const *)arg1
)->operator !=((wxGBSpan
const &)*arg2
);
33051 wxPyEndAllowThreads(__tstate
);
33052 if (PyErr_Occurred()) SWIG_fail
;
33054 resultobj
= PyInt_FromLong((long)result
);
33061 static PyObject
*_wrap_GBSpan_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33062 PyObject
*resultobj
;
33063 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33064 int arg2
= (int) 1 ;
33065 int arg3
= (int) 1 ;
33066 PyObject
* obj0
= 0 ;
33067 char *kwnames
[] = {
33068 (char *) "self",(char *) "rowspan",(char *) "colspan", NULL
33071 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|ii:GBSpan_Set",kwnames
,&obj0
,&arg2
,&arg3
)) goto fail
;
33072 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33075 wxGBSpan_Set(arg1
,arg2
,arg3
);
33077 wxPyEndAllowThreads(__tstate
);
33078 if (PyErr_Occurred()) SWIG_fail
;
33080 Py_INCREF(Py_None
); resultobj
= Py_None
;
33087 static PyObject
*_wrap_GBSpan_Get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33088 PyObject
*resultobj
;
33089 wxGBSpan
*arg1
= (wxGBSpan
*) 0 ;
33091 PyObject
* obj0
= 0 ;
33092 char *kwnames
[] = {
33093 (char *) "self", NULL
33096 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSpan_Get",kwnames
,&obj0
)) goto fail
;
33097 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSpan
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33100 result
= (PyObject
*)wxGBSpan_Get(arg1
);
33102 wxPyEndAllowThreads(__tstate
);
33103 if (PyErr_Occurred()) SWIG_fail
;
33105 resultobj
= result
;
33112 static PyObject
* GBSpan_swigregister(PyObject
*self
, PyObject
*args
) {
33114 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33115 SWIG_TypeClientData(SWIGTYPE_p_wxGBSpan
, obj
);
33117 return Py_BuildValue((char *)"");
33119 static int _wrap_DefaultSpan_set(PyObject
*_val
) {
33120 PyErr_SetString(PyExc_TypeError
,"Variable DefaultSpan is read-only.");
33125 static PyObject
*_wrap_DefaultSpan_get() {
33128 pyobj
= SWIG_NewPointerObj((void *) &wxDefaultSpan
, SWIGTYPE_p_wxGBSpan
, 0);
33133 static PyObject
*_wrap_new_GBSizerItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33134 PyObject
*resultobj
;
33135 wxGBSizerItem
*result
;
33136 char *kwnames
[] = {
33140 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_GBSizerItem",kwnames
)) goto fail
;
33142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33143 result
= (wxGBSizerItem
*)new wxGBSizerItem();
33145 wxPyEndAllowThreads(__tstate
);
33146 if (PyErr_Occurred()) SWIG_fail
;
33148 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33155 static PyObject
*_wrap_new_GBSizerItemWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33156 PyObject
*resultobj
;
33157 wxWindow
*arg1
= (wxWindow
*) 0 ;
33158 wxGBPosition
*arg2
= 0 ;
33159 wxGBSpan
*arg3
= 0 ;
33162 wxObject
*arg6
= (wxObject
*) 0 ;
33163 wxGBSizerItem
*result
;
33164 wxGBPosition temp2
;
33166 PyObject
* obj0
= 0 ;
33167 PyObject
* obj1
= 0 ;
33168 PyObject
* obj2
= 0 ;
33169 PyObject
* obj5
= 0 ;
33170 char *kwnames
[] = {
33171 (char *) "window",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33174 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemWindow",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
33175 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33178 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33182 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33184 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33187 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
33189 wxPyEndAllowThreads(__tstate
);
33190 if (PyErr_Occurred()) SWIG_fail
;
33192 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33199 static PyObject
*_wrap_new_GBSizerItemSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33200 PyObject
*resultobj
;
33201 wxSizer
*arg1
= (wxSizer
*) 0 ;
33202 wxGBPosition
*arg2
= 0 ;
33203 wxGBSpan
*arg3
= 0 ;
33206 wxObject
*arg6
= (wxObject
*) 0 ;
33207 wxGBSizerItem
*result
;
33208 wxGBPosition temp2
;
33210 PyObject
* obj0
= 0 ;
33211 PyObject
* obj1
= 0 ;
33212 PyObject
* obj2
= 0 ;
33213 PyObject
* obj5
= 0 ;
33214 char *kwnames
[] = {
33215 (char *) "sizer",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33218 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOiiO:new_GBSizerItemSizer",kwnames
,&obj0
,&obj1
,&obj2
,&arg4
,&arg5
,&obj5
)) goto fail
;
33219 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33222 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33226 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33228 if ((SWIG_ConvertPtr(obj5
,(void **) &arg6
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33230 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33231 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,(wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
,arg5
,arg6
);
33233 wxPyEndAllowThreads(__tstate
);
33234 if (PyErr_Occurred()) SWIG_fail
;
33236 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33243 static PyObject
*_wrap_new_GBSizerItemSpacer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33244 PyObject
*resultobj
;
33247 wxGBPosition
*arg3
= 0 ;
33248 wxGBSpan
*arg4
= 0 ;
33251 wxObject
*arg7
= (wxObject
*) 0 ;
33252 wxGBSizerItem
*result
;
33253 wxGBPosition temp3
;
33255 PyObject
* obj2
= 0 ;
33256 PyObject
* obj3
= 0 ;
33257 PyObject
* obj6
= 0 ;
33258 char *kwnames
[] = {
33259 (char *) "width",(char *) "height",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"iiOOiiO:new_GBSizerItemSpacer",kwnames
,&arg1
,&arg2
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33265 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33269 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33271 if ((SWIG_ConvertPtr(obj6
,(void **) &arg7
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33274 result
= (wxGBSizerItem
*)new wxGBSizerItem(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33276 wxPyEndAllowThreads(__tstate
);
33277 if (PyErr_Occurred()) SWIG_fail
;
33279 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 1);
33286 static PyObject
*_wrap_GBSizerItem_GetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33287 PyObject
*resultobj
;
33288 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33289 wxGBPosition result
;
33290 PyObject
* obj0
= 0 ;
33291 char *kwnames
[] = {
33292 (char *) "self", NULL
33295 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetPos",kwnames
,&obj0
)) goto fail
;
33296 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33299 result
= ((wxGBSizerItem
const *)arg1
)->GetPos();
33301 wxPyEndAllowThreads(__tstate
);
33302 if (PyErr_Occurred()) SWIG_fail
;
33305 wxGBPosition
* resultptr
;
33306 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33307 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33315 static PyObject
*_wrap_GBSizerItem_GetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33316 PyObject
*resultobj
;
33317 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33319 PyObject
* obj0
= 0 ;
33320 char *kwnames
[] = {
33321 (char *) "self", NULL
33324 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetSpan",kwnames
,&obj0
)) goto fail
;
33325 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33328 result
= ((wxGBSizerItem
const *)arg1
)->GetSpan();
33330 wxPyEndAllowThreads(__tstate
);
33331 if (PyErr_Occurred()) SWIG_fail
;
33334 wxGBSpan
* resultptr
;
33335 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
33336 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
33344 static PyObject
*_wrap_GBSizerItem_SetPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33345 PyObject
*resultobj
;
33346 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33347 wxGBPosition
*arg2
= 0 ;
33349 wxGBPosition temp2
;
33350 PyObject
* obj0
= 0 ;
33351 PyObject
* obj1
= 0 ;
33352 char *kwnames
[] = {
33353 (char *) "self",(char *) "pos", NULL
33356 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetPos",kwnames
,&obj0
,&obj1
)) goto fail
;
33357 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33360 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33364 result
= (bool)(arg1
)->SetPos((wxGBPosition
const &)*arg2
);
33366 wxPyEndAllowThreads(__tstate
);
33367 if (PyErr_Occurred()) SWIG_fail
;
33369 resultobj
= PyInt_FromLong((long)result
);
33376 static PyObject
*_wrap_GBSizerItem_SetSpan(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33377 PyObject
*resultobj
;
33378 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33379 wxGBSpan
*arg2
= 0 ;
33382 PyObject
* obj0
= 0 ;
33383 PyObject
* obj1
= 0 ;
33384 char *kwnames
[] = {
33385 (char *) "self",(char *) "span", NULL
33388 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetSpan",kwnames
,&obj0
,&obj1
)) goto fail
;
33389 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33392 if ( ! wxGBSpan_helper(obj1
, &arg2
)) SWIG_fail
;
33395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33396 result
= (bool)(arg1
)->SetSpan((wxGBSpan
const &)*arg2
);
33398 wxPyEndAllowThreads(__tstate
);
33399 if (PyErr_Occurred()) SWIG_fail
;
33401 resultobj
= PyInt_FromLong((long)result
);
33408 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_0(PyObject
*self
, PyObject
*args
) {
33409 PyObject
*resultobj
;
33410 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33411 wxGBSizerItem
*arg2
= 0 ;
33413 PyObject
* obj0
= 0 ;
33414 PyObject
* obj1
= 0 ;
33416 if(!PyArg_ParseTuple(args
,(char *)"OO:GBSizerItem_Intersects",&obj0
,&obj1
)) goto fail
;
33417 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33418 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33419 if (arg2
== NULL
) {
33420 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33423 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33424 result
= (bool)(arg1
)->Intersects((wxGBSizerItem
const &)*arg2
);
33426 wxPyEndAllowThreads(__tstate
);
33427 if (PyErr_Occurred()) SWIG_fail
;
33429 resultobj
= PyInt_FromLong((long)result
);
33436 static PyObject
*_wrap_GBSizerItem_Intersects__SWIG_1(PyObject
*self
, PyObject
*args
) {
33437 PyObject
*resultobj
;
33438 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33439 wxGBPosition
*arg2
= 0 ;
33440 wxGBSpan
*arg3
= 0 ;
33442 wxGBPosition temp2
;
33444 PyObject
* obj0
= 0 ;
33445 PyObject
* obj1
= 0 ;
33446 PyObject
* obj2
= 0 ;
33448 if(!PyArg_ParseTuple(args
,(char *)"OOO:GBSizerItem_Intersects",&obj0
,&obj1
,&obj2
)) goto fail
;
33449 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33452 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
33456 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
33459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33460 result
= (bool)(arg1
)->Intersects((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
);
33462 wxPyEndAllowThreads(__tstate
);
33463 if (PyErr_Occurred()) SWIG_fail
;
33465 resultobj
= PyInt_FromLong((long)result
);
33472 static PyObject
*_wrap_GBSizerItem_Intersects(PyObject
*self
, PyObject
*args
) {
33477 argc
= PyObject_Length(args
);
33478 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
33479 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33485 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33495 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33503 return _wrap_GBSizerItem_Intersects__SWIG_0(self
,args
);
33511 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
33520 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
33524 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
33527 return _wrap_GBSizerItem_Intersects__SWIG_1(self
,args
);
33533 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GBSizerItem_Intersects'");
33538 static PyObject
*_wrap_GBSizerItem_GetEndPos(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33539 PyObject
*resultobj
;
33540 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33543 PyObject
* obj0
= 0 ;
33544 PyObject
* obj1
= 0 ;
33545 PyObject
* obj2
= 0 ;
33546 char *kwnames
[] = {
33547 (char *) "self",(char *) "row",(char *) "col", NULL
33550 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:GBSizerItem_GetEndPos",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
33551 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33552 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33553 if (arg2
== NULL
) {
33554 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33556 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_int
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33557 if (arg3
== NULL
) {
33558 PyErr_SetString(PyExc_TypeError
,"null reference"); SWIG_fail
;
33561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33562 (arg1
)->GetEndPos(*arg2
,*arg3
);
33564 wxPyEndAllowThreads(__tstate
);
33565 if (PyErr_Occurred()) SWIG_fail
;
33567 Py_INCREF(Py_None
); resultobj
= Py_None
;
33574 static PyObject
*_wrap_GBSizerItem_GetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33575 PyObject
*resultobj
;
33576 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33577 wxGridBagSizer
*result
;
33578 PyObject
* obj0
= 0 ;
33579 char *kwnames
[] = {
33580 (char *) "self", NULL
33583 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GBSizerItem_GetGBSizer",kwnames
,&obj0
)) goto fail
;
33584 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33587 result
= (wxGridBagSizer
*)((wxGBSizerItem
const *)arg1
)->GetGBSizer();
33589 wxPyEndAllowThreads(__tstate
);
33590 if (PyErr_Occurred()) SWIG_fail
;
33592 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 0);
33599 static PyObject
*_wrap_GBSizerItem_SetGBSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33600 PyObject
*resultobj
;
33601 wxGBSizerItem
*arg1
= (wxGBSizerItem
*) 0 ;
33602 wxGridBagSizer
*arg2
= (wxGridBagSizer
*) 0 ;
33603 PyObject
* obj0
= 0 ;
33604 PyObject
* obj1
= 0 ;
33605 char *kwnames
[] = {
33606 (char *) "self",(char *) "sizer", NULL
33609 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GBSizerItem_SetGBSizer",kwnames
,&obj0
,&obj1
)) goto fail
;
33610 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33611 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33614 (arg1
)->SetGBSizer(arg2
);
33616 wxPyEndAllowThreads(__tstate
);
33617 if (PyErr_Occurred()) SWIG_fail
;
33619 Py_INCREF(Py_None
); resultobj
= Py_None
;
33626 static PyObject
* GBSizerItem_swigregister(PyObject
*self
, PyObject
*args
) {
33628 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
33629 SWIG_TypeClientData(SWIGTYPE_p_wxGBSizerItem
, obj
);
33631 return Py_BuildValue((char *)"");
33633 static PyObject
*_wrap_new_GridBagSizer(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33634 PyObject
*resultobj
;
33635 int arg1
= (int) 0 ;
33636 int arg2
= (int) 0 ;
33637 wxGridBagSizer
*result
;
33638 char *kwnames
[] = {
33639 (char *) "vgap",(char *) "hgap", NULL
33642 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|ii:new_GridBagSizer",kwnames
,&arg1
,&arg2
)) goto fail
;
33644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33645 result
= (wxGridBagSizer
*)new wxGridBagSizer(arg1
,arg2
);
33647 wxPyEndAllowThreads(__tstate
);
33648 if (PyErr_Occurred()) SWIG_fail
;
33650 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGridBagSizer
, 1);
33657 static PyObject
*_wrap_GridBagSizer_Add(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33658 PyObject
*resultobj
;
33659 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33660 PyObject
*arg2
= (PyObject
*) 0 ;
33661 wxGBPosition
*arg3
= 0 ;
33662 wxGBSpan
const &arg4_defvalue
= wxDefaultSpan
;
33663 wxGBSpan
*arg4
= (wxGBSpan
*) &arg4_defvalue
;
33664 int arg5
= (int) 0 ;
33665 int arg6
= (int) 0 ;
33666 PyObject
*arg7
= (PyObject
*) NULL
;
33668 wxGBPosition temp3
;
33670 PyObject
* obj0
= 0 ;
33671 PyObject
* obj1
= 0 ;
33672 PyObject
* obj2
= 0 ;
33673 PyObject
* obj3
= 0 ;
33674 PyObject
* obj6
= 0 ;
33675 char *kwnames
[] = {
33676 (char *) "self",(char *) "item",(char *) "pos",(char *) "span",(char *) "flag",(char *) "border",(char *) "userData", NULL
33679 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OiiO:GridBagSizer_Add",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&arg5
,&arg6
,&obj6
)) goto fail
;
33680 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33684 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33689 if ( ! wxGBSpan_helper(obj3
, &arg4
)) SWIG_fail
;
33696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33697 result
= (bool)wxGridBagSizer_Add(arg1
,arg2
,(wxGBPosition
const &)*arg3
,(wxGBSpan
const &)*arg4
,arg5
,arg6
,arg7
);
33699 wxPyEndAllowThreads(__tstate
);
33700 if (PyErr_Occurred()) SWIG_fail
;
33702 resultobj
= PyInt_FromLong((long)result
);
33709 static PyObject
*_wrap_GridBagSizer_AddItem(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33710 PyObject
*resultobj
;
33711 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33712 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
33714 PyObject
* obj0
= 0 ;
33715 PyObject
* obj1
= 0 ;
33716 char *kwnames
[] = {
33717 (char *) "self",(char *) "item", NULL
33720 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_AddItem",kwnames
,&obj0
,&obj1
)) goto fail
;
33721 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33722 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33725 result
= (bool)(arg1
)->Add(arg2
);
33727 wxPyEndAllowThreads(__tstate
);
33728 if (PyErr_Occurred()) SWIG_fail
;
33730 resultobj
= PyInt_FromLong((long)result
);
33737 static PyObject
*_wrap_GridBagSizer_GetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33738 PyObject
*resultobj
;
33739 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33741 PyObject
* obj0
= 0 ;
33742 char *kwnames
[] = {
33743 (char *) "self", NULL
33746 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_GetEmptyCellSize",kwnames
,&obj0
)) goto fail
;
33747 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33750 result
= ((wxGridBagSizer
const *)arg1
)->GetEmptyCellSize();
33752 wxPyEndAllowThreads(__tstate
);
33753 if (PyErr_Occurred()) SWIG_fail
;
33756 wxSize
* resultptr
;
33757 resultptr
= new wxSize((wxSize
&) result
);
33758 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
33766 static PyObject
*_wrap_GridBagSizer_SetEmptyCellSize(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
33767 PyObject
*resultobj
;
33768 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33771 PyObject
* obj0
= 0 ;
33772 PyObject
* obj1
= 0 ;
33773 char *kwnames
[] = {
33774 (char *) "self",(char *) "sz", NULL
33777 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_SetEmptyCellSize",kwnames
,&obj0
,&obj1
)) goto fail
;
33778 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33781 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
33784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33785 (arg1
)->SetEmptyCellSize((wxSize
const &)*arg2
);
33787 wxPyEndAllowThreads(__tstate
);
33788 if (PyErr_Occurred()) SWIG_fail
;
33790 Py_INCREF(Py_None
); resultobj
= Py_None
;
33797 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33798 PyObject
*resultobj
;
33799 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33800 wxWindow
*arg2
= (wxWindow
*) 0 ;
33801 wxGBPosition result
;
33802 PyObject
* obj0
= 0 ;
33803 PyObject
* obj1
= 0 ;
33805 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33806 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33807 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33810 result
= (arg1
)->GetItemPosition(arg2
);
33812 wxPyEndAllowThreads(__tstate
);
33813 if (PyErr_Occurred()) SWIG_fail
;
33816 wxGBPosition
* resultptr
;
33817 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33818 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33826 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
33827 PyObject
*resultobj
;
33828 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33829 wxSizer
*arg2
= (wxSizer
*) 0 ;
33830 wxGBPosition result
;
33831 PyObject
* obj0
= 0 ;
33832 PyObject
* obj1
= 0 ;
33834 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33835 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33836 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33839 result
= (arg1
)->GetItemPosition(arg2
);
33841 wxPyEndAllowThreads(__tstate
);
33842 if (PyErr_Occurred()) SWIG_fail
;
33845 wxGBPosition
* resultptr
;
33846 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33847 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33855 static PyObject
*_wrap_GridBagSizer_GetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
33856 PyObject
*resultobj
;
33857 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33859 wxGBPosition result
;
33860 PyObject
* obj0
= 0 ;
33861 PyObject
* obj1
= 0 ;
33863 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemPosition",&obj0
,&obj1
)) goto fail
;
33864 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33865 arg2
= (size_t) PyInt_AsLong(obj1
);
33866 if (PyErr_Occurred()) SWIG_fail
;
33868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33869 result
= (arg1
)->GetItemPosition(arg2
);
33871 wxPyEndAllowThreads(__tstate
);
33872 if (PyErr_Occurred()) SWIG_fail
;
33875 wxGBPosition
* resultptr
;
33876 resultptr
= new wxGBPosition((wxGBPosition
&) result
);
33877 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBPosition
, 1);
33885 static PyObject
*_wrap_GridBagSizer_GetItemPosition(PyObject
*self
, PyObject
*args
) {
33890 argc
= PyObject_Length(args
);
33891 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
33892 argv
[ii
] = PyTuple_GetItem(args
,ii
);
33898 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33908 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
33916 return _wrap_GridBagSizer_GetItemPosition__SWIG_0(self
,args
);
33924 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33934 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
33942 return _wrap_GridBagSizer_GetItemPosition__SWIG_1(self
,args
);
33950 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
33959 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
33962 return _wrap_GridBagSizer_GetItemPosition__SWIG_2(self
,args
);
33967 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemPosition'");
33972 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_0(PyObject
*self
, PyObject
*args
) {
33973 PyObject
*resultobj
;
33974 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
33975 wxWindow
*arg2
= (wxWindow
*) 0 ;
33976 wxGBPosition
*arg3
= 0 ;
33978 wxGBPosition temp3
;
33979 PyObject
* obj0
= 0 ;
33980 PyObject
* obj1
= 0 ;
33981 PyObject
* obj2
= 0 ;
33983 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
33984 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33985 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
33988 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
33991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
33992 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
33994 wxPyEndAllowThreads(__tstate
);
33995 if (PyErr_Occurred()) SWIG_fail
;
33997 resultobj
= PyInt_FromLong((long)result
);
34004 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_1(PyObject
*self
, PyObject
*args
) {
34005 PyObject
*resultobj
;
34006 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34007 wxSizer
*arg2
= (wxSizer
*) 0 ;
34008 wxGBPosition
*arg3
= 0 ;
34010 wxGBPosition temp3
;
34011 PyObject
* obj0
= 0 ;
34012 PyObject
* obj1
= 0 ;
34013 PyObject
* obj2
= 0 ;
34015 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
34016 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34017 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34020 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
34023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34024 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
34026 wxPyEndAllowThreads(__tstate
);
34027 if (PyErr_Occurred()) SWIG_fail
;
34029 resultobj
= PyInt_FromLong((long)result
);
34036 static PyObject
*_wrap_GridBagSizer_SetItemPosition__SWIG_2(PyObject
*self
, PyObject
*args
) {
34037 PyObject
*resultobj
;
34038 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34040 wxGBPosition
*arg3
= 0 ;
34042 wxGBPosition temp3
;
34043 PyObject
* obj0
= 0 ;
34044 PyObject
* obj1
= 0 ;
34045 PyObject
* obj2
= 0 ;
34047 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemPosition",&obj0
,&obj1
,&obj2
)) goto fail
;
34048 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34049 arg2
= (size_t) PyInt_AsLong(obj1
);
34050 if (PyErr_Occurred()) SWIG_fail
;
34053 if ( ! wxGBPosition_helper(obj2
, &arg3
)) SWIG_fail
;
34056 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34057 result
= (bool)(arg1
)->SetItemPosition(arg2
,(wxGBPosition
const &)*arg3
);
34059 wxPyEndAllowThreads(__tstate
);
34060 if (PyErr_Occurred()) SWIG_fail
;
34062 resultobj
= PyInt_FromLong((long)result
);
34069 static PyObject
*_wrap_GridBagSizer_SetItemPosition(PyObject
*self
, PyObject
*args
) {
34074 argc
= PyObject_Length(args
);
34075 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
34076 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34082 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34092 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34101 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
34104 return _wrap_GridBagSizer_SetItemPosition__SWIG_0(self
,args
);
34113 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34123 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34132 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
34135 return _wrap_GridBagSizer_SetItemPosition__SWIG_1(self
,args
);
34144 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34153 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34157 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBPosition"), 2);
34160 return _wrap_GridBagSizer_SetItemPosition__SWIG_2(self
,args
);
34166 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemPosition'");
34171 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
34172 PyObject
*resultobj
;
34173 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34174 wxWindow
*arg2
= (wxWindow
*) 0 ;
34176 PyObject
* obj0
= 0 ;
34177 PyObject
* obj1
= 0 ;
34179 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34180 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34181 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34184 result
= (arg1
)->GetItemSpan(arg2
);
34186 wxPyEndAllowThreads(__tstate
);
34187 if (PyErr_Occurred()) SWIG_fail
;
34190 wxGBSpan
* resultptr
;
34191 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34192 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34200 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
34201 PyObject
*resultobj
;
34202 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34203 wxSizer
*arg2
= (wxSizer
*) 0 ;
34205 PyObject
* obj0
= 0 ;
34206 PyObject
* obj1
= 0 ;
34208 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34209 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34210 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34213 result
= (arg1
)->GetItemSpan(arg2
);
34215 wxPyEndAllowThreads(__tstate
);
34216 if (PyErr_Occurred()) SWIG_fail
;
34219 wxGBSpan
* resultptr
;
34220 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34221 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34229 static PyObject
*_wrap_GridBagSizer_GetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
34230 PyObject
*resultobj
;
34231 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34234 PyObject
* obj0
= 0 ;
34235 PyObject
* obj1
= 0 ;
34237 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_GetItemSpan",&obj0
,&obj1
)) goto fail
;
34238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34239 arg2
= (size_t) PyInt_AsLong(obj1
);
34240 if (PyErr_Occurred()) SWIG_fail
;
34242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34243 result
= (arg1
)->GetItemSpan(arg2
);
34245 wxPyEndAllowThreads(__tstate
);
34246 if (PyErr_Occurred()) SWIG_fail
;
34249 wxGBSpan
* resultptr
;
34250 resultptr
= new wxGBSpan((wxGBSpan
&) result
);
34251 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxGBSpan
, 1);
34259 static PyObject
*_wrap_GridBagSizer_GetItemSpan(PyObject
*self
, PyObject
*args
) {
34264 argc
= PyObject_Length(args
);
34265 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34266 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34272 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34282 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34290 return _wrap_GridBagSizer_GetItemSpan__SWIG_0(self
,args
);
34298 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34308 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34316 return _wrap_GridBagSizer_GetItemSpan__SWIG_1(self
,args
);
34324 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34333 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34336 return _wrap_GridBagSizer_GetItemSpan__SWIG_2(self
,args
);
34341 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_GetItemSpan'");
34346 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_0(PyObject
*self
, PyObject
*args
) {
34347 PyObject
*resultobj
;
34348 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34349 wxWindow
*arg2
= (wxWindow
*) 0 ;
34350 wxGBSpan
*arg3
= 0 ;
34353 PyObject
* obj0
= 0 ;
34354 PyObject
* obj1
= 0 ;
34355 PyObject
* obj2
= 0 ;
34357 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34358 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34359 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34362 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34366 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34368 wxPyEndAllowThreads(__tstate
);
34369 if (PyErr_Occurred()) SWIG_fail
;
34371 resultobj
= PyInt_FromLong((long)result
);
34378 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_1(PyObject
*self
, PyObject
*args
) {
34379 PyObject
*resultobj
;
34380 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34381 wxSizer
*arg2
= (wxSizer
*) 0 ;
34382 wxGBSpan
*arg3
= 0 ;
34385 PyObject
* obj0
= 0 ;
34386 PyObject
* obj1
= 0 ;
34387 PyObject
* obj2
= 0 ;
34389 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34391 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34394 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34398 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34400 wxPyEndAllowThreads(__tstate
);
34401 if (PyErr_Occurred()) SWIG_fail
;
34403 resultobj
= PyInt_FromLong((long)result
);
34410 static PyObject
*_wrap_GridBagSizer_SetItemSpan__SWIG_2(PyObject
*self
, PyObject
*args
) {
34411 PyObject
*resultobj
;
34412 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34414 wxGBSpan
*arg3
= 0 ;
34417 PyObject
* obj0
= 0 ;
34418 PyObject
* obj1
= 0 ;
34419 PyObject
* obj2
= 0 ;
34421 if(!PyArg_ParseTuple(args
,(char *)"OOO:GridBagSizer_SetItemSpan",&obj0
,&obj1
,&obj2
)) goto fail
;
34422 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34423 arg2
= (size_t) PyInt_AsLong(obj1
);
34424 if (PyErr_Occurred()) SWIG_fail
;
34427 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34431 result
= (bool)(arg1
)->SetItemSpan(arg2
,(wxGBSpan
const &)*arg3
);
34433 wxPyEndAllowThreads(__tstate
);
34434 if (PyErr_Occurred()) SWIG_fail
;
34436 resultobj
= PyInt_FromLong((long)result
);
34443 static PyObject
*_wrap_GridBagSizer_SetItemSpan(PyObject
*self
, PyObject
*args
) {
34448 argc
= PyObject_Length(args
);
34449 for (ii
= 0; (ii
< argc
) && (ii
< 3); ii
++) {
34450 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34456 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34466 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34475 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34478 return _wrap_GridBagSizer_SetItemSpan__SWIG_0(self
,args
);
34487 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34497 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34506 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34509 return _wrap_GridBagSizer_SetItemSpan__SWIG_1(self
,args
);
34518 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34527 _v
= (PyInt_Check(argv
[1]) || PyLong_Check(argv
[1])) ? 1 : 0;
34531 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34534 return _wrap_GridBagSizer_SetItemSpan__SWIG_2(self
,args
);
34540 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_SetItemSpan'");
34545 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_0(PyObject
*self
, PyObject
*args
) {
34546 PyObject
*resultobj
;
34547 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34548 wxWindow
*arg2
= (wxWindow
*) 0 ;
34549 wxGBSizerItem
*result
;
34550 PyObject
* obj0
= 0 ;
34551 PyObject
* obj1
= 0 ;
34553 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34554 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34555 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34558 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34560 wxPyEndAllowThreads(__tstate
);
34561 if (PyErr_Occurred()) SWIG_fail
;
34563 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34570 static PyObject
*_wrap_GridBagSizer_FindItem__SWIG_1(PyObject
*self
, PyObject
*args
) {
34571 PyObject
*resultobj
;
34572 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34573 wxSizer
*arg2
= (wxSizer
*) 0 ;
34574 wxGBSizerItem
*result
;
34575 PyObject
* obj0
= 0 ;
34576 PyObject
* obj1
= 0 ;
34578 if(!PyArg_ParseTuple(args
,(char *)"OO:GridBagSizer_FindItem",&obj0
,&obj1
)) goto fail
;
34579 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34580 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34583 result
= (wxGBSizerItem
*)(arg1
)->FindItem(arg2
);
34585 wxPyEndAllowThreads(__tstate
);
34586 if (PyErr_Occurred()) SWIG_fail
;
34588 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34595 static PyObject
*_wrap_GridBagSizer_FindItem(PyObject
*self
, PyObject
*args
) {
34600 argc
= PyObject_Length(args
);
34601 for (ii
= 0; (ii
< argc
) && (ii
< 2); ii
++) {
34602 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34608 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34618 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxWindow
, 0) == -1) {
34626 return _wrap_GridBagSizer_FindItem__SWIG_0(self
,args
);
34634 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34644 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxSizer
, 0) == -1) {
34652 return _wrap_GridBagSizer_FindItem__SWIG_1(self
,args
);
34657 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_FindItem'");
34662 static PyObject
*_wrap_GridBagSizer_FindItemAtPosition(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34663 PyObject
*resultobj
;
34664 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34665 wxGBPosition
*arg2
= 0 ;
34666 wxGBSizerItem
*result
;
34667 wxGBPosition temp2
;
34668 PyObject
* obj0
= 0 ;
34669 PyObject
* obj1
= 0 ;
34670 char *kwnames
[] = {
34671 (char *) "self",(char *) "pos", NULL
34674 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPosition",kwnames
,&obj0
,&obj1
)) goto fail
;
34675 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34678 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34682 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPosition((wxGBPosition
const &)*arg2
);
34684 wxPyEndAllowThreads(__tstate
);
34685 if (PyErr_Occurred()) SWIG_fail
;
34687 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34694 static PyObject
*_wrap_GridBagSizer_FindItemAtPoint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34695 PyObject
*resultobj
;
34696 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34697 wxPoint
*arg2
= 0 ;
34698 wxGBSizerItem
*result
;
34700 PyObject
* obj0
= 0 ;
34701 PyObject
* obj1
= 0 ;
34702 char *kwnames
[] = {
34703 (char *) "self",(char *) "pt", NULL
34706 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemAtPoint",kwnames
,&obj0
,&obj1
)) goto fail
;
34707 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34710 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
34713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34714 result
= (wxGBSizerItem
*)(arg1
)->FindItemAtPoint((wxPoint
const &)*arg2
);
34716 wxPyEndAllowThreads(__tstate
);
34717 if (PyErr_Occurred()) SWIG_fail
;
34719 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34726 static PyObject
*_wrap_GridBagSizer_FindItemWithData(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34727 PyObject
*resultobj
;
34728 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34729 wxObject
*arg2
= (wxObject
*) 0 ;
34730 wxGBSizerItem
*result
;
34731 PyObject
* obj0
= 0 ;
34732 PyObject
* obj1
= 0 ;
34733 char *kwnames
[] = {
34734 (char *) "self",(char *) "userData", NULL
34737 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:GridBagSizer_FindItemWithData",kwnames
,&obj0
,&obj1
)) goto fail
;
34738 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34739 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxObject
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34742 result
= (wxGBSizerItem
*)(arg1
)->FindItemWithData((wxObject
const *)arg2
);
34744 wxPyEndAllowThreads(__tstate
);
34745 if (PyErr_Occurred()) SWIG_fail
;
34747 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxGBSizerItem
, 0);
34754 static PyObject
*_wrap_GridBagSizer_RecalcSizes(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34755 PyObject
*resultobj
;
34756 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34757 PyObject
* obj0
= 0 ;
34758 char *kwnames
[] = {
34759 (char *) "self", NULL
34762 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_RecalcSizes",kwnames
,&obj0
)) goto fail
;
34763 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34766 (arg1
)->RecalcSizes();
34768 wxPyEndAllowThreads(__tstate
);
34769 if (PyErr_Occurred()) SWIG_fail
;
34771 Py_INCREF(Py_None
); resultobj
= Py_None
;
34778 static PyObject
*_wrap_GridBagSizer_CalcMin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34779 PyObject
*resultobj
;
34780 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34782 PyObject
* obj0
= 0 ;
34783 char *kwnames
[] = {
34784 (char *) "self", NULL
34787 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:GridBagSizer_CalcMin",kwnames
,&obj0
)) goto fail
;
34788 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34791 result
= (arg1
)->CalcMin();
34793 wxPyEndAllowThreads(__tstate
);
34794 if (PyErr_Occurred()) SWIG_fail
;
34797 wxSize
* resultptr
;
34798 resultptr
= new wxSize((wxSize
&) result
);
34799 resultobj
= SWIG_NewPointerObj((void *) resultptr
, SWIGTYPE_p_wxSize
, 1);
34807 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_0(PyObject
*self
, PyObject
*args
) {
34808 PyObject
*resultobj
;
34809 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34810 wxGBSizerItem
*arg2
= (wxGBSizerItem
*) 0 ;
34811 wxGBSizerItem
*arg3
= (wxGBSizerItem
*) NULL
;
34813 PyObject
* obj0
= 0 ;
34814 PyObject
* obj1
= 0 ;
34815 PyObject
* obj2
= 0 ;
34817 if(!PyArg_ParseTuple(args
,(char *)"OO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
)) goto fail
;
34818 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34819 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34821 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34825 result
= (bool)(arg1
)->CheckForIntersection(arg2
,arg3
);
34827 wxPyEndAllowThreads(__tstate
);
34828 if (PyErr_Occurred()) SWIG_fail
;
34830 resultobj
= PyInt_FromLong((long)result
);
34837 static PyObject
*_wrap_GridBagSizer_CheckForIntersection__SWIG_1(PyObject
*self
, PyObject
*args
) {
34838 PyObject
*resultobj
;
34839 wxGridBagSizer
*arg1
= (wxGridBagSizer
*) 0 ;
34840 wxGBPosition
*arg2
= 0 ;
34841 wxGBSpan
*arg3
= 0 ;
34842 wxGBSizerItem
*arg4
= (wxGBSizerItem
*) NULL
;
34844 wxGBPosition temp2
;
34846 PyObject
* obj0
= 0 ;
34847 PyObject
* obj1
= 0 ;
34848 PyObject
* obj2
= 0 ;
34849 PyObject
* obj3
= 0 ;
34851 if(!PyArg_ParseTuple(args
,(char *)"OOO|O:GridBagSizer_CheckForIntersection",&obj0
,&obj1
,&obj2
,&obj3
)) goto fail
;
34852 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxGridBagSizer
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34855 if ( ! wxGBPosition_helper(obj1
, &arg2
)) SWIG_fail
;
34859 if ( ! wxGBSpan_helper(obj2
, &arg3
)) SWIG_fail
;
34862 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxGBSizerItem
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34866 result
= (bool)(arg1
)->CheckForIntersection((wxGBPosition
const &)*arg2
,(wxGBSpan
const &)*arg3
,arg4
);
34868 wxPyEndAllowThreads(__tstate
);
34869 if (PyErr_Occurred()) SWIG_fail
;
34871 resultobj
= PyInt_FromLong((long)result
);
34878 static PyObject
*_wrap_GridBagSizer_CheckForIntersection(PyObject
*self
, PyObject
*args
) {
34883 argc
= PyObject_Length(args
);
34884 for (ii
= 0; (ii
< argc
) && (ii
< 4); ii
++) {
34885 argv
[ii
] = PyTuple_GetItem(args
,ii
);
34887 if ((argc
>= 2) && (argc
<= 3)) {
34891 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34901 if (SWIG_ConvertPtr(argv
[1], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34910 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34914 if (SWIG_ConvertPtr(argv
[2], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34922 return _wrap_GridBagSizer_CheckForIntersection__SWIG_0(self
,args
);
34927 if ((argc
>= 3) && (argc
<= 4)) {
34931 if (SWIG_ConvertPtr(argv
[0], (void **) &ptr
, SWIGTYPE_p_wxGridBagSizer
, 0) == -1) {
34940 _v
= wxPySimple_typecheck(argv
[1], wxT("wxGBPosition"), 2);
34944 _v
= wxPySimple_typecheck(argv
[2], wxT("wxGBSpan"), 2);
34948 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34952 if (SWIG_ConvertPtr(argv
[3], (void **) &ptr
, SWIGTYPE_p_wxGBSizerItem
, 0) == -1) {
34960 return _wrap_GridBagSizer_CheckForIntersection__SWIG_1(self
,args
);
34967 PyErr_SetString(PyExc_TypeError
,"No matching function for overloaded 'GridBagSizer_CheckForIntersection'");
34972 static PyObject
* GridBagSizer_swigregister(PyObject
*self
, PyObject
*args
) {
34974 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
34975 SWIG_TypeClientData(SWIGTYPE_p_wxGridBagSizer
, obj
);
34977 return Py_BuildValue((char *)"");
34979 static PyObject
*_wrap_IndividualLayoutConstraint_Set(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
34980 PyObject
*resultobj
;
34981 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
34983 wxWindow
*arg3
= (wxWindow
*) 0 ;
34985 int arg5
= (int) 0 ;
34986 int arg6
= (int) wxLAYOUT_DEFAULT_MARGIN
;
34987 PyObject
* obj0
= 0 ;
34988 PyObject
* obj2
= 0 ;
34989 char *kwnames
[] = {
34990 (char *) "self",(char *) "rel",(char *) "otherW",(char *) "otherE",(char *) "val",(char *) "marg", NULL
34993 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOi|ii:IndividualLayoutConstraint_Set",kwnames
,&obj0
,&arg2
,&obj2
,&arg4
,&arg5
,&arg6
)) goto fail
;
34994 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34995 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
34997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
34998 (arg1
)->Set((wxRelationship
)arg2
,arg3
,(wxEdge
)arg4
,arg5
,arg6
);
35000 wxPyEndAllowThreads(__tstate
);
35001 if (PyErr_Occurred()) SWIG_fail
;
35003 Py_INCREF(Py_None
); resultobj
= Py_None
;
35010 static PyObject
*_wrap_IndividualLayoutConstraint_LeftOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35011 PyObject
*resultobj
;
35012 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35013 wxWindow
*arg2
= (wxWindow
*) 0 ;
35014 int arg3
= (int) 0 ;
35015 PyObject
* obj0
= 0 ;
35016 PyObject
* obj1
= 0 ;
35017 char *kwnames
[] = {
35018 (char *) "self",(char *) "sibling",(char *) "marg", NULL
35021 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_LeftOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
35022 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35023 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35025 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35026 (arg1
)->LeftOf(arg2
,arg3
);
35028 wxPyEndAllowThreads(__tstate
);
35029 if (PyErr_Occurred()) SWIG_fail
;
35031 Py_INCREF(Py_None
); resultobj
= Py_None
;
35038 static PyObject
*_wrap_IndividualLayoutConstraint_RightOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35039 PyObject
*resultobj
;
35040 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35041 wxWindow
*arg2
= (wxWindow
*) 0 ;
35042 int arg3
= (int) 0 ;
35043 PyObject
* obj0
= 0 ;
35044 PyObject
* obj1
= 0 ;
35045 char *kwnames
[] = {
35046 (char *) "self",(char *) "sibling",(char *) "marg", NULL
35049 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_RightOf",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
35050 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35051 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35053 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35054 (arg1
)->RightOf(arg2
,arg3
);
35056 wxPyEndAllowThreads(__tstate
);
35057 if (PyErr_Occurred()) SWIG_fail
;
35059 Py_INCREF(Py_None
); resultobj
= Py_None
;
35066 static PyObject
*_wrap_IndividualLayoutConstraint_Above(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35067 PyObject
*resultobj
;
35068 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35069 wxWindow
*arg2
= (wxWindow
*) 0 ;
35070 int arg3
= (int) 0 ;
35071 PyObject
* obj0
= 0 ;
35072 PyObject
* obj1
= 0 ;
35073 char *kwnames
[] = {
35074 (char *) "self",(char *) "sibling",(char *) "marg", NULL
35077 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Above",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
35078 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35079 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35082 (arg1
)->Above(arg2
,arg3
);
35084 wxPyEndAllowThreads(__tstate
);
35085 if (PyErr_Occurred()) SWIG_fail
;
35087 Py_INCREF(Py_None
); resultobj
= Py_None
;
35094 static PyObject
*_wrap_IndividualLayoutConstraint_Below(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35095 PyObject
*resultobj
;
35096 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35097 wxWindow
*arg2
= (wxWindow
*) 0 ;
35098 int arg3
= (int) 0 ;
35099 PyObject
* obj0
= 0 ;
35100 PyObject
* obj1
= 0 ;
35101 char *kwnames
[] = {
35102 (char *) "self",(char *) "sibling",(char *) "marg", NULL
35105 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|i:IndividualLayoutConstraint_Below",kwnames
,&obj0
,&obj1
,&arg3
)) goto fail
;
35106 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35107 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35110 (arg1
)->Below(arg2
,arg3
);
35112 wxPyEndAllowThreads(__tstate
);
35113 if (PyErr_Occurred()) SWIG_fail
;
35115 Py_INCREF(Py_None
); resultobj
= Py_None
;
35122 static PyObject
*_wrap_IndividualLayoutConstraint_SameAs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35123 PyObject
*resultobj
;
35124 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35125 wxWindow
*arg2
= (wxWindow
*) 0 ;
35127 int arg4
= (int) 0 ;
35128 PyObject
* obj0
= 0 ;
35129 PyObject
* obj1
= 0 ;
35130 char *kwnames
[] = {
35131 (char *) "self",(char *) "otherW",(char *) "edge",(char *) "marg", NULL
35134 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOi|i:IndividualLayoutConstraint_SameAs",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
35135 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35136 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35139 (arg1
)->SameAs(arg2
,(wxEdge
)arg3
,arg4
);
35141 wxPyEndAllowThreads(__tstate
);
35142 if (PyErr_Occurred()) SWIG_fail
;
35144 Py_INCREF(Py_None
); resultobj
= Py_None
;
35151 static PyObject
*_wrap_IndividualLayoutConstraint_PercentOf(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35152 PyObject
*resultobj
;
35153 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35154 wxWindow
*arg2
= (wxWindow
*) 0 ;
35157 PyObject
* obj0
= 0 ;
35158 PyObject
* obj1
= 0 ;
35159 char *kwnames
[] = {
35160 (char *) "self",(char *) "otherW",(char *) "wh",(char *) "per", NULL
35163 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOii:IndividualLayoutConstraint_PercentOf",kwnames
,&obj0
,&obj1
,&arg3
,&arg4
)) goto fail
;
35164 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35165 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35168 (arg1
)->PercentOf(arg2
,(wxEdge
)arg3
,arg4
);
35170 wxPyEndAllowThreads(__tstate
);
35171 if (PyErr_Occurred()) SWIG_fail
;
35173 Py_INCREF(Py_None
); resultobj
= Py_None
;
35180 static PyObject
*_wrap_IndividualLayoutConstraint_Absolute(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35181 PyObject
*resultobj
;
35182 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35184 PyObject
* obj0
= 0 ;
35185 char *kwnames
[] = {
35186 (char *) "self",(char *) "val", NULL
35189 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_Absolute",kwnames
,&obj0
,&arg2
)) goto fail
;
35190 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35193 (arg1
)->Absolute(arg2
);
35195 wxPyEndAllowThreads(__tstate
);
35196 if (PyErr_Occurred()) SWIG_fail
;
35198 Py_INCREF(Py_None
); resultobj
= Py_None
;
35205 static PyObject
*_wrap_IndividualLayoutConstraint_Unconstrained(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35206 PyObject
*resultobj
;
35207 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35208 PyObject
* obj0
= 0 ;
35209 char *kwnames
[] = {
35210 (char *) "self", NULL
35213 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_Unconstrained",kwnames
,&obj0
)) goto fail
;
35214 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35217 (arg1
)->Unconstrained();
35219 wxPyEndAllowThreads(__tstate
);
35220 if (PyErr_Occurred()) SWIG_fail
;
35222 Py_INCREF(Py_None
); resultobj
= Py_None
;
35229 static PyObject
*_wrap_IndividualLayoutConstraint_AsIs(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35230 PyObject
*resultobj
;
35231 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35232 PyObject
* obj0
= 0 ;
35233 char *kwnames
[] = {
35234 (char *) "self", NULL
35237 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_AsIs",kwnames
,&obj0
)) goto fail
;
35238 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35243 wxPyEndAllowThreads(__tstate
);
35244 if (PyErr_Occurred()) SWIG_fail
;
35246 Py_INCREF(Py_None
); resultobj
= Py_None
;
35253 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherWindow(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35254 PyObject
*resultobj
;
35255 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35257 PyObject
* obj0
= 0 ;
35258 char *kwnames
[] = {
35259 (char *) "self", NULL
35262 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherWindow",kwnames
,&obj0
)) goto fail
;
35263 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35266 result
= (wxWindow
*)(arg1
)->GetOtherWindow();
35268 wxPyEndAllowThreads(__tstate
);
35269 if (PyErr_Occurred()) SWIG_fail
;
35272 resultobj
= wxPyMake_wxObject(result
);
35280 static PyObject
*_wrap_IndividualLayoutConstraint_GetMyEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35281 PyObject
*resultobj
;
35282 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35284 PyObject
* obj0
= 0 ;
35285 char *kwnames
[] = {
35286 (char *) "self", NULL
35289 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMyEdge",kwnames
,&obj0
)) goto fail
;
35290 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35293 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetMyEdge();
35295 wxPyEndAllowThreads(__tstate
);
35296 if (PyErr_Occurred()) SWIG_fail
;
35298 resultobj
= PyInt_FromLong((long)result
);
35305 static PyObject
*_wrap_IndividualLayoutConstraint_SetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35306 PyObject
*resultobj
;
35307 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35309 PyObject
* obj0
= 0 ;
35310 char *kwnames
[] = {
35311 (char *) "self",(char *) "which", NULL
35314 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetEdge",kwnames
,&obj0
,&arg2
)) goto fail
;
35315 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35318 (arg1
)->SetEdge((wxEdge
)arg2
);
35320 wxPyEndAllowThreads(__tstate
);
35321 if (PyErr_Occurred()) SWIG_fail
;
35323 Py_INCREF(Py_None
); resultobj
= Py_None
;
35330 static PyObject
*_wrap_IndividualLayoutConstraint_SetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35331 PyObject
*resultobj
;
35332 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35334 PyObject
* obj0
= 0 ;
35335 char *kwnames
[] = {
35336 (char *) "self",(char *) "v", NULL
35339 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetValue",kwnames
,&obj0
,&arg2
)) goto fail
;
35340 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35343 (arg1
)->SetValue(arg2
);
35345 wxPyEndAllowThreads(__tstate
);
35346 if (PyErr_Occurred()) SWIG_fail
;
35348 Py_INCREF(Py_None
); resultobj
= Py_None
;
35355 static PyObject
*_wrap_IndividualLayoutConstraint_GetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35356 PyObject
*resultobj
;
35357 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35359 PyObject
* obj0
= 0 ;
35360 char *kwnames
[] = {
35361 (char *) "self", NULL
35364 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetMargin",kwnames
,&obj0
)) goto fail
;
35365 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35368 result
= (int)(arg1
)->GetMargin();
35370 wxPyEndAllowThreads(__tstate
);
35371 if (PyErr_Occurred()) SWIG_fail
;
35373 resultobj
= PyInt_FromLong((long)result
);
35380 static PyObject
*_wrap_IndividualLayoutConstraint_SetMargin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35381 PyObject
*resultobj
;
35382 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35384 PyObject
* obj0
= 0 ;
35385 char *kwnames
[] = {
35386 (char *) "self",(char *) "m", NULL
35389 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetMargin",kwnames
,&obj0
,&arg2
)) goto fail
;
35390 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35393 (arg1
)->SetMargin(arg2
);
35395 wxPyEndAllowThreads(__tstate
);
35396 if (PyErr_Occurred()) SWIG_fail
;
35398 Py_INCREF(Py_None
); resultobj
= Py_None
;
35405 static PyObject
*_wrap_IndividualLayoutConstraint_GetValue(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35406 PyObject
*resultobj
;
35407 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35409 PyObject
* obj0
= 0 ;
35410 char *kwnames
[] = {
35411 (char *) "self", NULL
35414 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetValue",kwnames
,&obj0
)) goto fail
;
35415 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35418 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetValue();
35420 wxPyEndAllowThreads(__tstate
);
35421 if (PyErr_Occurred()) SWIG_fail
;
35423 resultobj
= PyInt_FromLong((long)result
);
35430 static PyObject
*_wrap_IndividualLayoutConstraint_GetPercent(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35431 PyObject
*resultobj
;
35432 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35434 PyObject
* obj0
= 0 ;
35435 char *kwnames
[] = {
35436 (char *) "self", NULL
35439 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetPercent",kwnames
,&obj0
)) goto fail
;
35440 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35443 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetPercent();
35445 wxPyEndAllowThreads(__tstate
);
35446 if (PyErr_Occurred()) SWIG_fail
;
35448 resultobj
= PyInt_FromLong((long)result
);
35455 static PyObject
*_wrap_IndividualLayoutConstraint_GetOtherEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35456 PyObject
*resultobj
;
35457 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35459 PyObject
* obj0
= 0 ;
35460 char *kwnames
[] = {
35461 (char *) "self", NULL
35464 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetOtherEdge",kwnames
,&obj0
)) goto fail
;
35465 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35468 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetOtherEdge();
35470 wxPyEndAllowThreads(__tstate
);
35471 if (PyErr_Occurred()) SWIG_fail
;
35473 resultobj
= PyInt_FromLong((long)result
);
35480 static PyObject
*_wrap_IndividualLayoutConstraint_GetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35481 PyObject
*resultobj
;
35482 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35484 PyObject
* obj0
= 0 ;
35485 char *kwnames
[] = {
35486 (char *) "self", NULL
35489 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetDone",kwnames
,&obj0
)) goto fail
;
35490 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35493 result
= (bool)((wxIndividualLayoutConstraint
const *)arg1
)->GetDone();
35495 wxPyEndAllowThreads(__tstate
);
35496 if (PyErr_Occurred()) SWIG_fail
;
35498 resultobj
= PyInt_FromLong((long)result
);
35505 static PyObject
*_wrap_IndividualLayoutConstraint_SetDone(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35506 PyObject
*resultobj
;
35507 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35509 PyObject
* obj0
= 0 ;
35510 PyObject
* obj1
= 0 ;
35511 char *kwnames
[] = {
35512 (char *) "self",(char *) "d", NULL
35515 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_SetDone",kwnames
,&obj0
,&obj1
)) goto fail
;
35516 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35517 arg2
= PyInt_AsLong(obj1
) ? true : false;
35518 if (PyErr_Occurred()) SWIG_fail
;
35520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35521 (arg1
)->SetDone(arg2
);
35523 wxPyEndAllowThreads(__tstate
);
35524 if (PyErr_Occurred()) SWIG_fail
;
35526 Py_INCREF(Py_None
); resultobj
= Py_None
;
35533 static PyObject
*_wrap_IndividualLayoutConstraint_GetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35534 PyObject
*resultobj
;
35535 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35537 PyObject
* obj0
= 0 ;
35538 char *kwnames
[] = {
35539 (char *) "self", NULL
35542 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:IndividualLayoutConstraint_GetRelationship",kwnames
,&obj0
)) goto fail
;
35543 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35546 result
= (int)(arg1
)->GetRelationship();
35548 wxPyEndAllowThreads(__tstate
);
35549 if (PyErr_Occurred()) SWIG_fail
;
35551 resultobj
= PyInt_FromLong((long)result
);
35558 static PyObject
*_wrap_IndividualLayoutConstraint_SetRelationship(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35559 PyObject
*resultobj
;
35560 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35562 PyObject
* obj0
= 0 ;
35563 char *kwnames
[] = {
35564 (char *) "self",(char *) "r", NULL
35567 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"Oi:IndividualLayoutConstraint_SetRelationship",kwnames
,&obj0
,&arg2
)) goto fail
;
35568 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35571 (arg1
)->SetRelationship((wxRelationship
)arg2
);
35573 wxPyEndAllowThreads(__tstate
);
35574 if (PyErr_Occurred()) SWIG_fail
;
35576 Py_INCREF(Py_None
); resultobj
= Py_None
;
35583 static PyObject
*_wrap_IndividualLayoutConstraint_ResetIfWin(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35584 PyObject
*resultobj
;
35585 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35586 wxWindow
*arg2
= (wxWindow
*) 0 ;
35588 PyObject
* obj0
= 0 ;
35589 PyObject
* obj1
= 0 ;
35590 char *kwnames
[] = {
35591 (char *) "self",(char *) "otherW", NULL
35594 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:IndividualLayoutConstraint_ResetIfWin",kwnames
,&obj0
,&obj1
)) goto fail
;
35595 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35596 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35599 result
= (bool)(arg1
)->ResetIfWin(arg2
);
35601 wxPyEndAllowThreads(__tstate
);
35602 if (PyErr_Occurred()) SWIG_fail
;
35604 resultobj
= PyInt_FromLong((long)result
);
35611 static PyObject
*_wrap_IndividualLayoutConstraint_SatisfyConstraint(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35612 PyObject
*resultobj
;
35613 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35614 wxLayoutConstraints
*arg2
= (wxLayoutConstraints
*) 0 ;
35615 wxWindow
*arg3
= (wxWindow
*) 0 ;
35617 PyObject
* obj0
= 0 ;
35618 PyObject
* obj1
= 0 ;
35619 PyObject
* obj2
= 0 ;
35620 char *kwnames
[] = {
35621 (char *) "self",(char *) "constraints",(char *) "win", NULL
35624 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:IndividualLayoutConstraint_SatisfyConstraint",kwnames
,&obj0
,&obj1
,&obj2
)) goto fail
;
35625 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35626 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35627 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35630 result
= (bool)(arg1
)->SatisfyConstraint(arg2
,arg3
);
35632 wxPyEndAllowThreads(__tstate
);
35633 if (PyErr_Occurred()) SWIG_fail
;
35635 resultobj
= PyInt_FromLong((long)result
);
35642 static PyObject
*_wrap_IndividualLayoutConstraint_GetEdge(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35643 PyObject
*resultobj
;
35644 wxIndividualLayoutConstraint
*arg1
= (wxIndividualLayoutConstraint
*) 0 ;
35646 wxWindow
*arg3
= (wxWindow
*) 0 ;
35647 wxWindow
*arg4
= (wxWindow
*) 0 ;
35649 PyObject
* obj0
= 0 ;
35650 PyObject
* obj2
= 0 ;
35651 PyObject
* obj3
= 0 ;
35652 char *kwnames
[] = {
35653 (char *) "self",(char *) "which",(char *) "thisWin",(char *) "other", NULL
35656 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OiOO:IndividualLayoutConstraint_GetEdge",kwnames
,&obj0
,&arg2
,&obj2
,&obj3
)) goto fail
;
35657 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxIndividualLayoutConstraint
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35658 if ((SWIG_ConvertPtr(obj2
,(void **) &arg3
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35659 if ((SWIG_ConvertPtr(obj3
,(void **) &arg4
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35662 result
= (int)((wxIndividualLayoutConstraint
const *)arg1
)->GetEdge((wxEdge
)arg2
,arg3
,arg4
);
35664 wxPyEndAllowThreads(__tstate
);
35665 if (PyErr_Occurred()) SWIG_fail
;
35667 resultobj
= PyInt_FromLong((long)result
);
35674 static PyObject
* IndividualLayoutConstraint_swigregister(PyObject
*self
, PyObject
*args
) {
35676 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35677 SWIG_TypeClientData(SWIGTYPE_p_wxIndividualLayoutConstraint
, obj
);
35679 return Py_BuildValue((char *)"");
35681 static PyObject
*_wrap_LayoutConstraints_left_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35682 PyObject
*resultobj
;
35683 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35684 wxIndividualLayoutConstraint
*result
;
35685 PyObject
* obj0
= 0 ;
35686 char *kwnames
[] = {
35687 (char *) "self", NULL
35690 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_left_get",kwnames
,&obj0
)) goto fail
;
35691 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35692 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->left
);
35694 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35701 static PyObject
*_wrap_LayoutConstraints_top_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35702 PyObject
*resultobj
;
35703 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35704 wxIndividualLayoutConstraint
*result
;
35705 PyObject
* obj0
= 0 ;
35706 char *kwnames
[] = {
35707 (char *) "self", NULL
35710 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_top_get",kwnames
,&obj0
)) goto fail
;
35711 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35712 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->top
);
35714 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35721 static PyObject
*_wrap_LayoutConstraints_right_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35722 PyObject
*resultobj
;
35723 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35724 wxIndividualLayoutConstraint
*result
;
35725 PyObject
* obj0
= 0 ;
35726 char *kwnames
[] = {
35727 (char *) "self", NULL
35730 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_right_get",kwnames
,&obj0
)) goto fail
;
35731 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35732 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->right
);
35734 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35741 static PyObject
*_wrap_LayoutConstraints_bottom_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35742 PyObject
*resultobj
;
35743 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35744 wxIndividualLayoutConstraint
*result
;
35745 PyObject
* obj0
= 0 ;
35746 char *kwnames
[] = {
35747 (char *) "self", NULL
35750 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_bottom_get",kwnames
,&obj0
)) goto fail
;
35751 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35752 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->bottom
);
35754 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35761 static PyObject
*_wrap_LayoutConstraints_width_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35762 PyObject
*resultobj
;
35763 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35764 wxIndividualLayoutConstraint
*result
;
35765 PyObject
* obj0
= 0 ;
35766 char *kwnames
[] = {
35767 (char *) "self", NULL
35770 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_width_get",kwnames
,&obj0
)) goto fail
;
35771 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35772 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->width
);
35774 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35781 static PyObject
*_wrap_LayoutConstraints_height_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35782 PyObject
*resultobj
;
35783 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35784 wxIndividualLayoutConstraint
*result
;
35785 PyObject
* obj0
= 0 ;
35786 char *kwnames
[] = {
35787 (char *) "self", NULL
35790 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_height_get",kwnames
,&obj0
)) goto fail
;
35791 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35792 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->height
);
35794 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35801 static PyObject
*_wrap_LayoutConstraints_centreX_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35802 PyObject
*resultobj
;
35803 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35804 wxIndividualLayoutConstraint
*result
;
35805 PyObject
* obj0
= 0 ;
35806 char *kwnames
[] = {
35807 (char *) "self", NULL
35810 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreX_get",kwnames
,&obj0
)) goto fail
;
35811 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35812 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreX
);
35814 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35821 static PyObject
*_wrap_LayoutConstraints_centreY_get(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35822 PyObject
*resultobj
;
35823 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35824 wxIndividualLayoutConstraint
*result
;
35825 PyObject
* obj0
= 0 ;
35826 char *kwnames
[] = {
35827 (char *) "self", NULL
35830 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_centreY_get",kwnames
,&obj0
)) goto fail
;
35831 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35832 result
= (wxIndividualLayoutConstraint
*)& ((arg1
)->centreY
);
35834 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxIndividualLayoutConstraint
, 0);
35841 static PyObject
*_wrap_new_LayoutConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35842 PyObject
*resultobj
;
35843 wxLayoutConstraints
*result
;
35844 char *kwnames
[] = {
35848 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)":new_LayoutConstraints",kwnames
)) goto fail
;
35850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35851 result
= (wxLayoutConstraints
*)new wxLayoutConstraints();
35853 wxPyEndAllowThreads(__tstate
);
35854 if (PyErr_Occurred()) SWIG_fail
;
35856 resultobj
= SWIG_NewPointerObj((void *) result
, SWIGTYPE_p_wxLayoutConstraints
, 1);
35863 static PyObject
*_wrap_LayoutConstraints_SatisfyConstraints(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35864 PyObject
*resultobj
;
35865 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35866 wxWindow
*arg2
= (wxWindow
*) 0 ;
35867 int *arg3
= (int *) 0 ;
35870 PyObject
* obj0
= 0 ;
35871 PyObject
* obj1
= 0 ;
35872 char *kwnames
[] = {
35873 (char *) "self",(char *) "win", NULL
35877 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:LayoutConstraints_SatisfyConstraints",kwnames
,&obj0
,&obj1
)) goto fail
;
35878 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35879 if ((SWIG_ConvertPtr(obj1
,(void **) &arg2
, SWIGTYPE_p_wxWindow
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35882 result
= (bool)(arg1
)->SatisfyConstraints(arg2
,arg3
);
35884 wxPyEndAllowThreads(__tstate
);
35885 if (PyErr_Occurred()) SWIG_fail
;
35887 resultobj
= PyInt_FromLong((long)result
);
35889 PyObject
*o
= PyInt_FromLong((long) (*arg3
));
35890 resultobj
= t_output_helper(resultobj
,o
);
35898 static PyObject
*_wrap_LayoutConstraints_AreSatisfied(PyObject
*self
, PyObject
*args
, PyObject
*kwargs
) {
35899 PyObject
*resultobj
;
35900 wxLayoutConstraints
*arg1
= (wxLayoutConstraints
*) 0 ;
35902 PyObject
* obj0
= 0 ;
35903 char *kwnames
[] = {
35904 (char *) "self", NULL
35907 if(!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O:LayoutConstraints_AreSatisfied",kwnames
,&obj0
)) goto fail
;
35908 if ((SWIG_ConvertPtr(obj0
,(void **) &arg1
, SWIGTYPE_p_wxLayoutConstraints
,SWIG_POINTER_EXCEPTION
| 0 )) == -1) SWIG_fail
;
35910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
35911 result
= (bool)((wxLayoutConstraints
const *)arg1
)->AreSatisfied();
35913 wxPyEndAllowThreads(__tstate
);
35914 if (PyErr_Occurred()) SWIG_fail
;
35916 resultobj
= PyInt_FromLong((long)result
);
35923 static PyObject
* LayoutConstraints_swigregister(PyObject
*self
, PyObject
*args
) {
35925 if (!PyArg_ParseTuple(args
,(char*)"O", &obj
)) return NULL
;
35926 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutConstraints
, obj
);
35928 return Py_BuildValue((char *)"");
35930 static PyMethodDef SwigMethods
[] = {
35931 { (char *)"_wxPySetDictionary", __wxPySetDictionary
, METH_VARARGS
},
35932 { (char *)"Object_GetClassName", (PyCFunction
) _wrap_Object_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
35933 { (char *)"Object_Destroy", (PyCFunction
) _wrap_Object_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
35934 { (char *)"Object_swigregister", Object_swigregister
, METH_VARARGS
},
35935 { (char *)"Size_width_set", (PyCFunction
) _wrap_Size_width_set
, METH_VARARGS
| METH_KEYWORDS
},
35936 { (char *)"Size_width_get", (PyCFunction
) _wrap_Size_width_get
, METH_VARARGS
| METH_KEYWORDS
},
35937 { (char *)"Size_height_set", (PyCFunction
) _wrap_Size_height_set
, METH_VARARGS
| METH_KEYWORDS
},
35938 { (char *)"Size_height_get", (PyCFunction
) _wrap_Size_height_get
, METH_VARARGS
| METH_KEYWORDS
},
35939 { (char *)"new_Size", (PyCFunction
) _wrap_new_Size
, METH_VARARGS
| METH_KEYWORDS
},
35940 { (char *)"delete_Size", (PyCFunction
) _wrap_delete_Size
, METH_VARARGS
| METH_KEYWORDS
},
35941 { (char *)"Size___eq__", (PyCFunction
) _wrap_Size___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35942 { (char *)"Size___ne__", (PyCFunction
) _wrap_Size___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35943 { (char *)"Size___add__", (PyCFunction
) _wrap_Size___add__
, METH_VARARGS
| METH_KEYWORDS
},
35944 { (char *)"Size___sub__", (PyCFunction
) _wrap_Size___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35945 { (char *)"Size_IncTo", (PyCFunction
) _wrap_Size_IncTo
, METH_VARARGS
| METH_KEYWORDS
},
35946 { (char *)"Size_DecTo", (PyCFunction
) _wrap_Size_DecTo
, METH_VARARGS
| METH_KEYWORDS
},
35947 { (char *)"Size_Set", (PyCFunction
) _wrap_Size_Set
, METH_VARARGS
| METH_KEYWORDS
},
35948 { (char *)"Size_SetWidth", (PyCFunction
) _wrap_Size_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35949 { (char *)"Size_SetHeight", (PyCFunction
) _wrap_Size_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35950 { (char *)"Size_GetWidth", (PyCFunction
) _wrap_Size_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35951 { (char *)"Size_GetHeight", (PyCFunction
) _wrap_Size_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35952 { (char *)"Size_Get", (PyCFunction
) _wrap_Size_Get
, METH_VARARGS
| METH_KEYWORDS
},
35953 { (char *)"Size_swigregister", Size_swigregister
, METH_VARARGS
},
35954 { (char *)"RealPoint_x_set", (PyCFunction
) _wrap_RealPoint_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35955 { (char *)"RealPoint_x_get", (PyCFunction
) _wrap_RealPoint_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35956 { (char *)"RealPoint_y_set", (PyCFunction
) _wrap_RealPoint_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35957 { (char *)"RealPoint_y_get", (PyCFunction
) _wrap_RealPoint_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35958 { (char *)"new_RealPoint", (PyCFunction
) _wrap_new_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35959 { (char *)"delete_RealPoint", (PyCFunction
) _wrap_delete_RealPoint
, METH_VARARGS
| METH_KEYWORDS
},
35960 { (char *)"RealPoint___eq__", (PyCFunction
) _wrap_RealPoint___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35961 { (char *)"RealPoint___ne__", (PyCFunction
) _wrap_RealPoint___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35962 { (char *)"RealPoint___add__", (PyCFunction
) _wrap_RealPoint___add__
, METH_VARARGS
| METH_KEYWORDS
},
35963 { (char *)"RealPoint___sub__", (PyCFunction
) _wrap_RealPoint___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35964 { (char *)"RealPoint_Set", (PyCFunction
) _wrap_RealPoint_Set
, METH_VARARGS
| METH_KEYWORDS
},
35965 { (char *)"RealPoint_Get", (PyCFunction
) _wrap_RealPoint_Get
, METH_VARARGS
| METH_KEYWORDS
},
35966 { (char *)"RealPoint_swigregister", RealPoint_swigregister
, METH_VARARGS
},
35967 { (char *)"Point_x_set", (PyCFunction
) _wrap_Point_x_set
, METH_VARARGS
| METH_KEYWORDS
},
35968 { (char *)"Point_x_get", (PyCFunction
) _wrap_Point_x_get
, METH_VARARGS
| METH_KEYWORDS
},
35969 { (char *)"Point_y_set", (PyCFunction
) _wrap_Point_y_set
, METH_VARARGS
| METH_KEYWORDS
},
35970 { (char *)"Point_y_get", (PyCFunction
) _wrap_Point_y_get
, METH_VARARGS
| METH_KEYWORDS
},
35971 { (char *)"new_Point", (PyCFunction
) _wrap_new_Point
, METH_VARARGS
| METH_KEYWORDS
},
35972 { (char *)"delete_Point", (PyCFunction
) _wrap_delete_Point
, METH_VARARGS
| METH_KEYWORDS
},
35973 { (char *)"Point___eq__", (PyCFunction
) _wrap_Point___eq__
, METH_VARARGS
| METH_KEYWORDS
},
35974 { (char *)"Point___ne__", (PyCFunction
) _wrap_Point___ne__
, METH_VARARGS
| METH_KEYWORDS
},
35975 { (char *)"Point___add__", (PyCFunction
) _wrap_Point___add__
, METH_VARARGS
| METH_KEYWORDS
},
35976 { (char *)"Point___sub__", (PyCFunction
) _wrap_Point___sub__
, METH_VARARGS
| METH_KEYWORDS
},
35977 { (char *)"Point___iadd__", (PyCFunction
) _wrap_Point___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
35978 { (char *)"Point___isub__", (PyCFunction
) _wrap_Point___isub__
, METH_VARARGS
| METH_KEYWORDS
},
35979 { (char *)"Point_Set", (PyCFunction
) _wrap_Point_Set
, METH_VARARGS
| METH_KEYWORDS
},
35980 { (char *)"Point_Get", (PyCFunction
) _wrap_Point_Get
, METH_VARARGS
| METH_KEYWORDS
},
35981 { (char *)"Point_swigregister", Point_swigregister
, METH_VARARGS
},
35982 { (char *)"new_Rect", (PyCFunction
) _wrap_new_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35983 { (char *)"new_RectPP", (PyCFunction
) _wrap_new_RectPP
, METH_VARARGS
| METH_KEYWORDS
},
35984 { (char *)"new_RectPS", (PyCFunction
) _wrap_new_RectPS
, METH_VARARGS
| METH_KEYWORDS
},
35985 { (char *)"delete_Rect", (PyCFunction
) _wrap_delete_Rect
, METH_VARARGS
| METH_KEYWORDS
},
35986 { (char *)"Rect_GetX", (PyCFunction
) _wrap_Rect_GetX
, METH_VARARGS
| METH_KEYWORDS
},
35987 { (char *)"Rect_SetX", (PyCFunction
) _wrap_Rect_SetX
, METH_VARARGS
| METH_KEYWORDS
},
35988 { (char *)"Rect_GetY", (PyCFunction
) _wrap_Rect_GetY
, METH_VARARGS
| METH_KEYWORDS
},
35989 { (char *)"Rect_SetY", (PyCFunction
) _wrap_Rect_SetY
, METH_VARARGS
| METH_KEYWORDS
},
35990 { (char *)"Rect_GetWidth", (PyCFunction
) _wrap_Rect_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35991 { (char *)"Rect_SetWidth", (PyCFunction
) _wrap_Rect_SetWidth
, METH_VARARGS
| METH_KEYWORDS
},
35992 { (char *)"Rect_GetHeight", (PyCFunction
) _wrap_Rect_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35993 { (char *)"Rect_SetHeight", (PyCFunction
) _wrap_Rect_SetHeight
, METH_VARARGS
| METH_KEYWORDS
},
35994 { (char *)"Rect_GetPosition", (PyCFunction
) _wrap_Rect_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35995 { (char *)"Rect_SetPosition", (PyCFunction
) _wrap_Rect_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
35996 { (char *)"Rect_GetSize", (PyCFunction
) _wrap_Rect_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
35997 { (char *)"Rect_SetSize", (PyCFunction
) _wrap_Rect_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
35998 { (char *)"Rect_GetTopLeft", (PyCFunction
) _wrap_Rect_GetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
35999 { (char *)"Rect_SetTopLeft", (PyCFunction
) _wrap_Rect_SetTopLeft
, METH_VARARGS
| METH_KEYWORDS
},
36000 { (char *)"Rect_GetBottomRight", (PyCFunction
) _wrap_Rect_GetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
36001 { (char *)"Rect_SetBottomRight", (PyCFunction
) _wrap_Rect_SetBottomRight
, METH_VARARGS
| METH_KEYWORDS
},
36002 { (char *)"Rect_GetLeft", (PyCFunction
) _wrap_Rect_GetLeft
, METH_VARARGS
| METH_KEYWORDS
},
36003 { (char *)"Rect_GetTop", (PyCFunction
) _wrap_Rect_GetTop
, METH_VARARGS
| METH_KEYWORDS
},
36004 { (char *)"Rect_GetBottom", (PyCFunction
) _wrap_Rect_GetBottom
, METH_VARARGS
| METH_KEYWORDS
},
36005 { (char *)"Rect_GetRight", (PyCFunction
) _wrap_Rect_GetRight
, METH_VARARGS
| METH_KEYWORDS
},
36006 { (char *)"Rect_SetLeft", (PyCFunction
) _wrap_Rect_SetLeft
, METH_VARARGS
| METH_KEYWORDS
},
36007 { (char *)"Rect_SetRight", (PyCFunction
) _wrap_Rect_SetRight
, METH_VARARGS
| METH_KEYWORDS
},
36008 { (char *)"Rect_SetTop", (PyCFunction
) _wrap_Rect_SetTop
, METH_VARARGS
| METH_KEYWORDS
},
36009 { (char *)"Rect_SetBottom", (PyCFunction
) _wrap_Rect_SetBottom
, METH_VARARGS
| METH_KEYWORDS
},
36010 { (char *)"Rect_Inflate", (PyCFunction
) _wrap_Rect_Inflate
, METH_VARARGS
| METH_KEYWORDS
},
36011 { (char *)"Rect_Deflate", (PyCFunction
) _wrap_Rect_Deflate
, METH_VARARGS
| METH_KEYWORDS
},
36012 { (char *)"Rect_OffsetXY", (PyCFunction
) _wrap_Rect_OffsetXY
, METH_VARARGS
| METH_KEYWORDS
},
36013 { (char *)"Rect_Offset", (PyCFunction
) _wrap_Rect_Offset
, METH_VARARGS
| METH_KEYWORDS
},
36014 { (char *)"Rect_Intersect", (PyCFunction
) _wrap_Rect_Intersect
, METH_VARARGS
| METH_KEYWORDS
},
36015 { (char *)"Rect___add__", (PyCFunction
) _wrap_Rect___add__
, METH_VARARGS
| METH_KEYWORDS
},
36016 { (char *)"Rect___iadd__", (PyCFunction
) _wrap_Rect___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
36017 { (char *)"Rect___eq__", (PyCFunction
) _wrap_Rect___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36018 { (char *)"Rect___ne__", (PyCFunction
) _wrap_Rect___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36019 { (char *)"Rect_InsideXY", (PyCFunction
) _wrap_Rect_InsideXY
, METH_VARARGS
| METH_KEYWORDS
},
36020 { (char *)"Rect_Inside", (PyCFunction
) _wrap_Rect_Inside
, METH_VARARGS
| METH_KEYWORDS
},
36021 { (char *)"Rect_Intersects", (PyCFunction
) _wrap_Rect_Intersects
, METH_VARARGS
| METH_KEYWORDS
},
36022 { (char *)"Rect_x_set", (PyCFunction
) _wrap_Rect_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36023 { (char *)"Rect_x_get", (PyCFunction
) _wrap_Rect_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36024 { (char *)"Rect_y_set", (PyCFunction
) _wrap_Rect_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36025 { (char *)"Rect_y_get", (PyCFunction
) _wrap_Rect_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36026 { (char *)"Rect_width_set", (PyCFunction
) _wrap_Rect_width_set
, METH_VARARGS
| METH_KEYWORDS
},
36027 { (char *)"Rect_width_get", (PyCFunction
) _wrap_Rect_width_get
, METH_VARARGS
| METH_KEYWORDS
},
36028 { (char *)"Rect_height_set", (PyCFunction
) _wrap_Rect_height_set
, METH_VARARGS
| METH_KEYWORDS
},
36029 { (char *)"Rect_height_get", (PyCFunction
) _wrap_Rect_height_get
, METH_VARARGS
| METH_KEYWORDS
},
36030 { (char *)"Rect_Set", (PyCFunction
) _wrap_Rect_Set
, METH_VARARGS
| METH_KEYWORDS
},
36031 { (char *)"Rect_Get", (PyCFunction
) _wrap_Rect_Get
, METH_VARARGS
| METH_KEYWORDS
},
36032 { (char *)"Rect_swigregister", Rect_swigregister
, METH_VARARGS
},
36033 { (char *)"IntersectRect", (PyCFunction
) _wrap_IntersectRect
, METH_VARARGS
| METH_KEYWORDS
},
36034 { (char *)"new_Point2D", (PyCFunction
) _wrap_new_Point2D
, METH_VARARGS
| METH_KEYWORDS
},
36035 { (char *)"new_Point2DCopy", (PyCFunction
) _wrap_new_Point2DCopy
, METH_VARARGS
| METH_KEYWORDS
},
36036 { (char *)"new_Point2DFromPoint", (PyCFunction
) _wrap_new_Point2DFromPoint
, METH_VARARGS
| METH_KEYWORDS
},
36037 { (char *)"Point2D_GetFloor", (PyCFunction
) _wrap_Point2D_GetFloor
, METH_VARARGS
| METH_KEYWORDS
},
36038 { (char *)"Point2D_GetRounded", (PyCFunction
) _wrap_Point2D_GetRounded
, METH_VARARGS
| METH_KEYWORDS
},
36039 { (char *)"Point2D_GetVectorLength", (PyCFunction
) _wrap_Point2D_GetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
36040 { (char *)"Point2D_GetVectorAngle", (PyCFunction
) _wrap_Point2D_GetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
36041 { (char *)"Point2D_SetVectorLength", (PyCFunction
) _wrap_Point2D_SetVectorLength
, METH_VARARGS
| METH_KEYWORDS
},
36042 { (char *)"Point2D_SetVectorAngle", (PyCFunction
) _wrap_Point2D_SetVectorAngle
, METH_VARARGS
| METH_KEYWORDS
},
36043 { (char *)"Point2D_GetDistance", (PyCFunction
) _wrap_Point2D_GetDistance
, METH_VARARGS
| METH_KEYWORDS
},
36044 { (char *)"Point2D_GetDistanceSquare", (PyCFunction
) _wrap_Point2D_GetDistanceSquare
, METH_VARARGS
| METH_KEYWORDS
},
36045 { (char *)"Point2D_GetDotProduct", (PyCFunction
) _wrap_Point2D_GetDotProduct
, METH_VARARGS
| METH_KEYWORDS
},
36046 { (char *)"Point2D_GetCrossProduct", (PyCFunction
) _wrap_Point2D_GetCrossProduct
, METH_VARARGS
| METH_KEYWORDS
},
36047 { (char *)"Point2D___neg__", (PyCFunction
) _wrap_Point2D___neg__
, METH_VARARGS
| METH_KEYWORDS
},
36048 { (char *)"Point2D___iadd__", (PyCFunction
) _wrap_Point2D___iadd__
, METH_VARARGS
| METH_KEYWORDS
},
36049 { (char *)"Point2D___isub__", (PyCFunction
) _wrap_Point2D___isub__
, METH_VARARGS
| METH_KEYWORDS
},
36050 { (char *)"Point2D___imul__", (PyCFunction
) _wrap_Point2D___imul__
, METH_VARARGS
| METH_KEYWORDS
},
36051 { (char *)"Point2D___idiv__", (PyCFunction
) _wrap_Point2D___idiv__
, METH_VARARGS
| METH_KEYWORDS
},
36052 { (char *)"Point2D___eq__", (PyCFunction
) _wrap_Point2D___eq__
, METH_VARARGS
| METH_KEYWORDS
},
36053 { (char *)"Point2D___ne__", (PyCFunction
) _wrap_Point2D___ne__
, METH_VARARGS
| METH_KEYWORDS
},
36054 { (char *)"Point2D_x_set", (PyCFunction
) _wrap_Point2D_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36055 { (char *)"Point2D_x_get", (PyCFunction
) _wrap_Point2D_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36056 { (char *)"Point2D_y_set", (PyCFunction
) _wrap_Point2D_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36057 { (char *)"Point2D_y_get", (PyCFunction
) _wrap_Point2D_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36058 { (char *)"Point2D_Set", (PyCFunction
) _wrap_Point2D_Set
, METH_VARARGS
| METH_KEYWORDS
},
36059 { (char *)"Point2D_Get", (PyCFunction
) _wrap_Point2D_Get
, METH_VARARGS
| METH_KEYWORDS
},
36060 { (char *)"Point2D_swigregister", Point2D_swigregister
, METH_VARARGS
},
36061 { (char *)"new_InputStream", (PyCFunction
) _wrap_new_InputStream
, METH_VARARGS
| METH_KEYWORDS
},
36062 { (char *)"InputStream_close", (PyCFunction
) _wrap_InputStream_close
, METH_VARARGS
| METH_KEYWORDS
},
36063 { (char *)"InputStream_flush", (PyCFunction
) _wrap_InputStream_flush
, METH_VARARGS
| METH_KEYWORDS
},
36064 { (char *)"InputStream_eof", (PyCFunction
) _wrap_InputStream_eof
, METH_VARARGS
| METH_KEYWORDS
},
36065 { (char *)"InputStream_read", (PyCFunction
) _wrap_InputStream_read
, METH_VARARGS
| METH_KEYWORDS
},
36066 { (char *)"InputStream_readline", (PyCFunction
) _wrap_InputStream_readline
, METH_VARARGS
| METH_KEYWORDS
},
36067 { (char *)"InputStream_readlines", (PyCFunction
) _wrap_InputStream_readlines
, METH_VARARGS
| METH_KEYWORDS
},
36068 { (char *)"InputStream_seek", (PyCFunction
) _wrap_InputStream_seek
, METH_VARARGS
| METH_KEYWORDS
},
36069 { (char *)"InputStream_tell", (PyCFunction
) _wrap_InputStream_tell
, METH_VARARGS
| METH_KEYWORDS
},
36070 { (char *)"InputStream_Peek", (PyCFunction
) _wrap_InputStream_Peek
, METH_VARARGS
| METH_KEYWORDS
},
36071 { (char *)"InputStream_GetC", (PyCFunction
) _wrap_InputStream_GetC
, METH_VARARGS
| METH_KEYWORDS
},
36072 { (char *)"InputStream_LastRead", (PyCFunction
) _wrap_InputStream_LastRead
, METH_VARARGS
| METH_KEYWORDS
},
36073 { (char *)"InputStream_CanRead", (PyCFunction
) _wrap_InputStream_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
36074 { (char *)"InputStream_Eof", (PyCFunction
) _wrap_InputStream_Eof
, METH_VARARGS
| METH_KEYWORDS
},
36075 { (char *)"InputStream_Ungetch", (PyCFunction
) _wrap_InputStream_Ungetch
, METH_VARARGS
| METH_KEYWORDS
},
36076 { (char *)"InputStream_SeekI", (PyCFunction
) _wrap_InputStream_SeekI
, METH_VARARGS
| METH_KEYWORDS
},
36077 { (char *)"InputStream_TellI", (PyCFunction
) _wrap_InputStream_TellI
, METH_VARARGS
| METH_KEYWORDS
},
36078 { (char *)"InputStream_swigregister", InputStream_swigregister
, METH_VARARGS
},
36079 { (char *)"OutputStream_write", (PyCFunction
) _wrap_OutputStream_write
, METH_VARARGS
| METH_KEYWORDS
},
36080 { (char *)"OutputStream_swigregister", OutputStream_swigregister
, METH_VARARGS
},
36081 { (char *)"new_FSFile", (PyCFunction
) _wrap_new_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
36082 { (char *)"delete_FSFile", (PyCFunction
) _wrap_delete_FSFile
, METH_VARARGS
| METH_KEYWORDS
},
36083 { (char *)"FSFile_GetStream", (PyCFunction
) _wrap_FSFile_GetStream
, METH_VARARGS
| METH_KEYWORDS
},
36084 { (char *)"FSFile_GetMimeType", (PyCFunction
) _wrap_FSFile_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
36085 { (char *)"FSFile_GetLocation", (PyCFunction
) _wrap_FSFile_GetLocation
, METH_VARARGS
| METH_KEYWORDS
},
36086 { (char *)"FSFile_GetAnchor", (PyCFunction
) _wrap_FSFile_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
36087 { (char *)"FSFile_GetModificationTime", (PyCFunction
) _wrap_FSFile_GetModificationTime
, METH_VARARGS
| METH_KEYWORDS
},
36088 { (char *)"FSFile_swigregister", FSFile_swigregister
, METH_VARARGS
},
36089 { (char *)"CPPFileSystemHandler_swigregister", CPPFileSystemHandler_swigregister
, METH_VARARGS
},
36090 { (char *)"new_FileSystemHandler", (PyCFunction
) _wrap_new_FileSystemHandler
, METH_VARARGS
| METH_KEYWORDS
},
36091 { (char *)"FileSystemHandler__setCallbackInfo", (PyCFunction
) _wrap_FileSystemHandler__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36092 { (char *)"FileSystemHandler_CanOpen", (PyCFunction
) _wrap_FileSystemHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
36093 { (char *)"FileSystemHandler_OpenFile", (PyCFunction
) _wrap_FileSystemHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36094 { (char *)"FileSystemHandler_FindFirst", (PyCFunction
) _wrap_FileSystemHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
36095 { (char *)"FileSystemHandler_FindNext", (PyCFunction
) _wrap_FileSystemHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
36096 { (char *)"FileSystemHandler_GetProtocol", (PyCFunction
) _wrap_FileSystemHandler_GetProtocol
, METH_VARARGS
| METH_KEYWORDS
},
36097 { (char *)"FileSystemHandler_GetLeftLocation", (PyCFunction
) _wrap_FileSystemHandler_GetLeftLocation
, METH_VARARGS
| METH_KEYWORDS
},
36098 { (char *)"FileSystemHandler_GetAnchor", (PyCFunction
) _wrap_FileSystemHandler_GetAnchor
, METH_VARARGS
| METH_KEYWORDS
},
36099 { (char *)"FileSystemHandler_GetRightLocation", (PyCFunction
) _wrap_FileSystemHandler_GetRightLocation
, METH_VARARGS
| METH_KEYWORDS
},
36100 { (char *)"FileSystemHandler_GetMimeTypeFromExt", (PyCFunction
) _wrap_FileSystemHandler_GetMimeTypeFromExt
, METH_VARARGS
| METH_KEYWORDS
},
36101 { (char *)"FileSystemHandler_swigregister", FileSystemHandler_swigregister
, METH_VARARGS
},
36102 { (char *)"new_FileSystem", (PyCFunction
) _wrap_new_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
36103 { (char *)"delete_FileSystem", (PyCFunction
) _wrap_delete_FileSystem
, METH_VARARGS
| METH_KEYWORDS
},
36104 { (char *)"FileSystem_ChangePathTo", (PyCFunction
) _wrap_FileSystem_ChangePathTo
, METH_VARARGS
| METH_KEYWORDS
},
36105 { (char *)"FileSystem_GetPath", (PyCFunction
) _wrap_FileSystem_GetPath
, METH_VARARGS
| METH_KEYWORDS
},
36106 { (char *)"FileSystem_OpenFile", (PyCFunction
) _wrap_FileSystem_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36107 { (char *)"FileSystem_FindFirst", (PyCFunction
) _wrap_FileSystem_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
36108 { (char *)"FileSystem_FindNext", (PyCFunction
) _wrap_FileSystem_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
36109 { (char *)"FileSystem_AddHandler", (PyCFunction
) _wrap_FileSystem_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
36110 { (char *)"FileSystem_CleanUpHandlers", (PyCFunction
) _wrap_FileSystem_CleanUpHandlers
, METH_VARARGS
| METH_KEYWORDS
},
36111 { (char *)"FileSystem_FileNameToURL", (PyCFunction
) _wrap_FileSystem_FileNameToURL
, METH_VARARGS
| METH_KEYWORDS
},
36112 { (char *)"FileSystem_swigregister", FileSystem_swigregister
, METH_VARARGS
},
36113 { (char *)"FileSystem_URLToFileName", (PyCFunction
) _wrap_FileSystem_URLToFileName
, METH_VARARGS
| METH_KEYWORDS
},
36114 { (char *)"new_InternetFSHandler", (PyCFunction
) _wrap_new_InternetFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
36115 { (char *)"InternetFSHandler_CanOpen", (PyCFunction
) _wrap_InternetFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
36116 { (char *)"InternetFSHandler_OpenFile", (PyCFunction
) _wrap_InternetFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36117 { (char *)"InternetFSHandler_swigregister", InternetFSHandler_swigregister
, METH_VARARGS
},
36118 { (char *)"new_ZipFSHandler", (PyCFunction
) _wrap_new_ZipFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
36119 { (char *)"ZipFSHandler_CanOpen", (PyCFunction
) _wrap_ZipFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
36120 { (char *)"ZipFSHandler_OpenFile", (PyCFunction
) _wrap_ZipFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36121 { (char *)"ZipFSHandler_FindFirst", (PyCFunction
) _wrap_ZipFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
36122 { (char *)"ZipFSHandler_FindNext", (PyCFunction
) _wrap_ZipFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
36123 { (char *)"ZipFSHandler_swigregister", ZipFSHandler_swigregister
, METH_VARARGS
},
36124 { (char *)"__wxMemoryFSHandler_AddFile_wxImage", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxImage
, METH_VARARGS
| METH_KEYWORDS
},
36125 { (char *)"__wxMemoryFSHandler_AddFile_wxBitmap", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_wxBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36126 { (char *)"__wxMemoryFSHandler_AddFile_Data", (PyCFunction
) _wrap___wxMemoryFSHandler_AddFile_Data
, METH_VARARGS
| METH_KEYWORDS
},
36127 { (char *)"new_MemoryFSHandler", (PyCFunction
) _wrap_new_MemoryFSHandler
, METH_VARARGS
| METH_KEYWORDS
},
36128 { (char *)"MemoryFSHandler_RemoveFile", (PyCFunction
) _wrap_MemoryFSHandler_RemoveFile
, METH_VARARGS
| METH_KEYWORDS
},
36129 { (char *)"MemoryFSHandler_CanOpen", (PyCFunction
) _wrap_MemoryFSHandler_CanOpen
, METH_VARARGS
| METH_KEYWORDS
},
36130 { (char *)"MemoryFSHandler_OpenFile", (PyCFunction
) _wrap_MemoryFSHandler_OpenFile
, METH_VARARGS
| METH_KEYWORDS
},
36131 { (char *)"MemoryFSHandler_FindFirst", (PyCFunction
) _wrap_MemoryFSHandler_FindFirst
, METH_VARARGS
| METH_KEYWORDS
},
36132 { (char *)"MemoryFSHandler_FindNext", (PyCFunction
) _wrap_MemoryFSHandler_FindNext
, METH_VARARGS
| METH_KEYWORDS
},
36133 { (char *)"MemoryFSHandler_swigregister", MemoryFSHandler_swigregister
, METH_VARARGS
},
36134 { (char *)"ImageHandler_GetName", (PyCFunction
) _wrap_ImageHandler_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36135 { (char *)"ImageHandler_GetExtension", (PyCFunction
) _wrap_ImageHandler_GetExtension
, METH_VARARGS
| METH_KEYWORDS
},
36136 { (char *)"ImageHandler_GetType", (PyCFunction
) _wrap_ImageHandler_GetType
, METH_VARARGS
| METH_KEYWORDS
},
36137 { (char *)"ImageHandler_GetMimeType", (PyCFunction
) _wrap_ImageHandler_GetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
36138 { (char *)"ImageHandler_CanRead", (PyCFunction
) _wrap_ImageHandler_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
36139 { (char *)"ImageHandler_SetName", (PyCFunction
) _wrap_ImageHandler_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36140 { (char *)"ImageHandler_SetExtension", (PyCFunction
) _wrap_ImageHandler_SetExtension
, METH_VARARGS
| METH_KEYWORDS
},
36141 { (char *)"ImageHandler_SetType", (PyCFunction
) _wrap_ImageHandler_SetType
, METH_VARARGS
| METH_KEYWORDS
},
36142 { (char *)"ImageHandler_SetMimeType", (PyCFunction
) _wrap_ImageHandler_SetMimeType
, METH_VARARGS
| METH_KEYWORDS
},
36143 { (char *)"ImageHandler_swigregister", ImageHandler_swigregister
, METH_VARARGS
},
36144 { (char *)"new_ImageHistogram", (PyCFunction
) _wrap_new_ImageHistogram
, METH_VARARGS
| METH_KEYWORDS
},
36145 { (char *)"ImageHistogram_MakeKey", (PyCFunction
) _wrap_ImageHistogram_MakeKey
, METH_VARARGS
| METH_KEYWORDS
},
36146 { (char *)"ImageHistogram_FindFirstUnusedColour", (PyCFunction
) _wrap_ImageHistogram_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
36147 { (char *)"ImageHistogram_swigregister", ImageHistogram_swigregister
, METH_VARARGS
},
36148 { (char *)"new_Image", (PyCFunction
) _wrap_new_Image
, METH_VARARGS
| METH_KEYWORDS
},
36149 { (char *)"delete_Image", (PyCFunction
) _wrap_delete_Image
, METH_VARARGS
| METH_KEYWORDS
},
36150 { (char *)"new_ImageFromMime", (PyCFunction
) _wrap_new_ImageFromMime
, METH_VARARGS
| METH_KEYWORDS
},
36151 { (char *)"new_ImageFromStream", (PyCFunction
) _wrap_new_ImageFromStream
, METH_VARARGS
| METH_KEYWORDS
},
36152 { (char *)"new_ImageFromStreamMime", (PyCFunction
) _wrap_new_ImageFromStreamMime
, METH_VARARGS
| METH_KEYWORDS
},
36153 { (char *)"new_EmptyImage", (PyCFunction
) _wrap_new_EmptyImage
, METH_VARARGS
| METH_KEYWORDS
},
36154 { (char *)"new_ImageFromBitmap", (PyCFunction
) _wrap_new_ImageFromBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36155 { (char *)"new_ImageFromData", (PyCFunction
) _wrap_new_ImageFromData
, METH_VARARGS
| METH_KEYWORDS
},
36156 { (char *)"Image_Create", (PyCFunction
) _wrap_Image_Create
, METH_VARARGS
| METH_KEYWORDS
},
36157 { (char *)"Image_Destroy", (PyCFunction
) _wrap_Image_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36158 { (char *)"Image_Scale", (PyCFunction
) _wrap_Image_Scale
, METH_VARARGS
| METH_KEYWORDS
},
36159 { (char *)"Image_ShrinkBy", (PyCFunction
) _wrap_Image_ShrinkBy
, METH_VARARGS
| METH_KEYWORDS
},
36160 { (char *)"Image_Rescale", (PyCFunction
) _wrap_Image_Rescale
, METH_VARARGS
| METH_KEYWORDS
},
36161 { (char *)"Image_SetRGB", (PyCFunction
) _wrap_Image_SetRGB
, METH_VARARGS
| METH_KEYWORDS
},
36162 { (char *)"Image_GetRed", (PyCFunction
) _wrap_Image_GetRed
, METH_VARARGS
| METH_KEYWORDS
},
36163 { (char *)"Image_GetGreen", (PyCFunction
) _wrap_Image_GetGreen
, METH_VARARGS
| METH_KEYWORDS
},
36164 { (char *)"Image_GetBlue", (PyCFunction
) _wrap_Image_GetBlue
, METH_VARARGS
| METH_KEYWORDS
},
36165 { (char *)"Image_SetAlpha", (PyCFunction
) _wrap_Image_SetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36166 { (char *)"Image_GetAlpha", (PyCFunction
) _wrap_Image_GetAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36167 { (char *)"Image_HasAlpha", (PyCFunction
) _wrap_Image_HasAlpha
, METH_VARARGS
| METH_KEYWORDS
},
36168 { (char *)"Image_FindFirstUnusedColour", (PyCFunction
) _wrap_Image_FindFirstUnusedColour
, METH_VARARGS
| METH_KEYWORDS
},
36169 { (char *)"Image_SetMaskFromImage", (PyCFunction
) _wrap_Image_SetMaskFromImage
, METH_VARARGS
| METH_KEYWORDS
},
36170 { (char *)"Image_CanRead", (PyCFunction
) _wrap_Image_CanRead
, METH_VARARGS
| METH_KEYWORDS
},
36171 { (char *)"Image_GetImageCount", (PyCFunction
) _wrap_Image_GetImageCount
, METH_VARARGS
| METH_KEYWORDS
},
36172 { (char *)"Image_LoadFile", (PyCFunction
) _wrap_Image_LoadFile
, METH_VARARGS
| METH_KEYWORDS
},
36173 { (char *)"Image_LoadMimeFile", (PyCFunction
) _wrap_Image_LoadMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
36174 { (char *)"Image_SaveFile", (PyCFunction
) _wrap_Image_SaveFile
, METH_VARARGS
| METH_KEYWORDS
},
36175 { (char *)"Image_SaveMimeFile", (PyCFunction
) _wrap_Image_SaveMimeFile
, METH_VARARGS
| METH_KEYWORDS
},
36176 { (char *)"Image_CanReadStream", (PyCFunction
) _wrap_Image_CanReadStream
, METH_VARARGS
| METH_KEYWORDS
},
36177 { (char *)"Image_LoadStream", (PyCFunction
) _wrap_Image_LoadStream
, METH_VARARGS
| METH_KEYWORDS
},
36178 { (char *)"Image_LoadMimeStream", (PyCFunction
) _wrap_Image_LoadMimeStream
, METH_VARARGS
| METH_KEYWORDS
},
36179 { (char *)"Image_Ok", (PyCFunction
) _wrap_Image_Ok
, METH_VARARGS
| METH_KEYWORDS
},
36180 { (char *)"Image_GetWidth", (PyCFunction
) _wrap_Image_GetWidth
, METH_VARARGS
| METH_KEYWORDS
},
36181 { (char *)"Image_GetHeight", (PyCFunction
) _wrap_Image_GetHeight
, METH_VARARGS
| METH_KEYWORDS
},
36182 { (char *)"Image_GetSubImage", (PyCFunction
) _wrap_Image_GetSubImage
, METH_VARARGS
| METH_KEYWORDS
},
36183 { (char *)"Image_Copy", (PyCFunction
) _wrap_Image_Copy
, METH_VARARGS
| METH_KEYWORDS
},
36184 { (char *)"Image_Paste", (PyCFunction
) _wrap_Image_Paste
, METH_VARARGS
| METH_KEYWORDS
},
36185 { (char *)"Image_GetData", (PyCFunction
) _wrap_Image_GetData
, METH_VARARGS
| METH_KEYWORDS
},
36186 { (char *)"Image_SetData", (PyCFunction
) _wrap_Image_SetData
, METH_VARARGS
| METH_KEYWORDS
},
36187 { (char *)"Image_GetDataBuffer", (PyCFunction
) _wrap_Image_GetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36188 { (char *)"Image_SetDataBuffer", (PyCFunction
) _wrap_Image_SetDataBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36189 { (char *)"Image_GetAlphaData", (PyCFunction
) _wrap_Image_GetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
36190 { (char *)"Image_SetAlphaData", (PyCFunction
) _wrap_Image_SetAlphaData
, METH_VARARGS
| METH_KEYWORDS
},
36191 { (char *)"Image_GetAlphaBuffer", (PyCFunction
) _wrap_Image_GetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36192 { (char *)"Image_SetAlphaBuffer", (PyCFunction
) _wrap_Image_SetAlphaBuffer
, METH_VARARGS
| METH_KEYWORDS
},
36193 { (char *)"Image_SetMaskColour", (PyCFunction
) _wrap_Image_SetMaskColour
, METH_VARARGS
| METH_KEYWORDS
},
36194 { (char *)"Image_GetMaskRed", (PyCFunction
) _wrap_Image_GetMaskRed
, METH_VARARGS
| METH_KEYWORDS
},
36195 { (char *)"Image_GetMaskGreen", (PyCFunction
) _wrap_Image_GetMaskGreen
, METH_VARARGS
| METH_KEYWORDS
},
36196 { (char *)"Image_GetMaskBlue", (PyCFunction
) _wrap_Image_GetMaskBlue
, METH_VARARGS
| METH_KEYWORDS
},
36197 { (char *)"Image_SetMask", (PyCFunction
) _wrap_Image_SetMask
, METH_VARARGS
| METH_KEYWORDS
},
36198 { (char *)"Image_HasMask", (PyCFunction
) _wrap_Image_HasMask
, METH_VARARGS
| METH_KEYWORDS
},
36199 { (char *)"Image_Rotate", (PyCFunction
) _wrap_Image_Rotate
, METH_VARARGS
| METH_KEYWORDS
},
36200 { (char *)"Image_Rotate90", (PyCFunction
) _wrap_Image_Rotate90
, METH_VARARGS
| METH_KEYWORDS
},
36201 { (char *)"Image_Mirror", (PyCFunction
) _wrap_Image_Mirror
, METH_VARARGS
| METH_KEYWORDS
},
36202 { (char *)"Image_Replace", (PyCFunction
) _wrap_Image_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36203 { (char *)"Image_ConvertToMono", (PyCFunction
) _wrap_Image_ConvertToMono
, METH_VARARGS
| METH_KEYWORDS
},
36204 { (char *)"Image_SetOption", (PyCFunction
) _wrap_Image_SetOption
, METH_VARARGS
| METH_KEYWORDS
},
36205 { (char *)"Image_SetOptionInt", (PyCFunction
) _wrap_Image_SetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
36206 { (char *)"Image_GetOption", (PyCFunction
) _wrap_Image_GetOption
, METH_VARARGS
| METH_KEYWORDS
},
36207 { (char *)"Image_GetOptionInt", (PyCFunction
) _wrap_Image_GetOptionInt
, METH_VARARGS
| METH_KEYWORDS
},
36208 { (char *)"Image_HasOption", (PyCFunction
) _wrap_Image_HasOption
, METH_VARARGS
| METH_KEYWORDS
},
36209 { (char *)"Image_CountColours", (PyCFunction
) _wrap_Image_CountColours
, METH_VARARGS
| METH_KEYWORDS
},
36210 { (char *)"Image_ComputeHistogram", (PyCFunction
) _wrap_Image_ComputeHistogram
, METH_VARARGS
| METH_KEYWORDS
},
36211 { (char *)"Image_AddHandler", (PyCFunction
) _wrap_Image_AddHandler
, METH_VARARGS
| METH_KEYWORDS
},
36212 { (char *)"Image_InsertHandler", (PyCFunction
) _wrap_Image_InsertHandler
, METH_VARARGS
| METH_KEYWORDS
},
36213 { (char *)"Image_RemoveHandler", (PyCFunction
) _wrap_Image_RemoveHandler
, METH_VARARGS
| METH_KEYWORDS
},
36214 { (char *)"Image_GetImageExtWildcard", (PyCFunction
) _wrap_Image_GetImageExtWildcard
, METH_VARARGS
| METH_KEYWORDS
},
36215 { (char *)"Image_ConvertToBitmap", (PyCFunction
) _wrap_Image_ConvertToBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36216 { (char *)"Image_ConvertToMonoBitmap", (PyCFunction
) _wrap_Image_ConvertToMonoBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36217 { (char *)"Image_swigregister", Image_swigregister
, METH_VARARGS
},
36218 { (char *)"InitAllImageHandlers", (PyCFunction
) _wrap_InitAllImageHandlers
, METH_VARARGS
| METH_KEYWORDS
},
36219 { (char *)"new_BMPHandler", (PyCFunction
) _wrap_new_BMPHandler
, METH_VARARGS
| METH_KEYWORDS
},
36220 { (char *)"BMPHandler_swigregister", BMPHandler_swigregister
, METH_VARARGS
},
36221 { (char *)"new_ICOHandler", (PyCFunction
) _wrap_new_ICOHandler
, METH_VARARGS
| METH_KEYWORDS
},
36222 { (char *)"ICOHandler_swigregister", ICOHandler_swigregister
, METH_VARARGS
},
36223 { (char *)"new_CURHandler", (PyCFunction
) _wrap_new_CURHandler
, METH_VARARGS
| METH_KEYWORDS
},
36224 { (char *)"CURHandler_swigregister", CURHandler_swigregister
, METH_VARARGS
},
36225 { (char *)"new_ANIHandler", (PyCFunction
) _wrap_new_ANIHandler
, METH_VARARGS
| METH_KEYWORDS
},
36226 { (char *)"ANIHandler_swigregister", ANIHandler_swigregister
, METH_VARARGS
},
36227 { (char *)"new_PNGHandler", (PyCFunction
) _wrap_new_PNGHandler
, METH_VARARGS
| METH_KEYWORDS
},
36228 { (char *)"PNGHandler_swigregister", PNGHandler_swigregister
, METH_VARARGS
},
36229 { (char *)"new_GIFHandler", (PyCFunction
) _wrap_new_GIFHandler
, METH_VARARGS
| METH_KEYWORDS
},
36230 { (char *)"GIFHandler_swigregister", GIFHandler_swigregister
, METH_VARARGS
},
36231 { (char *)"new_PCXHandler", (PyCFunction
) _wrap_new_PCXHandler
, METH_VARARGS
| METH_KEYWORDS
},
36232 { (char *)"PCXHandler_swigregister", PCXHandler_swigregister
, METH_VARARGS
},
36233 { (char *)"new_JPEGHandler", (PyCFunction
) _wrap_new_JPEGHandler
, METH_VARARGS
| METH_KEYWORDS
},
36234 { (char *)"JPEGHandler_swigregister", JPEGHandler_swigregister
, METH_VARARGS
},
36235 { (char *)"new_PNMHandler", (PyCFunction
) _wrap_new_PNMHandler
, METH_VARARGS
| METH_KEYWORDS
},
36236 { (char *)"PNMHandler_swigregister", PNMHandler_swigregister
, METH_VARARGS
},
36237 { (char *)"new_XPMHandler", (PyCFunction
) _wrap_new_XPMHandler
, METH_VARARGS
| METH_KEYWORDS
},
36238 { (char *)"XPMHandler_swigregister", XPMHandler_swigregister
, METH_VARARGS
},
36239 { (char *)"new_TIFFHandler", (PyCFunction
) _wrap_new_TIFFHandler
, METH_VARARGS
| METH_KEYWORDS
},
36240 { (char *)"TIFFHandler_swigregister", TIFFHandler_swigregister
, METH_VARARGS
},
36241 { (char *)"new_EvtHandler", (PyCFunction
) _wrap_new_EvtHandler
, METH_VARARGS
| METH_KEYWORDS
},
36242 { (char *)"EvtHandler_GetNextHandler", (PyCFunction
) _wrap_EvtHandler_GetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
36243 { (char *)"EvtHandler_GetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_GetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
36244 { (char *)"EvtHandler_SetNextHandler", (PyCFunction
) _wrap_EvtHandler_SetNextHandler
, METH_VARARGS
| METH_KEYWORDS
},
36245 { (char *)"EvtHandler_SetPreviousHandler", (PyCFunction
) _wrap_EvtHandler_SetPreviousHandler
, METH_VARARGS
| METH_KEYWORDS
},
36246 { (char *)"EvtHandler_GetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_GetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36247 { (char *)"EvtHandler_SetEvtHandlerEnabled", (PyCFunction
) _wrap_EvtHandler_SetEvtHandlerEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36248 { (char *)"EvtHandler_ProcessEvent", (PyCFunction
) _wrap_EvtHandler_ProcessEvent
, METH_VARARGS
| METH_KEYWORDS
},
36249 { (char *)"EvtHandler_AddPendingEvent", (PyCFunction
) _wrap_EvtHandler_AddPendingEvent
, METH_VARARGS
| METH_KEYWORDS
},
36250 { (char *)"EvtHandler_ProcessPendingEvents", (PyCFunction
) _wrap_EvtHandler_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36251 { (char *)"EvtHandler_Connect", (PyCFunction
) _wrap_EvtHandler_Connect
, METH_VARARGS
| METH_KEYWORDS
},
36252 { (char *)"EvtHandler_Disconnect", (PyCFunction
) _wrap_EvtHandler_Disconnect
, METH_VARARGS
| METH_KEYWORDS
},
36253 { (char *)"EvtHandler__setOORInfo", (PyCFunction
) _wrap_EvtHandler__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
36254 { (char *)"EvtHandler_swigregister", EvtHandler_swigregister
, METH_VARARGS
},
36255 { (char *)"NewEventType", (PyCFunction
) _wrap_NewEventType
, METH_VARARGS
| METH_KEYWORDS
},
36256 { (char *)"delete_Event", (PyCFunction
) _wrap_delete_Event
, METH_VARARGS
| METH_KEYWORDS
},
36257 { (char *)"Event_SetEventType", (PyCFunction
) _wrap_Event_SetEventType
, METH_VARARGS
| METH_KEYWORDS
},
36258 { (char *)"Event_GetEventType", (PyCFunction
) _wrap_Event_GetEventType
, METH_VARARGS
| METH_KEYWORDS
},
36259 { (char *)"Event_GetEventObject", (PyCFunction
) _wrap_Event_GetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
36260 { (char *)"Event_SetEventObject", (PyCFunction
) _wrap_Event_SetEventObject
, METH_VARARGS
| METH_KEYWORDS
},
36261 { (char *)"Event_GetTimestamp", (PyCFunction
) _wrap_Event_GetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
36262 { (char *)"Event_SetTimestamp", (PyCFunction
) _wrap_Event_SetTimestamp
, METH_VARARGS
| METH_KEYWORDS
},
36263 { (char *)"Event_GetId", (PyCFunction
) _wrap_Event_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36264 { (char *)"Event_SetId", (PyCFunction
) _wrap_Event_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36265 { (char *)"Event_IsCommandEvent", (PyCFunction
) _wrap_Event_IsCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36266 { (char *)"Event_Skip", (PyCFunction
) _wrap_Event_Skip
, METH_VARARGS
| METH_KEYWORDS
},
36267 { (char *)"Event_GetSkipped", (PyCFunction
) _wrap_Event_GetSkipped
, METH_VARARGS
| METH_KEYWORDS
},
36268 { (char *)"Event_ShouldPropagate", (PyCFunction
) _wrap_Event_ShouldPropagate
, METH_VARARGS
| METH_KEYWORDS
},
36269 { (char *)"Event_StopPropagation", (PyCFunction
) _wrap_Event_StopPropagation
, METH_VARARGS
| METH_KEYWORDS
},
36270 { (char *)"Event_ResumePropagation", (PyCFunction
) _wrap_Event_ResumePropagation
, METH_VARARGS
| METH_KEYWORDS
},
36271 { (char *)"Event_Clone", (PyCFunction
) _wrap_Event_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36272 { (char *)"Event_swigregister", Event_swigregister
, METH_VARARGS
},
36273 { (char *)"new_PropagationDisabler", (PyCFunction
) _wrap_new_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
36274 { (char *)"delete_PropagationDisabler", (PyCFunction
) _wrap_delete_PropagationDisabler
, METH_VARARGS
| METH_KEYWORDS
},
36275 { (char *)"PropagationDisabler_swigregister", PropagationDisabler_swigregister
, METH_VARARGS
},
36276 { (char *)"new_PropagateOnce", (PyCFunction
) _wrap_new_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
36277 { (char *)"delete_PropagateOnce", (PyCFunction
) _wrap_delete_PropagateOnce
, METH_VARARGS
| METH_KEYWORDS
},
36278 { (char *)"PropagateOnce_swigregister", PropagateOnce_swigregister
, METH_VARARGS
},
36279 { (char *)"new_CommandEvent", (PyCFunction
) _wrap_new_CommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36280 { (char *)"CommandEvent_GetSelection", (PyCFunction
) _wrap_CommandEvent_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36281 { (char *)"CommandEvent_SetString", (PyCFunction
) _wrap_CommandEvent_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36282 { (char *)"CommandEvent_GetString", (PyCFunction
) _wrap_CommandEvent_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36283 { (char *)"CommandEvent_IsChecked", (PyCFunction
) _wrap_CommandEvent_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36284 { (char *)"CommandEvent_IsSelection", (PyCFunction
) _wrap_CommandEvent_IsSelection
, METH_VARARGS
| METH_KEYWORDS
},
36285 { (char *)"CommandEvent_SetExtraLong", (PyCFunction
) _wrap_CommandEvent_SetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
36286 { (char *)"CommandEvent_GetExtraLong", (PyCFunction
) _wrap_CommandEvent_GetExtraLong
, METH_VARARGS
| METH_KEYWORDS
},
36287 { (char *)"CommandEvent_SetInt", (PyCFunction
) _wrap_CommandEvent_SetInt
, METH_VARARGS
| METH_KEYWORDS
},
36288 { (char *)"CommandEvent_GetInt", (PyCFunction
) _wrap_CommandEvent_GetInt
, METH_VARARGS
| METH_KEYWORDS
},
36289 { (char *)"CommandEvent_Clone", (PyCFunction
) _wrap_CommandEvent_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36290 { (char *)"CommandEvent_swigregister", CommandEvent_swigregister
, METH_VARARGS
},
36291 { (char *)"new_NotifyEvent", (PyCFunction
) _wrap_new_NotifyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36292 { (char *)"NotifyEvent_Veto", (PyCFunction
) _wrap_NotifyEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
36293 { (char *)"NotifyEvent_Allow", (PyCFunction
) _wrap_NotifyEvent_Allow
, METH_VARARGS
| METH_KEYWORDS
},
36294 { (char *)"NotifyEvent_IsAllowed", (PyCFunction
) _wrap_NotifyEvent_IsAllowed
, METH_VARARGS
| METH_KEYWORDS
},
36295 { (char *)"NotifyEvent_swigregister", NotifyEvent_swigregister
, METH_VARARGS
},
36296 { (char *)"new_ScrollEvent", (PyCFunction
) _wrap_new_ScrollEvent
, METH_VARARGS
| METH_KEYWORDS
},
36297 { (char *)"ScrollEvent_GetOrientation", (PyCFunction
) _wrap_ScrollEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36298 { (char *)"ScrollEvent_GetPosition", (PyCFunction
) _wrap_ScrollEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36299 { (char *)"ScrollEvent_SetOrientation", (PyCFunction
) _wrap_ScrollEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36300 { (char *)"ScrollEvent_SetPosition", (PyCFunction
) _wrap_ScrollEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36301 { (char *)"ScrollEvent_swigregister", ScrollEvent_swigregister
, METH_VARARGS
},
36302 { (char *)"new_ScrollWinEvent", (PyCFunction
) _wrap_new_ScrollWinEvent
, METH_VARARGS
| METH_KEYWORDS
},
36303 { (char *)"ScrollWinEvent_GetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36304 { (char *)"ScrollWinEvent_GetPosition", (PyCFunction
) _wrap_ScrollWinEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36305 { (char *)"ScrollWinEvent_SetOrientation", (PyCFunction
) _wrap_ScrollWinEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
36306 { (char *)"ScrollWinEvent_SetPosition", (PyCFunction
) _wrap_ScrollWinEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36307 { (char *)"ScrollWinEvent_swigregister", ScrollWinEvent_swigregister
, METH_VARARGS
},
36308 { (char *)"new_MouseEvent", (PyCFunction
) _wrap_new_MouseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36309 { (char *)"MouseEvent_IsButton", (PyCFunction
) _wrap_MouseEvent_IsButton
, METH_VARARGS
| METH_KEYWORDS
},
36310 { (char *)"MouseEvent_ButtonDown", (PyCFunction
) _wrap_MouseEvent_ButtonDown
, METH_VARARGS
| METH_KEYWORDS
},
36311 { (char *)"MouseEvent_ButtonDClick", (PyCFunction
) _wrap_MouseEvent_ButtonDClick
, METH_VARARGS
| METH_KEYWORDS
},
36312 { (char *)"MouseEvent_ButtonUp", (PyCFunction
) _wrap_MouseEvent_ButtonUp
, METH_VARARGS
| METH_KEYWORDS
},
36313 { (char *)"MouseEvent_Button", (PyCFunction
) _wrap_MouseEvent_Button
, METH_VARARGS
| METH_KEYWORDS
},
36314 { (char *)"MouseEvent_ButtonIsDown", (PyCFunction
) _wrap_MouseEvent_ButtonIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36315 { (char *)"MouseEvent_GetButton", (PyCFunction
) _wrap_MouseEvent_GetButton
, METH_VARARGS
| METH_KEYWORDS
},
36316 { (char *)"MouseEvent_ControlDown", (PyCFunction
) _wrap_MouseEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
36317 { (char *)"MouseEvent_MetaDown", (PyCFunction
) _wrap_MouseEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
36318 { (char *)"MouseEvent_AltDown", (PyCFunction
) _wrap_MouseEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
36319 { (char *)"MouseEvent_ShiftDown", (PyCFunction
) _wrap_MouseEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
36320 { (char *)"MouseEvent_LeftDown", (PyCFunction
) _wrap_MouseEvent_LeftDown
, METH_VARARGS
| METH_KEYWORDS
},
36321 { (char *)"MouseEvent_MiddleDown", (PyCFunction
) _wrap_MouseEvent_MiddleDown
, METH_VARARGS
| METH_KEYWORDS
},
36322 { (char *)"MouseEvent_RightDown", (PyCFunction
) _wrap_MouseEvent_RightDown
, METH_VARARGS
| METH_KEYWORDS
},
36323 { (char *)"MouseEvent_LeftUp", (PyCFunction
) _wrap_MouseEvent_LeftUp
, METH_VARARGS
| METH_KEYWORDS
},
36324 { (char *)"MouseEvent_MiddleUp", (PyCFunction
) _wrap_MouseEvent_MiddleUp
, METH_VARARGS
| METH_KEYWORDS
},
36325 { (char *)"MouseEvent_RightUp", (PyCFunction
) _wrap_MouseEvent_RightUp
, METH_VARARGS
| METH_KEYWORDS
},
36326 { (char *)"MouseEvent_LeftDClick", (PyCFunction
) _wrap_MouseEvent_LeftDClick
, METH_VARARGS
| METH_KEYWORDS
},
36327 { (char *)"MouseEvent_MiddleDClick", (PyCFunction
) _wrap_MouseEvent_MiddleDClick
, METH_VARARGS
| METH_KEYWORDS
},
36328 { (char *)"MouseEvent_RightDClick", (PyCFunction
) _wrap_MouseEvent_RightDClick
, METH_VARARGS
| METH_KEYWORDS
},
36329 { (char *)"MouseEvent_LeftIsDown", (PyCFunction
) _wrap_MouseEvent_LeftIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36330 { (char *)"MouseEvent_MiddleIsDown", (PyCFunction
) _wrap_MouseEvent_MiddleIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36331 { (char *)"MouseEvent_RightIsDown", (PyCFunction
) _wrap_MouseEvent_RightIsDown
, METH_VARARGS
| METH_KEYWORDS
},
36332 { (char *)"MouseEvent_Dragging", (PyCFunction
) _wrap_MouseEvent_Dragging
, METH_VARARGS
| METH_KEYWORDS
},
36333 { (char *)"MouseEvent_Moving", (PyCFunction
) _wrap_MouseEvent_Moving
, METH_VARARGS
| METH_KEYWORDS
},
36334 { (char *)"MouseEvent_Entering", (PyCFunction
) _wrap_MouseEvent_Entering
, METH_VARARGS
| METH_KEYWORDS
},
36335 { (char *)"MouseEvent_Leaving", (PyCFunction
) _wrap_MouseEvent_Leaving
, METH_VARARGS
| METH_KEYWORDS
},
36336 { (char *)"MouseEvent_GetPosition", (PyCFunction
) _wrap_MouseEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36337 { (char *)"MouseEvent_GetPositionTuple", (PyCFunction
) _wrap_MouseEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36338 { (char *)"MouseEvent_GetLogicalPosition", (PyCFunction
) _wrap_MouseEvent_GetLogicalPosition
, METH_VARARGS
| METH_KEYWORDS
},
36339 { (char *)"MouseEvent_GetX", (PyCFunction
) _wrap_MouseEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36340 { (char *)"MouseEvent_GetY", (PyCFunction
) _wrap_MouseEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36341 { (char *)"MouseEvent_GetWheelRotation", (PyCFunction
) _wrap_MouseEvent_GetWheelRotation
, METH_VARARGS
| METH_KEYWORDS
},
36342 { (char *)"MouseEvent_GetWheelDelta", (PyCFunction
) _wrap_MouseEvent_GetWheelDelta
, METH_VARARGS
| METH_KEYWORDS
},
36343 { (char *)"MouseEvent_GetLinesPerAction", (PyCFunction
) _wrap_MouseEvent_GetLinesPerAction
, METH_VARARGS
| METH_KEYWORDS
},
36344 { (char *)"MouseEvent_IsPageScroll", (PyCFunction
) _wrap_MouseEvent_IsPageScroll
, METH_VARARGS
| METH_KEYWORDS
},
36345 { (char *)"MouseEvent_m_x_set", (PyCFunction
) _wrap_MouseEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36346 { (char *)"MouseEvent_m_x_get", (PyCFunction
) _wrap_MouseEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36347 { (char *)"MouseEvent_m_y_set", (PyCFunction
) _wrap_MouseEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36348 { (char *)"MouseEvent_m_y_get", (PyCFunction
) _wrap_MouseEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36349 { (char *)"MouseEvent_m_leftDown_set", (PyCFunction
) _wrap_MouseEvent_m_leftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36350 { (char *)"MouseEvent_m_leftDown_get", (PyCFunction
) _wrap_MouseEvent_m_leftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36351 { (char *)"MouseEvent_m_middleDown_set", (PyCFunction
) _wrap_MouseEvent_m_middleDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36352 { (char *)"MouseEvent_m_middleDown_get", (PyCFunction
) _wrap_MouseEvent_m_middleDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36353 { (char *)"MouseEvent_m_rightDown_set", (PyCFunction
) _wrap_MouseEvent_m_rightDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36354 { (char *)"MouseEvent_m_rightDown_get", (PyCFunction
) _wrap_MouseEvent_m_rightDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36355 { (char *)"MouseEvent_m_controlDown_set", (PyCFunction
) _wrap_MouseEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36356 { (char *)"MouseEvent_m_controlDown_get", (PyCFunction
) _wrap_MouseEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36357 { (char *)"MouseEvent_m_shiftDown_set", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36358 { (char *)"MouseEvent_m_shiftDown_get", (PyCFunction
) _wrap_MouseEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36359 { (char *)"MouseEvent_m_altDown_set", (PyCFunction
) _wrap_MouseEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36360 { (char *)"MouseEvent_m_altDown_get", (PyCFunction
) _wrap_MouseEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36361 { (char *)"MouseEvent_m_metaDown_set", (PyCFunction
) _wrap_MouseEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36362 { (char *)"MouseEvent_m_metaDown_get", (PyCFunction
) _wrap_MouseEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36363 { (char *)"MouseEvent_m_wheelRotation_set", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_set
, METH_VARARGS
| METH_KEYWORDS
},
36364 { (char *)"MouseEvent_m_wheelRotation_get", (PyCFunction
) _wrap_MouseEvent_m_wheelRotation_get
, METH_VARARGS
| METH_KEYWORDS
},
36365 { (char *)"MouseEvent_m_wheelDelta_set", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_set
, METH_VARARGS
| METH_KEYWORDS
},
36366 { (char *)"MouseEvent_m_wheelDelta_get", (PyCFunction
) _wrap_MouseEvent_m_wheelDelta_get
, METH_VARARGS
| METH_KEYWORDS
},
36367 { (char *)"MouseEvent_m_linesPerAction_set", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_set
, METH_VARARGS
| METH_KEYWORDS
},
36368 { (char *)"MouseEvent_m_linesPerAction_get", (PyCFunction
) _wrap_MouseEvent_m_linesPerAction_get
, METH_VARARGS
| METH_KEYWORDS
},
36369 { (char *)"MouseEvent_swigregister", MouseEvent_swigregister
, METH_VARARGS
},
36370 { (char *)"new_SetCursorEvent", (PyCFunction
) _wrap_new_SetCursorEvent
, METH_VARARGS
| METH_KEYWORDS
},
36371 { (char *)"SetCursorEvent_GetX", (PyCFunction
) _wrap_SetCursorEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36372 { (char *)"SetCursorEvent_GetY", (PyCFunction
) _wrap_SetCursorEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36373 { (char *)"SetCursorEvent_SetCursor", (PyCFunction
) _wrap_SetCursorEvent_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36374 { (char *)"SetCursorEvent_GetCursor", (PyCFunction
) _wrap_SetCursorEvent_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36375 { (char *)"SetCursorEvent_HasCursor", (PyCFunction
) _wrap_SetCursorEvent_HasCursor
, METH_VARARGS
| METH_KEYWORDS
},
36376 { (char *)"SetCursorEvent_swigregister", SetCursorEvent_swigregister
, METH_VARARGS
},
36377 { (char *)"new_KeyEvent", (PyCFunction
) _wrap_new_KeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36378 { (char *)"KeyEvent_ControlDown", (PyCFunction
) _wrap_KeyEvent_ControlDown
, METH_VARARGS
| METH_KEYWORDS
},
36379 { (char *)"KeyEvent_MetaDown", (PyCFunction
) _wrap_KeyEvent_MetaDown
, METH_VARARGS
| METH_KEYWORDS
},
36380 { (char *)"KeyEvent_AltDown", (PyCFunction
) _wrap_KeyEvent_AltDown
, METH_VARARGS
| METH_KEYWORDS
},
36381 { (char *)"KeyEvent_ShiftDown", (PyCFunction
) _wrap_KeyEvent_ShiftDown
, METH_VARARGS
| METH_KEYWORDS
},
36382 { (char *)"KeyEvent_HasModifiers", (PyCFunction
) _wrap_KeyEvent_HasModifiers
, METH_VARARGS
| METH_KEYWORDS
},
36383 { (char *)"KeyEvent_GetKeyCode", (PyCFunction
) _wrap_KeyEvent_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36384 { (char *)"KeyEvent_GetUniChar", (PyCFunction
) _wrap_KeyEvent_GetUniChar
, METH_VARARGS
| METH_KEYWORDS
},
36385 { (char *)"KeyEvent_GetRawKeyCode", (PyCFunction
) _wrap_KeyEvent_GetRawKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36386 { (char *)"KeyEvent_GetRawKeyFlags", (PyCFunction
) _wrap_KeyEvent_GetRawKeyFlags
, METH_VARARGS
| METH_KEYWORDS
},
36387 { (char *)"KeyEvent_GetPosition", (PyCFunction
) _wrap_KeyEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36388 { (char *)"KeyEvent_GetPositionTuple", (PyCFunction
) _wrap_KeyEvent_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36389 { (char *)"KeyEvent_GetX", (PyCFunction
) _wrap_KeyEvent_GetX
, METH_VARARGS
| METH_KEYWORDS
},
36390 { (char *)"KeyEvent_GetY", (PyCFunction
) _wrap_KeyEvent_GetY
, METH_VARARGS
| METH_KEYWORDS
},
36391 { (char *)"KeyEvent_m_x_set", (PyCFunction
) _wrap_KeyEvent_m_x_set
, METH_VARARGS
| METH_KEYWORDS
},
36392 { (char *)"KeyEvent_m_x_get", (PyCFunction
) _wrap_KeyEvent_m_x_get
, METH_VARARGS
| METH_KEYWORDS
},
36393 { (char *)"KeyEvent_m_y_set", (PyCFunction
) _wrap_KeyEvent_m_y_set
, METH_VARARGS
| METH_KEYWORDS
},
36394 { (char *)"KeyEvent_m_y_get", (PyCFunction
) _wrap_KeyEvent_m_y_get
, METH_VARARGS
| METH_KEYWORDS
},
36395 { (char *)"KeyEvent_m_keyCode_set", (PyCFunction
) _wrap_KeyEvent_m_keyCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36396 { (char *)"KeyEvent_m_keyCode_get", (PyCFunction
) _wrap_KeyEvent_m_keyCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36397 { (char *)"KeyEvent_m_controlDown_set", (PyCFunction
) _wrap_KeyEvent_m_controlDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36398 { (char *)"KeyEvent_m_controlDown_get", (PyCFunction
) _wrap_KeyEvent_m_controlDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36399 { (char *)"KeyEvent_m_shiftDown_set", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36400 { (char *)"KeyEvent_m_shiftDown_get", (PyCFunction
) _wrap_KeyEvent_m_shiftDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36401 { (char *)"KeyEvent_m_altDown_set", (PyCFunction
) _wrap_KeyEvent_m_altDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36402 { (char *)"KeyEvent_m_altDown_get", (PyCFunction
) _wrap_KeyEvent_m_altDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36403 { (char *)"KeyEvent_m_metaDown_set", (PyCFunction
) _wrap_KeyEvent_m_metaDown_set
, METH_VARARGS
| METH_KEYWORDS
},
36404 { (char *)"KeyEvent_m_metaDown_get", (PyCFunction
) _wrap_KeyEvent_m_metaDown_get
, METH_VARARGS
| METH_KEYWORDS
},
36405 { (char *)"KeyEvent_m_scanCode_set", (PyCFunction
) _wrap_KeyEvent_m_scanCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36406 { (char *)"KeyEvent_m_scanCode_get", (PyCFunction
) _wrap_KeyEvent_m_scanCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36407 { (char *)"KeyEvent_m_rawCode_set", (PyCFunction
) _wrap_KeyEvent_m_rawCode_set
, METH_VARARGS
| METH_KEYWORDS
},
36408 { (char *)"KeyEvent_m_rawCode_get", (PyCFunction
) _wrap_KeyEvent_m_rawCode_get
, METH_VARARGS
| METH_KEYWORDS
},
36409 { (char *)"KeyEvent_m_rawFlags_set", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_set
, METH_VARARGS
| METH_KEYWORDS
},
36410 { (char *)"KeyEvent_m_rawFlags_get", (PyCFunction
) _wrap_KeyEvent_m_rawFlags_get
, METH_VARARGS
| METH_KEYWORDS
},
36411 { (char *)"KeyEvent_swigregister", KeyEvent_swigregister
, METH_VARARGS
},
36412 { (char *)"new_SizeEvent", (PyCFunction
) _wrap_new_SizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36413 { (char *)"SizeEvent_GetSize", (PyCFunction
) _wrap_SizeEvent_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36414 { (char *)"SizeEvent_GetRect", (PyCFunction
) _wrap_SizeEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36415 { (char *)"SizeEvent_SetRect", (PyCFunction
) _wrap_SizeEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36416 { (char *)"SizeEvent_SetSize", (PyCFunction
) _wrap_SizeEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36417 { (char *)"SizeEvent_m_size_set", (PyCFunction
) _wrap_SizeEvent_m_size_set
, METH_VARARGS
| METH_KEYWORDS
},
36418 { (char *)"SizeEvent_m_size_get", (PyCFunction
) _wrap_SizeEvent_m_size_get
, METH_VARARGS
| METH_KEYWORDS
},
36419 { (char *)"SizeEvent_m_rect_set", (PyCFunction
) _wrap_SizeEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
36420 { (char *)"SizeEvent_m_rect_get", (PyCFunction
) _wrap_SizeEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
36421 { (char *)"SizeEvent_swigregister", SizeEvent_swigregister
, METH_VARARGS
},
36422 { (char *)"new_MoveEvent", (PyCFunction
) _wrap_new_MoveEvent
, METH_VARARGS
| METH_KEYWORDS
},
36423 { (char *)"MoveEvent_GetPosition", (PyCFunction
) _wrap_MoveEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36424 { (char *)"MoveEvent_GetRect", (PyCFunction
) _wrap_MoveEvent_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36425 { (char *)"MoveEvent_SetRect", (PyCFunction
) _wrap_MoveEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36426 { (char *)"MoveEvent_SetPosition", (PyCFunction
) _wrap_MoveEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36427 { (char *)"MoveEvent_m_pos_set", (PyCFunction
) _wrap_MoveEvent_m_pos_set
, METH_VARARGS
| METH_KEYWORDS
},
36428 { (char *)"MoveEvent_m_pos_get", (PyCFunction
) _wrap_MoveEvent_m_pos_get
, METH_VARARGS
| METH_KEYWORDS
},
36429 { (char *)"MoveEvent_m_rect_set", (PyCFunction
) _wrap_MoveEvent_m_rect_set
, METH_VARARGS
| METH_KEYWORDS
},
36430 { (char *)"MoveEvent_m_rect_get", (PyCFunction
) _wrap_MoveEvent_m_rect_get
, METH_VARARGS
| METH_KEYWORDS
},
36431 { (char *)"MoveEvent_swigregister", MoveEvent_swigregister
, METH_VARARGS
},
36432 { (char *)"new_PaintEvent", (PyCFunction
) _wrap_new_PaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
36433 { (char *)"PaintEvent_swigregister", PaintEvent_swigregister
, METH_VARARGS
},
36434 { (char *)"new_NcPaintEvent", (PyCFunction
) _wrap_new_NcPaintEvent
, METH_VARARGS
| METH_KEYWORDS
},
36435 { (char *)"NcPaintEvent_swigregister", NcPaintEvent_swigregister
, METH_VARARGS
},
36436 { (char *)"new_EraseEvent", (PyCFunction
) _wrap_new_EraseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36437 { (char *)"EraseEvent_GetDC", (PyCFunction
) _wrap_EraseEvent_GetDC
, METH_VARARGS
| METH_KEYWORDS
},
36438 { (char *)"EraseEvent_swigregister", EraseEvent_swigregister
, METH_VARARGS
},
36439 { (char *)"new_FocusEvent", (PyCFunction
) _wrap_new_FocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
36440 { (char *)"FocusEvent_GetWindow", (PyCFunction
) _wrap_FocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36441 { (char *)"FocusEvent_SetWindow", (PyCFunction
) _wrap_FocusEvent_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36442 { (char *)"FocusEvent_swigregister", FocusEvent_swigregister
, METH_VARARGS
},
36443 { (char *)"new_ChildFocusEvent", (PyCFunction
) _wrap_new_ChildFocusEvent
, METH_VARARGS
| METH_KEYWORDS
},
36444 { (char *)"ChildFocusEvent_GetWindow", (PyCFunction
) _wrap_ChildFocusEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36445 { (char *)"ChildFocusEvent_swigregister", ChildFocusEvent_swigregister
, METH_VARARGS
},
36446 { (char *)"new_ActivateEvent", (PyCFunction
) _wrap_new_ActivateEvent
, METH_VARARGS
| METH_KEYWORDS
},
36447 { (char *)"ActivateEvent_GetActive", (PyCFunction
) _wrap_ActivateEvent_GetActive
, METH_VARARGS
| METH_KEYWORDS
},
36448 { (char *)"ActivateEvent_swigregister", ActivateEvent_swigregister
, METH_VARARGS
},
36449 { (char *)"new_InitDialogEvent", (PyCFunction
) _wrap_new_InitDialogEvent
, METH_VARARGS
| METH_KEYWORDS
},
36450 { (char *)"InitDialogEvent_swigregister", InitDialogEvent_swigregister
, METH_VARARGS
},
36451 { (char *)"new_MenuEvent", (PyCFunction
) _wrap_new_MenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
36452 { (char *)"MenuEvent_GetMenuId", (PyCFunction
) _wrap_MenuEvent_GetMenuId
, METH_VARARGS
| METH_KEYWORDS
},
36453 { (char *)"MenuEvent_IsPopup", (PyCFunction
) _wrap_MenuEvent_IsPopup
, METH_VARARGS
| METH_KEYWORDS
},
36454 { (char *)"MenuEvent_GetMenu", (PyCFunction
) _wrap_MenuEvent_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36455 { (char *)"MenuEvent_swigregister", MenuEvent_swigregister
, METH_VARARGS
},
36456 { (char *)"new_CloseEvent", (PyCFunction
) _wrap_new_CloseEvent
, METH_VARARGS
| METH_KEYWORDS
},
36457 { (char *)"CloseEvent_SetLoggingOff", (PyCFunction
) _wrap_CloseEvent_SetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
36458 { (char *)"CloseEvent_GetLoggingOff", (PyCFunction
) _wrap_CloseEvent_GetLoggingOff
, METH_VARARGS
| METH_KEYWORDS
},
36459 { (char *)"CloseEvent_Veto", (PyCFunction
) _wrap_CloseEvent_Veto
, METH_VARARGS
| METH_KEYWORDS
},
36460 { (char *)"CloseEvent_SetCanVeto", (PyCFunction
) _wrap_CloseEvent_SetCanVeto
, METH_VARARGS
| METH_KEYWORDS
},
36461 { (char *)"CloseEvent_CanVeto", (PyCFunction
) _wrap_CloseEvent_CanVeto
, METH_VARARGS
| METH_KEYWORDS
},
36462 { (char *)"CloseEvent_GetVeto", (PyCFunction
) _wrap_CloseEvent_GetVeto
, METH_VARARGS
| METH_KEYWORDS
},
36463 { (char *)"CloseEvent_swigregister", CloseEvent_swigregister
, METH_VARARGS
},
36464 { (char *)"new_ShowEvent", (PyCFunction
) _wrap_new_ShowEvent
, METH_VARARGS
| METH_KEYWORDS
},
36465 { (char *)"ShowEvent_SetShow", (PyCFunction
) _wrap_ShowEvent_SetShow
, METH_VARARGS
| METH_KEYWORDS
},
36466 { (char *)"ShowEvent_GetShow", (PyCFunction
) _wrap_ShowEvent_GetShow
, METH_VARARGS
| METH_KEYWORDS
},
36467 { (char *)"ShowEvent_swigregister", ShowEvent_swigregister
, METH_VARARGS
},
36468 { (char *)"new_IconizeEvent", (PyCFunction
) _wrap_new_IconizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36469 { (char *)"IconizeEvent_Iconized", (PyCFunction
) _wrap_IconizeEvent_Iconized
, METH_VARARGS
| METH_KEYWORDS
},
36470 { (char *)"IconizeEvent_swigregister", IconizeEvent_swigregister
, METH_VARARGS
},
36471 { (char *)"new_MaximizeEvent", (PyCFunction
) _wrap_new_MaximizeEvent
, METH_VARARGS
| METH_KEYWORDS
},
36472 { (char *)"MaximizeEvent_swigregister", MaximizeEvent_swigregister
, METH_VARARGS
},
36473 { (char *)"DropFilesEvent_GetPosition", (PyCFunction
) _wrap_DropFilesEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36474 { (char *)"DropFilesEvent_GetNumberOfFiles", (PyCFunction
) _wrap_DropFilesEvent_GetNumberOfFiles
, METH_VARARGS
| METH_KEYWORDS
},
36475 { (char *)"DropFilesEvent_GetFiles", (PyCFunction
) _wrap_DropFilesEvent_GetFiles
, METH_VARARGS
| METH_KEYWORDS
},
36476 { (char *)"DropFilesEvent_swigregister", DropFilesEvent_swigregister
, METH_VARARGS
},
36477 { (char *)"new_UpdateUIEvent", (PyCFunction
) _wrap_new_UpdateUIEvent
, METH_VARARGS
| METH_KEYWORDS
},
36478 { (char *)"UpdateUIEvent_GetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetChecked
, METH_VARARGS
| METH_KEYWORDS
},
36479 { (char *)"UpdateUIEvent_GetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36480 { (char *)"UpdateUIEvent_GetText", (PyCFunction
) _wrap_UpdateUIEvent_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36481 { (char *)"UpdateUIEvent_GetSetText", (PyCFunction
) _wrap_UpdateUIEvent_GetSetText
, METH_VARARGS
| METH_KEYWORDS
},
36482 { (char *)"UpdateUIEvent_GetSetChecked", (PyCFunction
) _wrap_UpdateUIEvent_GetSetChecked
, METH_VARARGS
| METH_KEYWORDS
},
36483 { (char *)"UpdateUIEvent_GetSetEnabled", (PyCFunction
) _wrap_UpdateUIEvent_GetSetEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36484 { (char *)"UpdateUIEvent_Check", (PyCFunction
) _wrap_UpdateUIEvent_Check
, METH_VARARGS
| METH_KEYWORDS
},
36485 { (char *)"UpdateUIEvent_Enable", (PyCFunction
) _wrap_UpdateUIEvent_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36486 { (char *)"UpdateUIEvent_SetText", (PyCFunction
) _wrap_UpdateUIEvent_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36487 { (char *)"UpdateUIEvent_SetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_SetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36488 { (char *)"UpdateUIEvent_GetUpdateInterval", (PyCFunction
) _wrap_UpdateUIEvent_GetUpdateInterval
, METH_VARARGS
| METH_KEYWORDS
},
36489 { (char *)"UpdateUIEvent_CanUpdate", (PyCFunction
) _wrap_UpdateUIEvent_CanUpdate
, METH_VARARGS
| METH_KEYWORDS
},
36490 { (char *)"UpdateUIEvent_ResetUpdateTime", (PyCFunction
) _wrap_UpdateUIEvent_ResetUpdateTime
, METH_VARARGS
| METH_KEYWORDS
},
36491 { (char *)"UpdateUIEvent_SetMode", (PyCFunction
) _wrap_UpdateUIEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36492 { (char *)"UpdateUIEvent_GetMode", (PyCFunction
) _wrap_UpdateUIEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36493 { (char *)"UpdateUIEvent_swigregister", UpdateUIEvent_swigregister
, METH_VARARGS
},
36494 { (char *)"new_SysColourChangedEvent", (PyCFunction
) _wrap_new_SysColourChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36495 { (char *)"SysColourChangedEvent_swigregister", SysColourChangedEvent_swigregister
, METH_VARARGS
},
36496 { (char *)"new_MouseCaptureChangedEvent", (PyCFunction
) _wrap_new_MouseCaptureChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36497 { (char *)"MouseCaptureChangedEvent_GetCapturedWindow", (PyCFunction
) _wrap_MouseCaptureChangedEvent_GetCapturedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36498 { (char *)"MouseCaptureChangedEvent_swigregister", MouseCaptureChangedEvent_swigregister
, METH_VARARGS
},
36499 { (char *)"new_DisplayChangedEvent", (PyCFunction
) _wrap_new_DisplayChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36500 { (char *)"DisplayChangedEvent_swigregister", DisplayChangedEvent_swigregister
, METH_VARARGS
},
36501 { (char *)"new_PaletteChangedEvent", (PyCFunction
) _wrap_new_PaletteChangedEvent
, METH_VARARGS
| METH_KEYWORDS
},
36502 { (char *)"PaletteChangedEvent_SetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_SetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36503 { (char *)"PaletteChangedEvent_GetChangedWindow", (PyCFunction
) _wrap_PaletteChangedEvent_GetChangedWindow
, METH_VARARGS
| METH_KEYWORDS
},
36504 { (char *)"PaletteChangedEvent_swigregister", PaletteChangedEvent_swigregister
, METH_VARARGS
},
36505 { (char *)"new_QueryNewPaletteEvent", (PyCFunction
) _wrap_new_QueryNewPaletteEvent
, METH_VARARGS
| METH_KEYWORDS
},
36506 { (char *)"QueryNewPaletteEvent_SetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_SetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36507 { (char *)"QueryNewPaletteEvent_GetPaletteRealized", (PyCFunction
) _wrap_QueryNewPaletteEvent_GetPaletteRealized
, METH_VARARGS
| METH_KEYWORDS
},
36508 { (char *)"QueryNewPaletteEvent_swigregister", QueryNewPaletteEvent_swigregister
, METH_VARARGS
},
36509 { (char *)"new_NavigationKeyEvent", (PyCFunction
) _wrap_new_NavigationKeyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36510 { (char *)"NavigationKeyEvent_GetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_GetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36511 { (char *)"NavigationKeyEvent_SetDirection", (PyCFunction
) _wrap_NavigationKeyEvent_SetDirection
, METH_VARARGS
| METH_KEYWORDS
},
36512 { (char *)"NavigationKeyEvent_IsWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_IsWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36513 { (char *)"NavigationKeyEvent_SetWindowChange", (PyCFunction
) _wrap_NavigationKeyEvent_SetWindowChange
, METH_VARARGS
| METH_KEYWORDS
},
36514 { (char *)"NavigationKeyEvent_GetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_GetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36515 { (char *)"NavigationKeyEvent_SetCurrentFocus", (PyCFunction
) _wrap_NavigationKeyEvent_SetCurrentFocus
, METH_VARARGS
| METH_KEYWORDS
},
36516 { (char *)"NavigationKeyEvent_swigregister", NavigationKeyEvent_swigregister
, METH_VARARGS
},
36517 { (char *)"new_WindowCreateEvent", (PyCFunction
) _wrap_new_WindowCreateEvent
, METH_VARARGS
| METH_KEYWORDS
},
36518 { (char *)"WindowCreateEvent_GetWindow", (PyCFunction
) _wrap_WindowCreateEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36519 { (char *)"WindowCreateEvent_swigregister", WindowCreateEvent_swigregister
, METH_VARARGS
},
36520 { (char *)"new_WindowDestroyEvent", (PyCFunction
) _wrap_new_WindowDestroyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36521 { (char *)"WindowDestroyEvent_GetWindow", (PyCFunction
) _wrap_WindowDestroyEvent_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36522 { (char *)"WindowDestroyEvent_swigregister", WindowDestroyEvent_swigregister
, METH_VARARGS
},
36523 { (char *)"new_ContextMenuEvent", (PyCFunction
) _wrap_new_ContextMenuEvent
, METH_VARARGS
| METH_KEYWORDS
},
36524 { (char *)"ContextMenuEvent_GetPosition", (PyCFunction
) _wrap_ContextMenuEvent_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36525 { (char *)"ContextMenuEvent_SetPosition", (PyCFunction
) _wrap_ContextMenuEvent_SetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36526 { (char *)"ContextMenuEvent_swigregister", ContextMenuEvent_swigregister
, METH_VARARGS
},
36527 { (char *)"new_IdleEvent", (PyCFunction
) _wrap_new_IdleEvent
, METH_VARARGS
| METH_KEYWORDS
},
36528 { (char *)"IdleEvent_RequestMore", (PyCFunction
) _wrap_IdleEvent_RequestMore
, METH_VARARGS
| METH_KEYWORDS
},
36529 { (char *)"IdleEvent_MoreRequested", (PyCFunction
) _wrap_IdleEvent_MoreRequested
, METH_VARARGS
| METH_KEYWORDS
},
36530 { (char *)"IdleEvent_SetMode", (PyCFunction
) _wrap_IdleEvent_SetMode
, METH_VARARGS
| METH_KEYWORDS
},
36531 { (char *)"IdleEvent_GetMode", (PyCFunction
) _wrap_IdleEvent_GetMode
, METH_VARARGS
| METH_KEYWORDS
},
36532 { (char *)"IdleEvent_CanSend", (PyCFunction
) _wrap_IdleEvent_CanSend
, METH_VARARGS
| METH_KEYWORDS
},
36533 { (char *)"IdleEvent_swigregister", IdleEvent_swigregister
, METH_VARARGS
},
36534 { (char *)"new_PyEvent", (PyCFunction
) _wrap_new_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36535 { (char *)"delete_PyEvent", (PyCFunction
) _wrap_delete_PyEvent
, METH_VARARGS
| METH_KEYWORDS
},
36536 { (char *)"PyEvent_SetSelf", (PyCFunction
) _wrap_PyEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36537 { (char *)"PyEvent_GetSelf", (PyCFunction
) _wrap_PyEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36538 { (char *)"PyEvent_swigregister", PyEvent_swigregister
, METH_VARARGS
},
36539 { (char *)"new_PyCommandEvent", (PyCFunction
) _wrap_new_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36540 { (char *)"delete_PyCommandEvent", (PyCFunction
) _wrap_delete_PyCommandEvent
, METH_VARARGS
| METH_KEYWORDS
},
36541 { (char *)"PyCommandEvent_SetSelf", (PyCFunction
) _wrap_PyCommandEvent_SetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36542 { (char *)"PyCommandEvent_GetSelf", (PyCFunction
) _wrap_PyCommandEvent_GetSelf
, METH_VARARGS
| METH_KEYWORDS
},
36543 { (char *)"PyCommandEvent_swigregister", PyCommandEvent_swigregister
, METH_VARARGS
},
36544 { (char *)"new_PyApp", (PyCFunction
) _wrap_new_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36545 { (char *)"delete_PyApp", (PyCFunction
) _wrap_delete_PyApp
, METH_VARARGS
| METH_KEYWORDS
},
36546 { (char *)"PyApp__setCallbackInfo", (PyCFunction
) _wrap_PyApp__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36547 { (char *)"PyApp_GetAppName", (PyCFunction
) _wrap_PyApp_GetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36548 { (char *)"PyApp_SetAppName", (PyCFunction
) _wrap_PyApp_SetAppName
, METH_VARARGS
| METH_KEYWORDS
},
36549 { (char *)"PyApp_GetClassName", (PyCFunction
) _wrap_PyApp_GetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36550 { (char *)"PyApp_SetClassName", (PyCFunction
) _wrap_PyApp_SetClassName
, METH_VARARGS
| METH_KEYWORDS
},
36551 { (char *)"PyApp_GetVendorName", (PyCFunction
) _wrap_PyApp_GetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36552 { (char *)"PyApp_SetVendorName", (PyCFunction
) _wrap_PyApp_SetVendorName
, METH_VARARGS
| METH_KEYWORDS
},
36553 { (char *)"PyApp_GetTraits", (PyCFunction
) _wrap_PyApp_GetTraits
, METH_VARARGS
| METH_KEYWORDS
},
36554 { (char *)"PyApp_ProcessPendingEvents", (PyCFunction
) _wrap_PyApp_ProcessPendingEvents
, METH_VARARGS
| METH_KEYWORDS
},
36555 { (char *)"PyApp_Yield", (PyCFunction
) _wrap_PyApp_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36556 { (char *)"PyApp_WakeUpIdle", (PyCFunction
) _wrap_PyApp_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36557 { (char *)"PyApp_MainLoop", (PyCFunction
) _wrap_PyApp_MainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36558 { (char *)"PyApp_Exit", (PyCFunction
) _wrap_PyApp_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36559 { (char *)"PyApp_ExitMainLoop", (PyCFunction
) _wrap_PyApp_ExitMainLoop
, METH_VARARGS
| METH_KEYWORDS
},
36560 { (char *)"PyApp_Pending", (PyCFunction
) _wrap_PyApp_Pending
, METH_VARARGS
| METH_KEYWORDS
},
36561 { (char *)"PyApp_Dispatch", (PyCFunction
) _wrap_PyApp_Dispatch
, METH_VARARGS
| METH_KEYWORDS
},
36562 { (char *)"PyApp_ProcessIdle", (PyCFunction
) _wrap_PyApp_ProcessIdle
, METH_VARARGS
| METH_KEYWORDS
},
36563 { (char *)"PyApp_SendIdleEvents", (PyCFunction
) _wrap_PyApp_SendIdleEvents
, METH_VARARGS
| METH_KEYWORDS
},
36564 { (char *)"PyApp_IsActive", (PyCFunction
) _wrap_PyApp_IsActive
, METH_VARARGS
| METH_KEYWORDS
},
36565 { (char *)"PyApp_SetTopWindow", (PyCFunction
) _wrap_PyApp_SetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36566 { (char *)"PyApp_GetTopWindow", (PyCFunction
) _wrap_PyApp_GetTopWindow
, METH_VARARGS
| METH_KEYWORDS
},
36567 { (char *)"PyApp_SetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_SetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36568 { (char *)"PyApp_GetExitOnFrameDelete", (PyCFunction
) _wrap_PyApp_GetExitOnFrameDelete
, METH_VARARGS
| METH_KEYWORDS
},
36569 { (char *)"PyApp_SetUseBestVisual", (PyCFunction
) _wrap_PyApp_SetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36570 { (char *)"PyApp_GetUseBestVisual", (PyCFunction
) _wrap_PyApp_GetUseBestVisual
, METH_VARARGS
| METH_KEYWORDS
},
36571 { (char *)"PyApp_SetPrintMode", (PyCFunction
) _wrap_PyApp_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36572 { (char *)"PyApp_GetPrintMode", (PyCFunction
) _wrap_PyApp_GetPrintMode
, METH_VARARGS
| METH_KEYWORDS
},
36573 { (char *)"PyApp_SetAssertMode", (PyCFunction
) _wrap_PyApp_SetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36574 { (char *)"PyApp_GetAssertMode", (PyCFunction
) _wrap_PyApp_GetAssertMode
, METH_VARARGS
| METH_KEYWORDS
},
36575 { (char *)"PyApp_GetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_GetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36576 { (char *)"PyApp_GetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36577 { (char *)"PyApp_GetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36578 { (char *)"PyApp_GetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_GetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36579 { (char *)"PyApp_GetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_GetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36580 { (char *)"PyApp_SetMacSupportPCMenuShortcuts", (PyCFunction
) _wrap_PyApp_SetMacSupportPCMenuShortcuts
, METH_VARARGS
| METH_KEYWORDS
},
36581 { (char *)"PyApp_SetMacAboutMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacAboutMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36582 { (char *)"PyApp_SetMacPreferencesMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacPreferencesMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36583 { (char *)"PyApp_SetMacExitMenuItemId", (PyCFunction
) _wrap_PyApp_SetMacExitMenuItemId
, METH_VARARGS
| METH_KEYWORDS
},
36584 { (char *)"PyApp_SetMacHelpMenuTitleName", (PyCFunction
) _wrap_PyApp_SetMacHelpMenuTitleName
, METH_VARARGS
| METH_KEYWORDS
},
36585 { (char *)"PyApp__BootstrapApp", (PyCFunction
) _wrap_PyApp__BootstrapApp
, METH_VARARGS
| METH_KEYWORDS
},
36586 { (char *)"PyApp_GetComCtl32Version", (PyCFunction
) _wrap_PyApp_GetComCtl32Version
, METH_VARARGS
| METH_KEYWORDS
},
36587 { (char *)"PyApp_swigregister", PyApp_swigregister
, METH_VARARGS
},
36588 { (char *)"Exit", (PyCFunction
) _wrap_Exit
, METH_VARARGS
| METH_KEYWORDS
},
36589 { (char *)"Yield", (PyCFunction
) _wrap_Yield
, METH_VARARGS
| METH_KEYWORDS
},
36590 { (char *)"YieldIfNeeded", (PyCFunction
) _wrap_YieldIfNeeded
, METH_VARARGS
| METH_KEYWORDS
},
36591 { (char *)"SafeYield", (PyCFunction
) _wrap_SafeYield
, METH_VARARGS
| METH_KEYWORDS
},
36592 { (char *)"WakeUpIdle", (PyCFunction
) _wrap_WakeUpIdle
, METH_VARARGS
| METH_KEYWORDS
},
36593 { (char *)"PostEvent", (PyCFunction
) _wrap_PostEvent
, METH_VARARGS
| METH_KEYWORDS
},
36594 { (char *)"App_CleanUp", (PyCFunction
) _wrap_App_CleanUp
, METH_VARARGS
| METH_KEYWORDS
},
36595 { (char *)"GetApp", (PyCFunction
) _wrap_GetApp
, METH_VARARGS
| METH_KEYWORDS
},
36596 { (char *)"new_AcceleratorEntry", (PyCFunction
) _wrap_new_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36597 { (char *)"delete_AcceleratorEntry", (PyCFunction
) _wrap_delete_AcceleratorEntry
, METH_VARARGS
| METH_KEYWORDS
},
36598 { (char *)"AcceleratorEntry_Set", (PyCFunction
) _wrap_AcceleratorEntry_Set
, METH_VARARGS
| METH_KEYWORDS
},
36599 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_SetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36600 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction
) _wrap_AcceleratorEntry_GetMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36601 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction
) _wrap_AcceleratorEntry_GetFlags
, METH_VARARGS
| METH_KEYWORDS
},
36602 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction
) _wrap_AcceleratorEntry_GetKeyCode
, METH_VARARGS
| METH_KEYWORDS
},
36603 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction
) _wrap_AcceleratorEntry_GetCommand
, METH_VARARGS
| METH_KEYWORDS
},
36604 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister
, METH_VARARGS
},
36605 { (char *)"new_AcceleratorTable", (PyCFunction
) _wrap_new_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36606 { (char *)"delete_AcceleratorTable", (PyCFunction
) _wrap_delete_AcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36607 { (char *)"AcceleratorTable_Ok", (PyCFunction
) _wrap_AcceleratorTable_Ok
, METH_VARARGS
| METH_KEYWORDS
},
36608 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister
, METH_VARARGS
},
36609 { (char *)"GetAccelFromString", (PyCFunction
) _wrap_GetAccelFromString
, METH_VARARGS
| METH_KEYWORDS
},
36610 { (char *)"new_Window", (PyCFunction
) _wrap_new_Window
, METH_VARARGS
| METH_KEYWORDS
},
36611 { (char *)"new_PreWindow", (PyCFunction
) _wrap_new_PreWindow
, METH_VARARGS
| METH_KEYWORDS
},
36612 { (char *)"Window_Create", (PyCFunction
) _wrap_Window_Create
, METH_VARARGS
| METH_KEYWORDS
},
36613 { (char *)"Window_Close", (PyCFunction
) _wrap_Window_Close
, METH_VARARGS
| METH_KEYWORDS
},
36614 { (char *)"Window_Destroy", (PyCFunction
) _wrap_Window_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36615 { (char *)"Window_DestroyChildren", (PyCFunction
) _wrap_Window_DestroyChildren
, METH_VARARGS
| METH_KEYWORDS
},
36616 { (char *)"Window_IsBeingDeleted", (PyCFunction
) _wrap_Window_IsBeingDeleted
, METH_VARARGS
| METH_KEYWORDS
},
36617 { (char *)"Window_SetTitle", (PyCFunction
) _wrap_Window_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36618 { (char *)"Window_GetTitle", (PyCFunction
) _wrap_Window_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36619 { (char *)"Window_SetLabel", (PyCFunction
) _wrap_Window_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36620 { (char *)"Window_GetLabel", (PyCFunction
) _wrap_Window_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36621 { (char *)"Window_SetName", (PyCFunction
) _wrap_Window_SetName
, METH_VARARGS
| METH_KEYWORDS
},
36622 { (char *)"Window_GetName", (PyCFunction
) _wrap_Window_GetName
, METH_VARARGS
| METH_KEYWORDS
},
36623 { (char *)"Window_SetId", (PyCFunction
) _wrap_Window_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36624 { (char *)"Window_GetId", (PyCFunction
) _wrap_Window_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36625 { (char *)"Window_NewControlId", (PyCFunction
) _wrap_Window_NewControlId
, METH_VARARGS
| METH_KEYWORDS
},
36626 { (char *)"Window_NextControlId", (PyCFunction
) _wrap_Window_NextControlId
, METH_VARARGS
| METH_KEYWORDS
},
36627 { (char *)"Window_PrevControlId", (PyCFunction
) _wrap_Window_PrevControlId
, METH_VARARGS
| METH_KEYWORDS
},
36628 { (char *)"Window_SetSize", (PyCFunction
) _wrap_Window_SetSize
, METH_VARARGS
| METH_KEYWORDS
},
36629 { (char *)"Window_SetDimensions", (PyCFunction
) _wrap_Window_SetDimensions
, METH_VARARGS
| METH_KEYWORDS
},
36630 { (char *)"Window_SetRect", (PyCFunction
) _wrap_Window_SetRect
, METH_VARARGS
| METH_KEYWORDS
},
36631 { (char *)"Window_SetSizeWH", (PyCFunction
) _wrap_Window_SetSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36632 { (char *)"Window_Move", (PyCFunction
) _wrap_Window_Move
, METH_VARARGS
| METH_KEYWORDS
},
36633 { (char *)"Window_MoveXY", (PyCFunction
) _wrap_Window_MoveXY
, METH_VARARGS
| METH_KEYWORDS
},
36634 { (char *)"Window_Raise", (PyCFunction
) _wrap_Window_Raise
, METH_VARARGS
| METH_KEYWORDS
},
36635 { (char *)"Window_Lower", (PyCFunction
) _wrap_Window_Lower
, METH_VARARGS
| METH_KEYWORDS
},
36636 { (char *)"Window_SetClientSize", (PyCFunction
) _wrap_Window_SetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36637 { (char *)"Window_SetClientSizeWH", (PyCFunction
) _wrap_Window_SetClientSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36638 { (char *)"Window_SetClientRect", (PyCFunction
) _wrap_Window_SetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36639 { (char *)"Window_GetPosition", (PyCFunction
) _wrap_Window_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36640 { (char *)"Window_GetPositionTuple", (PyCFunction
) _wrap_Window_GetPositionTuple
, METH_VARARGS
| METH_KEYWORDS
},
36641 { (char *)"Window_GetSize", (PyCFunction
) _wrap_Window_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36642 { (char *)"Window_GetSizeTuple", (PyCFunction
) _wrap_Window_GetSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36643 { (char *)"Window_GetRect", (PyCFunction
) _wrap_Window_GetRect
, METH_VARARGS
| METH_KEYWORDS
},
36644 { (char *)"Window_GetClientSize", (PyCFunction
) _wrap_Window_GetClientSize
, METH_VARARGS
| METH_KEYWORDS
},
36645 { (char *)"Window_GetClientSizeTuple", (PyCFunction
) _wrap_Window_GetClientSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36646 { (char *)"Window_GetClientAreaOrigin", (PyCFunction
) _wrap_Window_GetClientAreaOrigin
, METH_VARARGS
| METH_KEYWORDS
},
36647 { (char *)"Window_GetClientRect", (PyCFunction
) _wrap_Window_GetClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36648 { (char *)"Window_GetBestSize", (PyCFunction
) _wrap_Window_GetBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36649 { (char *)"Window_GetBestSizeTuple", (PyCFunction
) _wrap_Window_GetBestSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36650 { (char *)"Window_GetAdjustedBestSize", (PyCFunction
) _wrap_Window_GetAdjustedBestSize
, METH_VARARGS
| METH_KEYWORDS
},
36651 { (char *)"Window_Center", (PyCFunction
) _wrap_Window_Center
, METH_VARARGS
| METH_KEYWORDS
},
36652 { (char *)"Window_CenterOnScreen", (PyCFunction
) _wrap_Window_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
},
36653 { (char *)"Window_CenterOnParent", (PyCFunction
) _wrap_Window_CenterOnParent
, METH_VARARGS
| METH_KEYWORDS
},
36654 { (char *)"Window_Fit", (PyCFunction
) _wrap_Window_Fit
, METH_VARARGS
| METH_KEYWORDS
},
36655 { (char *)"Window_FitInside", (PyCFunction
) _wrap_Window_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
36656 { (char *)"Window_SetSizeHints", (PyCFunction
) _wrap_Window_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36657 { (char *)"Window_SetVirtualSizeHints", (PyCFunction
) _wrap_Window_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
36658 { (char *)"Window_GetMinWidth", (PyCFunction
) _wrap_Window_GetMinWidth
, METH_VARARGS
| METH_KEYWORDS
},
36659 { (char *)"Window_GetMinHeight", (PyCFunction
) _wrap_Window_GetMinHeight
, METH_VARARGS
| METH_KEYWORDS
},
36660 { (char *)"Window_GetMaxWidth", (PyCFunction
) _wrap_Window_GetMaxWidth
, METH_VARARGS
| METH_KEYWORDS
},
36661 { (char *)"Window_GetMaxHeight", (PyCFunction
) _wrap_Window_GetMaxHeight
, METH_VARARGS
| METH_KEYWORDS
},
36662 { (char *)"Window_GetMaxSize", (PyCFunction
) _wrap_Window_GetMaxSize
, METH_VARARGS
| METH_KEYWORDS
},
36663 { (char *)"Window_SetVirtualSize", (PyCFunction
) _wrap_Window_SetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36664 { (char *)"Window_SetVirtualSizeWH", (PyCFunction
) _wrap_Window_SetVirtualSizeWH
, METH_VARARGS
| METH_KEYWORDS
},
36665 { (char *)"Window_GetVirtualSize", (PyCFunction
) _wrap_Window_GetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36666 { (char *)"Window_GetVirtualSizeTuple", (PyCFunction
) _wrap_Window_GetVirtualSizeTuple
, METH_VARARGS
| METH_KEYWORDS
},
36667 { (char *)"Window_GetBestVirtualSize", (PyCFunction
) _wrap_Window_GetBestVirtualSize
, METH_VARARGS
| METH_KEYWORDS
},
36668 { (char *)"Window_Show", (PyCFunction
) _wrap_Window_Show
, METH_VARARGS
| METH_KEYWORDS
},
36669 { (char *)"Window_Hide", (PyCFunction
) _wrap_Window_Hide
, METH_VARARGS
| METH_KEYWORDS
},
36670 { (char *)"Window_Enable", (PyCFunction
) _wrap_Window_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36671 { (char *)"Window_Disable", (PyCFunction
) _wrap_Window_Disable
, METH_VARARGS
| METH_KEYWORDS
},
36672 { (char *)"Window_IsShown", (PyCFunction
) _wrap_Window_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36673 { (char *)"Window_IsEnabled", (PyCFunction
) _wrap_Window_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36674 { (char *)"Window_SetWindowStyleFlag", (PyCFunction
) _wrap_Window_SetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36675 { (char *)"Window_GetWindowStyleFlag", (PyCFunction
) _wrap_Window_GetWindowStyleFlag
, METH_VARARGS
| METH_KEYWORDS
},
36676 { (char *)"Window_SetWindowStyle", (PyCFunction
) _wrap_Window_SetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36677 { (char *)"Window_GetWindowStyle", (PyCFunction
) _wrap_Window_GetWindowStyle
, METH_VARARGS
| METH_KEYWORDS
},
36678 { (char *)"Window_HasFlag", (PyCFunction
) _wrap_Window_HasFlag
, METH_VARARGS
| METH_KEYWORDS
},
36679 { (char *)"Window_IsRetained", (PyCFunction
) _wrap_Window_IsRetained
, METH_VARARGS
| METH_KEYWORDS
},
36680 { (char *)"Window_SetExtraStyle", (PyCFunction
) _wrap_Window_SetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36681 { (char *)"Window_GetExtraStyle", (PyCFunction
) _wrap_Window_GetExtraStyle
, METH_VARARGS
| METH_KEYWORDS
},
36682 { (char *)"Window_MakeModal", (PyCFunction
) _wrap_Window_MakeModal
, METH_VARARGS
| METH_KEYWORDS
},
36683 { (char *)"Window_SetThemeEnabled", (PyCFunction
) _wrap_Window_SetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36684 { (char *)"Window_GetThemeEnabled", (PyCFunction
) _wrap_Window_GetThemeEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36685 { (char *)"Window_ShouldInheritColours", (PyCFunction
) _wrap_Window_ShouldInheritColours
, METH_VARARGS
| METH_KEYWORDS
},
36686 { (char *)"Window_SetFocus", (PyCFunction
) _wrap_Window_SetFocus
, METH_VARARGS
| METH_KEYWORDS
},
36687 { (char *)"Window_SetFocusFromKbd", (PyCFunction
) _wrap_Window_SetFocusFromKbd
, METH_VARARGS
| METH_KEYWORDS
},
36688 { (char *)"Window_FindFocus", (PyCFunction
) _wrap_Window_FindFocus
, METH_VARARGS
| METH_KEYWORDS
},
36689 { (char *)"Window_AcceptsFocus", (PyCFunction
) _wrap_Window_AcceptsFocus
, METH_VARARGS
| METH_KEYWORDS
},
36690 { (char *)"Window_AcceptsFocusFromKeyboard", (PyCFunction
) _wrap_Window_AcceptsFocusFromKeyboard
, METH_VARARGS
| METH_KEYWORDS
},
36691 { (char *)"Window_GetDefaultItem", (PyCFunction
) _wrap_Window_GetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36692 { (char *)"Window_SetDefaultItem", (PyCFunction
) _wrap_Window_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36693 { (char *)"Window_SetTmpDefaultItem", (PyCFunction
) _wrap_Window_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
},
36694 { (char *)"Window_GetChildren", (PyCFunction
) _wrap_Window_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
36695 { (char *)"Window_GetParent", (PyCFunction
) _wrap_Window_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36696 { (char *)"Window_GetGrandParent", (PyCFunction
) _wrap_Window_GetGrandParent
, METH_VARARGS
| METH_KEYWORDS
},
36697 { (char *)"Window_IsTopLevel", (PyCFunction
) _wrap_Window_IsTopLevel
, METH_VARARGS
| METH_KEYWORDS
},
36698 { (char *)"Window_Reparent", (PyCFunction
) _wrap_Window_Reparent
, METH_VARARGS
| METH_KEYWORDS
},
36699 { (char *)"Window_AddChild", (PyCFunction
) _wrap_Window_AddChild
, METH_VARARGS
| METH_KEYWORDS
},
36700 { (char *)"Window_RemoveChild", (PyCFunction
) _wrap_Window_RemoveChild
, METH_VARARGS
| METH_KEYWORDS
},
36701 { (char *)"Window_FindWindowById", (PyCFunction
) _wrap_Window_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36702 { (char *)"Window_FindWindowByName", (PyCFunction
) _wrap_Window_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36703 { (char *)"Window_GetEventHandler", (PyCFunction
) _wrap_Window_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36704 { (char *)"Window_SetEventHandler", (PyCFunction
) _wrap_Window_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36705 { (char *)"Window_PushEventHandler", (PyCFunction
) _wrap_Window_PushEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36706 { (char *)"Window_PopEventHandler", (PyCFunction
) _wrap_Window_PopEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36707 { (char *)"Window_RemoveEventHandler", (PyCFunction
) _wrap_Window_RemoveEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36708 { (char *)"Window_SetValidator", (PyCFunction
) _wrap_Window_SetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36709 { (char *)"Window_GetValidator", (PyCFunction
) _wrap_Window_GetValidator
, METH_VARARGS
| METH_KEYWORDS
},
36710 { (char *)"Window_SetAcceleratorTable", (PyCFunction
) _wrap_Window_SetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36711 { (char *)"Window_GetAcceleratorTable", (PyCFunction
) _wrap_Window_GetAcceleratorTable
, METH_VARARGS
| METH_KEYWORDS
},
36712 { (char *)"Window_RegisterHotKey", (PyCFunction
) _wrap_Window_RegisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36713 { (char *)"Window_UnregisterHotKey", (PyCFunction
) _wrap_Window_UnregisterHotKey
, METH_VARARGS
| METH_KEYWORDS
},
36714 { (char *)"Window_ConvertDialogPointToPixels", (PyCFunction
) _wrap_Window_ConvertDialogPointToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36715 { (char *)"Window_ConvertDialogSizeToPixels", (PyCFunction
) _wrap_Window_ConvertDialogSizeToPixels
, METH_VARARGS
| METH_KEYWORDS
},
36716 { (char *)"Window_DLG_PNT", (PyCFunction
) _wrap_Window_DLG_PNT
, METH_VARARGS
| METH_KEYWORDS
},
36717 { (char *)"Window_DLG_SZE", (PyCFunction
) _wrap_Window_DLG_SZE
, METH_VARARGS
| METH_KEYWORDS
},
36718 { (char *)"Window_ConvertPixelPointToDialog", (PyCFunction
) _wrap_Window_ConvertPixelPointToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36719 { (char *)"Window_ConvertPixelSizeToDialog", (PyCFunction
) _wrap_Window_ConvertPixelSizeToDialog
, METH_VARARGS
| METH_KEYWORDS
},
36720 { (char *)"Window_WarpPointer", (PyCFunction
) _wrap_Window_WarpPointer
, METH_VARARGS
| METH_KEYWORDS
},
36721 { (char *)"Window_CaptureMouse", (PyCFunction
) _wrap_Window_CaptureMouse
, METH_VARARGS
| METH_KEYWORDS
},
36722 { (char *)"Window_ReleaseMouse", (PyCFunction
) _wrap_Window_ReleaseMouse
, METH_VARARGS
| METH_KEYWORDS
},
36723 { (char *)"Window_GetCapture", (PyCFunction
) _wrap_Window_GetCapture
, METH_VARARGS
| METH_KEYWORDS
},
36724 { (char *)"Window_HasCapture", (PyCFunction
) _wrap_Window_HasCapture
, METH_VARARGS
| METH_KEYWORDS
},
36725 { (char *)"Window_Refresh", (PyCFunction
) _wrap_Window_Refresh
, METH_VARARGS
| METH_KEYWORDS
},
36726 { (char *)"Window_RefreshRect", (PyCFunction
) _wrap_Window_RefreshRect
, METH_VARARGS
| METH_KEYWORDS
},
36727 { (char *)"Window_Update", (PyCFunction
) _wrap_Window_Update
, METH_VARARGS
| METH_KEYWORDS
},
36728 { (char *)"Window_ClearBackground", (PyCFunction
) _wrap_Window_ClearBackground
, METH_VARARGS
| METH_KEYWORDS
},
36729 { (char *)"Window_Freeze", (PyCFunction
) _wrap_Window_Freeze
, METH_VARARGS
| METH_KEYWORDS
},
36730 { (char *)"Window_Thaw", (PyCFunction
) _wrap_Window_Thaw
, METH_VARARGS
| METH_KEYWORDS
},
36731 { (char *)"Window_PrepareDC", (PyCFunction
) _wrap_Window_PrepareDC
, METH_VARARGS
| METH_KEYWORDS
},
36732 { (char *)"Window_GetUpdateRegion", (PyCFunction
) _wrap_Window_GetUpdateRegion
, METH_VARARGS
| METH_KEYWORDS
},
36733 { (char *)"Window_GetUpdateClientRect", (PyCFunction
) _wrap_Window_GetUpdateClientRect
, METH_VARARGS
| METH_KEYWORDS
},
36734 { (char *)"Window_IsExposed", (PyCFunction
) _wrap_Window_IsExposed
, METH_VARARGS
| METH_KEYWORDS
},
36735 { (char *)"Window_IsExposedPoint", (PyCFunction
) _wrap_Window_IsExposedPoint
, METH_VARARGS
| METH_KEYWORDS
},
36736 { (char *)"Window_isExposedRect", (PyCFunction
) _wrap_Window_isExposedRect
, METH_VARARGS
| METH_KEYWORDS
},
36737 { (char *)"Window_SetBackgroundColour", (PyCFunction
) _wrap_Window_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36738 { (char *)"Window_SetForegroundColour", (PyCFunction
) _wrap_Window_SetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36739 { (char *)"Window_GetBackgroundColour", (PyCFunction
) _wrap_Window_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36740 { (char *)"Window_GetForegroundColour", (PyCFunction
) _wrap_Window_GetForegroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36741 { (char *)"Window_SetCursor", (PyCFunction
) _wrap_Window_SetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36742 { (char *)"Window_GetCursor", (PyCFunction
) _wrap_Window_GetCursor
, METH_VARARGS
| METH_KEYWORDS
},
36743 { (char *)"Window_SetFont", (PyCFunction
) _wrap_Window_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36744 { (char *)"Window_GetFont", (PyCFunction
) _wrap_Window_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36745 { (char *)"Window_SetCaret", (PyCFunction
) _wrap_Window_SetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36746 { (char *)"Window_GetCaret", (PyCFunction
) _wrap_Window_GetCaret
, METH_VARARGS
| METH_KEYWORDS
},
36747 { (char *)"Window_GetCharHeight", (PyCFunction
) _wrap_Window_GetCharHeight
, METH_VARARGS
| METH_KEYWORDS
},
36748 { (char *)"Window_GetCharWidth", (PyCFunction
) _wrap_Window_GetCharWidth
, METH_VARARGS
| METH_KEYWORDS
},
36749 { (char *)"Window_GetTextExtent", (PyCFunction
) _wrap_Window_GetTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36750 { (char *)"Window_GetFullTextExtent", (PyCFunction
) _wrap_Window_GetFullTextExtent
, METH_VARARGS
| METH_KEYWORDS
},
36751 { (char *)"Window_ClientToScreenXY", (PyCFunction
) _wrap_Window_ClientToScreenXY
, METH_VARARGS
| METH_KEYWORDS
},
36752 { (char *)"Window_ScreenToClientXY", (PyCFunction
) _wrap_Window_ScreenToClientXY
, METH_VARARGS
| METH_KEYWORDS
},
36753 { (char *)"Window_ClientToScreen", (PyCFunction
) _wrap_Window_ClientToScreen
, METH_VARARGS
| METH_KEYWORDS
},
36754 { (char *)"Window_ScreenToClient", (PyCFunction
) _wrap_Window_ScreenToClient
, METH_VARARGS
| METH_KEYWORDS
},
36755 { (char *)"Window_HitTestXY", (PyCFunction
) _wrap_Window_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
},
36756 { (char *)"Window_HitTest", (PyCFunction
) _wrap_Window_HitTest
, METH_VARARGS
| METH_KEYWORDS
},
36757 { (char *)"Window_GetBorderFlags", (PyCFunction
) _wrap_Window_GetBorderFlags
, METH_VARARGS
| METH_KEYWORDS
},
36758 { (char *)"Window_GetBorder", (PyCFunction
) _wrap_Window_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36759 { (char *)"Window_UpdateWindowUI", (PyCFunction
) _wrap_Window_UpdateWindowUI
, METH_VARARGS
| METH_KEYWORDS
},
36760 { (char *)"Window_PopupMenuXY", (PyCFunction
) _wrap_Window_PopupMenuXY
, METH_VARARGS
| METH_KEYWORDS
},
36761 { (char *)"Window_PopupMenu", (PyCFunction
) _wrap_Window_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
},
36762 { (char *)"Window_GetHandle", (PyCFunction
) _wrap_Window_GetHandle
, METH_VARARGS
| METH_KEYWORDS
},
36763 { (char *)"Window_OnPaint", (PyCFunction
) _wrap_Window_OnPaint
, METH_VARARGS
| METH_KEYWORDS
},
36764 { (char *)"Window_HasScrollbar", (PyCFunction
) _wrap_Window_HasScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36765 { (char *)"Window_SetScrollbar", (PyCFunction
) _wrap_Window_SetScrollbar
, METH_VARARGS
| METH_KEYWORDS
},
36766 { (char *)"Window_SetScrollPos", (PyCFunction
) _wrap_Window_SetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36767 { (char *)"Window_GetScrollPos", (PyCFunction
) _wrap_Window_GetScrollPos
, METH_VARARGS
| METH_KEYWORDS
},
36768 { (char *)"Window_GetScrollThumb", (PyCFunction
) _wrap_Window_GetScrollThumb
, METH_VARARGS
| METH_KEYWORDS
},
36769 { (char *)"Window_GetScrollRange", (PyCFunction
) _wrap_Window_GetScrollRange
, METH_VARARGS
| METH_KEYWORDS
},
36770 { (char *)"Window_ScrollWindow", (PyCFunction
) _wrap_Window_ScrollWindow
, METH_VARARGS
| METH_KEYWORDS
},
36771 { (char *)"Window_ScrollLines", (PyCFunction
) _wrap_Window_ScrollLines
, METH_VARARGS
| METH_KEYWORDS
},
36772 { (char *)"Window_ScrollPages", (PyCFunction
) _wrap_Window_ScrollPages
, METH_VARARGS
| METH_KEYWORDS
},
36773 { (char *)"Window_LineUp", (PyCFunction
) _wrap_Window_LineUp
, METH_VARARGS
| METH_KEYWORDS
},
36774 { (char *)"Window_LineDown", (PyCFunction
) _wrap_Window_LineDown
, METH_VARARGS
| METH_KEYWORDS
},
36775 { (char *)"Window_PageUp", (PyCFunction
) _wrap_Window_PageUp
, METH_VARARGS
| METH_KEYWORDS
},
36776 { (char *)"Window_PageDown", (PyCFunction
) _wrap_Window_PageDown
, METH_VARARGS
| METH_KEYWORDS
},
36777 { (char *)"Window_SetHelpText", (PyCFunction
) _wrap_Window_SetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36778 { (char *)"Window_SetHelpTextForId", (PyCFunction
) _wrap_Window_SetHelpTextForId
, METH_VARARGS
| METH_KEYWORDS
},
36779 { (char *)"Window_GetHelpText", (PyCFunction
) _wrap_Window_GetHelpText
, METH_VARARGS
| METH_KEYWORDS
},
36780 { (char *)"Window_SetToolTipString", (PyCFunction
) _wrap_Window_SetToolTipString
, METH_VARARGS
| METH_KEYWORDS
},
36781 { (char *)"Window_SetToolTip", (PyCFunction
) _wrap_Window_SetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36782 { (char *)"Window_GetToolTip", (PyCFunction
) _wrap_Window_GetToolTip
, METH_VARARGS
| METH_KEYWORDS
},
36783 { (char *)"Window_SetDropTarget", (PyCFunction
) _wrap_Window_SetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36784 { (char *)"Window_GetDropTarget", (PyCFunction
) _wrap_Window_GetDropTarget
, METH_VARARGS
| METH_KEYWORDS
},
36785 { (char *)"Window_DragAcceptFiles", (PyCFunction
) _wrap_Window_DragAcceptFiles
, METH_VARARGS
| METH_KEYWORDS
},
36786 { (char *)"Window_SetConstraints", (PyCFunction
) _wrap_Window_SetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36787 { (char *)"Window_GetConstraints", (PyCFunction
) _wrap_Window_GetConstraints
, METH_VARARGS
| METH_KEYWORDS
},
36788 { (char *)"Window_SetAutoLayout", (PyCFunction
) _wrap_Window_SetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36789 { (char *)"Window_GetAutoLayout", (PyCFunction
) _wrap_Window_GetAutoLayout
, METH_VARARGS
| METH_KEYWORDS
},
36790 { (char *)"Window_Layout", (PyCFunction
) _wrap_Window_Layout
, METH_VARARGS
| METH_KEYWORDS
},
36791 { (char *)"Window_SetSizer", (PyCFunction
) _wrap_Window_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36792 { (char *)"Window_SetSizerAndFit", (PyCFunction
) _wrap_Window_SetSizerAndFit
, METH_VARARGS
| METH_KEYWORDS
},
36793 { (char *)"Window_GetSizer", (PyCFunction
) _wrap_Window_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36794 { (char *)"Window_SetContainingSizer", (PyCFunction
) _wrap_Window_SetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36795 { (char *)"Window_GetContainingSizer", (PyCFunction
) _wrap_Window_GetContainingSizer
, METH_VARARGS
| METH_KEYWORDS
},
36796 { (char *)"Window_swigregister", Window_swigregister
, METH_VARARGS
},
36797 { (char *)"FindWindowById", (PyCFunction
) _wrap_FindWindowById
, METH_VARARGS
| METH_KEYWORDS
},
36798 { (char *)"FindWindowByName", (PyCFunction
) _wrap_FindWindowByName
, METH_VARARGS
| METH_KEYWORDS
},
36799 { (char *)"FindWindowByLabel", (PyCFunction
) _wrap_FindWindowByLabel
, METH_VARARGS
| METH_KEYWORDS
},
36800 { (char *)"Window_FromHWND", (PyCFunction
) _wrap_Window_FromHWND
, METH_VARARGS
| METH_KEYWORDS
},
36801 { (char *)"new_Validator", (PyCFunction
) _wrap_new_Validator
, METH_VARARGS
| METH_KEYWORDS
},
36802 { (char *)"Validator_Clone", (PyCFunction
) _wrap_Validator_Clone
, METH_VARARGS
| METH_KEYWORDS
},
36803 { (char *)"Validator_Validate", (PyCFunction
) _wrap_Validator_Validate
, METH_VARARGS
| METH_KEYWORDS
},
36804 { (char *)"Validator_TransferToWindow", (PyCFunction
) _wrap_Validator_TransferToWindow
, METH_VARARGS
| METH_KEYWORDS
},
36805 { (char *)"Validator_TransferFromWindow", (PyCFunction
) _wrap_Validator_TransferFromWindow
, METH_VARARGS
| METH_KEYWORDS
},
36806 { (char *)"Validator_GetWindow", (PyCFunction
) _wrap_Validator_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36807 { (char *)"Validator_SetWindow", (PyCFunction
) _wrap_Validator_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36808 { (char *)"Validator_IsSilent", (PyCFunction
) _wrap_Validator_IsSilent
, METH_VARARGS
| METH_KEYWORDS
},
36809 { (char *)"Validator_SetBellOnError", (PyCFunction
) _wrap_Validator_SetBellOnError
, METH_VARARGS
| METH_KEYWORDS
},
36810 { (char *)"Validator_swigregister", Validator_swigregister
, METH_VARARGS
},
36811 { (char *)"new_PyValidator", (PyCFunction
) _wrap_new_PyValidator
, METH_VARARGS
| METH_KEYWORDS
},
36812 { (char *)"PyValidator__setCallbackInfo", (PyCFunction
) _wrap_PyValidator__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
36813 { (char *)"PyValidator_swigregister", PyValidator_swigregister
, METH_VARARGS
},
36814 { (char *)"new_Menu", (PyCFunction
) _wrap_new_Menu
, METH_VARARGS
| METH_KEYWORDS
},
36815 { (char *)"Menu_Append", (PyCFunction
) _wrap_Menu_Append
, METH_VARARGS
| METH_KEYWORDS
},
36816 { (char *)"Menu_AppendSeparator", (PyCFunction
) _wrap_Menu_AppendSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36817 { (char *)"Menu_AppendCheckItem", (PyCFunction
) _wrap_Menu_AppendCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36818 { (char *)"Menu_AppendRadioItem", (PyCFunction
) _wrap_Menu_AppendRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36819 { (char *)"Menu_AppendMenu", (PyCFunction
) _wrap_Menu_AppendMenu
, METH_VARARGS
| METH_KEYWORDS
},
36820 { (char *)"Menu_AppendItem", (PyCFunction
) _wrap_Menu_AppendItem
, METH_VARARGS
| METH_KEYWORDS
},
36821 { (char *)"Menu_Break", (PyCFunction
) _wrap_Menu_Break
, METH_VARARGS
| METH_KEYWORDS
},
36822 { (char *)"Menu_InsertItem", (PyCFunction
) _wrap_Menu_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
36823 { (char *)"Menu_Insert", (PyCFunction
) _wrap_Menu_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36824 { (char *)"Menu_InsertSeparator", (PyCFunction
) _wrap_Menu_InsertSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36825 { (char *)"Menu_InsertCheckItem", (PyCFunction
) _wrap_Menu_InsertCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36826 { (char *)"Menu_InsertRadioItem", (PyCFunction
) _wrap_Menu_InsertRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36827 { (char *)"Menu_InsertMenu", (PyCFunction
) _wrap_Menu_InsertMenu
, METH_VARARGS
| METH_KEYWORDS
},
36828 { (char *)"Menu_PrependItem", (PyCFunction
) _wrap_Menu_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
36829 { (char *)"Menu_Prepend", (PyCFunction
) _wrap_Menu_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
36830 { (char *)"Menu_PrependSeparator", (PyCFunction
) _wrap_Menu_PrependSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36831 { (char *)"Menu_PrependCheckItem", (PyCFunction
) _wrap_Menu_PrependCheckItem
, METH_VARARGS
| METH_KEYWORDS
},
36832 { (char *)"Menu_PrependRadioItem", (PyCFunction
) _wrap_Menu_PrependRadioItem
, METH_VARARGS
| METH_KEYWORDS
},
36833 { (char *)"Menu_PrependMenu", (PyCFunction
) _wrap_Menu_PrependMenu
, METH_VARARGS
| METH_KEYWORDS
},
36834 { (char *)"Menu_Remove", (PyCFunction
) _wrap_Menu_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36835 { (char *)"Menu_RemoveItem", (PyCFunction
) _wrap_Menu_RemoveItem
, METH_VARARGS
| METH_KEYWORDS
},
36836 { (char *)"Menu_Delete", (PyCFunction
) _wrap_Menu_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36837 { (char *)"Menu_DeleteItem", (PyCFunction
) _wrap_Menu_DeleteItem
, METH_VARARGS
| METH_KEYWORDS
},
36838 { (char *)"Menu_Destroy", (PyCFunction
) _wrap_Menu_Destroy
, METH_VARARGS
| METH_KEYWORDS
},
36839 { (char *)"Menu_DestroyId", (PyCFunction
) _wrap_Menu_DestroyId
, METH_VARARGS
| METH_KEYWORDS
},
36840 { (char *)"Menu_DestroyItem", (PyCFunction
) _wrap_Menu_DestroyItem
, METH_VARARGS
| METH_KEYWORDS
},
36841 { (char *)"Menu_GetMenuItemCount", (PyCFunction
) _wrap_Menu_GetMenuItemCount
, METH_VARARGS
| METH_KEYWORDS
},
36842 { (char *)"Menu_GetMenuItems", (PyCFunction
) _wrap_Menu_GetMenuItems
, METH_VARARGS
| METH_KEYWORDS
},
36843 { (char *)"Menu_FindItem", (PyCFunction
) _wrap_Menu_FindItem
, METH_VARARGS
| METH_KEYWORDS
},
36844 { (char *)"Menu_FindItemById", (PyCFunction
) _wrap_Menu_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36845 { (char *)"Menu_FindItemByPosition", (PyCFunction
) _wrap_Menu_FindItemByPosition
, METH_VARARGS
| METH_KEYWORDS
},
36846 { (char *)"Menu_Enable", (PyCFunction
) _wrap_Menu_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36847 { (char *)"Menu_IsEnabled", (PyCFunction
) _wrap_Menu_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36848 { (char *)"Menu_Check", (PyCFunction
) _wrap_Menu_Check
, METH_VARARGS
| METH_KEYWORDS
},
36849 { (char *)"Menu_IsChecked", (PyCFunction
) _wrap_Menu_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36850 { (char *)"Menu_SetLabel", (PyCFunction
) _wrap_Menu_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36851 { (char *)"Menu_GetLabel", (PyCFunction
) _wrap_Menu_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36852 { (char *)"Menu_SetHelpString", (PyCFunction
) _wrap_Menu_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36853 { (char *)"Menu_GetHelpString", (PyCFunction
) _wrap_Menu_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36854 { (char *)"Menu_SetTitle", (PyCFunction
) _wrap_Menu_SetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36855 { (char *)"Menu_GetTitle", (PyCFunction
) _wrap_Menu_GetTitle
, METH_VARARGS
| METH_KEYWORDS
},
36856 { (char *)"Menu_SetEventHandler", (PyCFunction
) _wrap_Menu_SetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36857 { (char *)"Menu_GetEventHandler", (PyCFunction
) _wrap_Menu_GetEventHandler
, METH_VARARGS
| METH_KEYWORDS
},
36858 { (char *)"Menu_SetInvokingWindow", (PyCFunction
) _wrap_Menu_SetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36859 { (char *)"Menu_GetInvokingWindow", (PyCFunction
) _wrap_Menu_GetInvokingWindow
, METH_VARARGS
| METH_KEYWORDS
},
36860 { (char *)"Menu_GetStyle", (PyCFunction
) _wrap_Menu_GetStyle
, METH_VARARGS
| METH_KEYWORDS
},
36861 { (char *)"Menu_UpdateUI", (PyCFunction
) _wrap_Menu_UpdateUI
, METH_VARARGS
| METH_KEYWORDS
},
36862 { (char *)"Menu_GetMenuBar", (PyCFunction
) _wrap_Menu_GetMenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36863 { (char *)"Menu_Attach", (PyCFunction
) _wrap_Menu_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36864 { (char *)"Menu_Detach", (PyCFunction
) _wrap_Menu_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36865 { (char *)"Menu_IsAttached", (PyCFunction
) _wrap_Menu_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36866 { (char *)"Menu_SetParent", (PyCFunction
) _wrap_Menu_SetParent
, METH_VARARGS
| METH_KEYWORDS
},
36867 { (char *)"Menu_GetParent", (PyCFunction
) _wrap_Menu_GetParent
, METH_VARARGS
| METH_KEYWORDS
},
36868 { (char *)"Menu_swigregister", Menu_swigregister
, METH_VARARGS
},
36869 { (char *)"new_MenuBar", (PyCFunction
) _wrap_new_MenuBar
, METH_VARARGS
| METH_KEYWORDS
},
36870 { (char *)"MenuBar_Append", (PyCFunction
) _wrap_MenuBar_Append
, METH_VARARGS
| METH_KEYWORDS
},
36871 { (char *)"MenuBar_Insert", (PyCFunction
) _wrap_MenuBar_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36872 { (char *)"MenuBar_GetMenuCount", (PyCFunction
) _wrap_MenuBar_GetMenuCount
, METH_VARARGS
| METH_KEYWORDS
},
36873 { (char *)"MenuBar_GetMenu", (PyCFunction
) _wrap_MenuBar_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36874 { (char *)"MenuBar_Replace", (PyCFunction
) _wrap_MenuBar_Replace
, METH_VARARGS
| METH_KEYWORDS
},
36875 { (char *)"MenuBar_Remove", (PyCFunction
) _wrap_MenuBar_Remove
, METH_VARARGS
| METH_KEYWORDS
},
36876 { (char *)"MenuBar_EnableTop", (PyCFunction
) _wrap_MenuBar_EnableTop
, METH_VARARGS
| METH_KEYWORDS
},
36877 { (char *)"MenuBar_IsEnabledTop", (PyCFunction
) _wrap_MenuBar_IsEnabledTop
, METH_VARARGS
| METH_KEYWORDS
},
36878 { (char *)"MenuBar_SetLabelTop", (PyCFunction
) _wrap_MenuBar_SetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36879 { (char *)"MenuBar_GetLabelTop", (PyCFunction
) _wrap_MenuBar_GetLabelTop
, METH_VARARGS
| METH_KEYWORDS
},
36880 { (char *)"MenuBar_FindMenuItem", (PyCFunction
) _wrap_MenuBar_FindMenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36881 { (char *)"MenuBar_FindItemById", (PyCFunction
) _wrap_MenuBar_FindItemById
, METH_VARARGS
| METH_KEYWORDS
},
36882 { (char *)"MenuBar_FindMenu", (PyCFunction
) _wrap_MenuBar_FindMenu
, METH_VARARGS
| METH_KEYWORDS
},
36883 { (char *)"MenuBar_Enable", (PyCFunction
) _wrap_MenuBar_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36884 { (char *)"MenuBar_Check", (PyCFunction
) _wrap_MenuBar_Check
, METH_VARARGS
| METH_KEYWORDS
},
36885 { (char *)"MenuBar_IsChecked", (PyCFunction
) _wrap_MenuBar_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36886 { (char *)"MenuBar_IsEnabled", (PyCFunction
) _wrap_MenuBar_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36887 { (char *)"MenuBar_SetLabel", (PyCFunction
) _wrap_MenuBar_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36888 { (char *)"MenuBar_GetLabel", (PyCFunction
) _wrap_MenuBar_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36889 { (char *)"MenuBar_SetHelpString", (PyCFunction
) _wrap_MenuBar_SetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36890 { (char *)"MenuBar_GetHelpString", (PyCFunction
) _wrap_MenuBar_GetHelpString
, METH_VARARGS
| METH_KEYWORDS
},
36891 { (char *)"MenuBar_GetFrame", (PyCFunction
) _wrap_MenuBar_GetFrame
, METH_VARARGS
| METH_KEYWORDS
},
36892 { (char *)"MenuBar_IsAttached", (PyCFunction
) _wrap_MenuBar_IsAttached
, METH_VARARGS
| METH_KEYWORDS
},
36893 { (char *)"MenuBar_Attach", (PyCFunction
) _wrap_MenuBar_Attach
, METH_VARARGS
| METH_KEYWORDS
},
36894 { (char *)"MenuBar_Detach", (PyCFunction
) _wrap_MenuBar_Detach
, METH_VARARGS
| METH_KEYWORDS
},
36895 { (char *)"MenuBar_swigregister", MenuBar_swigregister
, METH_VARARGS
},
36896 { (char *)"new_MenuItem", (PyCFunction
) _wrap_new_MenuItem
, METH_VARARGS
| METH_KEYWORDS
},
36897 { (char *)"MenuItem_GetMenu", (PyCFunction
) _wrap_MenuItem_GetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36898 { (char *)"MenuItem_SetMenu", (PyCFunction
) _wrap_MenuItem_SetMenu
, METH_VARARGS
| METH_KEYWORDS
},
36899 { (char *)"MenuItem_SetId", (PyCFunction
) _wrap_MenuItem_SetId
, METH_VARARGS
| METH_KEYWORDS
},
36900 { (char *)"MenuItem_GetId", (PyCFunction
) _wrap_MenuItem_GetId
, METH_VARARGS
| METH_KEYWORDS
},
36901 { (char *)"MenuItem_IsSeparator", (PyCFunction
) _wrap_MenuItem_IsSeparator
, METH_VARARGS
| METH_KEYWORDS
},
36902 { (char *)"MenuItem_SetText", (PyCFunction
) _wrap_MenuItem_SetText
, METH_VARARGS
| METH_KEYWORDS
},
36903 { (char *)"MenuItem_GetLabel", (PyCFunction
) _wrap_MenuItem_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36904 { (char *)"MenuItem_GetText", (PyCFunction
) _wrap_MenuItem_GetText
, METH_VARARGS
| METH_KEYWORDS
},
36905 { (char *)"MenuItem_GetLabelFromText", (PyCFunction
) _wrap_MenuItem_GetLabelFromText
, METH_VARARGS
| METH_KEYWORDS
},
36906 { (char *)"MenuItem_GetKind", (PyCFunction
) _wrap_MenuItem_GetKind
, METH_VARARGS
| METH_KEYWORDS
},
36907 { (char *)"MenuItem_SetCheckable", (PyCFunction
) _wrap_MenuItem_SetCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36908 { (char *)"MenuItem_IsCheckable", (PyCFunction
) _wrap_MenuItem_IsCheckable
, METH_VARARGS
| METH_KEYWORDS
},
36909 { (char *)"MenuItem_IsSubMenu", (PyCFunction
) _wrap_MenuItem_IsSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36910 { (char *)"MenuItem_SetSubMenu", (PyCFunction
) _wrap_MenuItem_SetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36911 { (char *)"MenuItem_GetSubMenu", (PyCFunction
) _wrap_MenuItem_GetSubMenu
, METH_VARARGS
| METH_KEYWORDS
},
36912 { (char *)"MenuItem_Enable", (PyCFunction
) _wrap_MenuItem_Enable
, METH_VARARGS
| METH_KEYWORDS
},
36913 { (char *)"MenuItem_IsEnabled", (PyCFunction
) _wrap_MenuItem_IsEnabled
, METH_VARARGS
| METH_KEYWORDS
},
36914 { (char *)"MenuItem_Check", (PyCFunction
) _wrap_MenuItem_Check
, METH_VARARGS
| METH_KEYWORDS
},
36915 { (char *)"MenuItem_IsChecked", (PyCFunction
) _wrap_MenuItem_IsChecked
, METH_VARARGS
| METH_KEYWORDS
},
36916 { (char *)"MenuItem_Toggle", (PyCFunction
) _wrap_MenuItem_Toggle
, METH_VARARGS
| METH_KEYWORDS
},
36917 { (char *)"MenuItem_SetHelp", (PyCFunction
) _wrap_MenuItem_SetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36918 { (char *)"MenuItem_GetHelp", (PyCFunction
) _wrap_MenuItem_GetHelp
, METH_VARARGS
| METH_KEYWORDS
},
36919 { (char *)"MenuItem_GetAccel", (PyCFunction
) _wrap_MenuItem_GetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36920 { (char *)"MenuItem_SetAccel", (PyCFunction
) _wrap_MenuItem_SetAccel
, METH_VARARGS
| METH_KEYWORDS
},
36921 { (char *)"MenuItem_SetFont", (PyCFunction
) _wrap_MenuItem_SetFont
, METH_VARARGS
| METH_KEYWORDS
},
36922 { (char *)"MenuItem_GetFont", (PyCFunction
) _wrap_MenuItem_GetFont
, METH_VARARGS
| METH_KEYWORDS
},
36923 { (char *)"MenuItem_SetTextColour", (PyCFunction
) _wrap_MenuItem_SetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
36924 { (char *)"MenuItem_GetTextColour", (PyCFunction
) _wrap_MenuItem_GetTextColour
, METH_VARARGS
| METH_KEYWORDS
},
36925 { (char *)"MenuItem_SetBackgroundColour", (PyCFunction
) _wrap_MenuItem_SetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36926 { (char *)"MenuItem_GetBackgroundColour", (PyCFunction
) _wrap_MenuItem_GetBackgroundColour
, METH_VARARGS
| METH_KEYWORDS
},
36927 { (char *)"MenuItem_SetBitmaps", (PyCFunction
) _wrap_MenuItem_SetBitmaps
, METH_VARARGS
| METH_KEYWORDS
},
36928 { (char *)"MenuItem_SetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_SetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36929 { (char *)"MenuItem_GetDisabledBitmap", (PyCFunction
) _wrap_MenuItem_GetDisabledBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36930 { (char *)"MenuItem_SetMarginWidth", (PyCFunction
) _wrap_MenuItem_SetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36931 { (char *)"MenuItem_GetMarginWidth", (PyCFunction
) _wrap_MenuItem_GetMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36932 { (char *)"MenuItem_GetDefaultMarginWidth", (PyCFunction
) _wrap_MenuItem_GetDefaultMarginWidth
, METH_VARARGS
| METH_KEYWORDS
},
36933 { (char *)"MenuItem_IsOwnerDrawn", (PyCFunction
) _wrap_MenuItem_IsOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36934 { (char *)"MenuItem_SetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_SetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36935 { (char *)"MenuItem_ResetOwnerDrawn", (PyCFunction
) _wrap_MenuItem_ResetOwnerDrawn
, METH_VARARGS
| METH_KEYWORDS
},
36936 { (char *)"MenuItem_SetBitmap", (PyCFunction
) _wrap_MenuItem_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36937 { (char *)"MenuItem_GetBitmap", (PyCFunction
) _wrap_MenuItem_GetBitmap
, METH_VARARGS
| METH_KEYWORDS
},
36938 { (char *)"MenuItem_swigregister", MenuItem_swigregister
, METH_VARARGS
},
36939 { (char *)"new_Control", (PyCFunction
) _wrap_new_Control
, METH_VARARGS
| METH_KEYWORDS
},
36940 { (char *)"new_PreControl", (PyCFunction
) _wrap_new_PreControl
, METH_VARARGS
| METH_KEYWORDS
},
36941 { (char *)"Control_Create", (PyCFunction
) _wrap_Control_Create
, METH_VARARGS
| METH_KEYWORDS
},
36942 { (char *)"Control_Command", (PyCFunction
) _wrap_Control_Command
, METH_VARARGS
| METH_KEYWORDS
},
36943 { (char *)"Control_GetLabel", (PyCFunction
) _wrap_Control_GetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36944 { (char *)"Control_SetLabel", (PyCFunction
) _wrap_Control_SetLabel
, METH_VARARGS
| METH_KEYWORDS
},
36945 { (char *)"Control_swigregister", Control_swigregister
, METH_VARARGS
},
36946 { (char *)"ItemContainer_Append", (PyCFunction
) _wrap_ItemContainer_Append
, METH_VARARGS
| METH_KEYWORDS
},
36947 { (char *)"ItemContainer_AppendItems", (PyCFunction
) _wrap_ItemContainer_AppendItems
, METH_VARARGS
| METH_KEYWORDS
},
36948 { (char *)"ItemContainer_Insert", (PyCFunction
) _wrap_ItemContainer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
36949 { (char *)"ItemContainer_Clear", (PyCFunction
) _wrap_ItemContainer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
36950 { (char *)"ItemContainer_Delete", (PyCFunction
) _wrap_ItemContainer_Delete
, METH_VARARGS
| METH_KEYWORDS
},
36951 { (char *)"ItemContainer_GetCount", (PyCFunction
) _wrap_ItemContainer_GetCount
, METH_VARARGS
| METH_KEYWORDS
},
36952 { (char *)"ItemContainer_IsEmpty", (PyCFunction
) _wrap_ItemContainer_IsEmpty
, METH_VARARGS
| METH_KEYWORDS
},
36953 { (char *)"ItemContainer_GetString", (PyCFunction
) _wrap_ItemContainer_GetString
, METH_VARARGS
| METH_KEYWORDS
},
36954 { (char *)"ItemContainer_GetStrings", (PyCFunction
) _wrap_ItemContainer_GetStrings
, METH_VARARGS
| METH_KEYWORDS
},
36955 { (char *)"ItemContainer_SetString", (PyCFunction
) _wrap_ItemContainer_SetString
, METH_VARARGS
| METH_KEYWORDS
},
36956 { (char *)"ItemContainer_FindString", (PyCFunction
) _wrap_ItemContainer_FindString
, METH_VARARGS
| METH_KEYWORDS
},
36957 { (char *)"ItemContainer_Select", (PyCFunction
) _wrap_ItemContainer_Select
, METH_VARARGS
| METH_KEYWORDS
},
36958 { (char *)"ItemContainer_GetSelection", (PyCFunction
) _wrap_ItemContainer_GetSelection
, METH_VARARGS
| METH_KEYWORDS
},
36959 { (char *)"ItemContainer_GetStringSelection", (PyCFunction
) _wrap_ItemContainer_GetStringSelection
, METH_VARARGS
| METH_KEYWORDS
},
36960 { (char *)"ItemContainer_GetClientData", (PyCFunction
) _wrap_ItemContainer_GetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36961 { (char *)"ItemContainer_SetClientData", (PyCFunction
) _wrap_ItemContainer_SetClientData
, METH_VARARGS
| METH_KEYWORDS
},
36962 { (char *)"ItemContainer_swigregister", ItemContainer_swigregister
, METH_VARARGS
},
36963 { (char *)"ControlWithItems_swigregister", ControlWithItems_swigregister
, METH_VARARGS
},
36964 { (char *)"new_SizerItem", (PyCFunction
) _wrap_new_SizerItem
, METH_VARARGS
| METH_KEYWORDS
},
36965 { (char *)"new_SizerItemSpacer", (PyCFunction
) _wrap_new_SizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36966 { (char *)"new_SizerItemWindow", (PyCFunction
) _wrap_new_SizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
36967 { (char *)"new_SizerItemSizer", (PyCFunction
) _wrap_new_SizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
36968 { (char *)"SizerItem_DeleteWindows", (PyCFunction
) _wrap_SizerItem_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
36969 { (char *)"SizerItem_DetachSizer", (PyCFunction
) _wrap_SizerItem_DetachSizer
, METH_VARARGS
| METH_KEYWORDS
},
36970 { (char *)"SizerItem_GetSize", (PyCFunction
) _wrap_SizerItem_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
36971 { (char *)"SizerItem_CalcMin", (PyCFunction
) _wrap_SizerItem_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
36972 { (char *)"SizerItem_SetDimension", (PyCFunction
) _wrap_SizerItem_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
36973 { (char *)"SizerItem_GetMinSize", (PyCFunction
) _wrap_SizerItem_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
36974 { (char *)"SizerItem_SetInitSize", (PyCFunction
) _wrap_SizerItem_SetInitSize
, METH_VARARGS
| METH_KEYWORDS
},
36975 { (char *)"SizerItem_SetRatioWH", (PyCFunction
) _wrap_SizerItem_SetRatioWH
, METH_VARARGS
| METH_KEYWORDS
},
36976 { (char *)"SizerItem_SetRatioSize", (PyCFunction
) _wrap_SizerItem_SetRatioSize
, METH_VARARGS
| METH_KEYWORDS
},
36977 { (char *)"SizerItem_SetRatio", (PyCFunction
) _wrap_SizerItem_SetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36978 { (char *)"SizerItem_GetRatio", (PyCFunction
) _wrap_SizerItem_GetRatio
, METH_VARARGS
| METH_KEYWORDS
},
36979 { (char *)"SizerItem_IsWindow", (PyCFunction
) _wrap_SizerItem_IsWindow
, METH_VARARGS
| METH_KEYWORDS
},
36980 { (char *)"SizerItem_IsSizer", (PyCFunction
) _wrap_SizerItem_IsSizer
, METH_VARARGS
| METH_KEYWORDS
},
36981 { (char *)"SizerItem_IsSpacer", (PyCFunction
) _wrap_SizerItem_IsSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36982 { (char *)"SizerItem_SetProportion", (PyCFunction
) _wrap_SizerItem_SetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36983 { (char *)"SizerItem_GetProportion", (PyCFunction
) _wrap_SizerItem_GetProportion
, METH_VARARGS
| METH_KEYWORDS
},
36984 { (char *)"SizerItem_SetFlag", (PyCFunction
) _wrap_SizerItem_SetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36985 { (char *)"SizerItem_GetFlag", (PyCFunction
) _wrap_SizerItem_GetFlag
, METH_VARARGS
| METH_KEYWORDS
},
36986 { (char *)"SizerItem_SetBorder", (PyCFunction
) _wrap_SizerItem_SetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36987 { (char *)"SizerItem_GetBorder", (PyCFunction
) _wrap_SizerItem_GetBorder
, METH_VARARGS
| METH_KEYWORDS
},
36988 { (char *)"SizerItem_GetWindow", (PyCFunction
) _wrap_SizerItem_GetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36989 { (char *)"SizerItem_SetWindow", (PyCFunction
) _wrap_SizerItem_SetWindow
, METH_VARARGS
| METH_KEYWORDS
},
36990 { (char *)"SizerItem_GetSizer", (PyCFunction
) _wrap_SizerItem_GetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36991 { (char *)"SizerItem_SetSizer", (PyCFunction
) _wrap_SizerItem_SetSizer
, METH_VARARGS
| METH_KEYWORDS
},
36992 { (char *)"SizerItem_GetSpacer", (PyCFunction
) _wrap_SizerItem_GetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36993 { (char *)"SizerItem_SetSpacer", (PyCFunction
) _wrap_SizerItem_SetSpacer
, METH_VARARGS
| METH_KEYWORDS
},
36994 { (char *)"SizerItem_Show", (PyCFunction
) _wrap_SizerItem_Show
, METH_VARARGS
| METH_KEYWORDS
},
36995 { (char *)"SizerItem_IsShown", (PyCFunction
) _wrap_SizerItem_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
36996 { (char *)"SizerItem_GetPosition", (PyCFunction
) _wrap_SizerItem_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
36997 { (char *)"SizerItem_GetUserData", (PyCFunction
) _wrap_SizerItem_GetUserData
, METH_VARARGS
| METH_KEYWORDS
},
36998 { (char *)"SizerItem_swigregister", SizerItem_swigregister
, METH_VARARGS
},
36999 { (char *)"Sizer__setOORInfo", (PyCFunction
) _wrap_Sizer__setOORInfo
, METH_VARARGS
| METH_KEYWORDS
},
37000 { (char *)"Sizer_Add", (PyCFunction
) _wrap_Sizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
37001 { (char *)"Sizer_Insert", (PyCFunction
) _wrap_Sizer_Insert
, METH_VARARGS
| METH_KEYWORDS
},
37002 { (char *)"Sizer_Prepend", (PyCFunction
) _wrap_Sizer_Prepend
, METH_VARARGS
| METH_KEYWORDS
},
37003 { (char *)"Sizer_Remove", (PyCFunction
) _wrap_Sizer_Remove
, METH_VARARGS
| METH_KEYWORDS
},
37004 { (char *)"Sizer__SetItemMinSize", (PyCFunction
) _wrap_Sizer__SetItemMinSize
, METH_VARARGS
| METH_KEYWORDS
},
37005 { (char *)"Sizer_AddItem", (PyCFunction
) _wrap_Sizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
37006 { (char *)"Sizer_InsertItem", (PyCFunction
) _wrap_Sizer_InsertItem
, METH_VARARGS
| METH_KEYWORDS
},
37007 { (char *)"Sizer_PrependItem", (PyCFunction
) _wrap_Sizer_PrependItem
, METH_VARARGS
| METH_KEYWORDS
},
37008 { (char *)"Sizer_SetDimension", (PyCFunction
) _wrap_Sizer_SetDimension
, METH_VARARGS
| METH_KEYWORDS
},
37009 { (char *)"Sizer_SetMinSize", (PyCFunction
) _wrap_Sizer_SetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
37010 { (char *)"Sizer_GetSize", (PyCFunction
) _wrap_Sizer_GetSize
, METH_VARARGS
| METH_KEYWORDS
},
37011 { (char *)"Sizer_GetPosition", (PyCFunction
) _wrap_Sizer_GetPosition
, METH_VARARGS
| METH_KEYWORDS
},
37012 { (char *)"Sizer_GetMinSize", (PyCFunction
) _wrap_Sizer_GetMinSize
, METH_VARARGS
| METH_KEYWORDS
},
37013 { (char *)"Sizer_RecalcSizes", (PyCFunction
) _wrap_Sizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37014 { (char *)"Sizer_CalcMin", (PyCFunction
) _wrap_Sizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37015 { (char *)"Sizer_Layout", (PyCFunction
) _wrap_Sizer_Layout
, METH_VARARGS
| METH_KEYWORDS
},
37016 { (char *)"Sizer_Fit", (PyCFunction
) _wrap_Sizer_Fit
, METH_VARARGS
| METH_KEYWORDS
},
37017 { (char *)"Sizer_FitInside", (PyCFunction
) _wrap_Sizer_FitInside
, METH_VARARGS
| METH_KEYWORDS
},
37018 { (char *)"Sizer_SetSizeHints", (PyCFunction
) _wrap_Sizer_SetSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
37019 { (char *)"Sizer_SetVirtualSizeHints", (PyCFunction
) _wrap_Sizer_SetVirtualSizeHints
, METH_VARARGS
| METH_KEYWORDS
},
37020 { (char *)"Sizer_Clear", (PyCFunction
) _wrap_Sizer_Clear
, METH_VARARGS
| METH_KEYWORDS
},
37021 { (char *)"Sizer_DeleteWindows", (PyCFunction
) _wrap_Sizer_DeleteWindows
, METH_VARARGS
| METH_KEYWORDS
},
37022 { (char *)"Sizer_GetChildren", (PyCFunction
) _wrap_Sizer_GetChildren
, METH_VARARGS
| METH_KEYWORDS
},
37023 { (char *)"Sizer_Show", (PyCFunction
) _wrap_Sizer_Show
, METH_VARARGS
| METH_KEYWORDS
},
37024 { (char *)"Sizer_Hide", (PyCFunction
) _wrap_Sizer_Hide
, METH_VARARGS
| METH_KEYWORDS
},
37025 { (char *)"Sizer_IsShown", (PyCFunction
) _wrap_Sizer_IsShown
, METH_VARARGS
| METH_KEYWORDS
},
37026 { (char *)"Sizer_ShowItems", (PyCFunction
) _wrap_Sizer_ShowItems
, METH_VARARGS
| METH_KEYWORDS
},
37027 { (char *)"Sizer_swigregister", Sizer_swigregister
, METH_VARARGS
},
37028 { (char *)"new_PySizer", (PyCFunction
) _wrap_new_PySizer
, METH_VARARGS
| METH_KEYWORDS
},
37029 { (char *)"PySizer__setCallbackInfo", (PyCFunction
) _wrap_PySizer__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
},
37030 { (char *)"PySizer_swigregister", PySizer_swigregister
, METH_VARARGS
},
37031 { (char *)"new_BoxSizer", (PyCFunction
) _wrap_new_BoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
37032 { (char *)"BoxSizer_GetOrientation", (PyCFunction
) _wrap_BoxSizer_GetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
37033 { (char *)"BoxSizer_SetOrientation", (PyCFunction
) _wrap_BoxSizer_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
},
37034 { (char *)"BoxSizer_RecalcSizes", (PyCFunction
) _wrap_BoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37035 { (char *)"BoxSizer_CalcMin", (PyCFunction
) _wrap_BoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37036 { (char *)"BoxSizer_swigregister", BoxSizer_swigregister
, METH_VARARGS
},
37037 { (char *)"new_StaticBoxSizer", (PyCFunction
) _wrap_new_StaticBoxSizer
, METH_VARARGS
| METH_KEYWORDS
},
37038 { (char *)"StaticBoxSizer_GetStaticBox", (PyCFunction
) _wrap_StaticBoxSizer_GetStaticBox
, METH_VARARGS
| METH_KEYWORDS
},
37039 { (char *)"StaticBoxSizer_RecalcSizes", (PyCFunction
) _wrap_StaticBoxSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37040 { (char *)"StaticBoxSizer_CalcMin", (PyCFunction
) _wrap_StaticBoxSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37041 { (char *)"StaticBoxSizer_swigregister", StaticBoxSizer_swigregister
, METH_VARARGS
},
37042 { (char *)"new_GridSizer", (PyCFunction
) _wrap_new_GridSizer
, METH_VARARGS
| METH_KEYWORDS
},
37043 { (char *)"GridSizer_RecalcSizes", (PyCFunction
) _wrap_GridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37044 { (char *)"GridSizer_CalcMin", (PyCFunction
) _wrap_GridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37045 { (char *)"GridSizer_SetCols", (PyCFunction
) _wrap_GridSizer_SetCols
, METH_VARARGS
| METH_KEYWORDS
},
37046 { (char *)"GridSizer_SetRows", (PyCFunction
) _wrap_GridSizer_SetRows
, METH_VARARGS
| METH_KEYWORDS
},
37047 { (char *)"GridSizer_SetVGap", (PyCFunction
) _wrap_GridSizer_SetVGap
, METH_VARARGS
| METH_KEYWORDS
},
37048 { (char *)"GridSizer_SetHGap", (PyCFunction
) _wrap_GridSizer_SetHGap
, METH_VARARGS
| METH_KEYWORDS
},
37049 { (char *)"GridSizer_GetCols", (PyCFunction
) _wrap_GridSizer_GetCols
, METH_VARARGS
| METH_KEYWORDS
},
37050 { (char *)"GridSizer_GetRows", (PyCFunction
) _wrap_GridSizer_GetRows
, METH_VARARGS
| METH_KEYWORDS
},
37051 { (char *)"GridSizer_GetVGap", (PyCFunction
) _wrap_GridSizer_GetVGap
, METH_VARARGS
| METH_KEYWORDS
},
37052 { (char *)"GridSizer_GetHGap", (PyCFunction
) _wrap_GridSizer_GetHGap
, METH_VARARGS
| METH_KEYWORDS
},
37053 { (char *)"GridSizer_swigregister", GridSizer_swigregister
, METH_VARARGS
},
37054 { (char *)"new_FlexGridSizer", (PyCFunction
) _wrap_new_FlexGridSizer
, METH_VARARGS
| METH_KEYWORDS
},
37055 { (char *)"FlexGridSizer_RecalcSizes", (PyCFunction
) _wrap_FlexGridSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37056 { (char *)"FlexGridSizer_CalcMin", (PyCFunction
) _wrap_FlexGridSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37057 { (char *)"FlexGridSizer_AddGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
37058 { (char *)"FlexGridSizer_RemoveGrowableRow", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableRow
, METH_VARARGS
| METH_KEYWORDS
},
37059 { (char *)"FlexGridSizer_AddGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_AddGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
37060 { (char *)"FlexGridSizer_RemoveGrowableCol", (PyCFunction
) _wrap_FlexGridSizer_RemoveGrowableCol
, METH_VARARGS
| METH_KEYWORDS
},
37061 { (char *)"FlexGridSizer_SetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_SetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
37062 { (char *)"FlexGridSizer_GetFlexibleDirection", (PyCFunction
) _wrap_FlexGridSizer_GetFlexibleDirection
, METH_VARARGS
| METH_KEYWORDS
},
37063 { (char *)"FlexGridSizer_SetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_SetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
37064 { (char *)"FlexGridSizer_GetNonFlexibleGrowMode", (PyCFunction
) _wrap_FlexGridSizer_GetNonFlexibleGrowMode
, METH_VARARGS
| METH_KEYWORDS
},
37065 { (char *)"FlexGridSizer_GetRowHeights", (PyCFunction
) _wrap_FlexGridSizer_GetRowHeights
, METH_VARARGS
| METH_KEYWORDS
},
37066 { (char *)"FlexGridSizer_GetColWidths", (PyCFunction
) _wrap_FlexGridSizer_GetColWidths
, METH_VARARGS
| METH_KEYWORDS
},
37067 { (char *)"FlexGridSizer_swigregister", FlexGridSizer_swigregister
, METH_VARARGS
},
37068 { (char *)"new_GBPosition", (PyCFunction
) _wrap_new_GBPosition
, METH_VARARGS
| METH_KEYWORDS
},
37069 { (char *)"GBPosition_GetRow", (PyCFunction
) _wrap_GBPosition_GetRow
, METH_VARARGS
| METH_KEYWORDS
},
37070 { (char *)"GBPosition_GetCol", (PyCFunction
) _wrap_GBPosition_GetCol
, METH_VARARGS
| METH_KEYWORDS
},
37071 { (char *)"GBPosition_SetRow", (PyCFunction
) _wrap_GBPosition_SetRow
, METH_VARARGS
| METH_KEYWORDS
},
37072 { (char *)"GBPosition_SetCol", (PyCFunction
) _wrap_GBPosition_SetCol
, METH_VARARGS
| METH_KEYWORDS
},
37073 { (char *)"GBPosition___eq__", (PyCFunction
) _wrap_GBPosition___eq__
, METH_VARARGS
| METH_KEYWORDS
},
37074 { (char *)"GBPosition___ne__", (PyCFunction
) _wrap_GBPosition___ne__
, METH_VARARGS
| METH_KEYWORDS
},
37075 { (char *)"GBPosition_Set", (PyCFunction
) _wrap_GBPosition_Set
, METH_VARARGS
| METH_KEYWORDS
},
37076 { (char *)"GBPosition_Get", (PyCFunction
) _wrap_GBPosition_Get
, METH_VARARGS
| METH_KEYWORDS
},
37077 { (char *)"GBPosition_swigregister", GBPosition_swigregister
, METH_VARARGS
},
37078 { (char *)"new_GBSpan", (PyCFunction
) _wrap_new_GBSpan
, METH_VARARGS
| METH_KEYWORDS
},
37079 { (char *)"GBSpan_GetRowspan", (PyCFunction
) _wrap_GBSpan_GetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
37080 { (char *)"GBSpan_GetColspan", (PyCFunction
) _wrap_GBSpan_GetColspan
, METH_VARARGS
| METH_KEYWORDS
},
37081 { (char *)"GBSpan_SetRowspan", (PyCFunction
) _wrap_GBSpan_SetRowspan
, METH_VARARGS
| METH_KEYWORDS
},
37082 { (char *)"GBSpan_SetColspan", (PyCFunction
) _wrap_GBSpan_SetColspan
, METH_VARARGS
| METH_KEYWORDS
},
37083 { (char *)"GBSpan___eq__", (PyCFunction
) _wrap_GBSpan___eq__
, METH_VARARGS
| METH_KEYWORDS
},
37084 { (char *)"GBSpan___ne__", (PyCFunction
) _wrap_GBSpan___ne__
, METH_VARARGS
| METH_KEYWORDS
},
37085 { (char *)"GBSpan_Set", (PyCFunction
) _wrap_GBSpan_Set
, METH_VARARGS
| METH_KEYWORDS
},
37086 { (char *)"GBSpan_Get", (PyCFunction
) _wrap_GBSpan_Get
, METH_VARARGS
| METH_KEYWORDS
},
37087 { (char *)"GBSpan_swigregister", GBSpan_swigregister
, METH_VARARGS
},
37088 { (char *)"new_GBSizerItem", (PyCFunction
) _wrap_new_GBSizerItem
, METH_VARARGS
| METH_KEYWORDS
},
37089 { (char *)"new_GBSizerItemWindow", (PyCFunction
) _wrap_new_GBSizerItemWindow
, METH_VARARGS
| METH_KEYWORDS
},
37090 { (char *)"new_GBSizerItemSizer", (PyCFunction
) _wrap_new_GBSizerItemSizer
, METH_VARARGS
| METH_KEYWORDS
},
37091 { (char *)"new_GBSizerItemSpacer", (PyCFunction
) _wrap_new_GBSizerItemSpacer
, METH_VARARGS
| METH_KEYWORDS
},
37092 { (char *)"GBSizerItem_GetPos", (PyCFunction
) _wrap_GBSizerItem_GetPos
, METH_VARARGS
| METH_KEYWORDS
},
37093 { (char *)"GBSizerItem_GetSpan", (PyCFunction
) _wrap_GBSizerItem_GetSpan
, METH_VARARGS
| METH_KEYWORDS
},
37094 { (char *)"GBSizerItem_SetPos", (PyCFunction
) _wrap_GBSizerItem_SetPos
, METH_VARARGS
| METH_KEYWORDS
},
37095 { (char *)"GBSizerItem_SetSpan", (PyCFunction
) _wrap_GBSizerItem_SetSpan
, METH_VARARGS
| METH_KEYWORDS
},
37096 { (char *)"GBSizerItem_Intersects", _wrap_GBSizerItem_Intersects
, METH_VARARGS
},
37097 { (char *)"GBSizerItem_GetEndPos", (PyCFunction
) _wrap_GBSizerItem_GetEndPos
, METH_VARARGS
| METH_KEYWORDS
},
37098 { (char *)"GBSizerItem_GetGBSizer", (PyCFunction
) _wrap_GBSizerItem_GetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
37099 { (char *)"GBSizerItem_SetGBSizer", (PyCFunction
) _wrap_GBSizerItem_SetGBSizer
, METH_VARARGS
| METH_KEYWORDS
},
37100 { (char *)"GBSizerItem_swigregister", GBSizerItem_swigregister
, METH_VARARGS
},
37101 { (char *)"new_GridBagSizer", (PyCFunction
) _wrap_new_GridBagSizer
, METH_VARARGS
| METH_KEYWORDS
},
37102 { (char *)"GridBagSizer_Add", (PyCFunction
) _wrap_GridBagSizer_Add
, METH_VARARGS
| METH_KEYWORDS
},
37103 { (char *)"GridBagSizer_AddItem", (PyCFunction
) _wrap_GridBagSizer_AddItem
, METH_VARARGS
| METH_KEYWORDS
},
37104 { (char *)"GridBagSizer_GetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_GetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
37105 { (char *)"GridBagSizer_SetEmptyCellSize", (PyCFunction
) _wrap_GridBagSizer_SetEmptyCellSize
, METH_VARARGS
| METH_KEYWORDS
},
37106 { (char *)"GridBagSizer_GetItemPosition", _wrap_GridBagSizer_GetItemPosition
, METH_VARARGS
},
37107 { (char *)"GridBagSizer_SetItemPosition", _wrap_GridBagSizer_SetItemPosition
, METH_VARARGS
},
37108 { (char *)"GridBagSizer_GetItemSpan", _wrap_GridBagSizer_GetItemSpan
, METH_VARARGS
},
37109 { (char *)"GridBagSizer_SetItemSpan", _wrap_GridBagSizer_SetItemSpan
, METH_VARARGS
},
37110 { (char *)"GridBagSizer_FindItem", _wrap_GridBagSizer_FindItem
, METH_VARARGS
},
37111 { (char *)"GridBagSizer_FindItemAtPosition", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPosition
, METH_VARARGS
| METH_KEYWORDS
},
37112 { (char *)"GridBagSizer_FindItemAtPoint", (PyCFunction
) _wrap_GridBagSizer_FindItemAtPoint
, METH_VARARGS
| METH_KEYWORDS
},
37113 { (char *)"GridBagSizer_FindItemWithData", (PyCFunction
) _wrap_GridBagSizer_FindItemWithData
, METH_VARARGS
| METH_KEYWORDS
},
37114 { (char *)"GridBagSizer_RecalcSizes", (PyCFunction
) _wrap_GridBagSizer_RecalcSizes
, METH_VARARGS
| METH_KEYWORDS
},
37115 { (char *)"GridBagSizer_CalcMin", (PyCFunction
) _wrap_GridBagSizer_CalcMin
, METH_VARARGS
| METH_KEYWORDS
},
37116 { (char *)"GridBagSizer_CheckForIntersection", _wrap_GridBagSizer_CheckForIntersection
, METH_VARARGS
},
37117 { (char *)"GridBagSizer_swigregister", GridBagSizer_swigregister
, METH_VARARGS
},
37118 { (char *)"IndividualLayoutConstraint_Set", (PyCFunction
) _wrap_IndividualLayoutConstraint_Set
, METH_VARARGS
| METH_KEYWORDS
},
37119 { (char *)"IndividualLayoutConstraint_LeftOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_LeftOf
, METH_VARARGS
| METH_KEYWORDS
},
37120 { (char *)"IndividualLayoutConstraint_RightOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_RightOf
, METH_VARARGS
| METH_KEYWORDS
},
37121 { (char *)"IndividualLayoutConstraint_Above", (PyCFunction
) _wrap_IndividualLayoutConstraint_Above
, METH_VARARGS
| METH_KEYWORDS
},
37122 { (char *)"IndividualLayoutConstraint_Below", (PyCFunction
) _wrap_IndividualLayoutConstraint_Below
, METH_VARARGS
| METH_KEYWORDS
},
37123 { (char *)"IndividualLayoutConstraint_SameAs", (PyCFunction
) _wrap_IndividualLayoutConstraint_SameAs
, METH_VARARGS
| METH_KEYWORDS
},
37124 { (char *)"IndividualLayoutConstraint_PercentOf", (PyCFunction
) _wrap_IndividualLayoutConstraint_PercentOf
, METH_VARARGS
| METH_KEYWORDS
},
37125 { (char *)"IndividualLayoutConstraint_Absolute", (PyCFunction
) _wrap_IndividualLayoutConstraint_Absolute
, METH_VARARGS
| METH_KEYWORDS
},
37126 { (char *)"IndividualLayoutConstraint_Unconstrained", (PyCFunction
) _wrap_IndividualLayoutConstraint_Unconstrained
, METH_VARARGS
| METH_KEYWORDS
},
37127 { (char *)"IndividualLayoutConstraint_AsIs", (PyCFunction
) _wrap_IndividualLayoutConstraint_AsIs
, METH_VARARGS
| METH_KEYWORDS
},
37128 { (char *)"IndividualLayoutConstraint_GetOtherWindow", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherWindow
, METH_VARARGS
| METH_KEYWORDS
},
37129 { (char *)"IndividualLayoutConstraint_GetMyEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMyEdge
, METH_VARARGS
| METH_KEYWORDS
},
37130 { (char *)"IndividualLayoutConstraint_SetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetEdge
, METH_VARARGS
| METH_KEYWORDS
},
37131 { (char *)"IndividualLayoutConstraint_SetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetValue
, METH_VARARGS
| METH_KEYWORDS
},
37132 { (char *)"IndividualLayoutConstraint_GetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetMargin
, METH_VARARGS
| METH_KEYWORDS
},
37133 { (char *)"IndividualLayoutConstraint_SetMargin", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetMargin
, METH_VARARGS
| METH_KEYWORDS
},
37134 { (char *)"IndividualLayoutConstraint_GetValue", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetValue
, METH_VARARGS
| METH_KEYWORDS
},
37135 { (char *)"IndividualLayoutConstraint_GetPercent", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetPercent
, METH_VARARGS
| METH_KEYWORDS
},
37136 { (char *)"IndividualLayoutConstraint_GetOtherEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetOtherEdge
, METH_VARARGS
| METH_KEYWORDS
},
37137 { (char *)"IndividualLayoutConstraint_GetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetDone
, METH_VARARGS
| METH_KEYWORDS
},
37138 { (char *)"IndividualLayoutConstraint_SetDone", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetDone
, METH_VARARGS
| METH_KEYWORDS
},
37139 { (char *)"IndividualLayoutConstraint_GetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
37140 { (char *)"IndividualLayoutConstraint_SetRelationship", (PyCFunction
) _wrap_IndividualLayoutConstraint_SetRelationship
, METH_VARARGS
| METH_KEYWORDS
},
37141 { (char *)"IndividualLayoutConstraint_ResetIfWin", (PyCFunction
) _wrap_IndividualLayoutConstraint_ResetIfWin
, METH_VARARGS
| METH_KEYWORDS
},
37142 { (char *)"IndividualLayoutConstraint_SatisfyConstraint", (PyCFunction
) _wrap_IndividualLayoutConstraint_SatisfyConstraint
, METH_VARARGS
| METH_KEYWORDS
},
37143 { (char *)"IndividualLayoutConstraint_GetEdge", (PyCFunction
) _wrap_IndividualLayoutConstraint_GetEdge
, METH_VARARGS
| METH_KEYWORDS
},
37144 { (char *)"IndividualLayoutConstraint_swigregister", IndividualLayoutConstraint_swigregister
, METH_VARARGS
},
37145 { (char *)"LayoutConstraints_left_get", (PyCFunction
) _wrap_LayoutConstraints_left_get
, METH_VARARGS
| METH_KEYWORDS
},
37146 { (char *)"LayoutConstraints_top_get", (PyCFunction
) _wrap_LayoutConstraints_top_get
, METH_VARARGS
| METH_KEYWORDS
},
37147 { (char *)"LayoutConstraints_right_get", (PyCFunction
) _wrap_LayoutConstraints_right_get
, METH_VARARGS
| METH_KEYWORDS
},
37148 { (char *)"LayoutConstraints_bottom_get", (PyCFunction
) _wrap_LayoutConstraints_bottom_get
, METH_VARARGS
| METH_KEYWORDS
},
37149 { (char *)"LayoutConstraints_width_get", (PyCFunction
) _wrap_LayoutConstraints_width_get
, METH_VARARGS
| METH_KEYWORDS
},
37150 { (char *)"LayoutConstraints_height_get", (PyCFunction
) _wrap_LayoutConstraints_height_get
, METH_VARARGS
| METH_KEYWORDS
},
37151 { (char *)"LayoutConstraints_centreX_get", (PyCFunction
) _wrap_LayoutConstraints_centreX_get
, METH_VARARGS
| METH_KEYWORDS
},
37152 { (char *)"LayoutConstraints_centreY_get", (PyCFunction
) _wrap_LayoutConstraints_centreY_get
, METH_VARARGS
| METH_KEYWORDS
},
37153 { (char *)"new_LayoutConstraints", (PyCFunction
) _wrap_new_LayoutConstraints
, METH_VARARGS
| METH_KEYWORDS
},
37154 { (char *)"LayoutConstraints_SatisfyConstraints", (PyCFunction
) _wrap_LayoutConstraints_SatisfyConstraints
, METH_VARARGS
| METH_KEYWORDS
},
37155 { (char *)"LayoutConstraints_AreSatisfied", (PyCFunction
) _wrap_LayoutConstraints_AreSatisfied
, METH_VARARGS
| METH_KEYWORDS
},
37156 { (char *)"LayoutConstraints_swigregister", LayoutConstraints_swigregister
, METH_VARARGS
},
37161 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
37163 static void *_p_wxGBSizerItemTo_p_wxSizerItem(void *x
) {
37164 return (void *)((wxSizerItem
*) ((wxGBSizerItem
*) x
));
37166 static void *_p_wxBoxSizerTo_p_wxSizer(void *x
) {
37167 return (void *)((wxSizer
*) ((wxBoxSizer
*) x
));
37169 static void *_p_wxStaticBoxSizerTo_p_wxSizer(void *x
) {
37170 return (void *)((wxSizer
*) (wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37172 static void *_p_wxGridBagSizerTo_p_wxSizer(void *x
) {
37173 return (void *)((wxSizer
*) (wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37175 static void *_p_wxGridSizerTo_p_wxSizer(void *x
) {
37176 return (void *)((wxSizer
*) ((wxGridSizer
*) x
));
37178 static void *_p_wxFlexGridSizerTo_p_wxSizer(void *x
) {
37179 return (void *)((wxSizer
*) (wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37181 static void *_p_wxPySizerTo_p_wxSizer(void *x
) {
37182 return (void *)((wxSizer
*) ((wxPySizer
*) x
));
37184 static void *_p_wxStaticBoxSizerTo_p_wxBoxSizer(void *x
) {
37185 return (void *)((wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37187 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
37188 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37190 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
37191 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
37193 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
37194 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
37196 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
37197 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
37199 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
37200 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
37202 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
37203 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
37205 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
37206 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
37208 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
37209 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
37211 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
37212 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
37214 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
37215 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37217 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
37218 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
37220 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
37221 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37223 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
37224 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37226 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
37227 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
37229 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
37230 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
37232 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
37233 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
37235 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
37236 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
37238 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
37239 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
37241 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
37242 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
37244 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
37245 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
37247 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
37248 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37250 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
37251 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37253 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
37254 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37256 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
37257 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37259 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
37260 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37262 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
37263 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
37265 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
37266 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
37268 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
37269 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37271 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
37272 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
37274 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
37275 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
37277 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
37278 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37280 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
37281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37283 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
37284 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37286 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
37287 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
37289 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
37290 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
37292 static void *_p_wxGridBagSizerTo_p_wxGridSizer(void *x
) {
37293 return (void *)((wxGridSizer
*) (wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37295 static void *_p_wxFlexGridSizerTo_p_wxGridSizer(void *x
) {
37296 return (void *)((wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37298 static void *_p_wxGridBagSizerTo_p_wxFlexGridSizer(void *x
) {
37299 return (void *)((wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37301 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
37302 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
37304 static void *_p_wxControlWithItemsTo_p_wxControl(void *x
) {
37305 return (void *)((wxControl
*) ((wxControlWithItems
*) x
));
37307 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
37308 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
37310 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
37311 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
37313 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
37314 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37316 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
37317 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
37319 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
37320 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
37322 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
37323 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
37325 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
37326 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
37328 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
37329 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
37331 static void *_p_wxANIHandlerTo_p_wxCURHandler(void *x
) {
37332 return (void *)((wxCURHandler
*) ((wxANIHandler
*) x
));
37334 static void *_p_wxCURHandlerTo_p_wxICOHandler(void *x
) {
37335 return (void *)((wxICOHandler
*) ((wxCURHandler
*) x
));
37337 static void *_p_wxANIHandlerTo_p_wxICOHandler(void *x
) {
37338 return (void *)((wxICOHandler
*) (wxCURHandler
*) ((wxANIHandler
*) x
));
37340 static void *_p_wxICOHandlerTo_p_wxBMPHandler(void *x
) {
37341 return (void *)((wxBMPHandler
*) ((wxICOHandler
*) x
));
37343 static void *_p_wxCURHandlerTo_p_wxBMPHandler(void *x
) {
37344 return (void *)((wxBMPHandler
*) (wxICOHandler
*) ((wxCURHandler
*) x
));
37346 static void *_p_wxANIHandlerTo_p_wxBMPHandler(void *x
) {
37347 return (void *)((wxBMPHandler
*) (wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37349 static void *_p_wxBMPHandlerTo_p_wxImageHandler(void *x
) {
37350 return (void *)((wxImageHandler
*) ((wxBMPHandler
*) x
));
37352 static void *_p_wxICOHandlerTo_p_wxImageHandler(void *x
) {
37353 return (void *)((wxImageHandler
*) (wxBMPHandler
*) ((wxICOHandler
*) x
));
37355 static void *_p_wxCURHandlerTo_p_wxImageHandler(void *x
) {
37356 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37358 static void *_p_wxANIHandlerTo_p_wxImageHandler(void *x
) {
37359 return (void *)((wxImageHandler
*) (wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37361 static void *_p_wxPNGHandlerTo_p_wxImageHandler(void *x
) {
37362 return (void *)((wxImageHandler
*) ((wxPNGHandler
*) x
));
37364 static void *_p_wxGIFHandlerTo_p_wxImageHandler(void *x
) {
37365 return (void *)((wxImageHandler
*) ((wxGIFHandler
*) x
));
37367 static void *_p_wxPCXHandlerTo_p_wxImageHandler(void *x
) {
37368 return (void *)((wxImageHandler
*) ((wxPCXHandler
*) x
));
37370 static void *_p_wxJPEGHandlerTo_p_wxImageHandler(void *x
) {
37371 return (void *)((wxImageHandler
*) ((wxJPEGHandler
*) x
));
37373 static void *_p_wxPNMHandlerTo_p_wxImageHandler(void *x
) {
37374 return (void *)((wxImageHandler
*) ((wxPNMHandler
*) x
));
37376 static void *_p_wxXPMHandlerTo_p_wxImageHandler(void *x
) {
37377 return (void *)((wxImageHandler
*) ((wxXPMHandler
*) x
));
37379 static void *_p_wxTIFFHandlerTo_p_wxImageHandler(void *x
) {
37380 return (void *)((wxImageHandler
*) ((wxTIFFHandler
*) x
));
37382 static void *_p_wxPyFileSystemHandlerTo_p_wxFileSystemHandler(void *x
) {
37383 return (void *)((wxFileSystemHandler
*) ((wxPyFileSystemHandler
*) x
));
37385 static void *_p_wxInternetFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37386 return (void *)((wxFileSystemHandler
*) ((wxInternetFSHandler
*) x
));
37388 static void *_p_wxZipFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37389 return (void *)((wxFileSystemHandler
*) ((wxZipFSHandler
*) x
));
37391 static void *_p_wxMemoryFSHandlerTo_p_wxFileSystemHandler(void *x
) {
37392 return (void *)((wxFileSystemHandler
*) ((wxMemoryFSHandler
*) x
));
37394 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
37395 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
37397 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
37398 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
37400 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
37401 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37403 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
37404 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
37406 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
37407 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
37409 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
37410 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
37412 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
37413 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
37415 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
37416 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
37418 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
37419 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
37421 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
37422 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
37424 static void *_p_wxSizerTo_p_wxObject(void *x
) {
37425 return (void *)((wxObject
*) ((wxSizer
*) x
));
37427 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
37428 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
37430 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
37431 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
37433 static void *_p_wxMenuTo_p_wxObject(void *x
) {
37434 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
37436 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
37437 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
37439 static void *_p_wxImageTo_p_wxObject(void *x
) {
37440 return (void *)((wxObject
*) ((wxImage
*) x
));
37442 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
37443 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
37445 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
37446 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37448 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
37449 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
37451 static void *_p_wxWindowTo_p_wxObject(void *x
) {
37452 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
37454 static void *_p_wxControlTo_p_wxObject(void *x
) {
37455 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
37457 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
37458 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
37460 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
37461 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
37463 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
37464 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
37466 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
37467 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
37469 static void *_p_wxEventTo_p_wxObject(void *x
) {
37470 return (void *)((wxObject
*) ((wxEvent
*) x
));
37472 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
37473 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
37475 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
37476 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
37478 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
37479 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
37481 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
37482 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
37484 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
37485 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
37487 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
37488 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
37490 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
37491 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37493 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
37494 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
37496 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
37497 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
37499 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
37500 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
37502 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
37503 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
37505 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
37506 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
37508 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
37509 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
37511 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
37512 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
37514 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
37515 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
37517 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
37518 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
37520 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
37521 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
37523 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
37524 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
37526 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
37527 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
37529 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
37530 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
37532 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
37533 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
37535 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
37536 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
37538 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
37539 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
37541 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
37542 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
37544 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
37545 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37547 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
37548 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
37550 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
37551 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
37553 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
37554 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
37556 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
37557 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
37559 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
37560 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
37562 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
37563 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
37565 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
37566 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37568 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
37569 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
37571 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
37572 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
37574 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
37575 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
37577 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
37578 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
37580 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
37581 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
37583 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
37584 return (void *)((wxObject
*) ((wxFSFile
*) x
));
37586 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
37587 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
37589 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
37590 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37592 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
37593 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
37595 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
37596 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
37598 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
37599 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37601 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
37602 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
37604 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
37605 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
37607 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
37608 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
37610 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
37611 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
37613 static void *_p_wxControlTo_p_wxWindow(void *x
) {
37614 return (void *)((wxWindow
*) ((wxControl
*) x
));
37616 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
37617 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
37619 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
37620 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
37622 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
37623 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
37625 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
37626 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
37628 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
37629 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
37631 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
37632 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
37634 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
37635 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
37637 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
37638 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
37640 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
37641 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
37643 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
37644 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
37646 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
37647 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
37649 static swig_type_info _swigt__p_wxLayoutConstraints
[] = {{"_p_wxLayoutConstraints", 0, "wxLayoutConstraints *", 0},{"_p_wxLayoutConstraints"},{0}};
37650 static swig_type_info _swigt__p_wxRealPoint
[] = {{"_p_wxRealPoint", 0, "wxRealPoint *", 0},{"_p_wxRealPoint"},{0}};
37651 static swig_type_info _swigt__p_wxSizerItem
[] = {{"_p_wxSizerItem", 0, "wxSizerItem *", 0},{"_p_wxSizerItem"},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxSizerItem
},{0}};
37652 static swig_type_info _swigt__p_wxGBSizerItem
[] = {{"_p_wxGBSizerItem", 0, "wxGBSizerItem *", 0},{"_p_wxGBSizerItem"},{0}};
37653 static swig_type_info _swigt__p_wxScrollEvent
[] = {{"_p_wxScrollEvent", 0, "wxScrollEvent *", 0},{"_p_wxScrollEvent"},{0}};
37654 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
[] = {{"_p_wxIndividualLayoutConstraint", 0, "wxIndividualLayoutConstraint *", 0},{"_p_wxIndividualLayoutConstraint"},{0}};
37655 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}};
37656 static swig_type_info _swigt__p_wxBoxSizer
[] = {{"_p_wxBoxSizer", 0, "wxBoxSizer *", 0},{"_p_wxBoxSizer"},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxBoxSizer
},{0}};
37657 static swig_type_info _swigt__p_wxStaticBoxSizer
[] = {{"_p_wxStaticBoxSizer", 0, "wxStaticBoxSizer *", 0},{"_p_wxStaticBoxSizer"},{0}};
37658 static swig_type_info _swigt__p_wxGridBagSizer
[] = {{"_p_wxGridBagSizer", 0, "wxGridBagSizer *", 0},{"_p_wxGridBagSizer"},{0}};
37659 static swig_type_info _swigt__p_wxAcceleratorEntry
[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
37660 static swig_type_info _swigt__p_wxUpdateUIEvent
[] = {{"_p_wxUpdateUIEvent", 0, "wxUpdateUIEvent *", 0},{"_p_wxUpdateUIEvent"},{0}};
37661 static swig_type_info _swigt__p_wxMenu
[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
37662 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}};
37663 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}};
37664 static swig_type_info _swigt__p_wxFlexGridSizer
[] = {{"_p_wxFlexGridSizer", 0, "wxFlexGridSizer *", 0},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxFlexGridSizer
},{"_p_wxFlexGridSizer"},{0}};
37665 static swig_type_info _swigt__p_wxInitDialogEvent
[] = {{"_p_wxInitDialogEvent", 0, "wxInitDialogEvent *", 0},{"_p_wxInitDialogEvent"},{0}};
37666 static swig_type_info _swigt__p_wxItemContainer
[] = {{"_p_wxItemContainer", 0, "wxItemContainer *", 0},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxItemContainer
},{"_p_wxItemContainer"},{0}};
37667 static swig_type_info _swigt__p_wxNcPaintEvent
[] = {{"_p_wxNcPaintEvent", 0, "wxNcPaintEvent *", 0},{"_p_wxNcPaintEvent"},{0}};
37668 static swig_type_info _swigt__p_wxPaintEvent
[] = {{"_p_wxPaintEvent", 0, "wxPaintEvent *", 0},{"_p_wxPaintEvent"},{0}};
37669 static swig_type_info _swigt__p_wxSysColourChangedEvent
[] = {{"_p_wxSysColourChangedEvent", 0, "wxSysColourChangedEvent *", 0},{"_p_wxSysColourChangedEvent"},{0}};
37670 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
[] = {{"_p_wxMouseCaptureChangedEvent", 0, "wxMouseCaptureChangedEvent *", 0},{"_p_wxMouseCaptureChangedEvent"},{0}};
37671 static swig_type_info _swigt__p_wxDisplayChangedEvent
[] = {{"_p_wxDisplayChangedEvent", 0, "wxDisplayChangedEvent *", 0},{"_p_wxDisplayChangedEvent"},{0}};
37672 static swig_type_info _swigt__p_wxPaletteChangedEvent
[] = {{"_p_wxPaletteChangedEvent", 0, "wxPaletteChangedEvent *", 0},{"_p_wxPaletteChangedEvent"},{0}};
37673 static swig_type_info _swigt__p_wxControl
[] = {{"_p_wxControl", 0, "wxControl *", 0},{"_p_wxControl"},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxControl
},{0}};
37674 static swig_type_info _swigt__p_wxFont
[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
37675 static swig_type_info _swigt__p_wxMenuBarBase
[] = {{"_p_wxMenuBarBase", 0, "wxMenuBarBase *", 0},{"_p_wxMenuBarBase"},{0}};
37676 static swig_type_info _swigt__p_wxSetCursorEvent
[] = {{"_p_wxSetCursorEvent", 0, "wxSetCursorEvent *", 0},{"_p_wxSetCursorEvent"},{0}};
37677 static swig_type_info _swigt__p_wxFSFile
[] = {{"_p_wxFSFile", 0, "wxFSFile *", 0},{"_p_wxFSFile"},{0}};
37678 static swig_type_info _swigt__p_wxCaret
[] = {{"_p_wxCaret", 0, "wxCaret *", 0},{"_p_wxCaret"},{0}};
37679 static swig_type_info _swigt__p_wxRegion
[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
37680 static swig_type_info _swigt__p_wxPoint2D
[] = {{"_p_wxPoint2D", 0, "wxPoint2D *", 0},{"_p_wxPoint2D"},{0}};
37681 static swig_type_info _swigt__p_int
[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
37682 static swig_type_info _swigt__p_wxSize
[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
37683 static swig_type_info _swigt__p_wxDC
[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
37684 static swig_type_info _swigt__p_wxPySizer
[] = {{"_p_wxPySizer", 0, "wxPySizer *", 0},{"_p_wxPySizer"},{0}};
37685 static swig_type_info _swigt__p_wxNotifyEvent
[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxNotifyEvent"},{0}};
37686 static swig_type_info _swigt__p_wxPyEvent
[] = {{"_p_wxPyEvent", 0, "wxPyEvent *", 0},{"_p_wxPyEvent"},{0}};
37687 static swig_type_info _swigt__p_wxPropagationDisabler
[] = {{"_p_wxPropagationDisabler", 0, "wxPropagationDisabler *", 0},{"_p_wxPropagationDisabler"},{0}};
37688 static swig_type_info _swigt__p_wxAppTraits
[] = {{"_p_wxAppTraits", 0, "wxAppTraits *", 0},{"_p_wxAppTraits"},{0}};
37689 static swig_type_info _swigt__p_wxArrayString
[] = {{"_p_wxArrayString", 0, "wxArrayString *", 0},{"_p_wxArrayString"},{0}};
37690 static swig_type_info _swigt__p_wxShowEvent
[] = {{"_p_wxShowEvent", 0, "wxShowEvent *", 0},{"_p_wxShowEvent"},{0}};
37691 static swig_type_info _swigt__p_wxToolTip
[] = {{"_p_wxToolTip", 0, "wxToolTip *", 0},{"_p_wxToolTip"},{0}};
37692 static swig_type_info _swigt__p_wxMaximizeEvent
[] = {{"_p_wxMaximizeEvent", 0, "wxMaximizeEvent *", 0},{"_p_wxMaximizeEvent"},{0}};
37693 static swig_type_info _swigt__p_wxIconizeEvent
[] = {{"_p_wxIconizeEvent", 0, "wxIconizeEvent *", 0},{"_p_wxIconizeEvent"},{0}};
37694 static swig_type_info _swigt__p_wxActivateEvent
[] = {{"_p_wxActivateEvent", 0, "wxActivateEvent *", 0},{"_p_wxActivateEvent"},{0}};
37695 static swig_type_info _swigt__p_wxMoveEvent
[] = {{"_p_wxMoveEvent", 0, "wxMoveEvent *", 0},{"_p_wxMoveEvent"},{0}};
37696 static swig_type_info _swigt__p_wxSizeEvent
[] = {{"_p_wxSizeEvent", 0, "wxSizeEvent *", 0},{"_p_wxSizeEvent"},{0}};
37697 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
[] = {{"_p_wxQueryNewPaletteEvent", 0, "wxQueryNewPaletteEvent *", 0},{"_p_wxQueryNewPaletteEvent"},{0}};
37698 static swig_type_info _swigt__p_wxWindowCreateEvent
[] = {{"_p_wxWindowCreateEvent", 0, "wxWindowCreateEvent *", 0},{"_p_wxWindowCreateEvent"},{0}};
37699 static swig_type_info _swigt__p_wxIdleEvent
[] = {{"_p_wxIdleEvent", 0, "wxIdleEvent *", 0},{"_p_wxIdleEvent"},{0}};
37700 static swig_type_info _swigt__p_wxMenuItem
[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
37701 static swig_type_info _swigt__p_wxStaticBox
[] = {{"_p_wxStaticBox", 0, "wxStaticBox *", 0},{"_p_wxStaticBox"},{0}};
37702 static swig_type_info _swigt__p_long
[] = {{"_p_long", 0, "long *", 0},{"_p_long"},{0}};
37703 static swig_type_info _swigt__p_wxTIFFHandler
[] = {{"_p_wxTIFFHandler", 0, "wxTIFFHandler *", 0},{"_p_wxTIFFHandler"},{0}};
37704 static swig_type_info _swigt__p_wxXPMHandler
[] = {{"_p_wxXPMHandler", 0, "wxXPMHandler *", 0},{"_p_wxXPMHandler"},{0}};
37705 static swig_type_info _swigt__p_wxPNMHandler
[] = {{"_p_wxPNMHandler", 0, "wxPNMHandler *", 0},{"_p_wxPNMHandler"},{0}};
37706 static swig_type_info _swigt__p_wxJPEGHandler
[] = {{"_p_wxJPEGHandler", 0, "wxJPEGHandler *", 0},{"_p_wxJPEGHandler"},{0}};
37707 static swig_type_info _swigt__p_wxPCXHandler
[] = {{"_p_wxPCXHandler", 0, "wxPCXHandler *", 0},{"_p_wxPCXHandler"},{0}};
37708 static swig_type_info _swigt__p_wxGIFHandler
[] = {{"_p_wxGIFHandler", 0, "wxGIFHandler *", 0},{"_p_wxGIFHandler"},{0}};
37709 static swig_type_info _swigt__p_wxPNGHandler
[] = {{"_p_wxPNGHandler", 0, "wxPNGHandler *", 0},{"_p_wxPNGHandler"},{0}};
37710 static swig_type_info _swigt__p_wxANIHandler
[] = {{"_p_wxANIHandler", 0, "wxANIHandler *", 0},{"_p_wxANIHandler"},{0}};
37711 static swig_type_info _swigt__p_wxMemoryFSHandler
[] = {{"_p_wxMemoryFSHandler", 0, "wxMemoryFSHandler *", 0},{"_p_wxMemoryFSHandler"},{0}};
37712 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}};
37713 static swig_type_info _swigt__p_wxCURHandler
[] = {{"_p_wxCURHandler", 0, "wxCURHandler *", 0},{"_p_wxCURHandler"},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxCURHandler
},{0}};
37714 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}};
37715 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}};
37716 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}};
37717 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}};
37718 static swig_type_info _swigt__p_wxPyFileSystemHandler
[] = {{"_p_wxPyFileSystemHandler", 0, "wxPyFileSystemHandler *", 0},{"_p_wxPyFileSystemHandler"},{0}};
37719 static swig_type_info _swigt__p_wxInternetFSHandler
[] = {{"_p_wxInternetFSHandler", 0, "wxInternetFSHandler *", 0},{"_p_wxInternetFSHandler"},{0}};
37720 static swig_type_info _swigt__p_wxZipFSHandler
[] = {{"_p_wxZipFSHandler", 0, "wxZipFSHandler *", 0},{"_p_wxZipFSHandler"},{0}};
37721 static swig_type_info _swigt__p_wxRect
[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
37722 static swig_type_info _swigt__p_wxGBSpan
[] = {{"_p_wxGBSpan", 0, "wxGBSpan *", 0},{"_p_wxGBSpan"},{0}};
37723 static swig_type_info _swigt__p_wxPropagateOnce
[] = {{"_p_wxPropagateOnce", 0, "wxPropagateOnce *", 0},{"_p_wxPropagateOnce"},{0}};
37724 static swig_type_info _swigt__p_wxAcceleratorTable
[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
37725 static swig_type_info _swigt__p_wxGBPosition
[] = {{"_p_wxGBPosition", 0, "wxGBPosition *", 0},{"_p_wxGBPosition"},{0}};
37726 static swig_type_info _swigt__p_wxImage
[] = {{"_p_wxImage", 0, "wxImage *", 0},{"_p_wxImage"},{0}};
37727 static swig_type_info _swigt__p_wxFrame
[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxFrame"},{0}};
37728 static swig_type_info _swigt__p_wxScrollWinEvent
[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
37729 static swig_type_info _swigt__p_wxImageHistogram
[] = {{"_p_wxImageHistogram", 0, "wxImageHistogram *", 0},{"_p_wxImageHistogram"},{0}};
37730 static swig_type_info _swigt__p_byte
[] = {{"_p_byte", 0, "byte *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37731 static swig_type_info _swigt__p_wxPoint
[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
37732 static swig_type_info _swigt__p_wxCursor
[] = {{"_p_wxCursor", 0, "wxCursor *", 0},{"_p_wxCursor"},{0}};
37733 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}};
37734 static swig_type_info _swigt__p_wxPyInputStream
[] = {{"_p_wxPyInputStream", 0, "wxPyInputStream *", 0},{"_p_wxPyInputStream"},{0}};
37735 static swig_type_info _swigt__p_wxOutputStream
[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
37736 static swig_type_info _swigt__p_wxInputStream
[] = {{"_p_wxInputStream", 0, "wxInputStream *", 0},{"_p_wxInputStream"},{0}};
37737 static swig_type_info _swigt__p_wxDateTime
[] = {{"_p_wxDateTime", 0, "wxDateTime *", 0},{"_p_wxDateTime"},{0}};
37738 static swig_type_info _swigt__p_wxKeyEvent
[] = {{"_p_wxKeyEvent", 0, "wxKeyEvent *", 0},{"_p_wxKeyEvent"},{0}};
37739 static swig_type_info _swigt__p_wxNavigationKeyEvent
[] = {{"_p_wxNavigationKeyEvent", 0, "wxNavigationKeyEvent *", 0},{"_p_wxNavigationKeyEvent"},{0}};
37740 static swig_type_info _swigt__p_wxWindowDestroyEvent
[] = {{"_p_wxWindowDestroyEvent", 0, "wxWindowDestroyEvent *", 0},{"_p_wxWindowDestroyEvent"},{0}};
37741 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}};
37742 static swig_type_info _swigt__p_wxMenuBar
[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
37743 static swig_type_info _swigt__p_wxString
[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
37744 static swig_type_info _swigt__p_wxFileSystem
[] = {{"_p_wxFileSystem", 0, "wxFileSystem *", 0},{"_p_wxFileSystem"},{0}};
37745 static swig_type_info _swigt__p_wxBitmap
[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
37746 static swig_type_info _swigt__p_wxMenuEvent
[] = {{"_p_wxMenuEvent", 0, "wxMenuEvent *", 0},{"_p_wxMenuEvent"},{0}};
37747 static swig_type_info _swigt__p_wxContextMenuEvent
[] = {{"_p_wxContextMenuEvent", 0, "wxContextMenuEvent *", 0},{"_p_wxContextMenuEvent"},{0}};
37748 static swig_type_info _swigt__p_unsigned_char
[] = {{"_p_unsigned_char", 0, "unsigned char *", 0},{"_p_unsigned_char"},{"_p_byte"},{0}};
37749 static swig_type_info _swigt__p_wxCloseEvent
[] = {{"_p_wxCloseEvent", 0, "wxCloseEvent *", 0},{"_p_wxCloseEvent"},{0}};
37750 static swig_type_info _swigt__p_wxEraseEvent
[] = {{"_p_wxEraseEvent", 0, "wxEraseEvent *", 0},{"_p_wxEraseEvent"},{0}};
37751 static swig_type_info _swigt__p_wxMouseEvent
[] = {{"_p_wxMouseEvent", 0, "wxMouseEvent *", 0},{"_p_wxMouseEvent"},{0}};
37752 static swig_type_info _swigt__p_wxPyApp
[] = {{"_p_wxPyApp", 0, "wxPyApp *", 0},{"_p_wxPyApp"},{0}};
37753 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}};
37754 static swig_type_info _swigt__p_wxPyCommandEvent
[] = {{"_p_wxPyCommandEvent", 0, "wxPyCommandEvent *", 0},{"_p_wxPyCommandEvent"},{0}};
37755 static swig_type_info _swigt__p_wxPyDropTarget
[] = {{"_p_wxPyDropTarget", 0, "wxPyDropTarget *", 0},{"_p_wxPyDropTarget"},{0}};
37756 static swig_type_info _swigt__p_wxChildFocusEvent
[] = {{"_p_wxChildFocusEvent", 0, "wxChildFocusEvent *", 0},{"_p_wxChildFocusEvent"},{0}};
37757 static swig_type_info _swigt__p_wxFocusEvent
[] = {{"_p_wxFocusEvent", 0, "wxFocusEvent *", 0},{"_p_wxFocusEvent"},{0}};
37758 static swig_type_info _swigt__p_wxDropFilesEvent
[] = {{"_p_wxDropFilesEvent", 0, "wxDropFilesEvent *", 0},{"_p_wxDropFilesEvent"},{0}};
37759 static swig_type_info _swigt__p_wxControlWithItems
[] = {{"_p_wxControlWithItems", 0, "wxControlWithItems *", 0},{"_p_wxControlWithItems"},{0}};
37760 static swig_type_info _swigt__p_wxColour
[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
37761 static swig_type_info _swigt__p_wxValidator
[] = {{"_p_wxValidator", 0, "wxValidator *", 0},{"_p_wxValidator"},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxValidator
},{0}};
37762 static swig_type_info _swigt__p_wxPyValidator
[] = {{"_p_wxPyValidator", 0, "wxPyValidator *", 0},{"_p_wxPyValidator"},{0}};
37764 static swig_type_info
*swig_types_initial
[] = {
37765 _swigt__p_wxLayoutConstraints
,
37766 _swigt__p_wxRealPoint
,
37767 _swigt__p_wxSizerItem
,
37768 _swigt__p_wxGBSizerItem
,
37769 _swigt__p_wxScrollEvent
,
37770 _swigt__p_wxIndividualLayoutConstraint
,
37772 _swigt__p_wxBoxSizer
,
37773 _swigt__p_wxStaticBoxSizer
,
37774 _swigt__p_wxGridBagSizer
,
37775 _swigt__p_wxAcceleratorEntry
,
37776 _swigt__p_wxUpdateUIEvent
,
37779 _swigt__p_wxGridSizer
,
37780 _swigt__p_wxFlexGridSizer
,
37781 _swigt__p_wxInitDialogEvent
,
37782 _swigt__p_wxItemContainer
,
37783 _swigt__p_wxNcPaintEvent
,
37784 _swigt__p_wxPaintEvent
,
37785 _swigt__p_wxSysColourChangedEvent
,
37786 _swigt__p_wxMouseCaptureChangedEvent
,
37787 _swigt__p_wxDisplayChangedEvent
,
37788 _swigt__p_wxPaletteChangedEvent
,
37789 _swigt__p_wxControl
,
37791 _swigt__p_wxMenuBarBase
,
37792 _swigt__p_wxSetCursorEvent
,
37793 _swigt__p_wxFSFile
,
37795 _swigt__p_wxRegion
,
37796 _swigt__p_wxPoint2D
,
37800 _swigt__p_wxPySizer
,
37801 _swigt__p_wxNotifyEvent
,
37802 _swigt__p_wxPyEvent
,
37803 _swigt__p_wxPropagationDisabler
,
37804 _swigt__p_wxAppTraits
,
37805 _swigt__p_wxArrayString
,
37806 _swigt__p_wxShowEvent
,
37807 _swigt__p_wxToolTip
,
37808 _swigt__p_wxMaximizeEvent
,
37809 _swigt__p_wxIconizeEvent
,
37810 _swigt__p_wxActivateEvent
,
37811 _swigt__p_wxMoveEvent
,
37812 _swigt__p_wxSizeEvent
,
37813 _swigt__p_wxQueryNewPaletteEvent
,
37814 _swigt__p_wxWindowCreateEvent
,
37815 _swigt__p_wxIdleEvent
,
37816 _swigt__p_wxMenuItem
,
37817 _swigt__p_wxStaticBox
,
37819 _swigt__p_wxTIFFHandler
,
37820 _swigt__p_wxXPMHandler
,
37821 _swigt__p_wxPNMHandler
,
37822 _swigt__p_wxJPEGHandler
,
37823 _swigt__p_wxPCXHandler
,
37824 _swigt__p_wxGIFHandler
,
37825 _swigt__p_wxPNGHandler
,
37826 _swigt__p_wxANIHandler
,
37827 _swigt__p_wxMemoryFSHandler
,
37828 _swigt__p_wxEvtHandler
,
37829 _swigt__p_wxCURHandler
,
37830 _swigt__p_wxICOHandler
,
37831 _swigt__p_wxBMPHandler
,
37832 _swigt__p_wxImageHandler
,
37833 _swigt__p_wxFileSystemHandler
,
37834 _swigt__p_wxPyFileSystemHandler
,
37835 _swigt__p_wxInternetFSHandler
,
37836 _swigt__p_wxZipFSHandler
,
37838 _swigt__p_wxGBSpan
,
37839 _swigt__p_wxPropagateOnce
,
37840 _swigt__p_wxAcceleratorTable
,
37841 _swigt__p_wxGBPosition
,
37844 _swigt__p_wxScrollWinEvent
,
37845 _swigt__p_wxImageHistogram
,
37848 _swigt__p_wxCursor
,
37849 _swigt__p_wxObject
,
37850 _swigt__p_wxPyInputStream
,
37851 _swigt__p_wxOutputStream
,
37852 _swigt__p_wxInputStream
,
37853 _swigt__p_wxDateTime
,
37854 _swigt__p_wxKeyEvent
,
37855 _swigt__p_wxNavigationKeyEvent
,
37856 _swigt__p_wxWindowDestroyEvent
,
37857 _swigt__p_wxWindow
,
37858 _swigt__p_wxMenuBar
,
37859 _swigt__p_wxString
,
37860 _swigt__p_wxFileSystem
,
37861 _swigt__p_wxBitmap
,
37862 _swigt__p_wxMenuEvent
,
37863 _swigt__p_wxContextMenuEvent
,
37864 _swigt__p_unsigned_char
,
37865 _swigt__p_wxCloseEvent
,
37866 _swigt__p_wxEraseEvent
,
37867 _swigt__p_wxMouseEvent
,
37869 _swigt__p_wxCommandEvent
,
37870 _swigt__p_wxPyCommandEvent
,
37871 _swigt__p_wxPyDropTarget
,
37872 _swigt__p_wxChildFocusEvent
,
37873 _swigt__p_wxFocusEvent
,
37874 _swigt__p_wxDropFilesEvent
,
37875 _swigt__p_wxControlWithItems
,
37876 _swigt__p_wxColour
,
37877 _swigt__p_wxValidator
,
37878 _swigt__p_wxPyValidator
,
37883 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
37885 static swig_const_info swig_const_table
[] = {
37886 { SWIG_PY_INT
, (char *)"NOT_FOUND", (long) wxNOT_FOUND
, 0, 0, 0},
37887 { SWIG_PY_INT
, (char *)"VSCROLL", (long) wxVSCROLL
, 0, 0, 0},
37888 { SWIG_PY_INT
, (char *)"HSCROLL", (long) wxHSCROLL
, 0, 0, 0},
37889 { SWIG_PY_INT
, (char *)"CAPTION", (long) wxCAPTION
, 0, 0, 0},
37890 { SWIG_PY_INT
, (char *)"DOUBLE_BORDER", (long) wxDOUBLE_BORDER
, 0, 0, 0},
37891 { SWIG_PY_INT
, (char *)"SUNKEN_BORDER", (long) wxSUNKEN_BORDER
, 0, 0, 0},
37892 { SWIG_PY_INT
, (char *)"RAISED_BORDER", (long) wxRAISED_BORDER
, 0, 0, 0},
37893 { SWIG_PY_INT
, (char *)"BORDER", (long) wxBORDER
, 0, 0, 0},
37894 { SWIG_PY_INT
, (char *)"SIMPLE_BORDER", (long) wxSIMPLE_BORDER
, 0, 0, 0},
37895 { SWIG_PY_INT
, (char *)"STATIC_BORDER", (long) wxSTATIC_BORDER
, 0, 0, 0},
37896 { SWIG_PY_INT
, (char *)"TRANSPARENT_WINDOW", (long) wxTRANSPARENT_WINDOW
, 0, 0, 0},
37897 { SWIG_PY_INT
, (char *)"NO_BORDER", (long) wxNO_BORDER
, 0, 0, 0},
37898 { SWIG_PY_INT
, (char *)"USER_COLOURS", (long) wxUSER_COLOURS
, 0, 0, 0},
37899 { SWIG_PY_INT
, (char *)"NO_3D", (long) wxNO_3D
, 0, 0, 0},
37900 { SWIG_PY_INT
, (char *)"TAB_TRAVERSAL", (long) wxTAB_TRAVERSAL
, 0, 0, 0},
37901 { SWIG_PY_INT
, (char *)"WANTS_CHARS", (long) wxWANTS_CHARS
, 0, 0, 0},
37902 { SWIG_PY_INT
, (char *)"POPUP_WINDOW", (long) wxPOPUP_WINDOW
, 0, 0, 0},
37903 { SWIG_PY_INT
, (char *)"CENTER_FRAME", (long) wxCENTER_FRAME
, 0, 0, 0},
37904 { SWIG_PY_INT
, (char *)"CENTRE_ON_SCREEN", (long) wxCENTRE_ON_SCREEN
, 0, 0, 0},
37905 { SWIG_PY_INT
, (char *)"CENTER_ON_SCREEN", (long) wxCENTER_ON_SCREEN
, 0, 0, 0},
37906 { SWIG_PY_INT
, (char *)"STAY_ON_TOP", (long) wxSTAY_ON_TOP
, 0, 0, 0},
37907 { SWIG_PY_INT
, (char *)"ICONIZE", (long) wxICONIZE
, 0, 0, 0},
37908 { SWIG_PY_INT
, (char *)"MINIMIZE", (long) wxMINIMIZE
, 0, 0, 0},
37909 { SWIG_PY_INT
, (char *)"MAXIMIZE", (long) wxMAXIMIZE
, 0, 0, 0},
37910 { SWIG_PY_INT
, (char *)"CLOSE_BOX", (long) wxCLOSE_BOX
, 0, 0, 0},
37911 { SWIG_PY_INT
, (char *)"THICK_FRAME", (long) wxTHICK_FRAME
, 0, 0, 0},
37912 { SWIG_PY_INT
, (char *)"SYSTEM_MENU", (long) wxSYSTEM_MENU
, 0, 0, 0},
37913 { SWIG_PY_INT
, (char *)"MINIMIZE_BOX", (long) wxMINIMIZE_BOX
, 0, 0, 0},
37914 { SWIG_PY_INT
, (char *)"MAXIMIZE_BOX", (long) wxMAXIMIZE_BOX
, 0, 0, 0},
37915 { SWIG_PY_INT
, (char *)"TINY_CAPTION_HORIZ", (long) wxTINY_CAPTION_HORIZ
, 0, 0, 0},
37916 { SWIG_PY_INT
, (char *)"TINY_CAPTION_VERT", (long) wxTINY_CAPTION_VERT
, 0, 0, 0},
37917 { SWIG_PY_INT
, (char *)"RESIZE_BOX", (long) wxRESIZE_BOX
, 0, 0, 0},
37918 { SWIG_PY_INT
, (char *)"RESIZE_BORDER", (long) wxRESIZE_BORDER
, 0, 0, 0},
37919 { SWIG_PY_INT
, (char *)"DIALOG_MODAL", (long) wxDIALOG_MODAL
, 0, 0, 0},
37920 { SWIG_PY_INT
, (char *)"DIALOG_MODELESS", (long) wxDIALOG_MODELESS
, 0, 0, 0},
37921 { SWIG_PY_INT
, (char *)"DIALOG_NO_PARENT", (long) wxDIALOG_NO_PARENT
, 0, 0, 0},
37922 { SWIG_PY_INT
, (char *)"DEFAULT_FRAME_STYLE", (long) wxDEFAULT_FRAME_STYLE
, 0, 0, 0},
37923 { SWIG_PY_INT
, (char *)"DEFAULT_DIALOG_STYLE", (long) wxDEFAULT_DIALOG_STYLE
, 0, 0, 0},
37924 { SWIG_PY_INT
, (char *)"FRAME_TOOL_WINDOW", (long) wxFRAME_TOOL_WINDOW
, 0, 0, 0},
37925 { SWIG_PY_INT
, (char *)"FRAME_FLOAT_ON_PARENT", (long) wxFRAME_FLOAT_ON_PARENT
, 0, 0, 0},
37926 { SWIG_PY_INT
, (char *)"FRAME_NO_WINDOW_MENU", (long) wxFRAME_NO_WINDOW_MENU
, 0, 0, 0},
37927 { SWIG_PY_INT
, (char *)"FRAME_NO_TASKBAR", (long) wxFRAME_NO_TASKBAR
, 0, 0, 0},
37928 { SWIG_PY_INT
, (char *)"FRAME_SHAPED", (long) wxFRAME_SHAPED
, 0, 0, 0},
37929 { SWIG_PY_INT
, (char *)"ED_CLIENT_MARGIN", (long) wxED_CLIENT_MARGIN
, 0, 0, 0},
37930 { SWIG_PY_INT
, (char *)"ED_BUTTONS_BOTTOM", (long) wxED_BUTTONS_BOTTOM
, 0, 0, 0},
37931 { SWIG_PY_INT
, (char *)"ED_BUTTONS_RIGHT", (long) wxED_BUTTONS_RIGHT
, 0, 0, 0},
37932 { SWIG_PY_INT
, (char *)"ED_STATIC_LINE", (long) wxED_STATIC_LINE
, 0, 0, 0},
37933 { SWIG_PY_INT
, (char *)"EXT_DIALOG_STYLE", (long) wxEXT_DIALOG_STYLE
, 0, 0, 0},
37934 { SWIG_PY_INT
, (char *)"CLIP_CHILDREN", (long) wxCLIP_CHILDREN
, 0, 0, 0},
37935 { SWIG_PY_INT
, (char *)"CLIP_SIBLINGS", (long) wxCLIP_SIBLINGS
, 0, 0, 0},
37936 { SWIG_PY_INT
, (char *)"RETAINED", (long) wxRETAINED
, 0, 0, 0},
37937 { SWIG_PY_INT
, (char *)"BACKINGSTORE", (long) wxBACKINGSTORE
, 0, 0, 0},
37938 { SWIG_PY_INT
, (char *)"COLOURED", (long) wxCOLOURED
, 0, 0, 0},
37939 { SWIG_PY_INT
, (char *)"FIXED_LENGTH", (long) wxFIXED_LENGTH
, 0, 0, 0},
37940 { SWIG_PY_INT
, (char *)"LB_NEEDED_SB", (long) wxLB_NEEDED_SB
, 0, 0, 0},
37941 { SWIG_PY_INT
, (char *)"LB_ALWAYS_SB", (long) wxLB_ALWAYS_SB
, 0, 0, 0},
37942 { SWIG_PY_INT
, (char *)"LB_SORT", (long) wxLB_SORT
, 0, 0, 0},
37943 { SWIG_PY_INT
, (char *)"LB_SINGLE", (long) wxLB_SINGLE
, 0, 0, 0},
37944 { SWIG_PY_INT
, (char *)"LB_MULTIPLE", (long) wxLB_MULTIPLE
, 0, 0, 0},
37945 { SWIG_PY_INT
, (char *)"LB_EXTENDED", (long) wxLB_EXTENDED
, 0, 0, 0},
37946 { SWIG_PY_INT
, (char *)"LB_OWNERDRAW", (long) wxLB_OWNERDRAW
, 0, 0, 0},
37947 { SWIG_PY_INT
, (char *)"LB_HSCROLL", (long) wxLB_HSCROLL
, 0, 0, 0},
37948 { SWIG_PY_INT
, (char *)"PROCESS_ENTER", (long) wxPROCESS_ENTER
, 0, 0, 0},
37949 { SWIG_PY_INT
, (char *)"PASSWORD", (long) wxPASSWORD
, 0, 0, 0},
37950 { SWIG_PY_INT
, (char *)"CB_SIMPLE", (long) wxCB_SIMPLE
, 0, 0, 0},
37951 { SWIG_PY_INT
, (char *)"CB_DROPDOWN", (long) wxCB_DROPDOWN
, 0, 0, 0},
37952 { SWIG_PY_INT
, (char *)"CB_SORT", (long) wxCB_SORT
, 0, 0, 0},
37953 { SWIG_PY_INT
, (char *)"CB_READONLY", (long) wxCB_READONLY
, 0, 0, 0},
37954 { SWIG_PY_INT
, (char *)"RA_HORIZONTAL", (long) wxRA_HORIZONTAL
, 0, 0, 0},
37955 { SWIG_PY_INT
, (char *)"RA_VERTICAL", (long) wxRA_VERTICAL
, 0, 0, 0},
37956 { SWIG_PY_INT
, (char *)"RA_SPECIFY_ROWS", (long) wxRA_SPECIFY_ROWS
, 0, 0, 0},
37957 { SWIG_PY_INT
, (char *)"RA_SPECIFY_COLS", (long) wxRA_SPECIFY_COLS
, 0, 0, 0},
37958 { SWIG_PY_INT
, (char *)"RB_GROUP", (long) wxRB_GROUP
, 0, 0, 0},
37959 { SWIG_PY_INT
, (char *)"RB_SINGLE", (long) wxRB_SINGLE
, 0, 0, 0},
37960 { SWIG_PY_INT
, (char *)"SL_HORIZONTAL", (long) wxSL_HORIZONTAL
, 0, 0, 0},
37961 { SWIG_PY_INT
, (char *)"SL_VERTICAL", (long) wxSL_VERTICAL
, 0, 0, 0},
37962 { SWIG_PY_INT
, (char *)"SL_AUTOTICKS", (long) wxSL_AUTOTICKS
, 0, 0, 0},
37963 { SWIG_PY_INT
, (char *)"SL_LABELS", (long) wxSL_LABELS
, 0, 0, 0},
37964 { SWIG_PY_INT
, (char *)"SL_LEFT", (long) wxSL_LEFT
, 0, 0, 0},
37965 { SWIG_PY_INT
, (char *)"SL_TOP", (long) wxSL_TOP
, 0, 0, 0},
37966 { SWIG_PY_INT
, (char *)"SL_RIGHT", (long) wxSL_RIGHT
, 0, 0, 0},
37967 { SWIG_PY_INT
, (char *)"SL_BOTTOM", (long) wxSL_BOTTOM
, 0, 0, 0},
37968 { SWIG_PY_INT
, (char *)"SL_BOTH", (long) wxSL_BOTH
, 0, 0, 0},
37969 { SWIG_PY_INT
, (char *)"SL_SELRANGE", (long) wxSL_SELRANGE
, 0, 0, 0},
37970 { SWIG_PY_INT
, (char *)"SB_HORIZONTAL", (long) wxSB_HORIZONTAL
, 0, 0, 0},
37971 { SWIG_PY_INT
, (char *)"SB_VERTICAL", (long) wxSB_VERTICAL
, 0, 0, 0},
37972 { SWIG_PY_INT
, (char *)"ST_SIZEGRIP", (long) wxST_SIZEGRIP
, 0, 0, 0},
37973 { SWIG_PY_INT
, (char *)"ST_NO_AUTORESIZE", (long) wxST_NO_AUTORESIZE
, 0, 0, 0},
37974 { SWIG_PY_INT
, (char *)"FLOOD_SURFACE", (long) wxFLOOD_SURFACE
, 0, 0, 0},
37975 { SWIG_PY_INT
, (char *)"FLOOD_BORDER", (long) wxFLOOD_BORDER
, 0, 0, 0},
37976 { SWIG_PY_INT
, (char *)"ODDEVEN_RULE", (long) wxODDEVEN_RULE
, 0, 0, 0},
37977 { SWIG_PY_INT
, (char *)"WINDING_RULE", (long) wxWINDING_RULE
, 0, 0, 0},
37978 { SWIG_PY_INT
, (char *)"TOOL_TOP", (long) wxTOOL_TOP
, 0, 0, 0},
37979 { SWIG_PY_INT
, (char *)"TOOL_BOTTOM", (long) wxTOOL_BOTTOM
, 0, 0, 0},
37980 { SWIG_PY_INT
, (char *)"TOOL_LEFT", (long) wxTOOL_LEFT
, 0, 0, 0},
37981 { SWIG_PY_INT
, (char *)"TOOL_RIGHT", (long) wxTOOL_RIGHT
, 0, 0, 0},
37982 { SWIG_PY_INT
, (char *)"OK", (long) wxOK
, 0, 0, 0},
37983 { SWIG_PY_INT
, (char *)"YES_NO", (long) wxYES_NO
, 0, 0, 0},
37984 { SWIG_PY_INT
, (char *)"CANCEL", (long) wxCANCEL
, 0, 0, 0},
37985 { SWIG_PY_INT
, (char *)"YES", (long) wxYES
, 0, 0, 0},
37986 { SWIG_PY_INT
, (char *)"NO", (long) wxNO
, 0, 0, 0},
37987 { SWIG_PY_INT
, (char *)"NO_DEFAULT", (long) wxNO_DEFAULT
, 0, 0, 0},
37988 { SWIG_PY_INT
, (char *)"YES_DEFAULT", (long) wxYES_DEFAULT
, 0, 0, 0},
37989 { SWIG_PY_INT
, (char *)"ICON_EXCLAMATION", (long) wxICON_EXCLAMATION
, 0, 0, 0},
37990 { SWIG_PY_INT
, (char *)"ICON_HAND", (long) wxICON_HAND
, 0, 0, 0},
37991 { SWIG_PY_INT
, (char *)"ICON_QUESTION", (long) wxICON_QUESTION
, 0, 0, 0},
37992 { SWIG_PY_INT
, (char *)"ICON_INFORMATION", (long) wxICON_INFORMATION
, 0, 0, 0},
37993 { SWIG_PY_INT
, (char *)"ICON_STOP", (long) wxICON_STOP
, 0, 0, 0},
37994 { SWIG_PY_INT
, (char *)"ICON_ASTERISK", (long) wxICON_ASTERISK
, 0, 0, 0},
37995 { SWIG_PY_INT
, (char *)"ICON_MASK", (long) wxICON_MASK
, 0, 0, 0},
37996 { SWIG_PY_INT
, (char *)"ICON_WARNING", (long) wxICON_WARNING
, 0, 0, 0},
37997 { SWIG_PY_INT
, (char *)"ICON_ERROR", (long) wxICON_ERROR
, 0, 0, 0},
37998 { SWIG_PY_INT
, (char *)"FORWARD", (long) wxFORWARD
, 0, 0, 0},
37999 { SWIG_PY_INT
, (char *)"BACKWARD", (long) wxBACKWARD
, 0, 0, 0},
38000 { SWIG_PY_INT
, (char *)"RESET", (long) wxRESET
, 0, 0, 0},
38001 { SWIG_PY_INT
, (char *)"HELP", (long) wxHELP
, 0, 0, 0},
38002 { SWIG_PY_INT
, (char *)"MORE", (long) wxMORE
, 0, 0, 0},
38003 { SWIG_PY_INT
, (char *)"SETUP", (long) wxSETUP
, 0, 0, 0},
38004 { SWIG_PY_INT
, (char *)"SIZE_AUTO_WIDTH", (long) wxSIZE_AUTO_WIDTH
, 0, 0, 0},
38005 { SWIG_PY_INT
, (char *)"SIZE_AUTO_HEIGHT", (long) wxSIZE_AUTO_HEIGHT
, 0, 0, 0},
38006 { SWIG_PY_INT
, (char *)"SIZE_AUTO", (long) wxSIZE_AUTO
, 0, 0, 0},
38007 { SWIG_PY_INT
, (char *)"SIZE_USE_EXISTING", (long) wxSIZE_USE_EXISTING
, 0, 0, 0},
38008 { SWIG_PY_INT
, (char *)"SIZE_ALLOW_MINUS_ONE", (long) wxSIZE_ALLOW_MINUS_ONE
, 0, 0, 0},
38009 { SWIG_PY_INT
, (char *)"PORTRAIT", (long) wxPORTRAIT
, 0, 0, 0},
38010 { SWIG_PY_INT
, (char *)"LANDSCAPE", (long) wxLANDSCAPE
, 0, 0, 0},
38011 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_HIGH", (long) wxPRINT_QUALITY_HIGH
, 0, 0, 0},
38012 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_MEDIUM", (long) wxPRINT_QUALITY_MEDIUM
, 0, 0, 0},
38013 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_LOW", (long) wxPRINT_QUALITY_LOW
, 0, 0, 0},
38014 { SWIG_PY_INT
, (char *)"PRINT_QUALITY_DRAFT", (long) wxPRINT_QUALITY_DRAFT
, 0, 0, 0},
38015 { SWIG_PY_INT
, (char *)"ID_ANY", (long) wxID_ANY
, 0, 0, 0},
38016 { SWIG_PY_INT
, (char *)"ID_SEPARATOR", (long) wxID_SEPARATOR
, 0, 0, 0},
38017 { SWIG_PY_INT
, (char *)"ID_LOWEST", (long) wxID_LOWEST
, 0, 0, 0},
38018 { SWIG_PY_INT
, (char *)"ID_OPEN", (long) wxID_OPEN
, 0, 0, 0},
38019 { SWIG_PY_INT
, (char *)"ID_CLOSE", (long) wxID_CLOSE
, 0, 0, 0},
38020 { SWIG_PY_INT
, (char *)"ID_NEW", (long) wxID_NEW
, 0, 0, 0},
38021 { SWIG_PY_INT
, (char *)"ID_SAVE", (long) wxID_SAVE
, 0, 0, 0},
38022 { SWIG_PY_INT
, (char *)"ID_SAVEAS", (long) wxID_SAVEAS
, 0, 0, 0},
38023 { SWIG_PY_INT
, (char *)"ID_REVERT", (long) wxID_REVERT
, 0, 0, 0},
38024 { SWIG_PY_INT
, (char *)"ID_EXIT", (long) wxID_EXIT
, 0, 0, 0},
38025 { SWIG_PY_INT
, (char *)"ID_UNDO", (long) wxID_UNDO
, 0, 0, 0},
38026 { SWIG_PY_INT
, (char *)"ID_REDO", (long) wxID_REDO
, 0, 0, 0},
38027 { SWIG_PY_INT
, (char *)"ID_HELP", (long) wxID_HELP
, 0, 0, 0},
38028 { SWIG_PY_INT
, (char *)"ID_PRINT", (long) wxID_PRINT
, 0, 0, 0},
38029 { SWIG_PY_INT
, (char *)"ID_PRINT_SETUP", (long) wxID_PRINT_SETUP
, 0, 0, 0},
38030 { SWIG_PY_INT
, (char *)"ID_PREVIEW", (long) wxID_PREVIEW
, 0, 0, 0},
38031 { SWIG_PY_INT
, (char *)"ID_ABOUT", (long) wxID_ABOUT
, 0, 0, 0},
38032 { SWIG_PY_INT
, (char *)"ID_HELP_CONTENTS", (long) wxID_HELP_CONTENTS
, 0, 0, 0},
38033 { SWIG_PY_INT
, (char *)"ID_HELP_COMMANDS", (long) wxID_HELP_COMMANDS
, 0, 0, 0},
38034 { SWIG_PY_INT
, (char *)"ID_HELP_PROCEDURES", (long) wxID_HELP_PROCEDURES
, 0, 0, 0},
38035 { SWIG_PY_INT
, (char *)"ID_HELP_CONTEXT", (long) wxID_HELP_CONTEXT
, 0, 0, 0},
38036 { SWIG_PY_INT
, (char *)"ID_CLOSE_ALL", (long) wxID_CLOSE_ALL
, 0, 0, 0},
38037 { SWIG_PY_INT
, (char *)"ID_PREFERENCES", (long) wxID_PREFERENCES
, 0, 0, 0},
38038 { SWIG_PY_INT
, (char *)"ID_CUT", (long) wxID_CUT
, 0, 0, 0},
38039 { SWIG_PY_INT
, (char *)"ID_COPY", (long) wxID_COPY
, 0, 0, 0},
38040 { SWIG_PY_INT
, (char *)"ID_PASTE", (long) wxID_PASTE
, 0, 0, 0},
38041 { SWIG_PY_INT
, (char *)"ID_CLEAR", (long) wxID_CLEAR
, 0, 0, 0},
38042 { SWIG_PY_INT
, (char *)"ID_FIND", (long) wxID_FIND
, 0, 0, 0},
38043 { SWIG_PY_INT
, (char *)"ID_DUPLICATE", (long) wxID_DUPLICATE
, 0, 0, 0},
38044 { SWIG_PY_INT
, (char *)"ID_SELECTALL", (long) wxID_SELECTALL
, 0, 0, 0},
38045 { SWIG_PY_INT
, (char *)"ID_DELETE", (long) wxID_DELETE
, 0, 0, 0},
38046 { SWIG_PY_INT
, (char *)"ID_REPLACE", (long) wxID_REPLACE
, 0, 0, 0},
38047 { SWIG_PY_INT
, (char *)"ID_REPLACE_ALL", (long) wxID_REPLACE_ALL
, 0, 0, 0},
38048 { SWIG_PY_INT
, (char *)"ID_PROPERTIES", (long) wxID_PROPERTIES
, 0, 0, 0},
38049 { SWIG_PY_INT
, (char *)"ID_VIEW_DETAILS", (long) wxID_VIEW_DETAILS
, 0, 0, 0},
38050 { SWIG_PY_INT
, (char *)"ID_VIEW_LARGEICONS", (long) wxID_VIEW_LARGEICONS
, 0, 0, 0},
38051 { SWIG_PY_INT
, (char *)"ID_VIEW_SMALLICONS", (long) wxID_VIEW_SMALLICONS
, 0, 0, 0},
38052 { SWIG_PY_INT
, (char *)"ID_VIEW_LIST", (long) wxID_VIEW_LIST
, 0, 0, 0},
38053 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTDATE", (long) wxID_VIEW_SORTDATE
, 0, 0, 0},
38054 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTNAME", (long) wxID_VIEW_SORTNAME
, 0, 0, 0},
38055 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTSIZE", (long) wxID_VIEW_SORTSIZE
, 0, 0, 0},
38056 { SWIG_PY_INT
, (char *)"ID_VIEW_SORTTYPE", (long) wxID_VIEW_SORTTYPE
, 0, 0, 0},
38057 { SWIG_PY_INT
, (char *)"ID_FILE1", (long) wxID_FILE1
, 0, 0, 0},
38058 { SWIG_PY_INT
, (char *)"ID_FILE2", (long) wxID_FILE2
, 0, 0, 0},
38059 { SWIG_PY_INT
, (char *)"ID_FILE3", (long) wxID_FILE3
, 0, 0, 0},
38060 { SWIG_PY_INT
, (char *)"ID_FILE4", (long) wxID_FILE4
, 0, 0, 0},
38061 { SWIG_PY_INT
, (char *)"ID_FILE5", (long) wxID_FILE5
, 0, 0, 0},
38062 { SWIG_PY_INT
, (char *)"ID_FILE6", (long) wxID_FILE6
, 0, 0, 0},
38063 { SWIG_PY_INT
, (char *)"ID_FILE7", (long) wxID_FILE7
, 0, 0, 0},
38064 { SWIG_PY_INT
, (char *)"ID_FILE8", (long) wxID_FILE8
, 0, 0, 0},
38065 { SWIG_PY_INT
, (char *)"ID_FILE9", (long) wxID_FILE9
, 0, 0, 0},
38066 { SWIG_PY_INT
, (char *)"ID_OK", (long) wxID_OK
, 0, 0, 0},
38067 { SWIG_PY_INT
, (char *)"ID_CANCEL", (long) wxID_CANCEL
, 0, 0, 0},
38068 { SWIG_PY_INT
, (char *)"ID_APPLY", (long) wxID_APPLY
, 0, 0, 0},
38069 { SWIG_PY_INT
, (char *)"ID_YES", (long) wxID_YES
, 0, 0, 0},
38070 { SWIG_PY_INT
, (char *)"ID_NO", (long) wxID_NO
, 0, 0, 0},
38071 { SWIG_PY_INT
, (char *)"ID_STATIC", (long) wxID_STATIC
, 0, 0, 0},
38072 { SWIG_PY_INT
, (char *)"ID_FORWARD", (long) wxID_FORWARD
, 0, 0, 0},
38073 { SWIG_PY_INT
, (char *)"ID_BACKWARD", (long) wxID_BACKWARD
, 0, 0, 0},
38074 { SWIG_PY_INT
, (char *)"ID_DEFAULT", (long) wxID_DEFAULT
, 0, 0, 0},
38075 { SWIG_PY_INT
, (char *)"ID_MORE", (long) wxID_MORE
, 0, 0, 0},
38076 { SWIG_PY_INT
, (char *)"ID_SETUP", (long) wxID_SETUP
, 0, 0, 0},
38077 { SWIG_PY_INT
, (char *)"ID_RESET", (long) wxID_RESET
, 0, 0, 0},
38078 { SWIG_PY_INT
, (char *)"ID_CONTEXT_HELP", (long) wxID_CONTEXT_HELP
, 0, 0, 0},
38079 { SWIG_PY_INT
, (char *)"ID_YESTOALL", (long) wxID_YESTOALL
, 0, 0, 0},
38080 { SWIG_PY_INT
, (char *)"ID_NOTOALL", (long) wxID_NOTOALL
, 0, 0, 0},
38081 { SWIG_PY_INT
, (char *)"ID_ABORT", (long) wxID_ABORT
, 0, 0, 0},
38082 { SWIG_PY_INT
, (char *)"ID_RETRY", (long) wxID_RETRY
, 0, 0, 0},
38083 { SWIG_PY_INT
, (char *)"ID_IGNORE", (long) wxID_IGNORE
, 0, 0, 0},
38084 { SWIG_PY_INT
, (char *)"ID_HIGHEST", (long) wxID_HIGHEST
, 0, 0, 0},
38085 { SWIG_PY_INT
, (char *)"OPEN", (long) wxOPEN
, 0, 0, 0},
38086 { SWIG_PY_INT
, (char *)"SAVE", (long) wxSAVE
, 0, 0, 0},
38087 { SWIG_PY_INT
, (char *)"HIDE_READONLY", (long) wxHIDE_READONLY
, 0, 0, 0},
38088 { SWIG_PY_INT
, (char *)"OVERWRITE_PROMPT", (long) wxOVERWRITE_PROMPT
, 0, 0, 0},
38089 { SWIG_PY_INT
, (char *)"FILE_MUST_EXIST", (long) wxFILE_MUST_EXIST
, 0, 0, 0},
38090 { SWIG_PY_INT
, (char *)"MULTIPLE", (long) wxMULTIPLE
, 0, 0, 0},
38091 { SWIG_PY_INT
, (char *)"CHANGE_DIR", (long) wxCHANGE_DIR
, 0, 0, 0},
38092 { SWIG_PY_INT
, (char *)"ACCEL_ALT", (long) wxACCEL_ALT
, 0, 0, 0},
38093 { SWIG_PY_INT
, (char *)"ACCEL_CTRL", (long) wxACCEL_CTRL
, 0, 0, 0},
38094 { SWIG_PY_INT
, (char *)"ACCEL_SHIFT", (long) wxACCEL_SHIFT
, 0, 0, 0},
38095 { SWIG_PY_INT
, (char *)"ACCEL_NORMAL", (long) wxACCEL_NORMAL
, 0, 0, 0},
38096 { SWIG_PY_INT
, (char *)"PD_AUTO_HIDE", (long) wxPD_AUTO_HIDE
, 0, 0, 0},
38097 { SWIG_PY_INT
, (char *)"PD_APP_MODAL", (long) wxPD_APP_MODAL
, 0, 0, 0},
38098 { SWIG_PY_INT
, (char *)"PD_CAN_ABORT", (long) wxPD_CAN_ABORT
, 0, 0, 0},
38099 { SWIG_PY_INT
, (char *)"PD_ELAPSED_TIME", (long) wxPD_ELAPSED_TIME
, 0, 0, 0},
38100 { SWIG_PY_INT
, (char *)"PD_ESTIMATED_TIME", (long) wxPD_ESTIMATED_TIME
, 0, 0, 0},
38101 { SWIG_PY_INT
, (char *)"PD_REMAINING_TIME", (long) wxPD_REMAINING_TIME
, 0, 0, 0},
38102 { SWIG_PY_INT
, (char *)"DD_NEW_DIR_BUTTON", (long) wxDD_NEW_DIR_BUTTON
, 0, 0, 0},
38103 { SWIG_PY_INT
, (char *)"DD_DEFAULT_STYLE", (long) wxDD_DEFAULT_STYLE
, 0, 0, 0},
38104 { SWIG_PY_INT
, (char *)"MENU_TEAROFF", (long) wxMENU_TEAROFF
, 0, 0, 0},
38105 { SWIG_PY_INT
, (char *)"MB_DOCKABLE", (long) wxMB_DOCKABLE
, 0, 0, 0},
38106 { SWIG_PY_INT
, (char *)"NO_FULL_REPAINT_ON_RESIZE", (long) wxNO_FULL_REPAINT_ON_RESIZE
, 0, 0, 0},
38107 { SWIG_PY_INT
, (char *)"FULL_REPAINT_ON_RESIZE", (long) wxFULL_REPAINT_ON_RESIZE
, 0, 0, 0},
38108 { SWIG_PY_INT
, (char *)"LI_HORIZONTAL", (long) wxLI_HORIZONTAL
, 0, 0, 0},
38109 { SWIG_PY_INT
, (char *)"LI_VERTICAL", (long) wxLI_VERTICAL
, 0, 0, 0},
38110 { SWIG_PY_INT
, (char *)"WS_EX_VALIDATE_RECURSIVELY", (long) wxWS_EX_VALIDATE_RECURSIVELY
, 0, 0, 0},
38111 { SWIG_PY_INT
, (char *)"WS_EX_BLOCK_EVENTS", (long) wxWS_EX_BLOCK_EVENTS
, 0, 0, 0},
38112 { SWIG_PY_INT
, (char *)"WS_EX_TRANSIENT", (long) wxWS_EX_TRANSIENT
, 0, 0, 0},
38113 { SWIG_PY_INT
, (char *)"WS_EX_THEMED_BACKGROUND", (long) wxWS_EX_THEMED_BACKGROUND
, 0, 0, 0},
38114 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_IDLE", (long) wxWS_EX_PROCESS_IDLE
, 0, 0, 0},
38115 { SWIG_PY_INT
, (char *)"WS_EX_PROCESS_UI_UPDATES", (long) wxWS_EX_PROCESS_UI_UPDATES
, 0, 0, 0},
38116 { SWIG_PY_INT
, (char *)"MM_TEXT", (long) wxMM_TEXT
, 0, 0, 0},
38117 { SWIG_PY_INT
, (char *)"MM_LOMETRIC", (long) wxMM_LOMETRIC
, 0, 0, 0},
38118 { SWIG_PY_INT
, (char *)"MM_HIMETRIC", (long) wxMM_HIMETRIC
, 0, 0, 0},
38119 { SWIG_PY_INT
, (char *)"MM_LOENGLISH", (long) wxMM_LOENGLISH
, 0, 0, 0},
38120 { SWIG_PY_INT
, (char *)"MM_HIENGLISH", (long) wxMM_HIENGLISH
, 0, 0, 0},
38121 { SWIG_PY_INT
, (char *)"MM_TWIPS", (long) wxMM_TWIPS
, 0, 0, 0},
38122 { SWIG_PY_INT
, (char *)"MM_ISOTROPIC", (long) wxMM_ISOTROPIC
, 0, 0, 0},
38123 { SWIG_PY_INT
, (char *)"MM_ANISOTROPIC", (long) wxMM_ANISOTROPIC
, 0, 0, 0},
38124 { SWIG_PY_INT
, (char *)"MM_POINTS", (long) wxMM_POINTS
, 0, 0, 0},
38125 { SWIG_PY_INT
, (char *)"MM_METRIC", (long) wxMM_METRIC
, 0, 0, 0},
38126 { SWIG_PY_INT
, (char *)"CENTRE", (long) wxCENTRE
, 0, 0, 0},
38127 { SWIG_PY_INT
, (char *)"CENTER", (long) wxCENTER
, 0, 0, 0},
38128 { SWIG_PY_INT
, (char *)"HORIZONTAL", (long) wxHORIZONTAL
, 0, 0, 0},
38129 { SWIG_PY_INT
, (char *)"VERTICAL", (long) wxVERTICAL
, 0, 0, 0},
38130 { SWIG_PY_INT
, (char *)"BOTH", (long) wxBOTH
, 0, 0, 0},
38131 { SWIG_PY_INT
, (char *)"LEFT", (long) wxLEFT
, 0, 0, 0},
38132 { SWIG_PY_INT
, (char *)"RIGHT", (long) wxRIGHT
, 0, 0, 0},
38133 { SWIG_PY_INT
, (char *)"UP", (long) wxUP
, 0, 0, 0},
38134 { SWIG_PY_INT
, (char *)"DOWN", (long) wxDOWN
, 0, 0, 0},
38135 { SWIG_PY_INT
, (char *)"TOP", (long) wxTOP
, 0, 0, 0},
38136 { SWIG_PY_INT
, (char *)"BOTTOM", (long) wxBOTTOM
, 0, 0, 0},
38137 { SWIG_PY_INT
, (char *)"NORTH", (long) wxNORTH
, 0, 0, 0},
38138 { SWIG_PY_INT
, (char *)"SOUTH", (long) wxSOUTH
, 0, 0, 0},
38139 { SWIG_PY_INT
, (char *)"WEST", (long) wxWEST
, 0, 0, 0},
38140 { SWIG_PY_INT
, (char *)"EAST", (long) wxEAST
, 0, 0, 0},
38141 { SWIG_PY_INT
, (char *)"ALL", (long) wxALL
, 0, 0, 0},
38142 { SWIG_PY_INT
, (char *)"ALIGN_NOT", (long) wxALIGN_NOT
, 0, 0, 0},
38143 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_HORIZONTAL", (long) wxALIGN_CENTER_HORIZONTAL
, 0, 0, 0},
38144 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_HORIZONTAL", (long) wxALIGN_CENTRE_HORIZONTAL
, 0, 0, 0},
38145 { SWIG_PY_INT
, (char *)"ALIGN_LEFT", (long) wxALIGN_LEFT
, 0, 0, 0},
38146 { SWIG_PY_INT
, (char *)"ALIGN_TOP", (long) wxALIGN_TOP
, 0, 0, 0},
38147 { SWIG_PY_INT
, (char *)"ALIGN_RIGHT", (long) wxALIGN_RIGHT
, 0, 0, 0},
38148 { SWIG_PY_INT
, (char *)"ALIGN_BOTTOM", (long) wxALIGN_BOTTOM
, 0, 0, 0},
38149 { SWIG_PY_INT
, (char *)"ALIGN_CENTER_VERTICAL", (long) wxALIGN_CENTER_VERTICAL
, 0, 0, 0},
38150 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE_VERTICAL", (long) wxALIGN_CENTRE_VERTICAL
, 0, 0, 0},
38151 { SWIG_PY_INT
, (char *)"ALIGN_CENTER", (long) wxALIGN_CENTER
, 0, 0, 0},
38152 { SWIG_PY_INT
, (char *)"ALIGN_CENTRE", (long) wxALIGN_CENTRE
, 0, 0, 0},
38153 { SWIG_PY_INT
, (char *)"ALIGN_MASK", (long) wxALIGN_MASK
, 0, 0, 0},
38154 { SWIG_PY_INT
, (char *)"STRETCH_NOT", (long) wxSTRETCH_NOT
, 0, 0, 0},
38155 { SWIG_PY_INT
, (char *)"SHRINK", (long) wxSHRINK
, 0, 0, 0},
38156 { SWIG_PY_INT
, (char *)"GROW", (long) wxGROW
, 0, 0, 0},
38157 { SWIG_PY_INT
, (char *)"EXPAND", (long) wxEXPAND
, 0, 0, 0},
38158 { SWIG_PY_INT
, (char *)"SHAPED", (long) wxSHAPED
, 0, 0, 0},
38159 { SWIG_PY_INT
, (char *)"ADJUST_MINSIZE", (long) wxADJUST_MINSIZE
, 0, 0, 0},
38160 { SWIG_PY_INT
, (char *)"TILE", (long) wxTILE
, 0, 0, 0},
38161 { SWIG_PY_INT
, (char *)"BORDER_DEFAULT", (long) wxBORDER_DEFAULT
, 0, 0, 0},
38162 { SWIG_PY_INT
, (char *)"BORDER_NONE", (long) wxBORDER_NONE
, 0, 0, 0},
38163 { SWIG_PY_INT
, (char *)"BORDER_STATIC", (long) wxBORDER_STATIC
, 0, 0, 0},
38164 { SWIG_PY_INT
, (char *)"BORDER_SIMPLE", (long) wxBORDER_SIMPLE
, 0, 0, 0},
38165 { SWIG_PY_INT
, (char *)"BORDER_RAISED", (long) wxBORDER_RAISED
, 0, 0, 0},
38166 { SWIG_PY_INT
, (char *)"BORDER_SUNKEN", (long) wxBORDER_SUNKEN
, 0, 0, 0},
38167 { SWIG_PY_INT
, (char *)"BORDER_DOUBLE", (long) wxBORDER_DOUBLE
, 0, 0, 0},
38168 { SWIG_PY_INT
, (char *)"BORDER_MASK", (long) wxBORDER_MASK
, 0, 0, 0},
38169 { SWIG_PY_INT
, (char *)"DEFAULT", (long) wxDEFAULT
, 0, 0, 0},
38170 { SWIG_PY_INT
, (char *)"DECORATIVE", (long) wxDECORATIVE
, 0, 0, 0},
38171 { SWIG_PY_INT
, (char *)"ROMAN", (long) wxROMAN
, 0, 0, 0},
38172 { SWIG_PY_INT
, (char *)"SCRIPT", (long) wxSCRIPT
, 0, 0, 0},
38173 { SWIG_PY_INT
, (char *)"SWISS", (long) wxSWISS
, 0, 0, 0},
38174 { SWIG_PY_INT
, (char *)"MODERN", (long) wxMODERN
, 0, 0, 0},
38175 { SWIG_PY_INT
, (char *)"TELETYPE", (long) wxTELETYPE
, 0, 0, 0},
38176 { SWIG_PY_INT
, (char *)"VARIABLE", (long) wxVARIABLE
, 0, 0, 0},
38177 { SWIG_PY_INT
, (char *)"FIXED", (long) wxFIXED
, 0, 0, 0},
38178 { SWIG_PY_INT
, (char *)"NORMAL", (long) wxNORMAL
, 0, 0, 0},
38179 { SWIG_PY_INT
, (char *)"LIGHT", (long) wxLIGHT
, 0, 0, 0},
38180 { SWIG_PY_INT
, (char *)"BOLD", (long) wxBOLD
, 0, 0, 0},
38181 { SWIG_PY_INT
, (char *)"ITALIC", (long) wxITALIC
, 0, 0, 0},
38182 { SWIG_PY_INT
, (char *)"SLANT", (long) wxSLANT
, 0, 0, 0},
38183 { SWIG_PY_INT
, (char *)"SOLID", (long) wxSOLID
, 0, 0, 0},
38184 { SWIG_PY_INT
, (char *)"DOT", (long) wxDOT
, 0, 0, 0},
38185 { SWIG_PY_INT
, (char *)"LONG_DASH", (long) wxLONG_DASH
, 0, 0, 0},
38186 { SWIG_PY_INT
, (char *)"SHORT_DASH", (long) wxSHORT_DASH
, 0, 0, 0},
38187 { SWIG_PY_INT
, (char *)"DOT_DASH", (long) wxDOT_DASH
, 0, 0, 0},
38188 { SWIG_PY_INT
, (char *)"USER_DASH", (long) wxUSER_DASH
, 0, 0, 0},
38189 { SWIG_PY_INT
, (char *)"TRANSPARENT", (long) wxTRANSPARENT
, 0, 0, 0},
38190 { SWIG_PY_INT
, (char *)"STIPPLE", (long) wxSTIPPLE
, 0, 0, 0},
38191 { SWIG_PY_INT
, (char *)"BDIAGONAL_HATCH", (long) wxBDIAGONAL_HATCH
, 0, 0, 0},
38192 { SWIG_PY_INT
, (char *)"CROSSDIAG_HATCH", (long) wxCROSSDIAG_HATCH
, 0, 0, 0},
38193 { SWIG_PY_INT
, (char *)"FDIAGONAL_HATCH", (long) wxFDIAGONAL_HATCH
, 0, 0, 0},
38194 { SWIG_PY_INT
, (char *)"CROSS_HATCH", (long) wxCROSS_HATCH
, 0, 0, 0},
38195 { SWIG_PY_INT
, (char *)"HORIZONTAL_HATCH", (long) wxHORIZONTAL_HATCH
, 0, 0, 0},
38196 { SWIG_PY_INT
, (char *)"VERTICAL_HATCH", (long) wxVERTICAL_HATCH
, 0, 0, 0},
38197 { SWIG_PY_INT
, (char *)"JOIN_BEVEL", (long) wxJOIN_BEVEL
, 0, 0, 0},
38198 { SWIG_PY_INT
, (char *)"JOIN_MITER", (long) wxJOIN_MITER
, 0, 0, 0},
38199 { SWIG_PY_INT
, (char *)"JOIN_ROUND", (long) wxJOIN_ROUND
, 0, 0, 0},
38200 { SWIG_PY_INT
, (char *)"CAP_ROUND", (long) wxCAP_ROUND
, 0, 0, 0},
38201 { SWIG_PY_INT
, (char *)"CAP_PROJECTING", (long) wxCAP_PROJECTING
, 0, 0, 0},
38202 { SWIG_PY_INT
, (char *)"CAP_BUTT", (long) wxCAP_BUTT
, 0, 0, 0},
38203 { SWIG_PY_INT
, (char *)"CLEAR", (long) wxCLEAR
, 0, 0, 0},
38204 { SWIG_PY_INT
, (char *)"XOR", (long) wxXOR
, 0, 0, 0},
38205 { SWIG_PY_INT
, (char *)"INVERT", (long) wxINVERT
, 0, 0, 0},
38206 { SWIG_PY_INT
, (char *)"OR_REVERSE", (long) wxOR_REVERSE
, 0, 0, 0},
38207 { SWIG_PY_INT
, (char *)"AND_REVERSE", (long) wxAND_REVERSE
, 0, 0, 0},
38208 { SWIG_PY_INT
, (char *)"COPY", (long) wxCOPY
, 0, 0, 0},
38209 { SWIG_PY_INT
, (char *)"AND", (long) wxAND
, 0, 0, 0},
38210 { SWIG_PY_INT
, (char *)"AND_INVERT", (long) wxAND_INVERT
, 0, 0, 0},
38211 { SWIG_PY_INT
, (char *)"NO_OP", (long) wxNO_OP
, 0, 0, 0},
38212 { SWIG_PY_INT
, (char *)"NOR", (long) wxNOR
, 0, 0, 0},
38213 { SWIG_PY_INT
, (char *)"EQUIV", (long) wxEQUIV
, 0, 0, 0},
38214 { SWIG_PY_INT
, (char *)"SRC_INVERT", (long) wxSRC_INVERT
, 0, 0, 0},
38215 { SWIG_PY_INT
, (char *)"OR_INVERT", (long) wxOR_INVERT
, 0, 0, 0},
38216 { SWIG_PY_INT
, (char *)"NAND", (long) wxNAND
, 0, 0, 0},
38217 { SWIG_PY_INT
, (char *)"OR", (long) wxOR
, 0, 0, 0},
38218 { SWIG_PY_INT
, (char *)"SET", (long) wxSET
, 0, 0, 0},
38219 { SWIG_PY_INT
, (char *)"WXK_BACK", (long) WXK_BACK
, 0, 0, 0},
38220 { SWIG_PY_INT
, (char *)"WXK_TAB", (long) WXK_TAB
, 0, 0, 0},
38221 { SWIG_PY_INT
, (char *)"WXK_RETURN", (long) WXK_RETURN
, 0, 0, 0},
38222 { SWIG_PY_INT
, (char *)"WXK_ESCAPE", (long) WXK_ESCAPE
, 0, 0, 0},
38223 { SWIG_PY_INT
, (char *)"WXK_SPACE", (long) WXK_SPACE
, 0, 0, 0},
38224 { SWIG_PY_INT
, (char *)"WXK_DELETE", (long) WXK_DELETE
, 0, 0, 0},
38225 { SWIG_PY_INT
, (char *)"WXK_START", (long) WXK_START
, 0, 0, 0},
38226 { SWIG_PY_INT
, (char *)"WXK_LBUTTON", (long) WXK_LBUTTON
, 0, 0, 0},
38227 { SWIG_PY_INT
, (char *)"WXK_RBUTTON", (long) WXK_RBUTTON
, 0, 0, 0},
38228 { SWIG_PY_INT
, (char *)"WXK_CANCEL", (long) WXK_CANCEL
, 0, 0, 0},
38229 { SWIG_PY_INT
, (char *)"WXK_MBUTTON", (long) WXK_MBUTTON
, 0, 0, 0},
38230 { SWIG_PY_INT
, (char *)"WXK_CLEAR", (long) WXK_CLEAR
, 0, 0, 0},
38231 { SWIG_PY_INT
, (char *)"WXK_SHIFT", (long) WXK_SHIFT
, 0, 0, 0},
38232 { SWIG_PY_INT
, (char *)"WXK_ALT", (long) WXK_ALT
, 0, 0, 0},
38233 { SWIG_PY_INT
, (char *)"WXK_CONTROL", (long) WXK_CONTROL
, 0, 0, 0},
38234 { SWIG_PY_INT
, (char *)"WXK_MENU", (long) WXK_MENU
, 0, 0, 0},
38235 { SWIG_PY_INT
, (char *)"WXK_PAUSE", (long) WXK_PAUSE
, 0, 0, 0},
38236 { SWIG_PY_INT
, (char *)"WXK_CAPITAL", (long) WXK_CAPITAL
, 0, 0, 0},
38237 { SWIG_PY_INT
, (char *)"WXK_PRIOR", (long) WXK_PRIOR
, 0, 0, 0},
38238 { SWIG_PY_INT
, (char *)"WXK_NEXT", (long) WXK_NEXT
, 0, 0, 0},
38239 { SWIG_PY_INT
, (char *)"WXK_END", (long) WXK_END
, 0, 0, 0},
38240 { SWIG_PY_INT
, (char *)"WXK_HOME", (long) WXK_HOME
, 0, 0, 0},
38241 { SWIG_PY_INT
, (char *)"WXK_LEFT", (long) WXK_LEFT
, 0, 0, 0},
38242 { SWIG_PY_INT
, (char *)"WXK_UP", (long) WXK_UP
, 0, 0, 0},
38243 { SWIG_PY_INT
, (char *)"WXK_RIGHT", (long) WXK_RIGHT
, 0, 0, 0},
38244 { SWIG_PY_INT
, (char *)"WXK_DOWN", (long) WXK_DOWN
, 0, 0, 0},
38245 { SWIG_PY_INT
, (char *)"WXK_SELECT", (long) WXK_SELECT
, 0, 0, 0},
38246 { SWIG_PY_INT
, (char *)"WXK_PRINT", (long) WXK_PRINT
, 0, 0, 0},
38247 { SWIG_PY_INT
, (char *)"WXK_EXECUTE", (long) WXK_EXECUTE
, 0, 0, 0},
38248 { SWIG_PY_INT
, (char *)"WXK_SNAPSHOT", (long) WXK_SNAPSHOT
, 0, 0, 0},
38249 { SWIG_PY_INT
, (char *)"WXK_INSERT", (long) WXK_INSERT
, 0, 0, 0},
38250 { SWIG_PY_INT
, (char *)"WXK_HELP", (long) WXK_HELP
, 0, 0, 0},
38251 { SWIG_PY_INT
, (char *)"WXK_NUMPAD0", (long) WXK_NUMPAD0
, 0, 0, 0},
38252 { SWIG_PY_INT
, (char *)"WXK_NUMPAD1", (long) WXK_NUMPAD1
, 0, 0, 0},
38253 { SWIG_PY_INT
, (char *)"WXK_NUMPAD2", (long) WXK_NUMPAD2
, 0, 0, 0},
38254 { SWIG_PY_INT
, (char *)"WXK_NUMPAD3", (long) WXK_NUMPAD3
, 0, 0, 0},
38255 { SWIG_PY_INT
, (char *)"WXK_NUMPAD4", (long) WXK_NUMPAD4
, 0, 0, 0},
38256 { SWIG_PY_INT
, (char *)"WXK_NUMPAD5", (long) WXK_NUMPAD5
, 0, 0, 0},
38257 { SWIG_PY_INT
, (char *)"WXK_NUMPAD6", (long) WXK_NUMPAD6
, 0, 0, 0},
38258 { SWIG_PY_INT
, (char *)"WXK_NUMPAD7", (long) WXK_NUMPAD7
, 0, 0, 0},
38259 { SWIG_PY_INT
, (char *)"WXK_NUMPAD8", (long) WXK_NUMPAD8
, 0, 0, 0},
38260 { SWIG_PY_INT
, (char *)"WXK_NUMPAD9", (long) WXK_NUMPAD9
, 0, 0, 0},
38261 { SWIG_PY_INT
, (char *)"WXK_MULTIPLY", (long) WXK_MULTIPLY
, 0, 0, 0},
38262 { SWIG_PY_INT
, (char *)"WXK_ADD", (long) WXK_ADD
, 0, 0, 0},
38263 { SWIG_PY_INT
, (char *)"WXK_SEPARATOR", (long) WXK_SEPARATOR
, 0, 0, 0},
38264 { SWIG_PY_INT
, (char *)"WXK_SUBTRACT", (long) WXK_SUBTRACT
, 0, 0, 0},
38265 { SWIG_PY_INT
, (char *)"WXK_DECIMAL", (long) WXK_DECIMAL
, 0, 0, 0},
38266 { SWIG_PY_INT
, (char *)"WXK_DIVIDE", (long) WXK_DIVIDE
, 0, 0, 0},
38267 { SWIG_PY_INT
, (char *)"WXK_F1", (long) WXK_F1
, 0, 0, 0},
38268 { SWIG_PY_INT
, (char *)"WXK_F2", (long) WXK_F2
, 0, 0, 0},
38269 { SWIG_PY_INT
, (char *)"WXK_F3", (long) WXK_F3
, 0, 0, 0},
38270 { SWIG_PY_INT
, (char *)"WXK_F4", (long) WXK_F4
, 0, 0, 0},
38271 { SWIG_PY_INT
, (char *)"WXK_F5", (long) WXK_F5
, 0, 0, 0},
38272 { SWIG_PY_INT
, (char *)"WXK_F6", (long) WXK_F6
, 0, 0, 0},
38273 { SWIG_PY_INT
, (char *)"WXK_F7", (long) WXK_F7
, 0, 0, 0},
38274 { SWIG_PY_INT
, (char *)"WXK_F8", (long) WXK_F8
, 0, 0, 0},
38275 { SWIG_PY_INT
, (char *)"WXK_F9", (long) WXK_F9
, 0, 0, 0},
38276 { SWIG_PY_INT
, (char *)"WXK_F10", (long) WXK_F10
, 0, 0, 0},
38277 { SWIG_PY_INT
, (char *)"WXK_F11", (long) WXK_F11
, 0, 0, 0},
38278 { SWIG_PY_INT
, (char *)"WXK_F12", (long) WXK_F12
, 0, 0, 0},
38279 { SWIG_PY_INT
, (char *)"WXK_F13", (long) WXK_F13
, 0, 0, 0},
38280 { SWIG_PY_INT
, (char *)"WXK_F14", (long) WXK_F14
, 0, 0, 0},
38281 { SWIG_PY_INT
, (char *)"WXK_F15", (long) WXK_F15
, 0, 0, 0},
38282 { SWIG_PY_INT
, (char *)"WXK_F16", (long) WXK_F16
, 0, 0, 0},
38283 { SWIG_PY_INT
, (char *)"WXK_F17", (long) WXK_F17
, 0, 0, 0},
38284 { SWIG_PY_INT
, (char *)"WXK_F18", (long) WXK_F18
, 0, 0, 0},
38285 { SWIG_PY_INT
, (char *)"WXK_F19", (long) WXK_F19
, 0, 0, 0},
38286 { SWIG_PY_INT
, (char *)"WXK_F20", (long) WXK_F20
, 0, 0, 0},
38287 { SWIG_PY_INT
, (char *)"WXK_F21", (long) WXK_F21
, 0, 0, 0},
38288 { SWIG_PY_INT
, (char *)"WXK_F22", (long) WXK_F22
, 0, 0, 0},
38289 { SWIG_PY_INT
, (char *)"WXK_F23", (long) WXK_F23
, 0, 0, 0},
38290 { SWIG_PY_INT
, (char *)"WXK_F24", (long) WXK_F24
, 0, 0, 0},
38291 { SWIG_PY_INT
, (char *)"WXK_NUMLOCK", (long) WXK_NUMLOCK
, 0, 0, 0},
38292 { SWIG_PY_INT
, (char *)"WXK_SCROLL", (long) WXK_SCROLL
, 0, 0, 0},
38293 { SWIG_PY_INT
, (char *)"WXK_PAGEUP", (long) WXK_PAGEUP
, 0, 0, 0},
38294 { SWIG_PY_INT
, (char *)"WXK_PAGEDOWN", (long) WXK_PAGEDOWN
, 0, 0, 0},
38295 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SPACE", (long) WXK_NUMPAD_SPACE
, 0, 0, 0},
38296 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_TAB", (long) WXK_NUMPAD_TAB
, 0, 0, 0},
38297 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ENTER", (long) WXK_NUMPAD_ENTER
, 0, 0, 0},
38298 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F1", (long) WXK_NUMPAD_F1
, 0, 0, 0},
38299 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F2", (long) WXK_NUMPAD_F2
, 0, 0, 0},
38300 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F3", (long) WXK_NUMPAD_F3
, 0, 0, 0},
38301 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_F4", (long) WXK_NUMPAD_F4
, 0, 0, 0},
38302 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_HOME", (long) WXK_NUMPAD_HOME
, 0, 0, 0},
38303 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_LEFT", (long) WXK_NUMPAD_LEFT
, 0, 0, 0},
38304 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_UP", (long) WXK_NUMPAD_UP
, 0, 0, 0},
38305 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_RIGHT", (long) WXK_NUMPAD_RIGHT
, 0, 0, 0},
38306 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DOWN", (long) WXK_NUMPAD_DOWN
, 0, 0, 0},
38307 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PRIOR", (long) WXK_NUMPAD_PRIOR
, 0, 0, 0},
38308 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEUP", (long) WXK_NUMPAD_PAGEUP
, 0, 0, 0},
38309 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_NEXT", (long) WXK_NUMPAD_NEXT
, 0, 0, 0},
38310 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_PAGEDOWN", (long) WXK_NUMPAD_PAGEDOWN
, 0, 0, 0},
38311 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_END", (long) WXK_NUMPAD_END
, 0, 0, 0},
38312 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_BEGIN", (long) WXK_NUMPAD_BEGIN
, 0, 0, 0},
38313 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_INSERT", (long) WXK_NUMPAD_INSERT
, 0, 0, 0},
38314 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DELETE", (long) WXK_NUMPAD_DELETE
, 0, 0, 0},
38315 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_EQUAL", (long) WXK_NUMPAD_EQUAL
, 0, 0, 0},
38316 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_MULTIPLY", (long) WXK_NUMPAD_MULTIPLY
, 0, 0, 0},
38317 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_ADD", (long) WXK_NUMPAD_ADD
, 0, 0, 0},
38318 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SEPARATOR", (long) WXK_NUMPAD_SEPARATOR
, 0, 0, 0},
38319 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_SUBTRACT", (long) WXK_NUMPAD_SUBTRACT
, 0, 0, 0},
38320 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DECIMAL", (long) WXK_NUMPAD_DECIMAL
, 0, 0, 0},
38321 { SWIG_PY_INT
, (char *)"WXK_NUMPAD_DIVIDE", (long) WXK_NUMPAD_DIVIDE
, 0, 0, 0},
38322 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_LEFT", (long) WXK_WINDOWS_LEFT
, 0, 0, 0},
38323 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_RIGHT", (long) WXK_WINDOWS_RIGHT
, 0, 0, 0},
38324 { SWIG_PY_INT
, (char *)"WXK_WINDOWS_MENU", (long) WXK_WINDOWS_MENU
, 0, 0, 0},
38325 { SWIG_PY_INT
, (char *)"PAPER_NONE", (long) wxPAPER_NONE
, 0, 0, 0},
38326 { SWIG_PY_INT
, (char *)"PAPER_LETTER", (long) wxPAPER_LETTER
, 0, 0, 0},
38327 { SWIG_PY_INT
, (char *)"PAPER_LEGAL", (long) wxPAPER_LEGAL
, 0, 0, 0},
38328 { SWIG_PY_INT
, (char *)"PAPER_A4", (long) wxPAPER_A4
, 0, 0, 0},
38329 { SWIG_PY_INT
, (char *)"PAPER_CSHEET", (long) wxPAPER_CSHEET
, 0, 0, 0},
38330 { SWIG_PY_INT
, (char *)"PAPER_DSHEET", (long) wxPAPER_DSHEET
, 0, 0, 0},
38331 { SWIG_PY_INT
, (char *)"PAPER_ESHEET", (long) wxPAPER_ESHEET
, 0, 0, 0},
38332 { SWIG_PY_INT
, (char *)"PAPER_LETTERSMALL", (long) wxPAPER_LETTERSMALL
, 0, 0, 0},
38333 { SWIG_PY_INT
, (char *)"PAPER_TABLOID", (long) wxPAPER_TABLOID
, 0, 0, 0},
38334 { SWIG_PY_INT
, (char *)"PAPER_LEDGER", (long) wxPAPER_LEDGER
, 0, 0, 0},
38335 { SWIG_PY_INT
, (char *)"PAPER_STATEMENT", (long) wxPAPER_STATEMENT
, 0, 0, 0},
38336 { SWIG_PY_INT
, (char *)"PAPER_EXECUTIVE", (long) wxPAPER_EXECUTIVE
, 0, 0, 0},
38337 { SWIG_PY_INT
, (char *)"PAPER_A3", (long) wxPAPER_A3
, 0, 0, 0},
38338 { SWIG_PY_INT
, (char *)"PAPER_A4SMALL", (long) wxPAPER_A4SMALL
, 0, 0, 0},
38339 { SWIG_PY_INT
, (char *)"PAPER_A5", (long) wxPAPER_A5
, 0, 0, 0},
38340 { SWIG_PY_INT
, (char *)"PAPER_B4", (long) wxPAPER_B4
, 0, 0, 0},
38341 { SWIG_PY_INT
, (char *)"PAPER_B5", (long) wxPAPER_B5
, 0, 0, 0},
38342 { SWIG_PY_INT
, (char *)"PAPER_FOLIO", (long) wxPAPER_FOLIO
, 0, 0, 0},
38343 { SWIG_PY_INT
, (char *)"PAPER_QUARTO", (long) wxPAPER_QUARTO
, 0, 0, 0},
38344 { SWIG_PY_INT
, (char *)"PAPER_10X14", (long) wxPAPER_10X14
, 0, 0, 0},
38345 { SWIG_PY_INT
, (char *)"PAPER_11X17", (long) wxPAPER_11X17
, 0, 0, 0},
38346 { SWIG_PY_INT
, (char *)"PAPER_NOTE", (long) wxPAPER_NOTE
, 0, 0, 0},
38347 { SWIG_PY_INT
, (char *)"PAPER_ENV_9", (long) wxPAPER_ENV_9
, 0, 0, 0},
38348 { SWIG_PY_INT
, (char *)"PAPER_ENV_10", (long) wxPAPER_ENV_10
, 0, 0, 0},
38349 { SWIG_PY_INT
, (char *)"PAPER_ENV_11", (long) wxPAPER_ENV_11
, 0, 0, 0},
38350 { SWIG_PY_INT
, (char *)"PAPER_ENV_12", (long) wxPAPER_ENV_12
, 0, 0, 0},
38351 { SWIG_PY_INT
, (char *)"PAPER_ENV_14", (long) wxPAPER_ENV_14
, 0, 0, 0},
38352 { SWIG_PY_INT
, (char *)"PAPER_ENV_DL", (long) wxPAPER_ENV_DL
, 0, 0, 0},
38353 { SWIG_PY_INT
, (char *)"PAPER_ENV_C5", (long) wxPAPER_ENV_C5
, 0, 0, 0},
38354 { SWIG_PY_INT
, (char *)"PAPER_ENV_C3", (long) wxPAPER_ENV_C3
, 0, 0, 0},
38355 { SWIG_PY_INT
, (char *)"PAPER_ENV_C4", (long) wxPAPER_ENV_C4
, 0, 0, 0},
38356 { SWIG_PY_INT
, (char *)"PAPER_ENV_C6", (long) wxPAPER_ENV_C6
, 0, 0, 0},
38357 { SWIG_PY_INT
, (char *)"PAPER_ENV_C65", (long) wxPAPER_ENV_C65
, 0, 0, 0},
38358 { SWIG_PY_INT
, (char *)"PAPER_ENV_B4", (long) wxPAPER_ENV_B4
, 0, 0, 0},
38359 { SWIG_PY_INT
, (char *)"PAPER_ENV_B5", (long) wxPAPER_ENV_B5
, 0, 0, 0},
38360 { SWIG_PY_INT
, (char *)"PAPER_ENV_B6", (long) wxPAPER_ENV_B6
, 0, 0, 0},
38361 { SWIG_PY_INT
, (char *)"PAPER_ENV_ITALY", (long) wxPAPER_ENV_ITALY
, 0, 0, 0},
38362 { SWIG_PY_INT
, (char *)"PAPER_ENV_MONARCH", (long) wxPAPER_ENV_MONARCH
, 0, 0, 0},
38363 { SWIG_PY_INT
, (char *)"PAPER_ENV_PERSONAL", (long) wxPAPER_ENV_PERSONAL
, 0, 0, 0},
38364 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_US", (long) wxPAPER_FANFOLD_US
, 0, 0, 0},
38365 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_STD_GERMAN", (long) wxPAPER_FANFOLD_STD_GERMAN
, 0, 0, 0},
38366 { SWIG_PY_INT
, (char *)"PAPER_FANFOLD_LGL_GERMAN", (long) wxPAPER_FANFOLD_LGL_GERMAN
, 0, 0, 0},
38367 { SWIG_PY_INT
, (char *)"PAPER_ISO_B4", (long) wxPAPER_ISO_B4
, 0, 0, 0},
38368 { SWIG_PY_INT
, (char *)"PAPER_JAPANESE_POSTCARD", (long) wxPAPER_JAPANESE_POSTCARD
, 0, 0, 0},
38369 { SWIG_PY_INT
, (char *)"PAPER_9X11", (long) wxPAPER_9X11
, 0, 0, 0},
38370 { SWIG_PY_INT
, (char *)"PAPER_10X11", (long) wxPAPER_10X11
, 0, 0, 0},
38371 { SWIG_PY_INT
, (char *)"PAPER_15X11", (long) wxPAPER_15X11
, 0, 0, 0},
38372 { SWIG_PY_INT
, (char *)"PAPER_ENV_INVITE", (long) wxPAPER_ENV_INVITE
, 0, 0, 0},
38373 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA", (long) wxPAPER_LETTER_EXTRA
, 0, 0, 0},
38374 { SWIG_PY_INT
, (char *)"PAPER_LEGAL_EXTRA", (long) wxPAPER_LEGAL_EXTRA
, 0, 0, 0},
38375 { SWIG_PY_INT
, (char *)"PAPER_TABLOID_EXTRA", (long) wxPAPER_TABLOID_EXTRA
, 0, 0, 0},
38376 { SWIG_PY_INT
, (char *)"PAPER_A4_EXTRA", (long) wxPAPER_A4_EXTRA
, 0, 0, 0},
38377 { SWIG_PY_INT
, (char *)"PAPER_LETTER_TRANSVERSE", (long) wxPAPER_LETTER_TRANSVERSE
, 0, 0, 0},
38378 { SWIG_PY_INT
, (char *)"PAPER_A4_TRANSVERSE", (long) wxPAPER_A4_TRANSVERSE
, 0, 0, 0},
38379 { SWIG_PY_INT
, (char *)"PAPER_LETTER_EXTRA_TRANSVERSE", (long) wxPAPER_LETTER_EXTRA_TRANSVERSE
, 0, 0, 0},
38380 { SWIG_PY_INT
, (char *)"PAPER_A_PLUS", (long) wxPAPER_A_PLUS
, 0, 0, 0},
38381 { SWIG_PY_INT
, (char *)"PAPER_B_PLUS", (long) wxPAPER_B_PLUS
, 0, 0, 0},
38382 { SWIG_PY_INT
, (char *)"PAPER_LETTER_PLUS", (long) wxPAPER_LETTER_PLUS
, 0, 0, 0},
38383 { SWIG_PY_INT
, (char *)"PAPER_A4_PLUS", (long) wxPAPER_A4_PLUS
, 0, 0, 0},
38384 { SWIG_PY_INT
, (char *)"PAPER_A5_TRANSVERSE", (long) wxPAPER_A5_TRANSVERSE
, 0, 0, 0},
38385 { SWIG_PY_INT
, (char *)"PAPER_B5_TRANSVERSE", (long) wxPAPER_B5_TRANSVERSE
, 0, 0, 0},
38386 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA", (long) wxPAPER_A3_EXTRA
, 0, 0, 0},
38387 { SWIG_PY_INT
, (char *)"PAPER_A5_EXTRA", (long) wxPAPER_A5_EXTRA
, 0, 0, 0},
38388 { SWIG_PY_INT
, (char *)"PAPER_B5_EXTRA", (long) wxPAPER_B5_EXTRA
, 0, 0, 0},
38389 { SWIG_PY_INT
, (char *)"PAPER_A2", (long) wxPAPER_A2
, 0, 0, 0},
38390 { SWIG_PY_INT
, (char *)"PAPER_A3_TRANSVERSE", (long) wxPAPER_A3_TRANSVERSE
, 0, 0, 0},
38391 { SWIG_PY_INT
, (char *)"PAPER_A3_EXTRA_TRANSVERSE", (long) wxPAPER_A3_EXTRA_TRANSVERSE
, 0, 0, 0},
38392 { SWIG_PY_INT
, (char *)"DUPLEX_SIMPLEX", (long) wxDUPLEX_SIMPLEX
, 0, 0, 0},
38393 { SWIG_PY_INT
, (char *)"DUPLEX_HORIZONTAL", (long) wxDUPLEX_HORIZONTAL
, 0, 0, 0},
38394 { SWIG_PY_INT
, (char *)"DUPLEX_VERTICAL", (long) wxDUPLEX_VERTICAL
, 0, 0, 0},
38395 { SWIG_PY_INT
, (char *)"ITEM_SEPARATOR", (long) wxITEM_SEPARATOR
, 0, 0, 0},
38396 { SWIG_PY_INT
, (char *)"ITEM_NORMAL", (long) wxITEM_NORMAL
, 0, 0, 0},
38397 { SWIG_PY_INT
, (char *)"ITEM_CHECK", (long) wxITEM_CHECK
, 0, 0, 0},
38398 { SWIG_PY_INT
, (char *)"ITEM_RADIO", (long) wxITEM_RADIO
, 0, 0, 0},
38399 { SWIG_PY_INT
, (char *)"ITEM_MAX", (long) wxITEM_MAX
, 0, 0, 0},
38400 { SWIG_PY_INT
, (char *)"HT_NOWHERE", (long) wxHT_NOWHERE
, 0, 0, 0},
38401 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_FIRST", (long) wxHT_SCROLLBAR_FIRST
, 0, 0, 0},
38402 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_1", (long) wxHT_SCROLLBAR_ARROW_LINE_1
, 0, 0, 0},
38403 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_LINE_2", (long) wxHT_SCROLLBAR_ARROW_LINE_2
, 0, 0, 0},
38404 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_1", (long) wxHT_SCROLLBAR_ARROW_PAGE_1
, 0, 0, 0},
38405 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_ARROW_PAGE_2", (long) wxHT_SCROLLBAR_ARROW_PAGE_2
, 0, 0, 0},
38406 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_THUMB", (long) wxHT_SCROLLBAR_THUMB
, 0, 0, 0},
38407 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_1", (long) wxHT_SCROLLBAR_BAR_1
, 0, 0, 0},
38408 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_BAR_2", (long) wxHT_SCROLLBAR_BAR_2
, 0, 0, 0},
38409 { SWIG_PY_INT
, (char *)"HT_SCROLLBAR_LAST", (long) wxHT_SCROLLBAR_LAST
, 0, 0, 0},
38410 { SWIG_PY_INT
, (char *)"HT_WINDOW_OUTSIDE", (long) wxHT_WINDOW_OUTSIDE
, 0, 0, 0},
38411 { SWIG_PY_INT
, (char *)"HT_WINDOW_INSIDE", (long) wxHT_WINDOW_INSIDE
, 0, 0, 0},
38412 { SWIG_PY_INT
, (char *)"HT_WINDOW_VERT_SCROLLBAR", (long) wxHT_WINDOW_VERT_SCROLLBAR
, 0, 0, 0},
38413 { SWIG_PY_INT
, (char *)"HT_WINDOW_HORZ_SCROLLBAR", (long) wxHT_WINDOW_HORZ_SCROLLBAR
, 0, 0, 0},
38414 { SWIG_PY_INT
, (char *)"HT_WINDOW_CORNER", (long) wxHT_WINDOW_CORNER
, 0, 0, 0},
38415 { SWIG_PY_INT
, (char *)"HT_MAX", (long) wxHT_MAX
, 0, 0, 0},
38416 { SWIG_PY_INT
, (char *)"MOD_NONE", (long) wxMOD_NONE
, 0, 0, 0},
38417 { SWIG_PY_INT
, (char *)"MOD_ALT", (long) wxMOD_ALT
, 0, 0, 0},
38418 { SWIG_PY_INT
, (char *)"MOD_CONTROL", (long) wxMOD_CONTROL
, 0, 0, 0},
38419 { SWIG_PY_INT
, (char *)"MOD_SHIFT", (long) wxMOD_SHIFT
, 0, 0, 0},
38420 { SWIG_PY_INT
, (char *)"MOD_WIN", (long) wxMOD_WIN
, 0, 0, 0},
38421 { SWIG_PY_INT
, (char *)"UPDATE_UI_NONE", (long) wxUPDATE_UI_NONE
, 0, 0, 0},
38422 { SWIG_PY_INT
, (char *)"UPDATE_UI_RECURSE", (long) wxUPDATE_UI_RECURSE
, 0, 0, 0},
38423 { SWIG_PY_INT
, (char *)"UPDATE_UI_FROMIDLE", (long) wxUPDATE_UI_FROMIDLE
, 0, 0, 0},
38424 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_INVALID", (long) wxBITMAP_TYPE_INVALID
, 0, 0, 0},
38425 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP", (long) wxBITMAP_TYPE_BMP
, 0, 0, 0},
38426 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_BMP_RESOURCE", (long) wxBITMAP_TYPE_BMP_RESOURCE
, 0, 0, 0},
38427 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_RESOURCE", (long) wxBITMAP_TYPE_RESOURCE
, 0, 0, 0},
38428 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO", (long) wxBITMAP_TYPE_ICO
, 0, 0, 0},
38429 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICO_RESOURCE", (long) wxBITMAP_TYPE_ICO_RESOURCE
, 0, 0, 0},
38430 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR", (long) wxBITMAP_TYPE_CUR
, 0, 0, 0},
38431 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_CUR_RESOURCE", (long) wxBITMAP_TYPE_CUR_RESOURCE
, 0, 0, 0},
38432 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM", (long) wxBITMAP_TYPE_XBM
, 0, 0, 0},
38433 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XBM_DATA", (long) wxBITMAP_TYPE_XBM_DATA
, 0, 0, 0},
38434 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM", (long) wxBITMAP_TYPE_XPM
, 0, 0, 0},
38435 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_XPM_DATA", (long) wxBITMAP_TYPE_XPM_DATA
, 0, 0, 0},
38436 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF", (long) wxBITMAP_TYPE_TIF
, 0, 0, 0},
38437 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_TIF_RESOURCE", (long) wxBITMAP_TYPE_TIF_RESOURCE
, 0, 0, 0},
38438 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF", (long) wxBITMAP_TYPE_GIF
, 0, 0, 0},
38439 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_GIF_RESOURCE", (long) wxBITMAP_TYPE_GIF_RESOURCE
, 0, 0, 0},
38440 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG", (long) wxBITMAP_TYPE_PNG
, 0, 0, 0},
38441 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNG_RESOURCE", (long) wxBITMAP_TYPE_PNG_RESOURCE
, 0, 0, 0},
38442 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG", (long) wxBITMAP_TYPE_JPEG
, 0, 0, 0},
38443 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_JPEG_RESOURCE", (long) wxBITMAP_TYPE_JPEG_RESOURCE
, 0, 0, 0},
38444 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM", (long) wxBITMAP_TYPE_PNM
, 0, 0, 0},
38445 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PNM_RESOURCE", (long) wxBITMAP_TYPE_PNM_RESOURCE
, 0, 0, 0},
38446 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX", (long) wxBITMAP_TYPE_PCX
, 0, 0, 0},
38447 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PCX_RESOURCE", (long) wxBITMAP_TYPE_PCX_RESOURCE
, 0, 0, 0},
38448 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT", (long) wxBITMAP_TYPE_PICT
, 0, 0, 0},
38449 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_PICT_RESOURCE", (long) wxBITMAP_TYPE_PICT_RESOURCE
, 0, 0, 0},
38450 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON", (long) wxBITMAP_TYPE_ICON
, 0, 0, 0},
38451 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ICON_RESOURCE", (long) wxBITMAP_TYPE_ICON_RESOURCE
, 0, 0, 0},
38452 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANI", (long) wxBITMAP_TYPE_ANI
, 0, 0, 0},
38453 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_IFF", (long) wxBITMAP_TYPE_IFF
, 0, 0, 0},
38454 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR", (long) wxBITMAP_TYPE_MACCURSOR
, 0, 0, 0},
38455 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_MACCURSOR_RESOURCE", (long) wxBITMAP_TYPE_MACCURSOR_RESOURCE
, 0, 0, 0},
38456 { SWIG_PY_INT
, (char *)"BITMAP_TYPE_ANY", (long) wxBITMAP_TYPE_ANY
, 0, 0, 0},
38457 { SWIG_PY_INT
, (char *)"CURSOR_NONE", (long) wxCURSOR_NONE
, 0, 0, 0},
38458 { SWIG_PY_INT
, (char *)"CURSOR_ARROW", (long) wxCURSOR_ARROW
, 0, 0, 0},
38459 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_ARROW", (long) wxCURSOR_RIGHT_ARROW
, 0, 0, 0},
38460 { SWIG_PY_INT
, (char *)"CURSOR_BULLSEYE", (long) wxCURSOR_BULLSEYE
, 0, 0, 0},
38461 { SWIG_PY_INT
, (char *)"CURSOR_CHAR", (long) wxCURSOR_CHAR
, 0, 0, 0},
38462 { SWIG_PY_INT
, (char *)"CURSOR_CROSS", (long) wxCURSOR_CROSS
, 0, 0, 0},
38463 { SWIG_PY_INT
, (char *)"CURSOR_HAND", (long) wxCURSOR_HAND
, 0, 0, 0},
38464 { SWIG_PY_INT
, (char *)"CURSOR_IBEAM", (long) wxCURSOR_IBEAM
, 0, 0, 0},
38465 { SWIG_PY_INT
, (char *)"CURSOR_LEFT_BUTTON", (long) wxCURSOR_LEFT_BUTTON
, 0, 0, 0},
38466 { SWIG_PY_INT
, (char *)"CURSOR_MAGNIFIER", (long) wxCURSOR_MAGNIFIER
, 0, 0, 0},
38467 { SWIG_PY_INT
, (char *)"CURSOR_MIDDLE_BUTTON", (long) wxCURSOR_MIDDLE_BUTTON
, 0, 0, 0},
38468 { SWIG_PY_INT
, (char *)"CURSOR_NO_ENTRY", (long) wxCURSOR_NO_ENTRY
, 0, 0, 0},
38469 { SWIG_PY_INT
, (char *)"CURSOR_PAINT_BRUSH", (long) wxCURSOR_PAINT_BRUSH
, 0, 0, 0},
38470 { SWIG_PY_INT
, (char *)"CURSOR_PENCIL", (long) wxCURSOR_PENCIL
, 0, 0, 0},
38471 { SWIG_PY_INT
, (char *)"CURSOR_POINT_LEFT", (long) wxCURSOR_POINT_LEFT
, 0, 0, 0},
38472 { SWIG_PY_INT
, (char *)"CURSOR_POINT_RIGHT", (long) wxCURSOR_POINT_RIGHT
, 0, 0, 0},
38473 { SWIG_PY_INT
, (char *)"CURSOR_QUESTION_ARROW", (long) wxCURSOR_QUESTION_ARROW
, 0, 0, 0},
38474 { SWIG_PY_INT
, (char *)"CURSOR_RIGHT_BUTTON", (long) wxCURSOR_RIGHT_BUTTON
, 0, 0, 0},
38475 { SWIG_PY_INT
, (char *)"CURSOR_SIZENESW", (long) wxCURSOR_SIZENESW
, 0, 0, 0},
38476 { SWIG_PY_INT
, (char *)"CURSOR_SIZENS", (long) wxCURSOR_SIZENS
, 0, 0, 0},
38477 { SWIG_PY_INT
, (char *)"CURSOR_SIZENWSE", (long) wxCURSOR_SIZENWSE
, 0, 0, 0},
38478 { SWIG_PY_INT
, (char *)"CURSOR_SIZEWE", (long) wxCURSOR_SIZEWE
, 0, 0, 0},
38479 { SWIG_PY_INT
, (char *)"CURSOR_SIZING", (long) wxCURSOR_SIZING
, 0, 0, 0},
38480 { SWIG_PY_INT
, (char *)"CURSOR_SPRAYCAN", (long) wxCURSOR_SPRAYCAN
, 0, 0, 0},
38481 { SWIG_PY_INT
, (char *)"CURSOR_WAIT", (long) wxCURSOR_WAIT
, 0, 0, 0},
38482 { SWIG_PY_INT
, (char *)"CURSOR_WATCH", (long) wxCURSOR_WATCH
, 0, 0, 0},
38483 { SWIG_PY_INT
, (char *)"CURSOR_BLANK", (long) wxCURSOR_BLANK
, 0, 0, 0},
38484 { SWIG_PY_INT
, (char *)"CURSOR_DEFAULT", (long) wxCURSOR_DEFAULT
, 0, 0, 0},
38485 { SWIG_PY_INT
, (char *)"CURSOR_COPY_ARROW", (long) wxCURSOR_COPY_ARROW
, 0, 0, 0},
38486 { SWIG_PY_INT
, (char *)"CURSOR_ARROWWAIT", (long) wxCURSOR_ARROWWAIT
, 0, 0, 0},
38487 { SWIG_PY_INT
, (char *)"CURSOR_MAX", (long) wxCURSOR_MAX
, 0, 0, 0},
38488 { SWIG_PY_INT
, (char *)"FromStart", (long) wxFromStart
, 0, 0, 0},
38489 { SWIG_PY_INT
, (char *)"FromCurrent", (long) wxFromCurrent
, 0, 0, 0},
38490 { SWIG_PY_INT
, (char *)"FromEnd", (long) wxFromEnd
, 0, 0, 0},
38491 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_INCHES", (long) wxIMAGE_RESOLUTION_INCHES
, 0, 0, 0},
38492 { SWIG_PY_INT
, (char *)"IMAGE_RESOLUTION_CM", (long) wxIMAGE_RESOLUTION_CM
, 0, 0, 0},
38493 { SWIG_PY_INT
, (char *)"BMP_24BPP", (long) wxBMP_24BPP
, 0, 0, 0},
38494 { SWIG_PY_INT
, (char *)"BMP_8BPP", (long) wxBMP_8BPP
, 0, 0, 0},
38495 { SWIG_PY_INT
, (char *)"BMP_8BPP_GREY", (long) wxBMP_8BPP_GREY
, 0, 0, 0},
38496 { SWIG_PY_INT
, (char *)"BMP_8BPP_GRAY", (long) wxBMP_8BPP_GRAY
, 0, 0, 0},
38497 { SWIG_PY_INT
, (char *)"BMP_8BPP_RED", (long) wxBMP_8BPP_RED
, 0, 0, 0},
38498 { SWIG_PY_INT
, (char *)"BMP_8BPP_PALETTE", (long) wxBMP_8BPP_PALETTE
, 0, 0, 0},
38499 { SWIG_PY_INT
, (char *)"BMP_4BPP", (long) wxBMP_4BPP
, 0, 0, 0},
38500 { SWIG_PY_INT
, (char *)"BMP_1BPP", (long) wxBMP_1BPP
, 0, 0, 0},
38501 { SWIG_PY_INT
, (char *)"BMP_1BPP_BW", (long) wxBMP_1BPP_BW
, 0, 0, 0},
38502 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_NONE", (long) wxEVENT_PROPAGATE_NONE
, 0, 0, 0},
38503 { SWIG_PY_INT
, (char *)"EVENT_PROPAGATE_MAX", (long) wxEVENT_PROPAGATE_MAX
, 0, 0, 0},
38504 { SWIG_PY_INT
, (char *)"wxEVT_NULL", (long) wxEVT_NULL
, 0, 0, 0},
38505 { SWIG_PY_INT
, (char *)"wxEVT_FIRST", (long) wxEVT_FIRST
, 0, 0, 0},
38506 { SWIG_PY_INT
, (char *)"wxEVT_USER_FIRST", (long) wxEVT_USER_FIRST
, 0, 0, 0},
38507 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_BUTTON_CLICKED", (long) wxEVT_COMMAND_BUTTON_CLICKED
, 0, 0, 0},
38508 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKBOX_CLICKED", (long) wxEVT_COMMAND_CHECKBOX_CLICKED
, 0, 0, 0},
38509 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHOICE_SELECTED", (long) wxEVT_COMMAND_CHOICE_SELECTED
, 0, 0, 0},
38510 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_SELECTED", (long) wxEVT_COMMAND_LISTBOX_SELECTED
, 0, 0, 0},
38511 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", (long) wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
, 0, 0, 0},
38512 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", (long) wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
, 0, 0, 0},
38513 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_MENU_SELECTED", (long) wxEVT_COMMAND_MENU_SELECTED
, 0, 0, 0},
38514 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_CLICKED", (long) wxEVT_COMMAND_TOOL_CLICKED
, 0, 0, 0},
38515 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SLIDER_UPDATED", (long) wxEVT_COMMAND_SLIDER_UPDATED
, 0, 0, 0},
38516 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBOX_SELECTED", (long) wxEVT_COMMAND_RADIOBOX_SELECTED
, 0, 0, 0},
38517 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RADIOBUTTON_SELECTED", (long) wxEVT_COMMAND_RADIOBUTTON_SELECTED
, 0, 0, 0},
38518 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SCROLLBAR_UPDATED", (long) wxEVT_COMMAND_SCROLLBAR_UPDATED
, 0, 0, 0},
38519 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_VLBOX_SELECTED", (long) wxEVT_COMMAND_VLBOX_SELECTED
, 0, 0, 0},
38520 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_COMBOBOX_SELECTED", (long) wxEVT_COMMAND_COMBOBOX_SELECTED
, 0, 0, 0},
38521 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_RCLICKED", (long) wxEVT_COMMAND_TOOL_RCLICKED
, 0, 0, 0},
38522 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_TOOL_ENTER", (long) wxEVT_COMMAND_TOOL_ENTER
, 0, 0, 0},
38523 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DOWN", (long) wxEVT_LEFT_DOWN
, 0, 0, 0},
38524 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_UP", (long) wxEVT_LEFT_UP
, 0, 0, 0},
38525 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DOWN", (long) wxEVT_MIDDLE_DOWN
, 0, 0, 0},
38526 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_UP", (long) wxEVT_MIDDLE_UP
, 0, 0, 0},
38527 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DOWN", (long) wxEVT_RIGHT_DOWN
, 0, 0, 0},
38528 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_UP", (long) wxEVT_RIGHT_UP
, 0, 0, 0},
38529 { SWIG_PY_INT
, (char *)"wxEVT_MOTION", (long) wxEVT_MOTION
, 0, 0, 0},
38530 { SWIG_PY_INT
, (char *)"wxEVT_ENTER_WINDOW", (long) wxEVT_ENTER_WINDOW
, 0, 0, 0},
38531 { SWIG_PY_INT
, (char *)"wxEVT_LEAVE_WINDOW", (long) wxEVT_LEAVE_WINDOW
, 0, 0, 0},
38532 { SWIG_PY_INT
, (char *)"wxEVT_LEFT_DCLICK", (long) wxEVT_LEFT_DCLICK
, 0, 0, 0},
38533 { SWIG_PY_INT
, (char *)"wxEVT_MIDDLE_DCLICK", (long) wxEVT_MIDDLE_DCLICK
, 0, 0, 0},
38534 { SWIG_PY_INT
, (char *)"wxEVT_RIGHT_DCLICK", (long) wxEVT_RIGHT_DCLICK
, 0, 0, 0},
38535 { SWIG_PY_INT
, (char *)"wxEVT_SET_FOCUS", (long) wxEVT_SET_FOCUS
, 0, 0, 0},
38536 { SWIG_PY_INT
, (char *)"wxEVT_KILL_FOCUS", (long) wxEVT_KILL_FOCUS
, 0, 0, 0},
38537 { SWIG_PY_INT
, (char *)"wxEVT_CHILD_FOCUS", (long) wxEVT_CHILD_FOCUS
, 0, 0, 0},
38538 { SWIG_PY_INT
, (char *)"wxEVT_MOUSEWHEEL", (long) wxEVT_MOUSEWHEEL
, 0, 0, 0},
38539 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DOWN", (long) wxEVT_NC_LEFT_DOWN
, 0, 0, 0},
38540 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_UP", (long) wxEVT_NC_LEFT_UP
, 0, 0, 0},
38541 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DOWN", (long) wxEVT_NC_MIDDLE_DOWN
, 0, 0, 0},
38542 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_UP", (long) wxEVT_NC_MIDDLE_UP
, 0, 0, 0},
38543 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DOWN", (long) wxEVT_NC_RIGHT_DOWN
, 0, 0, 0},
38544 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_UP", (long) wxEVT_NC_RIGHT_UP
, 0, 0, 0},
38545 { SWIG_PY_INT
, (char *)"wxEVT_NC_MOTION", (long) wxEVT_NC_MOTION
, 0, 0, 0},
38546 { SWIG_PY_INT
, (char *)"wxEVT_NC_ENTER_WINDOW", (long) wxEVT_NC_ENTER_WINDOW
, 0, 0, 0},
38547 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEAVE_WINDOW", (long) wxEVT_NC_LEAVE_WINDOW
, 0, 0, 0},
38548 { SWIG_PY_INT
, (char *)"wxEVT_NC_LEFT_DCLICK", (long) wxEVT_NC_LEFT_DCLICK
, 0, 0, 0},
38549 { SWIG_PY_INT
, (char *)"wxEVT_NC_MIDDLE_DCLICK", (long) wxEVT_NC_MIDDLE_DCLICK
, 0, 0, 0},
38550 { SWIG_PY_INT
, (char *)"wxEVT_NC_RIGHT_DCLICK", (long) wxEVT_NC_RIGHT_DCLICK
, 0, 0, 0},
38551 { SWIG_PY_INT
, (char *)"wxEVT_CHAR", (long) wxEVT_CHAR
, 0, 0, 0},
38552 { SWIG_PY_INT
, (char *)"wxEVT_CHAR_HOOK", (long) wxEVT_CHAR_HOOK
, 0, 0, 0},
38553 { SWIG_PY_INT
, (char *)"wxEVT_NAVIGATION_KEY", (long) wxEVT_NAVIGATION_KEY
, 0, 0, 0},
38554 { SWIG_PY_INT
, (char *)"wxEVT_KEY_DOWN", (long) wxEVT_KEY_DOWN
, 0, 0, 0},
38555 { SWIG_PY_INT
, (char *)"wxEVT_KEY_UP", (long) wxEVT_KEY_UP
, 0, 0, 0},
38556 { SWIG_PY_INT
, (char *)"wxEVT_HOTKEY", (long) wxEVT_HOTKEY
, 0, 0, 0},
38557 { SWIG_PY_INT
, (char *)"wxEVT_SET_CURSOR", (long) wxEVT_SET_CURSOR
, 0, 0, 0},
38558 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_TOP", (long) wxEVT_SCROLL_TOP
, 0, 0, 0},
38559 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_BOTTOM", (long) wxEVT_SCROLL_BOTTOM
, 0, 0, 0},
38560 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEUP", (long) wxEVT_SCROLL_LINEUP
, 0, 0, 0},
38561 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_LINEDOWN", (long) wxEVT_SCROLL_LINEDOWN
, 0, 0, 0},
38562 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEUP", (long) wxEVT_SCROLL_PAGEUP
, 0, 0, 0},
38563 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_PAGEDOWN", (long) wxEVT_SCROLL_PAGEDOWN
, 0, 0, 0},
38564 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBTRACK", (long) wxEVT_SCROLL_THUMBTRACK
, 0, 0, 0},
38565 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_THUMBRELEASE", (long) wxEVT_SCROLL_THUMBRELEASE
, 0, 0, 0},
38566 { SWIG_PY_INT
, (char *)"wxEVT_SCROLL_ENDSCROLL", (long) wxEVT_SCROLL_ENDSCROLL
, 0, 0, 0},
38567 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_TOP", (long) wxEVT_SCROLLWIN_TOP
, 0, 0, 0},
38568 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_BOTTOM", (long) wxEVT_SCROLLWIN_BOTTOM
, 0, 0, 0},
38569 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEUP", (long) wxEVT_SCROLLWIN_LINEUP
, 0, 0, 0},
38570 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_LINEDOWN", (long) wxEVT_SCROLLWIN_LINEDOWN
, 0, 0, 0},
38571 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEUP", (long) wxEVT_SCROLLWIN_PAGEUP
, 0, 0, 0},
38572 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_PAGEDOWN", (long) wxEVT_SCROLLWIN_PAGEDOWN
, 0, 0, 0},
38573 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBTRACK", (long) wxEVT_SCROLLWIN_THUMBTRACK
, 0, 0, 0},
38574 { SWIG_PY_INT
, (char *)"wxEVT_SCROLLWIN_THUMBRELEASE", (long) wxEVT_SCROLLWIN_THUMBRELEASE
, 0, 0, 0},
38575 { SWIG_PY_INT
, (char *)"wxEVT_SIZE", (long) wxEVT_SIZE
, 0, 0, 0},
38576 { SWIG_PY_INT
, (char *)"wxEVT_MOVE", (long) wxEVT_MOVE
, 0, 0, 0},
38577 { SWIG_PY_INT
, (char *)"wxEVT_CLOSE_WINDOW", (long) wxEVT_CLOSE_WINDOW
, 0, 0, 0},
38578 { SWIG_PY_INT
, (char *)"wxEVT_END_SESSION", (long) wxEVT_END_SESSION
, 0, 0, 0},
38579 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_END_SESSION", (long) wxEVT_QUERY_END_SESSION
, 0, 0, 0},
38580 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE_APP", (long) wxEVT_ACTIVATE_APP
, 0, 0, 0},
38581 { SWIG_PY_INT
, (char *)"wxEVT_POWER", (long) wxEVT_POWER
, 0, 0, 0},
38582 { SWIG_PY_INT
, (char *)"wxEVT_ACTIVATE", (long) wxEVT_ACTIVATE
, 0, 0, 0},
38583 { SWIG_PY_INT
, (char *)"wxEVT_CREATE", (long) wxEVT_CREATE
, 0, 0, 0},
38584 { SWIG_PY_INT
, (char *)"wxEVT_DESTROY", (long) wxEVT_DESTROY
, 0, 0, 0},
38585 { SWIG_PY_INT
, (char *)"wxEVT_SHOW", (long) wxEVT_SHOW
, 0, 0, 0},
38586 { SWIG_PY_INT
, (char *)"wxEVT_ICONIZE", (long) wxEVT_ICONIZE
, 0, 0, 0},
38587 { SWIG_PY_INT
, (char *)"wxEVT_MAXIMIZE", (long) wxEVT_MAXIMIZE
, 0, 0, 0},
38588 { SWIG_PY_INT
, (char *)"wxEVT_MOUSE_CAPTURE_CHANGED", (long) wxEVT_MOUSE_CAPTURE_CHANGED
, 0, 0, 0},
38589 { SWIG_PY_INT
, (char *)"wxEVT_PAINT", (long) wxEVT_PAINT
, 0, 0, 0},
38590 { SWIG_PY_INT
, (char *)"wxEVT_ERASE_BACKGROUND", (long) wxEVT_ERASE_BACKGROUND
, 0, 0, 0},
38591 { SWIG_PY_INT
, (char *)"wxEVT_NC_PAINT", (long) wxEVT_NC_PAINT
, 0, 0, 0},
38592 { SWIG_PY_INT
, (char *)"wxEVT_PAINT_ICON", (long) wxEVT_PAINT_ICON
, 0, 0, 0},
38593 { SWIG_PY_INT
, (char *)"wxEVT_MENU_OPEN", (long) wxEVT_MENU_OPEN
, 0, 0, 0},
38594 { SWIG_PY_INT
, (char *)"wxEVT_MENU_CLOSE", (long) wxEVT_MENU_CLOSE
, 0, 0, 0},
38595 { SWIG_PY_INT
, (char *)"wxEVT_MENU_HIGHLIGHT", (long) wxEVT_MENU_HIGHLIGHT
, 0, 0, 0},
38596 { SWIG_PY_INT
, (char *)"wxEVT_CONTEXT_MENU", (long) wxEVT_CONTEXT_MENU
, 0, 0, 0},
38597 { SWIG_PY_INT
, (char *)"wxEVT_SYS_COLOUR_CHANGED", (long) wxEVT_SYS_COLOUR_CHANGED
, 0, 0, 0},
38598 { SWIG_PY_INT
, (char *)"wxEVT_DISPLAY_CHANGED", (long) wxEVT_DISPLAY_CHANGED
, 0, 0, 0},
38599 { SWIG_PY_INT
, (char *)"wxEVT_SETTING_CHANGED", (long) wxEVT_SETTING_CHANGED
, 0, 0, 0},
38600 { SWIG_PY_INT
, (char *)"wxEVT_QUERY_NEW_PALETTE", (long) wxEVT_QUERY_NEW_PALETTE
, 0, 0, 0},
38601 { SWIG_PY_INT
, (char *)"wxEVT_PALETTE_CHANGED", (long) wxEVT_PALETTE_CHANGED
, 0, 0, 0},
38602 { SWIG_PY_INT
, (char *)"wxEVT_DROP_FILES", (long) wxEVT_DROP_FILES
, 0, 0, 0},
38603 { SWIG_PY_INT
, (char *)"wxEVT_DRAW_ITEM", (long) wxEVT_DRAW_ITEM
, 0, 0, 0},
38604 { SWIG_PY_INT
, (char *)"wxEVT_MEASURE_ITEM", (long) wxEVT_MEASURE_ITEM
, 0, 0, 0},
38605 { SWIG_PY_INT
, (char *)"wxEVT_COMPARE_ITEM", (long) wxEVT_COMPARE_ITEM
, 0, 0, 0},
38606 { SWIG_PY_INT
, (char *)"wxEVT_INIT_DIALOG", (long) wxEVT_INIT_DIALOG
, 0, 0, 0},
38607 { SWIG_PY_INT
, (char *)"wxEVT_IDLE", (long) wxEVT_IDLE
, 0, 0, 0},
38608 { SWIG_PY_INT
, (char *)"wxEVT_UPDATE_UI", (long) wxEVT_UPDATE_UI
, 0, 0, 0},
38609 { SWIG_PY_INT
, (char *)"wxEVT_SIZING", (long) wxEVT_SIZING
, 0, 0, 0},
38610 { SWIG_PY_INT
, (char *)"wxEVT_MOVING", (long) wxEVT_MOVING
, 0, 0, 0},
38611 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_CLICK", (long) wxEVT_COMMAND_LEFT_CLICK
, 0, 0, 0},
38612 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_LEFT_DCLICK", (long) wxEVT_COMMAND_LEFT_DCLICK
, 0, 0, 0},
38613 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_CLICK", (long) wxEVT_COMMAND_RIGHT_CLICK
, 0, 0, 0},
38614 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_RIGHT_DCLICK", (long) wxEVT_COMMAND_RIGHT_DCLICK
, 0, 0, 0},
38615 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_SET_FOCUS", (long) wxEVT_COMMAND_SET_FOCUS
, 0, 0, 0},
38616 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_KILL_FOCUS", (long) wxEVT_COMMAND_KILL_FOCUS
, 0, 0, 0},
38617 { SWIG_PY_INT
, (char *)"wxEVT_COMMAND_ENTER", (long) wxEVT_COMMAND_ENTER
, 0, 0, 0},
38618 { SWIG_PY_INT
, (char *)"MOUSE_BTN_ANY", (long) wxMOUSE_BTN_ANY
, 0, 0, 0},
38619 { SWIG_PY_INT
, (char *)"MOUSE_BTN_NONE", (long) wxMOUSE_BTN_NONE
, 0, 0, 0},
38620 { SWIG_PY_INT
, (char *)"MOUSE_BTN_LEFT", (long) wxMOUSE_BTN_LEFT
, 0, 0, 0},
38621 { SWIG_PY_INT
, (char *)"MOUSE_BTN_MIDDLE", (long) wxMOUSE_BTN_MIDDLE
, 0, 0, 0},
38622 { SWIG_PY_INT
, (char *)"MOUSE_BTN_RIGHT", (long) wxMOUSE_BTN_RIGHT
, 0, 0, 0},
38623 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_ALL", (long) wxUPDATE_UI_PROCESS_ALL
, 0, 0, 0},
38624 { SWIG_PY_INT
, (char *)"UPDATE_UI_PROCESS_SPECIFIED", (long) wxUPDATE_UI_PROCESS_SPECIFIED
, 0, 0, 0},
38625 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_ALL", (long) wxIDLE_PROCESS_ALL
, 0, 0, 0},
38626 { SWIG_PY_INT
, (char *)"IDLE_PROCESS_SPECIFIED", (long) wxIDLE_PROCESS_SPECIFIED
, 0, 0, 0},
38627 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_SUPPRESS", (long) wxPYAPP_ASSERT_SUPPRESS
, 0, 0, 0},
38628 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_EXCEPTION", (long) wxPYAPP_ASSERT_EXCEPTION
, 0, 0, 0},
38629 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_DIALOG", (long) wxPYAPP_ASSERT_DIALOG
, 0, 0, 0},
38630 { SWIG_PY_INT
, (char *)"PYAPP_ASSERT_LOG", (long) wxPYAPP_ASSERT_LOG
, 0, 0, 0},
38631 { SWIG_PY_INT
, (char *)"PRINT_WINDOWS", (long) wxPRINT_WINDOWS
, 0, 0, 0},
38632 { SWIG_PY_INT
, (char *)"PRINT_POSTSCRIPT", (long) wxPRINT_POSTSCRIPT
, 0, 0, 0},
38633 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_NONE", (long) wxFLEX_GROWMODE_NONE
, 0, 0, 0},
38634 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_SPECIFIED", (long) wxFLEX_GROWMODE_SPECIFIED
, 0, 0, 0},
38635 { SWIG_PY_INT
, (char *)"FLEX_GROWMODE_ALL", (long) wxFLEX_GROWMODE_ALL
, 0, 0, 0},
38636 { SWIG_PY_INT
, (char *)"Left", (long) wxLeft
, 0, 0, 0},
38637 { SWIG_PY_INT
, (char *)"Top", (long) wxTop
, 0, 0, 0},
38638 { SWIG_PY_INT
, (char *)"Right", (long) wxRight
, 0, 0, 0},
38639 { SWIG_PY_INT
, (char *)"Bottom", (long) wxBottom
, 0, 0, 0},
38640 { SWIG_PY_INT
, (char *)"Width", (long) wxWidth
, 0, 0, 0},
38641 { SWIG_PY_INT
, (char *)"Height", (long) wxHeight
, 0, 0, 0},
38642 { SWIG_PY_INT
, (char *)"Centre", (long) wxCentre
, 0, 0, 0},
38643 { SWIG_PY_INT
, (char *)"Center", (long) wxCenter
, 0, 0, 0},
38644 { SWIG_PY_INT
, (char *)"CentreX", (long) wxCentreX
, 0, 0, 0},
38645 { SWIG_PY_INT
, (char *)"CentreY", (long) wxCentreY
, 0, 0, 0},
38646 { SWIG_PY_INT
, (char *)"Unconstrained", (long) wxUnconstrained
, 0, 0, 0},
38647 { SWIG_PY_INT
, (char *)"AsIs", (long) wxAsIs
, 0, 0, 0},
38648 { SWIG_PY_INT
, (char *)"PercentOf", (long) wxPercentOf
, 0, 0, 0},
38649 { SWIG_PY_INT
, (char *)"Above", (long) wxAbove
, 0, 0, 0},
38650 { SWIG_PY_INT
, (char *)"Below", (long) wxBelow
, 0, 0, 0},
38651 { SWIG_PY_INT
, (char *)"LeftOf", (long) wxLeftOf
, 0, 0, 0},
38652 { SWIG_PY_INT
, (char *)"RightOf", (long) wxRightOf
, 0, 0, 0},
38653 { SWIG_PY_INT
, (char *)"SameAs", (long) wxSameAs
, 0, 0, 0},
38654 { SWIG_PY_INT
, (char *)"Absolute", (long) wxAbsolute
, 0, 0, 0},
38664 SWIGEXPORT(void) SWIG_init(void) {
38665 static PyObject
*SWIG_globals
= 0;
38666 static int typeinit
= 0;
38669 if (!SWIG_globals
) SWIG_globals
= SWIG_newvarlink();
38670 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
38671 d
= PyModule_GetDict(m
);
38674 for (i
= 0; swig_types_initial
[i
]; i
++) {
38675 swig_types
[i
] = SWIG_TypeRegister(swig_types_initial
[i
]);
38679 SWIG_InstallConstants(d
,swig_const_table
);
38682 #ifndef wxPyUSE_EXPORT
38683 // Make our API structure a CObject so other modules can import it
38684 // from this module.
38685 PyObject
* cobj
= PyCObject_FromVoidPtr(&API
, NULL
);
38686 PyDict_SetItemString(d
,"_wxPyCoreAPI", cobj
);
38690 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals
);
38691 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultPosition",_wrap_DefaultPosition_get
, _wrap_DefaultPosition_set
);
38692 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSize",_wrap_DefaultSize_get
, _wrap_DefaultSize_set
);
38694 wxPyPtrTypeMap_Add("wxInputStream", "wxPyInputStream");
38697 wxPyPtrTypeMap_Add("wxFileSystemHandler", "wxPyFileSystemHandler");
38699 SWIG_addvarlink(SWIG_globals
,(char*)"NullImage",_wrap_NullImage_get
, _wrap_NullImage_set
);
38700 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_BMP_FORMAT",_wrap_IMAGE_OPTION_BMP_FORMAT_get
, _wrap_IMAGE_OPTION_BMP_FORMAT_set
);
38701 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_X",_wrap_IMAGE_OPTION_CUR_HOTSPOT_X_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_X_set
);
38702 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_CUR_HOTSPOT_Y",_wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_get
, _wrap_IMAGE_OPTION_CUR_HOTSPOT_Y_set
);
38703 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTION",_wrap_IMAGE_OPTION_RESOLUTION_get
, _wrap_IMAGE_OPTION_RESOLUTION_set
);
38704 SWIG_addvarlink(SWIG_globals
,(char*)"IMAGE_OPTION_RESOLUTIONUNIT",_wrap_IMAGE_OPTION_RESOLUTIONUNIT_get
, _wrap_IMAGE_OPTION_RESOLUTIONUNIT_set
);
38705 PyDict_SetItemString(d
, "wxEVT_NULL", PyInt_FromLong(wxEVT_NULL
));
38706 PyDict_SetItemString(d
, "wxEVT_FIRST", PyInt_FromLong(wxEVT_FIRST
));
38707 PyDict_SetItemString(d
, "wxEVT_USER_FIRST", PyInt_FromLong(wxEVT_USER_FIRST
));
38708 PyDict_SetItemString(d
, "wxEVT_COMMAND_BUTTON_CLICKED", PyInt_FromLong(wxEVT_COMMAND_BUTTON_CLICKED
));
38709 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKBOX_CLICKED", PyInt_FromLong(wxEVT_COMMAND_CHECKBOX_CLICKED
));
38710 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHOICE_SELECTED", PyInt_FromLong(wxEVT_COMMAND_CHOICE_SELECTED
));
38711 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_SELECTED
));
38712 PyDict_SetItemString(d
, "wxEVT_COMMAND_LISTBOX_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_LISTBOX_DOUBLECLICKED
));
38713 PyDict_SetItemString(d
, "wxEVT_COMMAND_CHECKLISTBOX_TOGGLED", PyInt_FromLong(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED
));
38714 PyDict_SetItemString(d
, "wxEVT_COMMAND_MENU_SELECTED", PyInt_FromLong(wxEVT_COMMAND_MENU_SELECTED
));
38715 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_CLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_CLICKED
));
38716 PyDict_SetItemString(d
, "wxEVT_COMMAND_SLIDER_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SLIDER_UPDATED
));
38717 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBOX_SELECTED
));
38718 PyDict_SetItemString(d
, "wxEVT_COMMAND_RADIOBUTTON_SELECTED", PyInt_FromLong(wxEVT_COMMAND_RADIOBUTTON_SELECTED
));
38719 PyDict_SetItemString(d
, "wxEVT_COMMAND_SCROLLBAR_UPDATED", PyInt_FromLong(wxEVT_COMMAND_SCROLLBAR_UPDATED
));
38720 PyDict_SetItemString(d
, "wxEVT_COMMAND_VLBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_VLBOX_SELECTED
));
38721 PyDict_SetItemString(d
, "wxEVT_COMMAND_COMBOBOX_SELECTED", PyInt_FromLong(wxEVT_COMMAND_COMBOBOX_SELECTED
));
38722 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_RCLICKED", PyInt_FromLong(wxEVT_COMMAND_TOOL_RCLICKED
));
38723 PyDict_SetItemString(d
, "wxEVT_COMMAND_TOOL_ENTER", PyInt_FromLong(wxEVT_COMMAND_TOOL_ENTER
));
38724 PyDict_SetItemString(d
, "wxEVT_LEFT_DOWN", PyInt_FromLong(wxEVT_LEFT_DOWN
));
38725 PyDict_SetItemString(d
, "wxEVT_LEFT_UP", PyInt_FromLong(wxEVT_LEFT_UP
));
38726 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DOWN", PyInt_FromLong(wxEVT_MIDDLE_DOWN
));
38727 PyDict_SetItemString(d
, "wxEVT_MIDDLE_UP", PyInt_FromLong(wxEVT_MIDDLE_UP
));
38728 PyDict_SetItemString(d
, "wxEVT_RIGHT_DOWN", PyInt_FromLong(wxEVT_RIGHT_DOWN
));
38729 PyDict_SetItemString(d
, "wxEVT_RIGHT_UP", PyInt_FromLong(wxEVT_RIGHT_UP
));
38730 PyDict_SetItemString(d
, "wxEVT_MOTION", PyInt_FromLong(wxEVT_MOTION
));
38731 PyDict_SetItemString(d
, "wxEVT_ENTER_WINDOW", PyInt_FromLong(wxEVT_ENTER_WINDOW
));
38732 PyDict_SetItemString(d
, "wxEVT_LEAVE_WINDOW", PyInt_FromLong(wxEVT_LEAVE_WINDOW
));
38733 PyDict_SetItemString(d
, "wxEVT_LEFT_DCLICK", PyInt_FromLong(wxEVT_LEFT_DCLICK
));
38734 PyDict_SetItemString(d
, "wxEVT_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_MIDDLE_DCLICK
));
38735 PyDict_SetItemString(d
, "wxEVT_RIGHT_DCLICK", PyInt_FromLong(wxEVT_RIGHT_DCLICK
));
38736 PyDict_SetItemString(d
, "wxEVT_SET_FOCUS", PyInt_FromLong(wxEVT_SET_FOCUS
));
38737 PyDict_SetItemString(d
, "wxEVT_KILL_FOCUS", PyInt_FromLong(wxEVT_KILL_FOCUS
));
38738 PyDict_SetItemString(d
, "wxEVT_CHILD_FOCUS", PyInt_FromLong(wxEVT_CHILD_FOCUS
));
38739 PyDict_SetItemString(d
, "wxEVT_MOUSEWHEEL", PyInt_FromLong(wxEVT_MOUSEWHEEL
));
38740 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DOWN", PyInt_FromLong(wxEVT_NC_LEFT_DOWN
));
38741 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_UP", PyInt_FromLong(wxEVT_NC_LEFT_UP
));
38742 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DOWN", PyInt_FromLong(wxEVT_NC_MIDDLE_DOWN
));
38743 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_UP", PyInt_FromLong(wxEVT_NC_MIDDLE_UP
));
38744 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DOWN", PyInt_FromLong(wxEVT_NC_RIGHT_DOWN
));
38745 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_UP", PyInt_FromLong(wxEVT_NC_RIGHT_UP
));
38746 PyDict_SetItemString(d
, "wxEVT_NC_MOTION", PyInt_FromLong(wxEVT_NC_MOTION
));
38747 PyDict_SetItemString(d
, "wxEVT_NC_ENTER_WINDOW", PyInt_FromLong(wxEVT_NC_ENTER_WINDOW
));
38748 PyDict_SetItemString(d
, "wxEVT_NC_LEAVE_WINDOW", PyInt_FromLong(wxEVT_NC_LEAVE_WINDOW
));
38749 PyDict_SetItemString(d
, "wxEVT_NC_LEFT_DCLICK", PyInt_FromLong(wxEVT_NC_LEFT_DCLICK
));
38750 PyDict_SetItemString(d
, "wxEVT_NC_MIDDLE_DCLICK", PyInt_FromLong(wxEVT_NC_MIDDLE_DCLICK
));
38751 PyDict_SetItemString(d
, "wxEVT_NC_RIGHT_DCLICK", PyInt_FromLong(wxEVT_NC_RIGHT_DCLICK
));
38752 PyDict_SetItemString(d
, "wxEVT_CHAR", PyInt_FromLong(wxEVT_CHAR
));
38753 PyDict_SetItemString(d
, "wxEVT_CHAR_HOOK", PyInt_FromLong(wxEVT_CHAR_HOOK
));
38754 PyDict_SetItemString(d
, "wxEVT_NAVIGATION_KEY", PyInt_FromLong(wxEVT_NAVIGATION_KEY
));
38755 PyDict_SetItemString(d
, "wxEVT_KEY_DOWN", PyInt_FromLong(wxEVT_KEY_DOWN
));
38756 PyDict_SetItemString(d
, "wxEVT_KEY_UP", PyInt_FromLong(wxEVT_KEY_UP
));
38757 PyDict_SetItemString(d
, "wxEVT_HOTKEY", PyInt_FromLong(wxEVT_HOTKEY
));
38758 PyDict_SetItemString(d
, "wxEVT_SET_CURSOR", PyInt_FromLong(wxEVT_SET_CURSOR
));
38759 PyDict_SetItemString(d
, "wxEVT_SCROLL_TOP", PyInt_FromLong(wxEVT_SCROLL_TOP
));
38760 PyDict_SetItemString(d
, "wxEVT_SCROLL_BOTTOM", PyInt_FromLong(wxEVT_SCROLL_BOTTOM
));
38761 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEUP", PyInt_FromLong(wxEVT_SCROLL_LINEUP
));
38762 PyDict_SetItemString(d
, "wxEVT_SCROLL_LINEDOWN", PyInt_FromLong(wxEVT_SCROLL_LINEDOWN
));
38763 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEUP", PyInt_FromLong(wxEVT_SCROLL_PAGEUP
));
38764 PyDict_SetItemString(d
, "wxEVT_SCROLL_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLL_PAGEDOWN
));
38765 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLL_THUMBTRACK
));
38766 PyDict_SetItemString(d
, "wxEVT_SCROLL_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLL_THUMBRELEASE
));
38767 PyDict_SetItemString(d
, "wxEVT_SCROLL_ENDSCROLL", PyInt_FromLong(wxEVT_SCROLL_ENDSCROLL
));
38768 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_TOP", PyInt_FromLong(wxEVT_SCROLLWIN_TOP
));
38769 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_BOTTOM", PyInt_FromLong(wxEVT_SCROLLWIN_BOTTOM
));
38770 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEUP", PyInt_FromLong(wxEVT_SCROLLWIN_LINEUP
));
38771 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_LINEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_LINEDOWN
));
38772 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEUP", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEUP
));
38773 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_PAGEDOWN", PyInt_FromLong(wxEVT_SCROLLWIN_PAGEDOWN
));
38774 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBTRACK", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBTRACK
));
38775 PyDict_SetItemString(d
, "wxEVT_SCROLLWIN_THUMBRELEASE", PyInt_FromLong(wxEVT_SCROLLWIN_THUMBRELEASE
));
38776 PyDict_SetItemString(d
, "wxEVT_SIZE", PyInt_FromLong(wxEVT_SIZE
));
38777 PyDict_SetItemString(d
, "wxEVT_MOVE", PyInt_FromLong(wxEVT_MOVE
));
38778 PyDict_SetItemString(d
, "wxEVT_CLOSE_WINDOW", PyInt_FromLong(wxEVT_CLOSE_WINDOW
));
38779 PyDict_SetItemString(d
, "wxEVT_END_SESSION", PyInt_FromLong(wxEVT_END_SESSION
));
38780 PyDict_SetItemString(d
, "wxEVT_QUERY_END_SESSION", PyInt_FromLong(wxEVT_QUERY_END_SESSION
));
38781 PyDict_SetItemString(d
, "wxEVT_ACTIVATE_APP", PyInt_FromLong(wxEVT_ACTIVATE_APP
));
38782 PyDict_SetItemString(d
, "wxEVT_POWER", PyInt_FromLong(wxEVT_POWER
));
38783 PyDict_SetItemString(d
, "wxEVT_ACTIVATE", PyInt_FromLong(wxEVT_ACTIVATE
));
38784 PyDict_SetItemString(d
, "wxEVT_CREATE", PyInt_FromLong(wxEVT_CREATE
));
38785 PyDict_SetItemString(d
, "wxEVT_DESTROY", PyInt_FromLong(wxEVT_DESTROY
));
38786 PyDict_SetItemString(d
, "wxEVT_SHOW", PyInt_FromLong(wxEVT_SHOW
));
38787 PyDict_SetItemString(d
, "wxEVT_ICONIZE", PyInt_FromLong(wxEVT_ICONIZE
));
38788 PyDict_SetItemString(d
, "wxEVT_MAXIMIZE", PyInt_FromLong(wxEVT_MAXIMIZE
));
38789 PyDict_SetItemString(d
, "wxEVT_MOUSE_CAPTURE_CHANGED", PyInt_FromLong(wxEVT_MOUSE_CAPTURE_CHANGED
));
38790 PyDict_SetItemString(d
, "wxEVT_PAINT", PyInt_FromLong(wxEVT_PAINT
));
38791 PyDict_SetItemString(d
, "wxEVT_ERASE_BACKGROUND", PyInt_FromLong(wxEVT_ERASE_BACKGROUND
));
38792 PyDict_SetItemString(d
, "wxEVT_NC_PAINT", PyInt_FromLong(wxEVT_NC_PAINT
));
38793 PyDict_SetItemString(d
, "wxEVT_PAINT_ICON", PyInt_FromLong(wxEVT_PAINT_ICON
));
38794 PyDict_SetItemString(d
, "wxEVT_MENU_OPEN", PyInt_FromLong(wxEVT_MENU_OPEN
));
38795 PyDict_SetItemString(d
, "wxEVT_MENU_CLOSE", PyInt_FromLong(wxEVT_MENU_CLOSE
));
38796 PyDict_SetItemString(d
, "wxEVT_MENU_HIGHLIGHT", PyInt_FromLong(wxEVT_MENU_HIGHLIGHT
));
38797 PyDict_SetItemString(d
, "wxEVT_CONTEXT_MENU", PyInt_FromLong(wxEVT_CONTEXT_MENU
));
38798 PyDict_SetItemString(d
, "wxEVT_SYS_COLOUR_CHANGED", PyInt_FromLong(wxEVT_SYS_COLOUR_CHANGED
));
38799 PyDict_SetItemString(d
, "wxEVT_DISPLAY_CHANGED", PyInt_FromLong(wxEVT_DISPLAY_CHANGED
));
38800 PyDict_SetItemString(d
, "wxEVT_SETTING_CHANGED", PyInt_FromLong(wxEVT_SETTING_CHANGED
));
38801 PyDict_SetItemString(d
, "wxEVT_QUERY_NEW_PALETTE", PyInt_FromLong(wxEVT_QUERY_NEW_PALETTE
));
38802 PyDict_SetItemString(d
, "wxEVT_PALETTE_CHANGED", PyInt_FromLong(wxEVT_PALETTE_CHANGED
));
38803 PyDict_SetItemString(d
, "wxEVT_DROP_FILES", PyInt_FromLong(wxEVT_DROP_FILES
));
38804 PyDict_SetItemString(d
, "wxEVT_DRAW_ITEM", PyInt_FromLong(wxEVT_DRAW_ITEM
));
38805 PyDict_SetItemString(d
, "wxEVT_MEASURE_ITEM", PyInt_FromLong(wxEVT_MEASURE_ITEM
));
38806 PyDict_SetItemString(d
, "wxEVT_COMPARE_ITEM", PyInt_FromLong(wxEVT_COMPARE_ITEM
));
38807 PyDict_SetItemString(d
, "wxEVT_INIT_DIALOG", PyInt_FromLong(wxEVT_INIT_DIALOG
));
38808 PyDict_SetItemString(d
, "wxEVT_IDLE", PyInt_FromLong(wxEVT_IDLE
));
38809 PyDict_SetItemString(d
, "wxEVT_UPDATE_UI", PyInt_FromLong(wxEVT_UPDATE_UI
));
38810 PyDict_SetItemString(d
, "wxEVT_SIZING", PyInt_FromLong(wxEVT_SIZING
));
38811 PyDict_SetItemString(d
, "wxEVT_MOVING", PyInt_FromLong(wxEVT_MOVING
));
38812 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_CLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_CLICK
));
38813 PyDict_SetItemString(d
, "wxEVT_COMMAND_LEFT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_LEFT_DCLICK
));
38814 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_CLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_CLICK
));
38815 PyDict_SetItemString(d
, "wxEVT_COMMAND_RIGHT_DCLICK", PyInt_FromLong(wxEVT_COMMAND_RIGHT_DCLICK
));
38816 PyDict_SetItemString(d
, "wxEVT_COMMAND_SET_FOCUS", PyInt_FromLong(wxEVT_COMMAND_SET_FOCUS
));
38817 PyDict_SetItemString(d
, "wxEVT_COMMAND_KILL_FOCUS", PyInt_FromLong(wxEVT_COMMAND_KILL_FOCUS
));
38818 PyDict_SetItemString(d
, "wxEVT_COMMAND_ENTER", PyInt_FromLong(wxEVT_COMMAND_ENTER
));
38819 SWIG_addvarlink(SWIG_globals
,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get
, _wrap_NullAcceleratorTable_set
);
38820 SWIG_addvarlink(SWIG_globals
,(char*)"PanelNameStr",_wrap_PanelNameStr_get
, _wrap_PanelNameStr_set
);
38821 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultValidator",_wrap_DefaultValidator_get
, _wrap_DefaultValidator_set
);
38822 SWIG_addvarlink(SWIG_globals
,(char*)"DefaultSpan",_wrap_DefaultSpan_get
, _wrap_DefaultSpan_set
);
38824 // Initialize threading, some globals and such
38828 // Although these are defined in __version__ they need to be here too so
38829 // that an assert can be done to ensure that the wxPython and the wxWindows
38831 PyDict_SetItemString(d
,"MAJOR_VERSION", PyInt_FromLong((long)wxMAJOR_VERSION
));
38832 PyDict_SetItemString(d
,"MINOR_VERSION", PyInt_FromLong((long)wxMINOR_VERSION
));
38833 PyDict_SetItemString(d
,"RELEASE_VERSION", PyInt_FromLong((long)wxRELEASE_NUMBER
));